* Catch IndexError when importing data
* Also handle TypeError
(cherry picked from commit 93e4dadb49)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
- Check that the database model really does exist in the template code
(cherry picked from commit a8118ed406)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Fix debug messages
* Fix bug in purchase history chart
- Use new pack_quantity_native attribute
(cherry picked from commit 86ca0b27a4)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* fix cli on 22.04 (#5204)
(cherry picked from commit d4fad4f5c8)
* Update weasyprint docs link
* Another link fix
---------
Co-authored-by: Matthias Mair <code@mjmair.com>
- Creation of BuildItem objects was using old model references
(cherry picked from commit 668dab4175)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* add error log on SSO check failure
* sso_check_provider: fix by comparing against id
the name is the pretty printed version which not necessarily is the same
as the provider id it is compared against. This fails e.g. for the
microsoft allauth extension where the id is microsoft, but the name is
"Microsoft Graph".
Closes: #5330
(cherry picked from commit ee5416719f)
Co-authored-by: Hendrik v. Raven <hendrik@consetetur.de>
- Other request methods need love too!
(cherry picked from commit 59ffdcaa19)
(cherry picked from commit b89a120f9e)
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 5f3d3b28b3)
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 941451203a)
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 bfedb9cf87)
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 01f2aa5f74)
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 773dd3b210)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Handle AttributeError in convert_physical_value
* Added new unit test
(cherry picked from commit 9abcc0ec34)
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 8b730884d7)
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>