* unify file structure for settings
* fixed router
* clean up menu
* refactored user settings
mergerd profile and user setttings
* removed profile page entirely
* cleaned up account panels
* use more detailed link
* refactored settings page header
* fixed user settings save
* simplified user data handling
* fixed UserState invalidation after form submition
* removed username from account change
this can currently not be done safely
* Added basic security section
* Added way to remove SSO account
* Only show providers that are not in use
* Changed API to contain configuration change
* removed unused var
* Added email section to PUI
* Switched rending to vertical
* Added things for adding a new email
* removed sessions as we are not using that in PUI
* made rendering logic easier to understand
* alligned colums horizontally
* allign action buttons for email
* Corrected report mixin example
* Remove unused file
* Added context variables for company and address
* Repair link in file
* Repair link in file
* Repair link in file
* Removed blank
* Added context variables for contacts to docs
* Typo in link
* Update .pre-commit-config.yaml
Revert version
* Delete InvenTree/order/migrations/0099_auto_20231101_1747.py
* Delete InvenTree/part/migrations/0119_auto_20231101_1747.py
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Fix TableHoverCard component
* Improving handling of very wide table cells
* Update panels for PartDetail
* Refactor <Thumbnail> component
* Add SupplierPart table
* Refactor forms
- Do not need to specify custom form name any more
* More fixes for modal forms
* Refactor forms field code
* Add generic row action components for edit and delete
* Add placeholder comments
* Add ability to edit supplier part from table
* Create supplier part
* Add missing import
* Revert scroll behaviour for wide cells
- Does not play nice on chrome
* Add placeholder panel for part manufacturers
* Fix inline renderer for manufacturerpart
* Cleanup unused imports
* Add icons to supplier part fields
* Increase size of form titles
* Another fix
* Added backend changes to support printing options
* Pass printing options seperatly via kwargs for easier api refactor later
* Implemented printing options in CUI
* Fix js linting
* Use translations for printing dialog
* Added docs
* Remove plugin and template fields from send printing options
* Fix docs
* Added tests
* Fix tests
* Fix options response and added test for it
* Fix tests
* Bump api version
* Update docs
* Apply suggestions from code review
* Fix api change date
* Add more panels to StockItem page
* Add some placeholder actions for StockItem page
* edit stock item
* Add info hover card to stocktable
* update extra info for part table
* Add extra columns to PurchaseOrder table
* Fix unused import
* Enable mysql checks as part of PR
* Add debug for CI
* Add delete_nodes method
- Ensure that the "parent" field is set to None before delete
- This means that we do not violate any ForeignKey constraints due to undefined order of operations
* Replace moneyed format_money function
* Update django-money to 3.3.0 and py-moneyed to 3.0
* Add CurrencyField migrations
* Fix checking if decimal_places is set
* Add currency formatting test
* Test fixing deepsource test patterns
* Revert "Test fixing deepsource test patterns"
This reverts commit 398ef93cd6.
* FIx requirements.txt formatting
* Revert "FIx requirements.txt formatting"
This reverts commit bb554b0758.
* updated typing to allow either link or action
* fixed typing
* made it possible to use an action instead of a link
* added ServerInfo Modal skeleton
* fixed anchor
* added content to ServerInfo
* Factored database lookup out
* Extended status API to CUI level
* extended ServerInfo to CUI level
* Made modal larger
* fixed default settings
* Refactored urls into seperate functions
* Refactored python version into seperate function
* Added endpoint and modal for PUI version modal
* switched to indirect imports to reduce imports
* Added copy button
* Added full copy button
* added default
* cleaned unused vars
* cleaned unused vars
* Refactored auth check for InfoView
* implemented suggested changes
* fixed check logic
* Add BuildOrderTable to part page
* Add UsedInTable
* Display SalesOrderTable on PartDetail page
* Fix horizontal overflow for panel group
* First pass at BomTable
* Adds <TableHoverCard> component
- Allows us to display more information in a table cell, without clutter
* Fix for row actions
- Prevent opening row actions menu from "clicking" the row
- Prevent selection of row action from "clicking" the row
* Further work on BOM table
- Column rendering
- Placeholder actions
* Prevent navigation to a panel group page and selection of invalid panel
* Fix unused references
* updated typing to allow either link or action
* fixed typing
* made it possible to use an action instead of a link
* added ServerInfo Modal skeleton
* fixed anchor
* added content to ServerInfo
* Factored database lookup out
* Extended status API to CUI level
* extended ServerInfo to CUI level
* Made modal larger
* fixed default settings
* Improve deletion behaviour for InvenTreeTree model
- Remove recursive call to function
- Handle database operations as bulk queries
- Ensure child nodes have their pathstring updated correctly
- Remove old @receiver hook
- Refactor StockLocation.delete method
- Refactor PartCategory.delete method
- Atomic transactions potentially problematic here
* Add docstring
* Fix method name
* Use bulk-update instead of recursive save when pathstring changes
* Improvements for tree delete method
- Handle case where item has already been deleted
* Raise exception rather than simply logging
* Update unit tests
* Improvements to unrelated unit test
* Fix urls.md
* Fix typo
* Add DiffMixin class
- Allows us to compute "diffs" against items stored in the database, when they are being updated
* Prevent build order part from being changed after creation
* Remove "part" field from buildorder edit form
* Add unit test
* Corrected report mixin example
* Remove unused file
* Added context variables for company and address
* Repair link in file
* Repair link in file
* Repair link in file
* Removed blank
* Adds placehold "PartCategoryTree"
- Global navigation (within the "Part" context) for part categories
- Replaces multiple tree views from legacy UI
* FIx for ApiImage component
- Do not continuously request if the user is unauthorized
* Add StockLocation tree
* Add initial data to nav tree panels
* Display data
* Render tree view
* Fix unused variables
* Added more languages
* Added translation stumps for PUI
* Exclude PUI translations from deepsource analysis
* Added comments to deepsource exlusions
* Modified language selection to use language names
* Refactored language mappings to be more efficient
following advice of @wolflu05
* Removed pseudo language from selection
* Translation cleanup
* Switched t/Trans useage
* switched back due to rendering limitations
* Revert "Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue5729"
This reverts commit 9b6e8fff88, reversing
changes made to 481cd70aca.
* Revert "Revert "Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue5729""
This reverts commit 143a531c1e.
* add translations back in
* add translations back in
* update translation postitions
* move language initialisation after loading
this means only en-gb for now
* update positions
* updated translation base
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.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 messages.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 messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.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 messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.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 messages.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 messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* added deepsource coverage settings
* Ignore missing coverage
* trigger full CI run
* typo
* Added general status lookup endpoint
* Bumped API version
* cleaned up branch
* Fixed PlaygroundArea accordion behaviour
* Added dummy area for status labels
* Added StatusRenderer skeleton
* Fetch data from server
* Made server api state session persistant
* cleanup
* Added StatusLabel lookups based on ModelType
* Made use of translated status fields
* Added new ModelTypes
* Used new StatusRenderer
* Simplified renderer
* style fixes
* revert style change
* Squashed commit of the following:
commit 5e8ea099068475fd257d8c172348dc6f3edf9bcf
Author: Matthias Mair <code@mjmair.com>
Date: Tue Oct 24 09:22:38 2023 +0200
Update ui_plattform.spec.ts
commit 49da3312beff7fd6837ea741e621df221c445d19
Author: Matthias Mair <code@mjmair.com>
Date: Tue Oct 24 07:56:25 2023 +0200
more logging
commit 5337be4c3990051b805a6fce2e79ca4030b4afe5
Author: Matthias Mair <code@mjmair.com>
Date: Tue Oct 24 07:56:11 2023 +0200
added filter method for undefined settings that overwrite defaults
commit 5df8a0b3e77cd5dcf04c39ad7638ac845df75e4c
Author: Matthias Mair <code@mjmair.com>
Date: Tue Oct 24 03:05:06 2023 +0200
you do not need to string a string
commit 0650d3b3a0132889c2a76de38db38224e974d205
Author: Matthias Mair <code@mjmair.com>
Date: Tue Oct 24 03:04:34 2023 +0200
fix things that were borken for no good reason
commit a40dbfd1364cf01465037350184f59d2a2a8afab
Author: Matthias Mair <code@mjmair.com>
Date: Tue Oct 24 02:39:34 2023 +0200
reduce unneeded blocking timeouts
commit bf9046a5361ae919e70662e717d6156434b6fe43
Author: Matthias Mair <code@mjmair.com>
Date: Tue Oct 24 02:34:10 2023 +0200
catch server fetching errors
commit aa01e67e8c8e789fdf755ac4481e730fe5ea4183
Author: Matthias Mair <code@mjmair.com>
Date: Tue Oct 24 02:33:29 2023 +0200
move init as things are now plugged together different
commit 290c33bd3125d50779497d6fc5981d5813b58f5d
Author: Matthias Mair <code@mjmair.com>
Date: Tue Oct 24 01:49:32 2023 +0200
do not log a failed automatic login try - why would you?
* Update ApiToken model
- Add metadata
- Remove unique_together requirement
- Add last_seen field
* Update admin page for token
* Store metadata against token on creation
* Track last-seen date
* Allow match against existing valid token
- If token is expired or revoked, create a new one
- Prevents duplication of tokens
* Update unit tests
* Fix default server
* Improve functionality for extracting frontend settings
* Update default server list
* Use f-strings
* Revert logger name
* Remove mark_safe warning
* Add "responsible_owner" field to part model
- Will replace "responsible" field
* Data migration
- Adds 'responsible_owner' value for parts which have 'responsible' set
- Selects correct content type
- Performs reverse migratoin
* Update part serializer
- Point to the new field
- Rename to preserve compatibility
- OPTIONS metadata will take care of the rest
* Remove old 'responsible' field
* Bump API version
* Fix typo
* Fix serializer field