* API permission tweaks
- Explicitly require admin role for MachineSettingList
- Permission check for barcode generation
* Adjust existing unit test
* Update API version
* Extract Data Matrix rendering helpers
* Add SVG Data Matrix output
* Verify vector Data Matrix output in PDFs
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* fix typing issue for pylance engine
* add flags to mark rough function of setting
* update pr version
* fix settings serialisation
* render security warnings
* move Transfer Orders
* respect return order hiding
* almost all confirm texts will have a warning
* add settings for sales, purchase and buildorder deactivation
* make permission check also ensure gloablsetting for view is available; reduce number of chained gates
* document possible missing check
* ensure we can still show the sales tab
* add additional warning to group cleanup
* hide more ui parts conditionally
* add tests for new code and remove duplication
* fix test
* alternative approach to fix SSO path
* remove patch; now done in serializer
* ignore ldap section
* Users created via Admin Center never receive password reset emails
Fixes#12733
* fix issue when using registration endpoint
* remove duplicate code path; we now always do that
* remove old test backfill that is not required anymore
* Add user option to rotate table column headers (#12558)
Wide column titles (e.g. "Temperature coefficient [±ppm/°C]") take a
lot of horizontal space for narrow data. Add a ROTATE_TABLE_HEADERS
user setting (Display Options) which renders table header titles
vertically via a scoped CSS class, following the implementation
sketch from the issue discussion.
* Format ROTATE_TABLE_HEADERS description per ruff-format
* add missing doc place
* Document ROTATE_TABLE_HEADERS setting in user settings docs
* docs: add changelog entry for rotated table headers option
---------
Co-authored-by: Matthias Mair <code@mjmair.com>
* Squash migrations for "users" app
* Squash migrations for "common" app
Note: we will come back again later to squash some more
* Significant squashing
* Update legacy migrations
* Further squashing of migrations
* Even more cleanup
* Adjust CI workflow
* Update CI Job
* Update docs
* Update CHANGELOG.md
* Cleanup old comments
* Throw error if pre 1.0.0 DB detected
* Refactor incomplete migration check
* Bug fixes for Note model
- Allow note to be created as "primary"
- Reset note creation fields in editor
* Tweak to ensure that the API spec does not change
* Fix for Note migration
- Handles case where data migration is running on a DB which does not support RETURNING
* Run migration tests against all supported backends
* Fix typo
* Adjust CI workflows
* TZ migration fix
* Tweak migration test
* Adjust migration tests
* Ensure consistent ordering
* Bump API version
* Fix tests to allow non psql database support
* skip plugin events if importing or migrating data
* Add bulkloaddata option
* Skip signals if importing
* Improve bulkloaddata command
* Optionally rebuild thumbnails
* enhancements for import_records task
* cache natural key references in bulkloaddata
* wrap export_records in @state_logger
* Reduce file size of exported data
* Added docs
* Test bulk workflow as part of CI
* Add progress bar for data import
* fix for import workflow bug
* Separately test bulk import workflow
* Exercise --prettify option
* Additional CI checks for content excludes
* Allow plugin loading for list_apps
* Additional CI unit tests
* Test for importing with conflicting records
* path fixes
* Adjust test conditions
* Add SCIM
Closes https://github.com/inventree/InvenTree/issues/6339
* also test scim
* extend testing with conformance suite
* fix test suite results
* coverage completion
* fil test gaps
* add missing schema values
* fix more type issues
* fix error view
* remove route from OpenAPI
* User permissions check for Attachment API (#12689)
* enable oidc proivder by default
* add .well-known entry for OIDC server
* add default client registration
* add changelog entry
* add codeowners
* remove redundant info
* re-name and restructure panel
* add a smal explainer section on top
* flesh out section a bit more
* change name
* basic sso panel
* refactor rendering
* add api and mgmt functions
* add create/delete options
* simplify test
* handle secret generation
* fix merge
* update coverage
* add test
* reduce user friction
* add better labels
* make it more clear that this is only shown once
* add regenerate function
* update tests
* simplify test calls
* fix test
* Adjust get_bom_hash function:
- Optionally skip inclusion of part names
- Skip 'piece_count' if default value set
* Fall back to legacy comparison
* Add per-line-item check
* Add regression tests
* Enhance search fields across REST API endpoints
* Revert search_fields on SettingsList to key only for security
* Bump API version to 537 for REST API search fields
* Clean TokenListView search fields and revert common/api.py
* Fix order allocation variant validation logic and serializer defects
* Format order models and tests with ruff preview style
* Fix TransferOrder destination field in allocation unit tests
- User can only change their own profile
- Users can only access notes against models they are scoped to
- Users can only access parameters against models they are scoped to
Co-authored-by: Matthias Mair <code@mjmair.com>