* Better handling of request object in serializers
* Pass request object through
- Required to extract user information
* Strip column header during import
- Prevent mismatch due to whitespace
* Fix for "minimum stock" field
* Fix for part serializer
* Extract default values on import
* Remove outdated migration message
* Bump API version
* Refactor label printing
- Move "print" method to template
- Allows for internal calls to printing (e.g. plugins)
* Generate dummy request
- Required to trick WeasyPrint
* Refactor reportprinting
* Add timeout for unit test
* More unit tests
* Tweak unit test
* Updated comment
* remove preference-view
* bump api
* move tag test to seperate file
* extend tests
* make tags more robust
* Revert "remove preference-view"
This reverts commit b95aaaff3ce411adb96c11681259b559bf8a7e40.
* Revert "bump api"
This reverts commit 8fc29186cfdec9e1537f38b8052ae51d6555be4b.
* more coverage
* re-enable test
* even more tests
* just ignore it
* moa test
* crude debugging
* more debugging
* adapt test
* reduce debugging
* fix test_part_image
* remove TemplatePrintBase
* fix style
* fix code
* fix check
* ensure none exsisting image to not cause issue
* reduce tags more
* remove splashscreen usage
* fix test
* reintroduce inventree_logo
* re-add splashscreen fnct
* re-add needed tag
* re-add date renderer
* simplify away user specific stuff - there are no users in reports
* and simplify a bit more
* increase coverage
* fix format
* and more coverage
* fix render_date
* more coverage
* Extend api to also include customize functions
* [FR] Re-Implement customize options
Fixes#8818
* re-implement header
* add splashscreen customisation
* make simpler
* fix rendering
* bump api
* add admindocs
* add tag export command
* add filter export
* switch to yaml
* upload meta info to artifacts
* format workflow file
* fix creation command
* keep all artifacts in schema repo
* fix namespace
* use one command for export
* include tags and filters in docs
* change default filename
* fix call
* fix itteration syntax
* clean up rendering
* fix formatting
* simple escape
* Unit test for SalesOrder data migration
* make field checks more stable
* Adjust migration strategy
* Fix for data migration
* Simplify login test for playwright
---------
Co-authored-by: Matthias Mair <code@mjmair.com>
* Middleware for caching against request
* Create helpers for setting / getting session cache
* Settings objects check session cache first
* Ensure setting is removed from session cache when updated
* Cleaner implementation
* Fix cache cleanup
- ONLY allow access if there is a request object
- Ensure cache is deleted once session is over
* Skip plugin registry reload check
* Add 'start_date' to Build model
* Add to serializer
* Add filtering and ordering
* Update BuildOrderTable
- Add new column
- Add new filtering options
* Add sanity check for start_date
* Add 'start_date' field to BuildOrder form
* Update docs
* Bump API version
* Tweak unit testing
* Display 'start_date' on build page
* Refactor UI tests
* Fix for 'date' field in forms
* Add additional unit tests
* Fix helper func
* Remove debug msg
* Add expiry on line item receive from PO
* add backend test
* reset pre-commit
* increment inventree api version
* use None as default expiry date
* check global setting STOCK_ENABLE_EXPIRY
* check for default expiry in line item receive
* use dayjs
---------
Co-authored-by: Matthias Mair <code@mjmair.com>
* Add 'created_by' field to order API endpoints
* Add 'created_by' filter
* Allow ordering by 'created_by' field
* Update UI tables
- Show "Created By" column
- Column sorting
- Column filtering
* Cleanup order detail pages
* Bump API version
* Refactor table filters
* Fix BuildOrderTable filters
* Create ApiContext provider
* Utilize new context
* Remove api from global context
* Refactor <InvenTreeTable>
- No longer need hard-coded API constant
* Refactor useInstance hook
* Refactoring
- QueryCountDatshboardWidget
- NotesEditor
- RenderInstance
* Refactor multiple tables
* Fix typos
* Refactor useFilters hook
- Allow plugins to use this hook!
* Further refactoring
* Refactor API forms
* Cleanup context routing
* Fix provision order