Oliver
d5afc37264
Revert postgres version to 13 ( #7717 )
...
* Adjust playwright test
* Update docker compose for devcontainer
* Revert docker container changes
* Update notes
* Revert base alpine version
2024-07-24 11:02:25 +10:00
Matthias Mair
0effb44402
Bump docker image alpine base from 3.18 to 3.20 ( #7699 )
...
* bump docker image from 3.18 to 3.20
* bump postgres from 13 to 14
2024-07-22 07:46:41 +10:00
Oliver
cdac7465b2
Cache updates ( #7388 )
...
* Add redis container to development setup
* Improve configurability of global cache:
- Push configuration into separate file
* Settings cache default depends on global cache configuration
* Update docker compose file
* Remove debug flag
* Allow caching for registry checks
* Cleanup docstring
* Adjust defautl behaviour
* Update docs for caching
* Adjust default docker compose file
* Update docs for devcontainer
* Cleanup config template file
* Update docker docs
* Update cache behaviour
2024-06-02 21:43:31 +10:00
Matthias Mair
0bace3f3af
Code structure refactor ( #5582 )
...
* moved docker files to /contrib/container
* changed code owners to make more precise
* updated CI to use new subdirs
* added manual trigger for testing
* moved ci files
* moved assets into subdir
* moved deploy template file to contrib
* moved django files to src/backend
* updated paths in scripts etc
* updated reqs path
* fixed version file path
* fixed flake8 path
* fixed path to node ressources
* fixed task paths
* added dep path for node
* removed unused yarn lockfile
* removed unused ci script
* updated internal backend paths for tasks
* updated translation stats path
* fixed source path for coverage
* fixed main commit repo path
* fit in changes from testing
* gather packager improvements (#149 )
* Matmair/issue5578 (#143 )
* moved docker files to /contrib/container
* changed code owners to make more precise
* updated CI to use new subdirs
* added manual trigger for testing
* moved ci files
* moved assets into subdir
* moved deploy template file to contrib
* moved django files to src/backend
* updated paths in scripts etc
* updated reqs path
* fixed version file path
* fixed flake8 path
* fixed path to node ressources
* fixed task paths
* added dep path for node
* removed unused yarn lockfile
* removed unused ci script
* updated internal backend paths for tasks
* updated translation stats path
* fixed source path for coverage
* fixed main commit repo path
* fix docker path
* use project dir
* move project dir command
* fixed docker paths
* another fix?
* seperate tasks out
* remove tasks
* some debugging
* ci: add .deepsource.toml
* Update .deepsource.toml
* also ignore migrations
* more debugging
* fix path issues
* remove debug script
* fix style
* change locale path
* Fixed paths for requirements
* Added dummy requirements to fool packager
* fixed exec path
* remove deepsource
---------
Co-authored-by: deepsource-io[bot] <42547082+deepsource-io[bot]@users.noreply.github.com>
* Added docs for file structure
* Fixed style errors
* updated deepsource paths
* fix deepsource paths
* fixed reqs
* merge fixes
* move newly added dirs too
* fix reqs files
* another dep fix
* merge upstream/master
* revert removal of tags
* merge upstream
* enabled detection of old config files
* adapt coverage src
* also detect and support old location for plugins.txt
* style fix
* fix ~/init.sh location
* fix requirements path
* fix config to current master
* move new folders
* fix import order
* fix paths for qc_check
* fix docs build
* fix fix path
* set docker project dir
* just use a cd
* set image path?
* set file correct
* fix copy path
* fix tasks dir
* fix init path
* fix copy path
* set prject dir
* fix paths
* remove old prod files
* fix dev env path
* set docker file
* Fix devcontainer docker compose file
* fix login attempt values
* fix init.sh path
* Fix pathing for Docker
* Docker build fix
- Set INVENTREE_BACKEND_DIR separately
* Update init.sh
* Fix path
* Update requirements.txt
* merge
* fix rq merge
* fix docker compose usage
---------
Co-authored-by: deepsource-io[bot] <42547082+deepsource-io[bot]@users.noreply.github.com>
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-04-03 12:16:59 +11:00
Oliver
23f0950a76
Site access updates ( #6731 )
...
* Throw error on invalid site access policy
- If ALLOWED_HOSTS is empty, exit
- If CSRF_TRUSTED_ORIGINS is empty, exit
- Closes https://github.com/inventree/InvenTree/issues/6730
* Set parameters for devcontainer
* Update documentation
* Ignore server exit in testing mode
* Add INVENTREE_SITE_URL to CI
* Further CI updates
* Update settings.py
* Unit test updates
* More unit test updates
* Bump API version
* Re-introduce checks in settings.py
- Allow more lenient behaviour in TESTING mode
2024-03-18 12:53:48 +11:00
Oliver
d39ab9c902
Mount db to volume ( #6616 )
...
- Do not bind externally
2024-03-02 10:49:20 +11:00
Oliver
c8d6f2246b
Fix postgresql container ( #6610 )
...
- Linked volume caused permission issues
2024-03-01 05:53:42 +00:00
Oliver
b192c44b61
Tweak for devcontainer docker compose ( #6601 )
...
- Do not use named volume
- Hardcode db path
2024-02-28 19:03:19 +11:00
Oliver
2e81a304d1
Devcontainer postgresql ( #6590 )
...
* Working on devcontainer with postgresql
* Fix for docker-compose.yml
* Update postCreateCommand
* Tweak docker compose file
* Fix Dockerfile
- Do not use uv (breaks process)
* Update postCreateCommand.sh
- Skip database backup
* Tweak file
* Further improvements
- Remove 'devcontainer' Dockerfile target
- Fix postCreateCommand
* Further cleanup
* Reduce SQL errors
- Use filter().exists() rather than get()
* Set default SITE_URL
* Docs updates
* Fix hard-coded django version
* Update faq.md
* Typo fix: PluginObject -> PluginConfig
* Docs: strict mode
* docs: fix link
* docs: fix typo
* Fix error message
* Revert change to config_template default
2024-02-28 15:04:14 +11:00