- Other request methods need love too!
(cherry picked from commit 59ffdcaa1906f306378984d12cc40f61c7b80621)
(cherry picked from commit b89a120f9e673845e67ad6729bddb6a77974472d)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
- Re-throw as a ValidationError
- Results in a 400 error, not a 500
(cherry picked from commit 5f3d3b28b367e4ead79aeafc34c8c8da4d7564cf)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
- Add "get_fields()" method to InvenTreeResource
- Override default behaviour and exclude some common fields
- Will flow down to any inheriting classes
(cherry picked from commit 941451203a3d9a9ef2c522aba19cdbaaa140e05a)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Change for DEFAULT_FROM_EMAIL
- Use USERNAME if not specified
(cherry picked from commit 487ac917c90e9fe3da4effaa9326b707ceecd321)
* Email configuration fails if DEFAULT_FROM_EMAIL not set
(cherry picked from commit 01e573c3a2702e7c21ed13b0cb44280c89d3dee1)
* Docs update
(cherry picked from commit bfedb9cf87dbbf8024412afa6454361d45afe967)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
- Has to be lowercase in settings.py to work correctly
(cherry picked from commit 20b59c35752fdcae25578ab5399efaa96080f27f)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
- Handles case where null or invalid value provided
(cherry picked from commit 41167f22c9943a2a0f389fd24f595f137bf2271f)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Hide protected setting in settings view
* Implement custom serializer for setting value
- Return '***' if the setting is protected
* Implement to_internal_value
* Stringify
* Add protected setting to sample plugin
* Unit tests for plugin settings API
* Update unit test
(cherry picked from commit 01f2aa5f746a36706e9a5e588c4242b7bf1996d5)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
- Allocation check only applies to untracked line items
(cherry picked from commit 1f81daadf6c029afb5ee0ee51e3bcd6d40adacd3)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Fix quantity aggregation for stock table
- Stock quantity can only be added together if units are the same
* Add stock total footer to part table
(cherry picked from commit 773dd3b210a61bd00669675e5ce72d7f150f5233)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Handle AttributeError in convert_physical_value
* Added new unit test
(cherry picked from commit 9abcc0ec34cdcaade7047965da45ff47be14b294)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Handle exception when creating default labels
- Running workers in parallel may cause race conditions
- Catch any exception which is raised
* Prevent password from being logged
* Update default timeout for docker
(cherry picked from commit 8b730884d70e7e2712bc79ad14c79b5fc0cc746d)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
- prevent "double loading" of order tables
(cherry picked from commit 17c20705038563432fa50ad35fa49231588e47ee)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
- Fix link to part
- Fix link to stock item
(cherry picked from commit 5f61b5f120cf6942d8950e8d2ebd90efa071ead8)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Change docker dev server install
* Added --rm to docker compose run commands
This deletes the one-time-use container after exiting
* Added --dev to setup-test. This runs setup-dev as a part of
setup-test.
* Revisions
* Updates
* Add context
* Update docs
* Tyops :)
* Remove reference to action that has not happened yet
* updated translation base
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* updated translation base
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* PartParameter: Include template_detail by default
* PartParameter API updates
- Allow sorting by template name
- Refactor with mixin class
* Bug fixes
* Bump API version
* Disable migration testing
- Compare how long the unit tests take
* Change file
- To get unit tests to run
* Fix format
* Consolidate tasks.py
- Remove coverage task
- Add --coverage flag to test task
* Fix typo
* Run migration unit tests if migration files are updated
* Fix
* Touch migration file
- Should cause migration unit tests to be run
* Force migration checks for docker build
* Prevent default report creation in unit tests
- Should save some time
* Add simple profiling for plugin loading
- Display time taken to load each plugin
* Fix to invoke test
* Disable get_git_log (for testing)
* Disable get_git_path in CI
- Might remove this entirely?
- For now, bypass for unit testing
* Add debug for unit registry
- Display time taken to load registry
* Don't full-reload unit registry
* Adjust migration test workflow
- env var updates
- change paths-filter output
* Fix for migration_test.yaml
- Actually need to set the output
* env fix
* db name
* Prevent sleep if in test mode
* Reduce sleep time on wait_for_db