* Extend protection against recurisve BOMs
- Prevent part variants from being use BOMs for other variants of the same part
* Add unit tests for new BOM validation checks
* Cleanup urls.md
* Update unit tests
* Unit test update
* <ore unit test fixes
* Added endpoint to expose API version descriptors for admins
* Refactored tests and moved them to seperate file
* Switched to raw string
* add coverage exclusion
* ignore imports (possible fix to multiline imports)
* Add OpenApi Schema
* removed changes regarding coverage
* moved new functions to `version`
to keep api_version a pure static file
* clean up diff
* Added first UI components for user managment
Ref #4962
* removed forgotten deepsource section
Follow up to #5851
* Revert "Added first UI components for user managment"
This reverts commit 624121ea29.
* Remove stat context variables
* Revert "Remove stat context variables"
This reverts commit 0989c308d0.
* Allow longer timeout for image download tests
* fix: Adding specific quantity of a part as installed item(s
* fix: Adding specific quantity of a part as installed item(s
* Update serializers.py
* Mark field as not required
* If value not provided, revert to "default" behavior
* Fix serializer validation
* Update frontend forms to mach
* Bump API version
---------
Co-authored-by: Ulugbek Erkinov <ulugbekerkinov606@gmail.com>
* 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 messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.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 messages.po from Crowdin
* Fix: New translations messages.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 messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.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 messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.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 messages.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
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Added nav items from main nav
* Added system settings to nav
* removed duplicate entry
* renamed logo button to be clearer about it's intend
* change target of InvenTree icon in header to open nav
* added delay to not open hover on fast header click
I did not include the statements {% raw %} and {% endraw %} to escape the code. I have been able to set up a dev server and can confirm this new md file works. My apologies!
* Added tests for PUI backend stuff
* Added coverage for error cases
* Added testing for frontend_settings
* Added more testing for `get_frontend_settings`
* Added general data formatters
* Added usage of new date formatter
* Added usage of new date formatter
* Added usage of currency formatter
* style cleanup
* Moved to use real user and server settings
* fixed type
* Added in formatters again
* cleaned up unsued imports
* Factor out custom component for displaying project code information in a table
* Bump API version
* Update order serializers
- Annotate 'completed_lines' to each order type
* Build out columns for ReturnOrderTable
* Improvements to PurchaseOrderTable
* Building out SalesOrderTable
* Column tweaks
* Factor out project code column
* Factor out status column
* Factor out description column
* Factor out more columns
* More refactoring
* Center status labels
* Fix for PurchaseOrderLineItemTable
* Improve rendering
* Remove unused imports
* Refactor TotalPriceColumn
* Add generic currency column for rendering currency / money values
* Add filters for BuildTable
* Add inline renderer for ProjectCode
* Pass form response data to onFormSuccess callback
* Create new build from build index
* Edit existing build order
* Add projectcode to list
* Bug fixess
* Add basic table for displaying exchange rates
- Needed to extend current <InvenTreeTable> functionality for non-standard API endpoint data
* Add heading
* Add button to reload exchange rates
* Factor out common barcode actions
* Refactoring more icons
* Add PurchaseOrderLineItemTable component
* Improve renderer for SupplierPart
* Edit line item
* Table action column always visible
* Create <AddItemButton> component (refactoring)
* Table updates
- Improve actions column for table
- Move "download" button to right hand side
* Refactoring button components
* More cleanup
- Refactor <TableHoverCard> a bit
- Add placeholder for "receive items"
* Add ProgresBar component
* Make table columns switchable by default
- set switchable: false to disable
* Add project_code column to build table
* Fix row actions column for tables without actions
* Improve rendering for BuildOrderTable
* Cleanup unused imports
* Further fixes
* Remove another unused import
* 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