github-actions[bot]
c70583097c
New Crowdin translations by GitHub Action ( #9726 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-12 23:31:16 +10:00
Oliver
c6848b8e87
[Feature] External build order ( #9312 )
...
* Add BuildOrder reference to PurchaseOrderLineItem
* Add setting to enable / disable external build orders
* Fix for supplier part detail
* Update forms
* Filter build list by "external" status
* Add "external" attribute to BuildOrder
* Filter by external build when selecting against purchase order line item
* Add frontend elements
* Prevent creation of build outputs
* Tweak related model field
- Send filters when fetching initial data
* Fix migrations
* Fix some existing typos
* Add build info when receiving line items
* Logic fix
* Bump API version
* Updated relationship
* Add external orders tab for order
* Display table of external purchase orders against a build order
* Fix permissions
* Tweak field definition
* Add unit tests
* Tweak api_version.py
* Playwright testing
* Fix discrepancy in 'building' filter
* Add basic documentation
( more work required )
* Tweak docs macros
* Migration fix
* Adjust build page tabs
* Fix imports
* Fix broken import
* Update playywright tests
* Bump API version
* Handle DB issues
* Improve filter
* Cleaner code
* Fix column ordering bug
* Add filters to build output table
* Documentation
* Tweak unit test
* Add "scheduled_for_production" field
* Add helper function to part model
* Cleanup
2025-06-12 18:27:15 +10:00
Oliver
5389d8dc07
Fix for yarn.lock ( #9767 )
2025-06-12 15:16:21 +10:00
Oliver
e30c4e7cdd
Part copy test ( #9764 )
...
* Add functionality to copy part test templates when duplicating a part instance
* Bug fixes
* Tweak part duplication fields
* Add simple playwright test
* Updated unit test for part duplication
* Bump API version
2025-06-12 12:56:16 +10:00
Oliver
c81d0eb628
Table col fix ( #9762 )
...
* Update mantine-datatable
* Improve table hook
* Fix for table name
- Table names must be unique
- Otherwise stored column data gets corrupted
* Click through on table
* Tweak unit tests
2025-06-12 12:18:14 +10:00
dependabot[bot]
1818757b79
chore(deps): bump requests from 2.32.3 to 2.32.4 in /src/backend ( #9752 )
...
* chore(deps): bump requests from 2.32.3 to 2.32.4 in /src/backend
Bumps [requests](https://github.com/psf/requests ) from 2.32.3 to 2.32.4.
- [Release notes](https://github.com/psf/requests/releases )
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md )
- [Commits](https://github.com/psf/requests/compare/v2.32.3...v2.32.4 )
---
updated-dependencies:
- dependency-name: requests
dependency-version: 2.32.4
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix req
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-06-11 07:11:04 +10:00
Oliver
6b261e122d
Param filters 2 ( #9749 )
...
* Filter updates
- Split code
- Allow multiple simultaneous filters against a given parameter
- Bug fixes
* Refactoring
* Cleanup
* fix for operator selection
* Backend fix
* Additional filtering options
* Updated documentation
* Impove filtering logic
* Tweak playwright tests
* Remove debug statements
* Tweak for login test
2025-06-08 22:03:50 +10:00
Oliver
026904b361
Render whole stock location path ( #9747 )
...
* Render whole stock location path
- Render location pathstring, not just name
- Brings tables into line with how location is displayed elsewhere
- Closes https://github.com/inventree/InvenTree/issues/9627
* Handle error on worker boot
2025-06-08 11:17:09 +10:00
Matthias Mair
25d13b4201
chore(backend): remove constraints ( #9748 )
...
* remove constraints
* general dep bump
* bump opentelemetry
2025-06-08 09:22:10 +10:00
Oliver
4b71130ebe
[Feature] Override global settings ( #9718 )
...
* Provide mechanism for config to override global settings
* Ensure overrides are observed on save
* Refactor
* Add "read_only" field to serializer
* Prevent editing for read_only settings
* Bump API version
* Update docs
* Secure logs
* Override applies to default_value
* override get_setting method
* Add unit test
* Utilize new approach to override SITE_URL
* Docs updates
* Docs tweaks
* Shortcut for get_global_setting
* Remove previous change
- Allow validation to be performed within the InvenTreeSetting class
* Override INVENTREE_BASE_URL setting
* Handle error on worker boot
* Tweak unit test
2025-06-07 20:08:34 +10:00
Oliver
12677ccf22
Add barcode actions for SalesOrderShipment ( #9746 )
...
* Add barcode actions for SalesOrderShipment
* Handle error on worker boot
2025-06-07 20:08:20 +10:00
Oliver
4660b9477b
[UI] Adjustable column width ( #9744 )
...
* Add prop to column def
* Enable resizable columns
* Enable cell wrapping if required
* Tweak CompanyTable
* Remove old setting
* Tweak for PartTable
2025-06-07 19:15:33 +10:00
Oliver
638cb23923
Rearrange UI menu ( #9743 )
...
- Better grouping
2025-06-07 18:41:37 +10:00
Oliver
66db58bb36
Add barcode to salesordershipment ( #9745 )
...
* Add InvenTreeBarcodeMixin to SalesOrderShipment
* Barcode model type code method added for SalesOrderShipment class
* Add barcode data to SalesOrderShipment serializer
* Bump API version
---------
Co-authored-by: meenaraj22 <meena@blaze.ws>
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-06-07 15:51:05 +10:00
Oliver
e17904eb56
Simplify checkPluginVersion ( #9740 )
2025-06-06 18:35:54 +10:00
Matthias Mair
5dc6b7cf51
feat(frontend): make mfa login faster ( #9595 )
...
* add hidden field and logic to reduce clicks for mfa logins
* refactor to seperate function to reduce complexity
* fix missing imports
* fix style
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-06-06 15:47:42 +10:00
Oliver
9138bad8bc
[Feature] Filter by parameter ( #9739 )
...
* Add shell task
* Filter parts by parameter value
* Allow more operation types
* Working on table filtering
* Filter improvements
* Update on enter key
* Improved query logic
* Enable filter for "generic" parameter types
* Placeholder text
* Documentation updates
* Fix typo
* Fix for boolean part parameter field
* Add API unit testings
* Cleanup
* add playwright tests
2025-06-06 15:06:11 +10:00
Matthias Mair
71abd489ae
chore(backend): bump allauth version ( #9714 )
...
* bump allauth
* add trust
* add device trust handling
* fix style
* Update api_version.py
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-06-05 13:27:52 +10:00
Oliver
ee67c4f099
Refactor error logging ( #9736 )
...
- Ensure plugin slug is correctly attached
- Consistent format
- Logic fixes
2025-06-04 11:36:47 +10:00
Will Bicks
5513291d3f
feat(frontend): Improve barcode scanning text input on Platform UI. ( #9655 )
...
* feat(frontend): Add control character handling to barcode text input.
Ports part of 8059fb1e05 to Platform UI.
Fixes #7529 .
* feat(frontend): Submit barcode scan on EOT character.
Automatically submits 2D barcode scans when end of transmission character is input.
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-06-04 10:08:13 +10:00
Oliver
24a2279368
Small tweak to UI logic ( #9734 )
2025-06-03 19:34:49 +10:00
Oliver
11ab0203b1
[plugin] Auto issue orders ( #9565 )
...
* Add builtin plugin for auto-issuing orders
* Add plugin to auto-issue orders
* Add placeholder documentation
* Fix typo
* Adds image macro
- To replace img.html
- includes checking if file exists
* Fix tooltips
* More docs
* Adjust plugin settings filters
* docs
* More docs
* More docs
* Updates
* Less restrictive URL checking
* Refactor build order page
* Fix typo
* Allow 429
* Debug output
* More debug
* Construct assets dir
* Cleanup
* Update docs README
* Refactoring more pages
* Fix image link
* Fix SSO settings
* Add hook to check for missing settings
- Ensure that all settings are documented!
* Add missing user settings
* Update docstring
* Tweak SSO.md
* Image updates
* More updates
* Tweaks
* Exclude orders without a target_date
* Fix for issuing build orders
* Further refactoring
* Fixes
* Image refactoring
* More refactoring
* More refactoring
* Refactor app images
* Fix pathing issues
* Suppress some openapidocs warnings in logs
(much easier to debug docs build issues)
* Fix image reference
* Reduce error messages
* Fix image links
* Fix image links
* Reduce docs log output
* Ensure settings are loaded before displaying them
* Fix for UI test
* Fix unit test
* Test tweaks
2025-06-03 17:07:12 +10:00
Oliver
89f8f132e1
Handle case where owner is null ( #9732 )
2025-06-03 15:57:10 +10:00
Oliver
6d47a0dd16
Add generic StringEnum class ( #9731 )
...
* Add generic StringEnum class
* Fix import
2025-06-03 15:03:35 +10:00
Oliver
2f0a2b5abf
Fix style ( #9728 )
...
* Fix style
* Adjust unit test
2025-06-03 10:32:18 +10:00
github-actions[bot]
9d9948ed1c
New Crowdin translations by GitHub Action ( #9697 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-02 22:25:40 +10:00
Oliver
0826a75ef6
Merge commit from fork
...
* Make sheet label plugin not mandatory
* Add max limit for 'skip' parameter
2025-06-02 22:23:58 +10:00
Oliver
5c5549c233
Handle failed partial_rebuild ( #9723 )
2025-06-02 22:21:21 +10:00
Matthias Mair
782ca55887
feat(frontend): add grouping in the admin center ( #9596 )
...
* feat(frontend): Add grouping in the admin center
* fix name
* make sections more distinct
* re-arrange sections
* ensure plugin panels work
* fix missing key issue
* fix test name
2025-06-02 22:10:14 +10:00
Oliver
e5e6c1b51e
Include currency code in display text ( #9717 )
...
* Include currency code in display text
- Closes https://github.com/inventree/InvenTree/issues/9710
* Bump API version
2025-06-02 19:37:11 +10:00
Matthias Mair
7a984f831f
bump backend deps ( #9713 )
...
* bump backend deps
* lower xmlsec to fix build
* add permament pin
* lower allauth as there are api changes
* unify dependabot config
2025-06-02 11:26:49 +10:00
github-actions[bot]
f9675fc93b
New Crowdin translations by GitHub Action ( #9630 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-25 11:46:08 +02:00
Matthias Mair
d018bc678e
fix: make error code target more stable using sref ( #9689 )
2025-05-24 15:16:19 +02:00
gunstr
3d71be3d41
Change color of SO status SHIPPED ( #9668 )
2025-05-17 07:32:58 +02:00
dependabot[bot]
4347e87253
chore(deps): bump undici from 5.28.5 to 5.29.0 in /src/frontend ( #9666 )
...
Bumps [undici](https://github.com/nodejs/undici ) from 5.28.5 to 5.29.0.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v5.28.5...v5.29.0 )
---
updated-dependencies:
- dependency-name: undici
dependency-version: 5.29.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-16 08:04:46 +02:00
Jacob Felknor
5f2cee90af
match YesNoButton green to DetailsBadge green ( #9662 )
...
Co-authored-by: Jacob Felknor <jfelknor@firstrf.com>
2025-05-14 17:22:36 +01:00
Oliver
aec1de6eb3
Update 0111_auto_20230521_1350.py ( #9659 )
...
Make data migration non atomic
2025-05-14 12:46:33 +01:00
Matthias Mair
d7c293788b
fix(backend): ensure deps are coupled ( #9649 )
...
* fix(backend): ensure deps are coupled
* bump deps
* more constraints
* run dep resolver
* expand resolve even more
* lower lxml / xmlsec
* lower allauth
2025-05-10 22:39:07 +01:00
Matthias Mair
10a729722a
chore: bump react to current major versions ( #8913 )
...
* Bump the dependencies group across 1 directory with 58 updates
Bumps the dependencies group with 56 updates in the /src/frontend directory:
| Package | From | To |
| --- | --- | --- |
| [@codemirror/autocomplete](https://github.com/codemirror/autocomplete ) | `6.18.1` | `6.18.3` |
| [@codemirror/lang-liquid](https://github.com/codemirror/lang-liquid ) | `6.2.1` | `6.2.2` |
| [@codemirror/language](https://github.com/codemirror/language ) | `6.10.3` | `6.10.6` |
| [@codemirror/lint](https://github.com/codemirror/lint ) | `6.8.1` | `6.8.4` |
| [@codemirror/search](https://github.com/codemirror/search ) | `6.5.6` | `6.5.8` |
| [@emotion/react](https://github.com/emotion-js/emotion ) | `11.13.3` | `11.14.0` |
| [@fortawesome/fontawesome-svg-core](https://github.com/FortAwesome/Font-Awesome ) | `6.6.0` | `6.7.1` |
| [@fortawesome/free-regular-svg-icons](https://github.com/FortAwesome/Font-Awesome ) | `6.6.0` | `6.7.1` |
| [@fortawesome/free-solid-svg-icons](https://github.com/FortAwesome/Font-Awesome ) | `6.6.0` | `6.7.1` |
| [@lingui/core](https://github.com/lingui/js-lingui ) | `4.11.4` | `5.1.0` |
| [@lingui/react](https://github.com/lingui/js-lingui ) | `4.11.4` | `5.1.0` |
| [@mantine/carousel](https://github.com/mantinedev/mantine/tree/HEAD/packages/@mantine/carousel ) | `7.12.2` | `7.15.0` |
| [@mantine/charts](https://github.com/mantinedev/mantine/tree/HEAD/packages/@mantine/charts ) | `7.12.2` | `7.15.0` |
| [@mantine/core](https://github.com/mantinedev/mantine/tree/HEAD/packages/@mantine/core ) | `7.12.2` | `7.15.0` |
| [@mantine/dates](https://github.com/mantinedev/mantine/tree/HEAD/packages/@mantine/dates ) | `7.12.2` | `7.15.0` |
| [@mantine/dropzone](https://github.com/mantinedev/mantine/tree/HEAD/packages/@mantine/dropzone ) | `7.12.2` | `7.15.0` |
| [@mantine/form](https://github.com/mantinedev/mantine/tree/HEAD/packages/@mantine/form ) | `7.12.2` | `7.15.0` |
| [@mantine/hooks](https://github.com/mantinedev/mantine/tree/HEAD/packages/@mantine/hooks ) | `7.12.2` | `7.15.0` |
| [@mantine/modals](https://github.com/mantinedev/mantine/tree/HEAD/packages/@mantine/modals ) | `7.12.2` | `7.15.0` |
| [@mantine/notifications](https://github.com/mantinedev/mantine/tree/HEAD/packages/@mantine/notifications ) | `7.12.2` | `7.15.0` |
| [@mantine/spotlight](https://github.com/mantinedev/mantine/tree/HEAD/packages/@mantine/spotlight ) | `7.12.2` | `7.15.0` |
| [@mantine/vanilla-extract](https://github.com/mantinedev/mantine/tree/HEAD/packages/@mantine/vanilla-extract ) | `7.12.2` | `7.15.0` |
| [@tabler/icons-react](https://github.com/tabler/tabler-icons/tree/HEAD/packages/icons-react ) | `3.17.0` | `3.24.0` |
| [@tanstack/react-query](https://github.com/TanStack/query/tree/HEAD/packages/react-query ) | `5.56.2` | `5.62.7` |
| [@uiw/codemirror-theme-vscode](https://github.com/uiwjs/react-codemirror ) | `4.23.3` | `4.23.6` |
| [@uiw/react-codemirror](https://github.com/uiwjs/react-codemirror ) | `4.23.3` | `4.23.6` |
| [@vanilla-extract/css](https://github.com/vanilla-extract-css/vanilla-extract/tree/HEAD/packages/css ) | `1.15.5` | `1.16.1` |
| [axios](https://github.com/axios/axios ) | `1.7.7` | `1.7.9` |
| [dompurify](https://github.com/cure53/DOMPurify ) | `3.1.7` | `3.2.3` |
| [@types/dompurify](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dompurify ) | `3.0.5` | `3.2.0` |
| [embla-carousel-react](https://github.com/davidjerleke/embla-carousel ) | `8.3.0` | `8.5.1` |
| [mantine-contextmenu](https://github.com/icflorescu/mantine-contextmenu ) | `7.12.2` | `7.14.2` |
| [mantine-datatable](https://github.com/icflorescu/mantine-datatable ) | `7.12.4` | `7.14.5` |
| [react](https://github.com/facebook/react/tree/HEAD/packages/react ) | `18.3.1` | `19.0.0` |
| [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) | `18.3.8` | `19.0.1` |
| [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom ) | `18.3.1` | `19.0.0` |
| [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom ) | `18.3.0` | `19.0.2` |
| [react-grid-layout](https://github.com/STRML/react-grid-layout ) | `1.4.4` | `1.5.0` |
| [react-hook-form](https://github.com/react-hook-form/react-hook-form ) | `7.53.0` | `7.54.0` |
| [react-is](https://github.com/facebook/react/tree/HEAD/packages/react-is ) | `18.3.1` | `19.0.0` |
| [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) | `6.26.2` | `7.0.2` |
| [react-select](https://github.com/JedWatson/react-select ) | `5.8.1` | `5.8.3` |
| [recharts](https://github.com/recharts/recharts ) | `2.12.7` | `2.14.1` |
| [zustand](https://github.com/pmndrs/zustand ) | `4.5.5` | `5.0.2` |
| [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) | `7.25.2` | `7.26.0` |
| [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react ) | `7.24.7` | `7.26.3` |
| [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript ) | `7.24.7` | `7.26.0` |
| @codecov/vite-plugin | `1.2.0` | `1.6.0` |
| [@lingui/cli](https://github.com/lingui/js-lingui ) | `4.11.4` | `5.1.0` |
| [@lingui/macro](https://github.com/lingui/js-lingui ) | `4.11.4` | `5.1.0` |
| [@playwright/test](https://github.com/microsoft/playwright ) | `1.47.2` | `1.49.1` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) | `22.6.0` | `22.10.2` |
| [@vanilla-extract/vite-plugin](https://github.com/vanilla-extract-css/vanilla-extract/tree/HEAD/packages/vite-plugin ) | `4.0.15` | `4.0.18` |
| [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react ) | `4.3.1` | `4.3.4` |
| [typescript](https://github.com/microsoft/TypeScript ) | `5.6.2` | `5.7.2` |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) | `5.4.7` | `6.0.3` |
Updates `@codemirror/autocomplete` from 6.18.1 to 6.18.3
- [Changelog](https://github.com/codemirror/autocomplete/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/autocomplete/compare/6.18.1...6.18.3 )
Updates `@codemirror/lang-liquid` from 6.2.1 to 6.2.2
- [Changelog](https://github.com/codemirror/lang-liquid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/lang-liquid/compare/6.2.1...6.2.2 )
Updates `@codemirror/language` from 6.10.3 to 6.10.6
- [Changelog](https://github.com/codemirror/language/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/language/compare/6.10.3...6.10.6 )
Updates `@codemirror/lint` from 6.8.1 to 6.8.4
- [Changelog](https://github.com/codemirror/lint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/lint/compare/6.8.1...6.8.4 )
Updates `@codemirror/search` from 6.5.6 to 6.5.8
- [Changelog](https://github.com/codemirror/search/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/search/compare/6.5.6...6.5.8 )
Updates `@codemirror/state` from 6.4.1 to 6.5.0
- [Changelog](https://github.com/codemirror/state/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/state/compare/6.4.1...6.5.0 )
Updates `@codemirror/view` from 6.33.0 to 6.35.3
- [Changelog](https://github.com/codemirror/view/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/view/compare/6.33.0...6.35.3 )
Updates `@emotion/react` from 11.13.3 to 11.14.0
- [Release notes](https://github.com/emotion-js/emotion/releases )
- [Changelog](https://github.com/emotion-js/emotion/blob/main/CHANGELOG.md )
- [Commits](https://github.com/emotion-js/emotion/compare/@emotion/react@11.13.3...@emotion/react@11.14.0 )
Updates `@fortawesome/fontawesome-svg-core` from 6.6.0 to 6.7.1
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases )
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/6.x/CHANGELOG.md )
- [Commits](https://github.com/FortAwesome/Font-Awesome/compare/6.6.0...6.7.1 )
Updates `@fortawesome/free-regular-svg-icons` from 6.6.0 to 6.7.1
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases )
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/6.x/CHANGELOG.md )
- [Commits](https://github.com/FortAwesome/Font-Awesome/compare/6.6.0...6.7.1 )
Updates `@fortawesome/free-solid-svg-icons` from 6.6.0 to 6.7.1
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases )
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/6.x/CHANGELOG.md )
- [Commits](https://github.com/FortAwesome/Font-Awesome/compare/6.6.0...6.7.1 )
Updates `@lingui/core` from 4.11.4 to 5.1.0
- [Release notes](https://github.com/lingui/js-lingui/releases )
- [Changelog](https://github.com/lingui/js-lingui/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lingui/js-lingui/compare/v4.11.4...v5.1.0 )
Updates `@lingui/react` from 4.11.4 to 5.1.0
- [Release notes](https://github.com/lingui/js-lingui/releases )
- [Changelog](https://github.com/lingui/js-lingui/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lingui/js-lingui/compare/v4.11.4...v5.1.0 )
Updates `@mantine/carousel` from 7.12.2 to 7.15.0
- [Release notes](https://github.com/mantinedev/mantine/releases )
- [Changelog](https://github.com/mantinedev/mantine/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mantinedev/mantine/commits/7.15.0/packages/@mantine/carousel )
Updates `@mantine/charts` from 7.12.2 to 7.15.0
- [Release notes](https://github.com/mantinedev/mantine/releases )
- [Changelog](https://github.com/mantinedev/mantine/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mantinedev/mantine/commits/7.15.0/packages/@mantine/charts )
Updates `@mantine/core` from 7.12.2 to 7.15.0
- [Release notes](https://github.com/mantinedev/mantine/releases )
- [Changelog](https://github.com/mantinedev/mantine/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mantinedev/mantine/commits/7.15.0/packages/@mantine/core )
Updates `@mantine/dates` from 7.12.2 to 7.15.0
- [Release notes](https://github.com/mantinedev/mantine/releases )
- [Changelog](https://github.com/mantinedev/mantine/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mantinedev/mantine/commits/7.15.0/packages/@mantine/dates )
Updates `@mantine/dropzone` from 7.12.2 to 7.15.0
- [Release notes](https://github.com/mantinedev/mantine/releases )
- [Changelog](https://github.com/mantinedev/mantine/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mantinedev/mantine/commits/7.15.0/packages/@mantine/dropzone )
Updates `@mantine/form` from 7.12.2 to 7.15.0
- [Release notes](https://github.com/mantinedev/mantine/releases )
- [Changelog](https://github.com/mantinedev/mantine/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mantinedev/mantine/commits/7.15.0/packages/@mantine/form )
Updates `@mantine/hooks` from 7.12.2 to 7.15.0
- [Release notes](https://github.com/mantinedev/mantine/releases )
- [Changelog](https://github.com/mantinedev/mantine/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mantinedev/mantine/commits/7.15.0/packages/@mantine/hooks )
Updates `@mantine/modals` from 7.12.2 to 7.15.0
- [Release notes](https://github.com/mantinedev/mantine/releases )
- [Changelog](https://github.com/mantinedev/mantine/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mantinedev/mantine/commits/7.15.0/packages/@mantine/modals )
Updates `@mantine/notifications` from 7.12.2 to 7.15.0
- [Release notes](https://github.com/mantinedev/mantine/releases )
- [Changelog](https://github.com/mantinedev/mantine/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mantinedev/mantine/commits/7.15.0/packages/@mantine/notifications )
Updates `@mantine/spotlight` from 7.12.2 to 7.15.0
- [Release notes](https://github.com/mantinedev/mantine/releases )
- [Changelog](https://github.com/mantinedev/mantine/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mantinedev/mantine/commits/7.15.0/packages/@mantine/spotlight )
Updates `@mantine/vanilla-extract` from 7.12.2 to 7.15.0
- [Release notes](https://github.com/mantinedev/mantine/releases )
- [Changelog](https://github.com/mantinedev/mantine/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mantinedev/mantine/commits/7.15.0/packages/@mantine/vanilla-extract )
Updates `@tabler/icons-react` from 3.17.0 to 3.24.0
- [Release notes](https://github.com/tabler/tabler-icons/releases )
- [Commits](https://github.com/tabler/tabler-icons/commits/v3.24.0/packages/icons-react )
Updates `@tanstack/react-query` from 5.56.2 to 5.62.7
- [Release notes](https://github.com/TanStack/query/releases )
- [Commits](https://github.com/TanStack/query/commits/v5.62.7/packages/react-query )
Updates `@uiw/codemirror-theme-vscode` from 4.23.3 to 4.23.6
- [Release notes](https://github.com/uiwjs/react-codemirror/releases )
- [Commits](https://github.com/uiwjs/react-codemirror/compare/v4.23.3...v4.23.6 )
Updates `@uiw/react-codemirror` from 4.23.3 to 4.23.6
- [Release notes](https://github.com/uiwjs/react-codemirror/releases )
- [Commits](https://github.com/uiwjs/react-codemirror/compare/v4.23.3...v4.23.6 )
Updates `@vanilla-extract/css` from 1.15.5 to 1.16.1
- [Release notes](https://github.com/vanilla-extract-css/vanilla-extract/releases )
- [Changelog](https://github.com/vanilla-extract-css/vanilla-extract/blob/master/packages/css/CHANGELOG.md )
- [Commits](https://github.com/vanilla-extract-css/vanilla-extract/commits/@vanilla-extract/css@1.16.1/packages/css )
Updates `axios` from 1.7.7 to 1.7.9
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v1.7.7...v1.7.9 )
Updates `dompurify` from 3.1.7 to 3.2.3
- [Release notes](https://github.com/cure53/DOMPurify/releases )
- [Commits](https://github.com/cure53/DOMPurify/compare/3.1.7...3.2.3 )
Updates `@types/dompurify` from 3.0.5 to 3.2.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/dompurify )
Updates `embla-carousel-react` from 8.3.0 to 8.5.1
- [Release notes](https://github.com/davidjerleke/embla-carousel/releases )
- [Commits](https://github.com/davidjerleke/embla-carousel/compare/v8.3.0...v8.5.1 )
Updates `mantine-contextmenu` from 7.12.2 to 7.14.2
- [Changelog](https://github.com/icflorescu/mantine-contextmenu/blob/main/CHANGELOG.md )
- [Commits](https://github.com/icflorescu/mantine-contextmenu/commits )
Updates `mantine-datatable` from 7.12.4 to 7.14.5
- [Changelog](https://github.com/icflorescu/mantine-datatable/blob/main/CHANGELOG.md )
- [Commits](https://github.com/icflorescu/mantine-datatable/commits )
Updates `react` from 18.3.1 to 19.0.0
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/commits/v19.0.0/packages/react )
Updates `@types/react` from 18.3.8 to 19.0.1
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
Updates `react-dom` from 18.3.1 to 19.0.0
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/commits/v19.0.0/packages/react-dom )
Updates `@types/react-dom` from 18.3.0 to 19.0.2
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom )
Updates `react-grid-layout` from 1.4.4 to 1.5.0
- [Release notes](https://github.com/STRML/react-grid-layout/releases )
- [Changelog](https://github.com/react-grid-layout/react-grid-layout/blob/master/CHANGELOG.md )
- [Commits](https://github.com/STRML/react-grid-layout/compare/1.4.4...1.5.0 )
Updates `react-hook-form` from 7.53.0 to 7.54.0
- [Release notes](https://github.com/react-hook-form/react-hook-form/releases )
- [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md )
- [Commits](https://github.com/react-hook-form/react-hook-form/compare/v7.53.0...v7.54.0 )
Updates `react-is` from 18.3.1 to 19.0.0
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/commits/v19.0.0/packages/react-is )
Updates `react-router-dom` from 6.26.2 to 7.0.2
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md )
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@7.0.2/packages/react-router-dom )
Updates `react-select` from 5.8.1 to 5.8.3
- [Release notes](https://github.com/JedWatson/react-select/releases )
- [Changelog](https://github.com/JedWatson/react-select/blob/master/docs/CHANGELOG.md )
- [Commits](https://github.com/JedWatson/react-select/compare/react-select@5.8.1...react-select@5.8.3 )
Updates `recharts` from 2.12.7 to 2.14.1
- [Release notes](https://github.com/recharts/recharts/releases )
- [Changelog](https://github.com/recharts/recharts/blob/3.x/CHANGELOG.md )
- [Commits](https://github.com/recharts/recharts/compare/v2.12.7...v2.14.1 )
Updates `zustand` from 4.5.5 to 5.0.2
- [Release notes](https://github.com/pmndrs/zustand/releases )
- [Commits](https://github.com/pmndrs/zustand/compare/v4.5.5...v5.0.2 )
Updates `@babel/core` from 7.25.2 to 7.26.0
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.26.0/packages/babel-core )
Updates `@babel/preset-react` from 7.24.7 to 7.26.3
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.26.3/packages/babel-preset-react )
Updates `@babel/preset-typescript` from 7.24.7 to 7.26.0
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.26.0/packages/babel-preset-typescript )
Updates `@codecov/vite-plugin` from 1.2.0 to 1.6.0
Updates `@lingui/cli` from 4.11.4 to 5.1.0
- [Release notes](https://github.com/lingui/js-lingui/releases )
- [Changelog](https://github.com/lingui/js-lingui/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lingui/js-lingui/compare/v4.11.4...v5.1.0 )
Updates `@lingui/macro` from 4.11.4 to 5.1.0
- [Release notes](https://github.com/lingui/js-lingui/releases )
- [Changelog](https://github.com/lingui/js-lingui/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lingui/js-lingui/compare/v4.11.4...v5.1.0 )
Updates `@playwright/test` from 1.47.2 to 1.49.1
- [Release notes](https://github.com/microsoft/playwright/releases )
- [Commits](https://github.com/microsoft/playwright/compare/v1.47.2...v1.49.1 )
Updates `@types/node` from 22.6.0 to 22.10.2
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Updates `@types/react` from 18.3.8 to 19.0.1
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
Updates `@types/react-dom` from 18.3.0 to 19.0.2
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom )
Updates `@vanilla-extract/vite-plugin` from 4.0.15 to 4.0.18
- [Release notes](https://github.com/vanilla-extract-css/vanilla-extract/releases )
- [Changelog](https://github.com/vanilla-extract-css/vanilla-extract/blob/master/packages/vite-plugin/CHANGELOG.md )
- [Commits](https://github.com/vanilla-extract-css/vanilla-extract/commits/@vanilla-extract/vite-plugin@4.0.18/packages/vite-plugin )
Updates `@vitejs/plugin-react` from 4.3.1 to 4.3.4
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases )
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/v4.3.4/packages/plugin-react )
Updates `typescript` from 5.6.2 to 5.7.2
- [Release notes](https://github.com/microsoft/TypeScript/releases )
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml )
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.6.2...v5.7.2 )
Updates `vite` from 5.4.7 to 6.0.3
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v6.0.3/packages/vite )
---
updated-dependencies:
- dependency-name: "@codemirror/autocomplete"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: "@codemirror/lang-liquid"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: "@codemirror/language"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: "@codemirror/lint"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: "@codemirror/search"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: "@codemirror/state"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: "@codemirror/view"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: "@emotion/react"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: "@fortawesome/fontawesome-svg-core"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: "@fortawesome/free-regular-svg-icons"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: "@fortawesome/free-solid-svg-icons"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: "@lingui/core"
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: "@lingui/react"
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: "@mantine/carousel"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: "@mantine/charts"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: "@mantine/core"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: "@mantine/dates"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: "@mantine/dropzone"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: "@mantine/form"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: "@mantine/hooks"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: "@mantine/modals"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: "@mantine/notifications"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: "@mantine/spotlight"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: "@mantine/vanilla-extract"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: "@tabler/icons-react"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: "@tanstack/react-query"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: "@uiw/codemirror-theme-vscode"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: "@uiw/react-codemirror"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: "@vanilla-extract/css"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: axios
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: dompurify
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: "@types/dompurify"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: embla-carousel-react
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: mantine-contextmenu
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: mantine-datatable
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: react
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: "@types/react"
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: react-dom
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: "@types/react-dom"
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: react-grid-layout
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: react-hook-form
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: react-is
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: react-select
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: recharts
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: zustand
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: "@babel/core"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: "@babel/preset-react"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: "@babel/preset-typescript"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: "@codecov/vite-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: "@lingui/cli"
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: "@lingui/macro"
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: "@playwright/test"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: "@types/react"
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: "@types/react-dom"
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: "@vanilla-extract/vite-plugin"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: "@vitejs/plugin-react"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: vite
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
* fixes for new react, node and zustand versions
* lower react-router-dom and lingui
* fix tests
* fix timout issues temporarly
* ensure hooks render stable
* fix nested renderer
* re-introduce firefox testing
* fix naming
* only run n firefox
* lower run times
* no timeouts
* bump resolution
* adjust versions
* minimize change
* refactor import of shallow
* bump packages further
* fix type
* fix zustand call
* fix resolution
* fix favicon behaviour
* fix loading
see https://github.com/tabler/tabler-icons/issues/1233#issuecomment-2428245119
* fix fetch
* fix merge issues
* fix shallow
* ignore rule
* fix import
* bump playwright
* fix unshallow
* fix another shallow
* fix import
* also log git info
* bump resolution
* bump a bunch of deps
* fix importer
* remove react bump
* lower problematic deps
* reduce diff
* fix bump
* fix def
* only bump zustand
* bump zustand to v5
* add missing shallow
* fix missing shallow
* fix merge
* fix test
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-05-10 22:38:41 +01:00
Joe Rogers
e0acfaa762
Fix Generate API schema name mismatch ( #9651 )
...
* Match serializer (and schema) to API-returned json data
* Bump schema version
2025-05-09 20:11:16 +01:00
dependabot[bot]
d619932ae4
chore(deps): bump django from 4.2.20 to 4.2.21 in /src/backend ( #9648 )
...
* chore(deps): bump django from 4.2.20 to 4.2.21 in /src/backend
Bumps [django](https://github.com/django/django ) from 4.2.20 to 4.2.21.
- [Commits](https://github.com/django/django/compare/4.2.20...4.2.21 )
---
updated-dependencies:
- dependency-name: django
dependency-version: 4.2.21
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix req
* adjust setuptools to be equal
* ensure same version is used
* add missing constraint
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-05-09 07:44:57 +01:00
Ben Hagen
9918f75e89
Add configurable page margins to label sheet plugin ( #9641 )
...
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-05-08 10:33:08 +01:00
dependabot[bot]
f8b87c6e59
chore(deps): bump the dependencies group across 1 directory with 2 updates ( #9618 )
...
* chore(deps): bump the dependencies group across 1 directory with 2 updates
Bumps the dependencies group with 2 updates in the /src/backend directory: [django-flags](https://github.com/cfpb/django-flags ) and [qrcode[pil]](https://github.com/lincolnloop/python-qrcode ).
Updates `django-flags` from 5.0.13 to 5.0.14
- [Release notes](https://github.com/cfpb/django-flags/releases )
- [Changelog](https://github.com/cfpb/django-flags/blob/main/docs/releasenotes.md )
- [Commits](https://github.com/cfpb/django-flags/compare/5.0.13...5.0.14 )
Updates `qrcode[pil]` from 8.1 to 8.2
- [Changelog](https://github.com/lincolnloop/python-qrcode/blob/main/CHANGES.rst )
- [Commits](https://github.com/lincolnloop/python-qrcode/commits/v8.2 )
---
updated-dependencies:
- dependency-name: django-flags
dependency-version: 5.0.14
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: qrcode[pil]
dependency-version: '8.2'
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix req
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-05-05 08:21:14 +01:00
dependabot[bot]
3bb43734a1
chore(deps): bump vite from 6.3.2 to 6.3.4 in /src/frontend ( #9616 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 6.3.2 to 6.3.4.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v6.3.4/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-version: 6.3.4
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-04 22:16:21 +01:00
github-actions[bot]
adb2ba3a36
New Crowdin translations by GitHub Action ( #9594 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-04 17:22:17 +01:00
Reilly Callaway
ea6210d44a
[UI] Add highlightToday to date input ( #9575 )
...
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-05-04 12:53:02 +01:00
gunstr
6837381101
Add revision to "Used In" table ( #9626 )
2025-05-04 07:26:27 +01:00
Matthias Mair
22b6dcd6cc
feat: add action to remove all pending tasks ( #9600 )
2025-05-01 19:19:27 +01:00
dependabot[bot]
bd1fd9305d
Bump vite from 6.2.6 to 6.2.7 in /src/frontend ( #9609 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 6.2.6 to 6.2.7.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.7/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v6.2.7/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-version: 6.2.7
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-30 22:34:26 +01:00
Matthias Mair
9f0354b315
fix(backend): Make task registering more robust ( #9586 )
...
* Make task registering more robust
See https://github.com/inventree/InvenTree/issues/9579
* add unit test
2025-04-29 12:15:26 +01:00
Lukas
cee679d6e3
fix pdf preview with background worker ( #9591 )
2025-04-28 07:13:18 +08:00
github-actions[bot]
fc42b6d7a1
New Crowdin translations by GitHub Action ( #9588 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-04-27 20:05:55 +08:00
Matthias Mair
9729c41783
bump babel further ( #9589 )
2025-04-26 11:23:22 +10:00
dependabot[bot]
964a14754e
Bump the dependencies group across 1 directory with 2 updates ( #9585 )
...
* Bump the dependencies group across 1 directory with 2 updates
Bumps the dependencies group with 2 updates in the /src/backend directory: [django-q2](https://github.com/GDay/django-q2 ) and [sentry-sdk](https://github.com/getsentry/sentry-python ).
Updates `django-q2` from 1.7.6 to 1.8.0
- [Release notes](https://github.com/GDay/django-q2/releases )
- [Changelog](https://github.com/django-q2/django-q2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GDay/django-q2/compare/v1.7.6...v1.8.0 )
Updates `sentry-sdk` from 2.26.1 to 2.27.0
- [Release notes](https://github.com/getsentry/sentry-python/releases )
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-python/compare/2.26.1...2.27.0 )
---
updated-dependencies:
- dependency-name: django-q2
dependency-version: 1.8.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: sentry-sdk
dependency-version: 2.27.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix req
* sync setuptools
* Add missing API key - see https://github.com/inventree/InvenTree/actions/runs/14673293670/job/41184590051?pr=9585#step:5:1230
* fix this call too
* add an easier to debug assert
* ensure token is set
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-04-26 10:01:38 +10:00
Matthias Mair
2ed3e61a57
chore(frontend): bump dep resolution ( #9523 )
...
* chore(frontend): bump dep resolution
to adress GHSA-968p-4wvh-cqc8
* fix @types/react resolution
* reduce range of bumped deps
2025-04-26 08:07:12 +10:00
gunstr
ee29e6aa7b
Add revison column to BO table ( #9580 )
2025-04-25 09:39:39 +10:00
Matthias Mair
c41760a500
chore: bump zustand ( #9577 )
...
* bump zustand to v5
* add missing shallow
* fix missing shallow
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-04-25 09:39:08 +10:00
Matthias Mair
71cf9f5452
[FR] Save widget state per user ( #9567 )
...
* [FR] Save widget state per user
Fixes #9562
* cleanup
* fix doc strings
* add reset stage
2025-04-24 17:29:28 +10:00
github-actions[bot]
c6907a0bf2
New Crowdin translations by GitHub Action ( #9543 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-22 22:09:24 +10:00
Oliver
527652007e
Remove trailing slash from SITE_URL ( #9559 )
...
- ref: https://github.com/inventree/InvenTree/discussions/9552
- ref: https://stackoverflow.com/questions/56404930/when-trying-set-corsheaders-in-settings-py-file
2025-04-22 12:29:11 +10:00
Joe Rogers
0bf1ab250f
Schema: Require pagination limit parameter ( #9547 )
...
* Ensure pagination limit is set on schema list queries
* Bump api version
* Update api_version.py
* Bump version again
---------
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-04-22 10:02:03 +10:00
Oliver
89b3f91ded
Update notification fetching ( #9557 )
...
- Reduce interval to 1 minute
- Only fetch for visible tab
2025-04-22 09:52:50 +10:00
Oliver
6b08e45eac
Docs refactor ( #9545 )
...
* Refactor / reognaize docs structure
* Refactor plugin docs structure
* More refactoring / cleanup
* Update build images
* Gallery updates
* Order images
* Update part docs
* Settings images
* Stock images
* Reitntroduce gallery
* Add custom icon macro
* Update icons
* Cleanup
* Fix link
* Fix internal links
* Revert some page moves
* Fix links
* Fix links
2025-04-22 08:18:32 +10:00
Oliver
e249a21622
Url fix 2 ( #9548 )
...
* Logic fix
* Playwright test
* Revert "Playwright test"
This reverts commit a63b23961e .
* Simplify test
* Cleanup test
2025-04-21 17:42:22 +10:00
Joe Rogers
0de8e61d53
Schema: Mark nullable fields ( #9546 )
...
* Add allow_null to nullable fields
* Fix serializer for InfoApi, add nullable flags
* Bump api version
* Fix incorrectly replaced required tag
2025-04-21 16:59:23 +10:00
Oliver
bd74044ed9
Display "default expiry" on part detail page ( #9549 )
2025-04-21 16:23:01 +10:00
Oliver
79dad13328
[UI] Barcode actions ( #9538 )
...
* Provide callback function for barcode scan dialog
* Adds hook for barcode scan dialog
* Fix callback processing
* Add function to extract API URL for a model instance
* Tweak page titles
* Extract instance data when scanning a barcode
* Scan item into location
* Scan in stock location
* Remove notYetImplemented func
* Revert "Remove notYetImplemented func"
This reverts commit a35408380e .
* Add stock item action
* Add playwright tests
2025-04-21 08:42:54 +10:00
Oliver
7d87b8b896
[UI] Add CUI compatibility URLs ( #9541 )
...
* Add CUI compatibility URLs
* Add config option to enable URL compatibility
* Add unit tests
* Simplify tests
2025-04-21 08:27:41 +10:00
Matthias Mair
1dae1bc906
fix(backend): Better error handling for report template generation ( #9534 )
...
found in https://github.com/inventree/InvenTree/actions/runs/14535795056/job/40783805508?pr=9523
2025-04-21 00:00:05 +10:00
Oliver
13412adeb3
Reduce notification check frequency ( #9542 )
2025-04-20 11:42:30 +10:00
github-actions[bot]
64f72381a1
New Crowdin translations by GitHub Action ( #9529 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-20 11:23:21 +10:00
Matthias Mair
6b0a082b5a
feat: New / Refactor "Nav Mixin" ( #9283 )
...
* [FR/P-UI] New / Refactor "Nav Mixin"
Fixes #5269
* remove logging
* fix sample item that causes issues
* Add test coverage
* Update src/frontend/src/components/plugins/PluginUIFeatureTypes.ts
Co-authored-by: Lukas <76838159+wolflu05@users.noreply.github.com>
* [FR/P-UI] New / Refactor "Nav Mixin"
Fixes #5269
* fix style
* remove requirement for source
* fix import
* bump api version
---------
Co-authored-by: Lukas <76838159+wolflu05@users.noreply.github.com>
2025-04-20 11:22:58 +10:00
dependabot[bot]
35150e3bd3
Bump the dependencies group across 1 directory with 2 updates ( #9536 )
...
* Bump the dependencies group across 1 directory with 2 updates
Bumps the dependencies group with 2 updates in the /src/backend directory: [pdfminer-six](https://github.com/pdfminer/pdfminer.six ) and [django-money](https://github.com/django-money/django-money ).
Updates `pdfminer-six` from 20250327 to 20250416
- [Release notes](https://github.com/pdfminer/pdfminer.six/releases )
- [Changelog](https://github.com/pdfminer/pdfminer.six/blob/master/CHANGELOG.md )
- [Commits](https://github.com/pdfminer/pdfminer.six/commits )
Updates `django-money` from 3.5.3 to 3.5.4
- [Release notes](https://github.com/django-money/django-money/releases )
- [Changelog](https://github.com/django-money/django-money/blob/main/docs/changes.rst )
- [Commits](https://github.com/django-money/django-money/compare/3.5.3...3.5.4 )
---
updated-dependencies:
- dependency-name: pdfminer-six
dependency-version: '20250416'
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: django-money
dependency-version: 3.5.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix req
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-04-20 09:56:52 +10:00
Oliver
8d48f9cecd
Fix for URL validation ( #9539 )
...
* FIx for URL validation
* Further fixes
2025-04-20 00:21:59 +10:00
Matthias Mair
9a49c9f19c
feat(backend): clearer behaviour on missing migrations ( #9527 )
...
* feat(backend): better warning on missing migrations
* add debug info to some tasks
* ensure db would even be accessed before raising concerns
* add more markers
* Add decorator to log flow
* reduce calls
* reduce fnc down
2025-04-19 08:03:16 +10:00
Matthias Mair
8bb03b7afd
feat(backend): add oauth2 ( #9333 )
...
* feat(backend): add oauth2
* fix import
* Add inventree roles
* refactor to make lookup more efficient
* fix single scope definitions
* cleanup
* fix schema
* reduce auth methods
* fix OAuth validator
* re-enable token and basic auth again
* Add models to role mapping
* change scope args
* add debug step for schema generation
* add oauth config for schema generation
* improve token -> permission mapping
* fix req
* extend checks to ensure normal auth also passes
* fix api version
* fix ignore
* fix rule name
* bump api version
* remove old modelref
* move scope definition
* make test results easier to work with
* add tests to ensure scopes are in sync with rulesets
* fix docstring
* fix various permissions and their mapping to oauth
* refactor
* simplify
* fix permission mapping
* ignore failure cases
* fix unauthenticated access
* flag oAuth2 till it is done
* Add OIDC support
* add RSA key generation and docs
* fix test
* move imports
* update ignore
* feat(backend): Add API Schema stats
* add scope stats
* fix name
* fix scope output
* feat(backend): test custom command
* add warning for unknown scopes
* reduce diff in launch.json
* cleanup diff
* add error code for ruleset / scope issues
* update structure
* add oauth docs
* add experimetnal feature docs
* simplify metadata endpoint
* add importer model
* refactor(backend): simplify metadata endpoint
* fix imports
* simplify even more
* remove unneeded schema tooling
* fix permission mappings
* fix testing
* fix role calculations
* fix mapping
* remove importer change to unblock this
* remove importer scope everywhere
* fix merge conflict in test
* add missing models
* fix api version
* fix OASToken matcher
* revert permission class change
* reduce size of test log by writing schema
* fix permissions
* fix file path
* extend schema to remove need for TokenMatchesOASRequirements
* cleanup permissions file
* add base object permission
2025-04-18 19:27:32 +10:00
Oliver
afbcfe66bb
Fix for email sending ( #9526 )
...
* Fix for email sending
- Extract valid email for user
- Do not send if email not configured for user
* Improve email address filtering logic
* Fix return type hint
2025-04-17 17:29:26 +10:00
github-actions[bot]
62d058f0e3
New Crowdin translations by GitHub Action ( #9508 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-17 13:17:41 +10:00
dependabot[bot]
1269fefa0e
Bump the dependencies group across 1 directory with 4 updates ( #9512 )
...
* Bump the dependencies group across 1 directory with 4 updates
Bumps the dependencies group with 4 updates in the /src/backend directory: [django-structlog](https://github.com/jrobichaud/django-structlog ), [pillow](https://github.com/python-pillow/Pillow ), [sentry-sdk](https://github.com/getsentry/sentry-python ) and [weasyprint](https://github.com/Kozea/WeasyPrint ).
Updates `django-structlog` from 9.0.1 to 9.1.1
- [Changelog](https://github.com/jrobichaud/django-structlog/blob/main/docs/changelog.rst )
- [Commits](https://github.com/jrobichaud/django-structlog/compare/9.0.1...9.1.1 )
Updates `pillow` from 11.1.0 to 11.2.1
- [Release notes](https://github.com/python-pillow/Pillow/releases )
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst )
- [Commits](https://github.com/python-pillow/Pillow/compare/11.1.0...11.2.1 )
Updates `sentry-sdk` from 2.25.1 to 2.26.1
- [Release notes](https://github.com/getsentry/sentry-python/releases )
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-python/compare/2.25.1...2.26.1 )
Updates `weasyprint` from 65.0 to 65.1
- [Release notes](https://github.com/Kozea/WeasyPrint/releases )
- [Changelog](https://github.com/Kozea/WeasyPrint/blob/main/docs/changelog.rst )
- [Commits](https://github.com/Kozea/WeasyPrint/compare/v65.0...v65.1 )
---
updated-dependencies:
- dependency-name: django-structlog
dependency-version: 9.1.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: pillow
dependency-version: 11.2.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: sentry-sdk
dependency-version: 2.26.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: weasyprint
dependency-version: '65.1'
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix req
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-04-16 17:07:55 +10:00
Oliver
204e2e6d46
Edit BOM substitutes ( #9521 )
...
* Edit BOM substitutes
* Add playwright tests
2025-04-16 14:38:59 +10:00
Oliver
0707ebf59b
Remove unimplemented action ( #9520 )
...
- Duplication will have to wait until we move away from file-based templates
2025-04-16 10:59:51 +10:00
Matthias Mair
9ab82a187e
fix(ci): dependabot config ( #9514 )
...
* fix(ci): dependabot config
* bump now updatable lingui/cli
2025-04-16 08:04:54 +10:00
Matthias Mair
4c830fb167
fix(backend): reduce noice in docker image start ( #9515 )
...
make dulwich detection less loud
2025-04-16 07:21:48 +10:00
Oliver
5e7e258289
[Plugin] Plugin context ( #9439 )
...
* Pass more stuff to window
* Expose form functions to plugin context
* Breaking: Render plugin component in context tree
- Required due to createRoot function
- Adds necessary context providers
* Fix context
* Provide MantineThemeContext
* Bundle mantine/core
* Hack for useNavigate within ApiForm
- Errors out if called within plugin context
- Workaround to catch the error
* Update build cmd
* Define config for building "Library" mode
* Update package.json
* Add basic index file
* Factor out ApiEndpoints
* factor out ModelType
* Factor out role enums
* Further refactoring
* More refactoring
* Cleanup
* Expose apiUrl function
* Add instance data to plugin context type def
* Tweaks for loading plugin components
- LanguageContext must be on the inside
* Tweak StylishText
* Externalize notifications system
* Update lingui config
* Add functions for checking plugin interface version
* Extract package version at build time
* Enhance version checking
* Revert variable name change
* Public package
* Add README.md
* adjust packge name
* Adjust name to include org
* Update project files
* Add basic changelog info
* Refactoring to expose URL functions
* Refactor navigation functions
* Update package and README
* Improve navigateToLink function
* Refactor stylish text
- Move into ./lib
- Do not require user state
* Revert changes
- StylishText throws error in plugin
- Low priority, can work out later
* expose function to refresh page index
* Provide RemoteComponent with a method to reload itself
* Bump version
* Cleanup tests
* Prevent duplicate --emptyOutDir arg
* Tweak playwright tests
* Expose role and permission enums
* Fix imports
* Updated docs
* Fix spelling, typos, etc
* Include more package version information
* Expose more version context
* Cleanup
* Probably don't need hooks
* Fix links
* Docs updates
* Fix links
2025-04-16 00:30:34 +10:00
Oliver
448d24de21
[UI] Serial Number Navigation ( #9505 )
...
* Add checkClose function to forms
- Allow custom check for whether form should be closed
* Add form to jump to serial number
* Tweak stock detail display
* Remove dead field
(might fix later, but it's hard with the current API)
* Add some icons
* Enhance extract_int functionality
* Add API endpoint for "next" and "previous" serials for a given stock item
* Add serial number navigation on stock item page
* Add playwright tests
* Bump API version
* Fix for serial number clipping
* Another tweak
2025-04-15 12:42:25 +10:00
github-actions[bot]
8d44a0d330
New Crowdin translations by GitHub Action ( #9489 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-15 11:39:30 +10:00
Matthias Mair
4f110e399d
refactor(backend): Remove custom role admin ( #9500 )
...
See https://github.com/inventree/InvenTree/pull/9476#issuecomment-2791584989
2025-04-14 09:05:18 +10:00
dependabot[bot]
efce72b242
Bump vite from 6.2.5 to 6.2.6 in /src/frontend ( #9496 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 6.2.5 to 6.2.6.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.6/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v6.2.6/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-version: 6.2.6
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-12 08:04:28 +10:00
Joe Rogers
195cecb35b
Schema: Batch of small fixes ( #9492 )
...
* Fix AllUnitList schema operation and serializer to match actual response
* Fix LicenseViewSerializer to match actual response
* Remove references to credits page (removed in #8811 )
* Allow null commit_branch for detatched HEAD state
* Fix version formatting, add test, clean up parser
* Fix schema mapping and return type for VersionTextView
* Fix and test version off-by-one bug
* API version bump
* Merge version tests, enforce more formatting constraints for parsing
2025-04-11 14:22:01 +10:00
Oliver
15be7ab988
[Refactor] Users and Groups ( #9476 )
...
* Cleanup UserDetail page
* Cleanup display
* Re-use UserTable
* Add 'users' permission role
* Check user roles in "admin center"
* Revert "Add 'users' permission role"
This reverts commit 35b047b2f9 .
* Improve display logic
* Expose group rule-sets to API
* Prefetch rule_sets
* Add 'label' to RuleSetSerializer
* Add basic RuleSet table
* Add API endpoints for RuleSet model
* Edit group roles via table
* Refactor user permissions checks
- Remove duplicate function calls
- Refactor permission checks into new file
* Further refactoring
* Even more refactoring
* Fix user settings permission
* Add TransferList component
* Tweak GroupDrawer
* Tweak UserDrawer
* adjust user groups via API / UI
* Allow "users" detail on Group API
* Bump API version
* Enumeration of RuleSet name
* Update
* Add permission check
* Update src/frontend/src/pages/Index/Settings/AdminCenter/UserManagementPanel.tsx
Co-authored-by: Matthias Mair <code@mjmair.com>
* uncomment warning
* Extend enum usage
* More checks
* Bug fix
* Fix permission checks
* Additional testing for user roles endpoint
* Updated permission classes
- RolePermission with read-only fallback
- RolePermission with additional staff requirement
* Do not allow creation of new RuleSet objects
* Cleanup permission checks and unit tests
* Cleanup UI permission checks
* Updated class dostrings
* Cleanup
* Cleanup permission checks for UserTable
* Add playwright tests for "permission" checks
- Basic for now
- Can be extended in the future
* Tweak unit tests
* Adjust layout of warning / error messages
* Tweak group table logic
* Table cleanup
* Display roles associated with a particular group
* Cleanup
* Tweak user detail page
---------
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-04-10 15:19:24 +10:00
Matthias Mair
dc1acfdacb
refactor(backend): metadata endpoint ( #9488 )
...
* refactor(backend): simplify metadata endpoint
* fix imports
* simplify even more
* remove unneeded schema tooling
* fix attr handling
2025-04-10 09:09:52 +10:00
Oliver
4ea8f68819
Adjust layout of warning / error messages ( #9484 )
2025-04-10 06:49:00 +10:00
Matthias Mair
bb1faf236a
feat(backend): api schema stats ( #9478 )
...
* feat(backend): Add API Schema stats
* add scope stats
* fix scope output
2025-04-09 07:38:03 +10:00
Matthias Mair
2987cdfbb2
feat(backend): test custom command ( #9479 )
2025-04-09 07:37:28 +10:00
github-actions[bot]
2eb0331ddd
New Crowdin translations by GitHub Action ( #9474 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-09 00:31:32 +10:00
Matthias Mair
0d6c47fcd5
fix(backend): repair remaining schema generation errors ( #9453 )
...
* Remove hardcoded currency enum from schema
* Convert schema custom key enums to int to allow customized keys to validate
* Convert stock status key enums to int to allow customizations to
validate in schema
* api version bump
* fix remaining operationId errors
* fix errors
* fix another error
* fix missing model
* ensure we do not ignore warnings anymore
* Restore enumerated help text for currencies
* Remove commented block of old code
* Restore custom key enumerated values to schema documentation
* Restore status key enumeration to schema documentation
* fix more enums
* Add debug definitions for schema generation
* fix schema generation for PluginRelationSerializer
* add migrations
* fix enum names for allauth schema duplications
* bump api version
---------
Co-authored-by: Joe Rogers <1337joe@gmail.com>
2025-04-08 22:09:57 +10:00
Joe Rogers
f87f4387ed
Schema: (Redo) Remove hardcoded enum values from customizable fields ( #9452 )
...
* Remove hardcoded currency enum from schema
* Convert schema custom key enums to int to allow customized keys to validate
* Convert stock status key enums to int to allow customizations to
validate in schema
* api version bump
* Restore enumerated help text for currencies
* Remove commented block of old code
* Restore custom key enumerated values to schema documentation
* Restore status key enumeration to schema documentation
2025-04-08 15:31:40 +10:00
github-actions[bot]
1cab0a1914
New Crowdin translations by GitHub Action ( #9438 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-07 23:03:41 +10:00
Oliver
3cd07c9da9
Cleanup tests ( #9470 )
2025-04-07 12:12:56 +10:00
dependabot[bot]
3cfab8e7ed
Bump the dependencies group across 1 directory with 16 updates ( #9459 )
...
* Bump the dependencies group across 1 directory with 16 updates
Bumps the dependencies group with 16 updates in the /src/backend directory:
| Package | From | To |
| --- | --- | --- |
| [coverage[toml]](https://github.com/nedbat/coveragepy ) | `7.6.12` | `7.8.0` |
| [cryptography](https://github.com/pyca/cryptography ) | `44.0.1` | `44.0.2` |
| [isort](https://github.com/PyCQA/isort ) | `6.0.0` | `6.0.1` |
| [pdfminer-six](https://github.com/pdfminer/pdfminer.six ) | `20240706` | `20250327` |
| [pre-commit](https://github.com/pre-commit/pre-commit ) | `4.1.0` | `4.2.0` |
| [django-allauth[mfa,openid,saml,socialaccount]](https://github.com/sponsors/pennersr ) | `65.4.1` | `65.7.0` |
| [django-maintenance-mode](https://github.com/fabiocaccamo/django-maintenance-mode ) | `0.21.1` | `0.22.0` |
| [django-mptt](https://github.com/django-mptt/django-mptt ) | `0.16.0` | `0.17.0` |
| [django-otp](https://github.com/django-otp/django-otp ) | `1.3.0` | `1.6.0` |
| [djangorestframework-simplejwt[crypto]](https://github.com/jazzband/djangorestframework-simplejwt ) | `5.4.0` | `5.5.0` |
| [dulwich](https://github.com/dulwich/dulwich ) | `0.22.7` | `0.22.8` |
| [python-dotenv](https://github.com/theskumar/python-dotenv ) | `1.0.1` | `1.1.0` |
| [qrcode[pil]](https://github.com/lincolnloop/python-qrcode ) | `8.0` | `8.1` |
| [rapidfuzz](https://github.com/rapidfuzz/RapidFuzz ) | `3.12.1` | `3.13.0` |
| [sentry-sdk](https://github.com/getsentry/sentry-python ) | `2.22.0` | `2.25.1` |
| [weasyprint](https://github.com/Kozea/WeasyPrint ) | `64.1` | `65.0` |
Updates `coverage[toml]` from 7.6.12 to 7.8.0
- [Release notes](https://github.com/nedbat/coveragepy/releases )
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst )
- [Commits](https://github.com/nedbat/coveragepy/compare/7.6.12...7.8.0 )
Updates `cryptography` from 44.0.1 to 44.0.2
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pyca/cryptography/compare/44.0.1...44.0.2 )
Updates `isort` from 6.0.0 to 6.0.1
- [Release notes](https://github.com/PyCQA/isort/releases )
- [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md )
- [Commits](https://github.com/PyCQA/isort/compare/6.0.0...6.0.1 )
Updates `pdfminer-six` from 20240706 to 20250327
- [Release notes](https://github.com/pdfminer/pdfminer.six/releases )
- [Changelog](https://github.com/pdfminer/pdfminer.six/blob/master/CHANGELOG.md )
- [Commits](https://github.com/pdfminer/pdfminer.six/commits )
Updates `pre-commit` from 4.1.0 to 4.2.0
- [Release notes](https://github.com/pre-commit/pre-commit/releases )
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pre-commit/pre-commit/compare/v4.1.0...v4.2.0 )
Updates `django-allauth[mfa,openid,saml,socialaccount]` from 65.4.1 to 65.7.0
- [Commits](https://github.com/sponsors/pennersr/commits )
Updates `django-maintenance-mode` from 0.21.1 to 0.22.0
- [Release notes](https://github.com/fabiocaccamo/django-maintenance-mode/releases )
- [Changelog](https://github.com/fabiocaccamo/django-maintenance-mode/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fabiocaccamo/django-maintenance-mode/compare/0.21.1...0.22.0 )
Updates `django-mptt` from 0.16.0 to 0.17.0
- [Release notes](https://github.com/django-mptt/django-mptt/releases )
- [Changelog](https://github.com/django-mptt/django-mptt/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/django-mptt/django-mptt/compare/0.16...0.17 )
Updates `django-otp` from 1.3.0 to 1.6.0
- [Changelog](https://github.com/django-otp/django-otp/blob/master/CHANGES.rst )
- [Commits](https://github.com/django-otp/django-otp/compare/v1.3.0...v1.6.0 )
Updates `djangorestframework-simplejwt[crypto]` from 5.4.0 to 5.5.0
- [Release notes](https://github.com/jazzband/djangorestframework-simplejwt/releases )
- [Changelog](https://github.com/jazzband/djangorestframework-simplejwt/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jazzband/djangorestframework-simplejwt/compare/v5.4.0...v5.5.0 )
Updates `dulwich` from 0.22.7 to 0.22.8
- [Release notes](https://github.com/dulwich/dulwich/releases )
- [Changelog](https://github.com/jelmer/dulwich/blob/master/NEWS )
- [Commits](https://github.com/dulwich/dulwich/compare/dulwich-0.22.7...dulwich-0.22.8 )
Updates `python-dotenv` from 1.0.1 to 1.1.0
- [Release notes](https://github.com/theskumar/python-dotenv/releases )
- [Changelog](https://github.com/theskumar/python-dotenv/blob/main/CHANGELOG.md )
- [Commits](https://github.com/theskumar/python-dotenv/compare/v1.0.1...v1.1.0 )
Updates `qrcode[pil]` from 8.0 to 8.1
- [Changelog](https://github.com/lincolnloop/python-qrcode/blob/main/CHANGES.rst )
- [Commits](https://github.com/lincolnloop/python-qrcode/commits )
Updates `rapidfuzz` from 3.12.1 to 3.13.0
- [Release notes](https://github.com/rapidfuzz/RapidFuzz/releases )
- [Changelog](https://github.com/rapidfuzz/RapidFuzz/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/rapidfuzz/RapidFuzz/compare/v3.12.1...v3.13.0 )
Updates `sentry-sdk` from 2.22.0 to 2.25.1
- [Release notes](https://github.com/getsentry/sentry-python/releases )
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-python/compare/2.22.0...2.25.1 )
Updates `weasyprint` from 64.1 to 65.0
- [Release notes](https://github.com/Kozea/WeasyPrint/releases )
- [Changelog](https://github.com/Kozea/WeasyPrint/blob/main/docs/changelog.rst )
- [Commits](https://github.com/Kozea/WeasyPrint/compare/v64.1...v65.0 )
---
updated-dependencies:
- dependency-name: coverage[toml]
dependency-version: 7.8.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: cryptography
dependency-version: 44.0.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: isort
dependency-version: 6.0.1
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: pdfminer-six
dependency-version: '20250327'
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: pre-commit
dependency-version: 4.2.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: django-allauth[mfa,openid,saml,socialaccount]
dependency-version: 65.7.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: django-maintenance-mode
dependency-version: 0.22.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: django-mptt
dependency-version: 0.17.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: django-otp
dependency-version: 1.6.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: djangorestframework-simplejwt[crypto]
dependency-version: 5.5.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: dulwich
dependency-version: 0.22.8
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: python-dotenv
dependency-version: 1.1.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: qrcode[pil]
dependency-version: '8.1'
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: rapidfuzz
dependency-version: 3.13.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: sentry-sdk
dependency-version: 2.25.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: weasyprint
dependency-version: '65.0'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix req
* lower django-otp
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-04-07 09:05:38 +10:00
Oliver
ac181140c9
[UI] Row hover ( #9465 )
...
* Add red color
* Improve table cursor
- Show "pointer" (hand) icon when actions available
- Improve context menu
2025-04-06 12:31:28 +10:00
dependabot[bot]
6b28bcca70
Bump vite from 6.2.4 to 6.2.5 in /src/frontend ( #9457 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 6.2.4 to 6.2.5.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.5/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v6.2.5/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-version: 6.2.5
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-05 15:55:32 +11:00
Oliver
544a3c6263
Notification permissions ( #9449 )
...
* Updated type hints
* Fix tooltip bug
* Check user when sending notification
* Fix test
* Update unit test
* More unit test fixes
* Tweak playwright tests
2025-04-05 10:30:58 +11:00
Oliver
f66efa7733
Handle potential null header ( #9462 )
2025-04-05 09:45:13 +11:00
Joe Rogers
721f56f36e
Wrap values() call in list to fix type error ( #9460 )
2025-04-05 09:13:53 +11:00
Jacob Felknor
6021035e3f
User Setting To Search Notes ( #9393 )
...
* add search notes and tie user search settings to checkboxes in search drawer
* add user setting to optionally search the notes of objects
* add search filter test
* add PR link
* add limit parameter
* typo, meant to check part result
* resolve api_version.py conflict
* don't use search_whole and search_regex together
---------
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-04-04 09:22:39 +11:00
Matthias Mair
a2370dbe59
fix(backend): enforce docstring args ( #9428 )
...
* enforce docstring args
* add more rules that we could add later
* fix missing yields
* add a type
* make 3.9 compat
2025-04-04 09:02:55 +11:00
Matthias Mair
b48ceb00f2
refactor(frontend): seperate Alerts into own component ( #9442 )
...
* refactor(frontend): seperate Alerts into own component
* refactor debug mode info
* add error code for debug mode and render help links in alerts
* add error message for background worker
* add error code for server restart required
* Add error code for missing email settings
* fix various typings
* add error code for missing migrations
2025-04-03 18:03:07 +11:00
Oliver
c4f98cd6a1
Report cache fix ( #9447 )
...
* Adjust allowed CORS headers
* Disable caching in template preview
2025-04-03 15:11:36 +11:00
Oliver
9c419e6ac1
Notify subscribed users ( #9446 )
...
* Update docstrings
* Update 'notify_responsible' function
* Update build notifications
* Update notifications for external orders
* Update more notifications
* Notify for overdue return orders
* Fix typos
* Fixes
2025-04-03 13:42:21 +11:00
Oliver
67bdf3162a
Update overdue order notification ( #9444 )
...
* Update overdue order notification
- Check individual line items too
* Fix typo
2025-04-03 11:22:23 +11:00
Oliver
a18b18a3fd
Serialize stock fix ( #9441 )
...
* Fix bug which hid the "serialize stock" button
* Add playwright tests
* Adjust check
2025-04-03 07:48:12 +11:00
Lukas
75b47f8d09
Typed report context ( #9431 )
...
* add typed report context
* make it py3.9 compatible
* fix docs
* debug docs
* fix for py 3.9
* add requested error codes
2025-04-03 07:45:37 +11:00
Joe Rogers
b2db0b67e0
Clean up various schema generator warnings ( #9437 )
...
* Add default metadata model for schema generation
* Add type hints and annotations where needed for schema generation
* Bump api version
* Fix version bump
2025-04-02 14:34:58 +11:00
github-actions[bot]
15933a6b3a
New Crowdin translations by GitHub Action ( #9337 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-02 10:52:59 +11:00
Lukas
ba703cf58a
Template Editor Improvements ( #9434 )
...
* add unmount hook and context to report editor ui feature
* Fix tests
* Update pui_printing.spec.ts
* Update pui_printing.spec.ts
* try fix tests
* retrigger ci
* remove debug messages
2025-04-02 09:01:12 +11:00
dependabot[bot]
6a964a4e2b
Bump vite from 6.2.3 to 6.2.4 in /src/frontend ( #9429 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 6.2.3 to 6.2.4.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.4/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v6.2.4/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 17:26:22 +11:00
Joe Rogers
33cc86a603
Add request body to schema for bulk delete operations, deconflict list ( #9420 )
...
* Add request body to schema for bulk delete operations, deconflict list
vs single delete operation ids
* API version bump
* Fix variable name conflict
* Switch from post-processing hook to AutoSchema extension
* Loosen typing on filter dict, correct expected code in tests
* Filter by view class instead of path
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-04-01 10:38:17 +11:00
Oliver
fcc6709b3f
Revert some playwright changes ( #9419 )
...
* Revert some playwright changes
- Use vite dev server all the time
* Simplify test
2025-03-31 20:12:26 +11:00
Oliver
f7a4469590
Download params ( #9413 )
...
* Pass extra options through to data export plugins
* Add PartParameterExporter plugin
- Useful for including part parameter data in exporter
* Fix bug in InvenTreeTableHeader
* enable export for partparametertable
* Simplify tests
* Add typing hints
2025-03-31 19:45:59 +11:00
Oliver
66d5180d8f
[UI] Improve order parts wizard ( #9389 )
...
* [UI] Improve order parts wizard
- Enhance placeholder text
- Precalculate order quantity
* Tweak playwright tests
* Simplify tests
2025-03-31 18:19:21 +11:00
Joe Rogers
2457dfee70
Use int PK instead of regex string in API endpoints ( #9399 )
...
* Convert company api endpoints to use int PK instead of regex string
* Convert additional path PK strings to ints
2025-03-30 15:54:19 +11:00
Oliver
7f5a447769
[CI] Playwright improvements ( #9395 )
...
* Allow port 4173 (vite preview)
* Change 'base' attr based on vite command
* Allow api_host to be specified separately
* Harden API host functionality
* Adjust server selections
* Cleanup vite.config.ts
* Adjust playwright configuration
- Allow to run in "production" mode
- Builds the code first
- Runs only the backend web server
- Not suitable for coverage
* Tweak github actions
* Tweak QC file
* Reduce number of steps
* Tweak CI file
* Fix typo
* Ensure translation before build
* Fix hard-coded test
* Test tweaks
* uncomment
* Revert some changes
* Run with gunicorn, single worker
* Reduce log output in DEBUG mode
* Update deps
* Add global-setup func
* Fix for .gitignore file
* Cached auth state
* Tweak login func
* Updated tests
* Enable parallel workers again
* Simplify config
* Try with a single worker again
* Single retry mode
* Run auth setup first
- Prevent issues with parallel test doing login
* Improve test setup process
* Tweaks
* Bump to 3 workers
* Tweak playwright settings
* Revert change
* Revert change
2025-03-30 14:12:48 +11:00
Matthias Mair
858eb8f807
chore(backend): bump drf ( #9407 )
...
* chore(backend): bump drf
* bump api
2025-03-30 14:11:23 +11:00
Oliver
49d088893f
Improve custom maintenance mode backend ( #9396 )
...
* Improve custom maintenance mode backend
- Utilizing global settings functions
- Will use global cache if available
- Fewer DB hits per request
* Twaeak query limits
2025-03-27 15:56:00 +11:00
Oliver
99ec486b79
[Docker] Update node version ( #9383 )
...
* Update node version
* Install nvm
* Use n instead of nvm
* Use same approach in devcontainer
* nvm -> npm
* Split commands
* Fix typo
* Workaround : install bash
* Tweak playwright tests
* Bump number of retries
* Update deps
* Only one worker
* SEcurity fix
* Adjust
2025-03-27 01:25:58 +11:00
Oliver
c4cf9ecd94
[UI] Allocation content ( #9377 )
...
* Refactor variable name
* Add part information when allocating serial numbers
- Easier identification of which part is being allocated
* Fix for part stock rendering
2025-03-26 16:03:16 +11:00
Oliver
59f22a1627
Dayjs updates ( #9388 )
...
* Update Scan.tsx
* Tweak Scan.tsx
2025-03-26 14:27:55 +11:00
Jacob Felknor
2bd26c0f49
use dayjs in datefield ( #9380 )
2025-03-26 10:35:26 +11:00
Matthias Mair
d8f5a56064
fix(backend): Bump maybe vulnerable esbuild ( #9155 )
...
* fix(backend): Bump vulnerable vanilla-extract
* bump deps futher
* remove @types/dompurify
* bump @lingui
* use more modern image
20.04 ships with node 18 as default, 24.04 with 20
* bump rest of image deps
* bump deps
* bump base deps
* bump resolution
* lower resolution
* fix resolution
* update lingui
* switch to build-in macro
* fix imports
2025-03-26 09:30:59 +11:00
gunstr
a6e4742ce4
Show part revision in Build Details panel ( #9373 )
2025-03-25 10:57:16 +11:00
Matthias Mair
42dcc01f9d
feat: Add email notification when a part is changed ( #9275 )
...
* Add function to star / unstar a part
* Also use with category
* Email notification when a part is changed
Fixes #7834
* enable disabling of recent checks
* Add error handler
* remove unneeded function
2025-03-25 09:21:11 +11:00
Oliver
357c1ae0bc
Add upload progress to attachment table ( #9371 )
2025-03-24 23:11:28 +11:00
Jacob Felknor
f5e6352181
fix contact copy, add email/phone if they exist ( #9354 )
2025-03-24 21:19:04 +11:00
Oliver
136e179cc4
[UI] Alerts ( #9365 )
...
* remove TODO (now implemented)
* Add Mantine tooltips
* Add "alerts" to header
* Add more alert types
2025-03-24 20:45:34 +11:00
Oliver
8997f193c9
[UI] Edit fix ( #9367 )
...
* Fix for editing stock location
* Fix for editing part category
2025-03-24 19:24:23 +11:00
Jacob Felknor
3ec8832925
create allauth email from django_auth_ldap if configured ( #9350 )
2025-03-21 13:48:30 +11:00
Matthias Mair
bd0dc3fe50
feat(frontend): Improve comms around authentication ( #9348 )
...
* use enum for flow authentication
* fix inaccurate texts
* add a better user info on login
* fix test assertation
2025-03-21 13:42:50 +11:00
Oliver
cb240e4e0f
[UI] Icons in navbar ( #9346 )
...
* Add Icons to main header
* Add user configurability
2025-03-20 10:19:50 +11:00
Oliver
bdc5f9e84e
[Feature] Mandatory Plugins ( #9339 )
...
* Define which builtin plugins are always-active
* Adds 'mandatory' property to PluginConfig
* Update API / frontend
* Fix form method
* Tweaks
* Bump API version
* Tweak unit tests
2025-03-20 10:19:31 +11:00
Oliver
ae1ec31ca9
Bug fix for activating plugins via UI ( #9338 )
2025-03-20 09:16:31 +11:00
Lukas
3260d94369
added some visual improvements ( #9342 )
...
* added some visual improvements
* fix lint
* Undo changes to sample icons for now
* use primary color
2025-03-20 08:24:35 +11:00
Oliver
cfd83a3d62
[UI] Stylish text tweak ( #9336 )
...
* Update <StylishText>
- Re-enable gradient
- Based on selected highlight color
* Refactor UI
* Do not require size prop
* Memoize
2025-03-20 07:09:38 +11:00
Oliver
662a0b275e
[UI] Web Prefix ( #9334 )
...
* [UI] Change default web prefix
- Adjust default from "platform" to "web"
- Much more standard prefix
* Cleanup
* Fixes for playwright tests
* Fix unit tests
* Refactor base_url into getBaseUrl
2025-03-20 00:12:52 +11:00
github-actions[bot]
832d884c85
New Crowdin translations by GitHub Action ( #9314 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-18 19:22:20 +11:00
Oliver
8d51aa1563
[Feature] Data export plugins ( #9096 )
...
* Move data export code out of "importer" directory
* Refactoring to allow data export via plugin
* Add brief docs framework
* Add basic DataExportMixin class
* Pass context data through to the serializer
* Extract custom serializer
* Refactoring
* Add builtin plugin for BomExport
* More refactoring
* Cleanup for UseForm hooks
* Allow GET methods in forms
* Create new 'exporter' app
* Refactor imports
* Run cleanup task on boot
* Add enumeration for plugin mixin types
* Refactor with_mixin call
* Generate export options serializer
* Pass plugin information through
* Offload export functionality to the plugin
* Generate output
* Download generated file
* Refactor frontend code
* Generate params for downloading
* Pass custom fields through to the plugin
* Implement multi-level export for BOM data
* Export supplier and manufacturer information
* Export substitute data
* Remove old BOM exporter
* Export part parameter data
* Try different app order
* Use GET instead of POST request
- Less 'dangerous' - no chance of performing a destructive operation
* Fix for constructing query parameters
- Ignore any undefined values!
* Trying something
* Revert to POST
- Required, other query data are ignored
* Fix spelling mistakes
* Remove SettingsMixin
* Revert python version
* Fix for settings.py
* Fix missing return
* Fix for label mixin code
* Run playwright tests in --host mode
* Fix for choice field
- Prevent empty value if field is required
* Remove debug prints
* Update table header
* Playwright tests for data export
* Rename app from "exporter" to "data_exporter"
* Add frontend table for export sessions
* Updated playwright testing
* Fix for unit test
* Fix build order unit test
* Back to using GET instead of POST
- Otherwise, users need POST permissions to export!
- A bit of trickery with the forms architecture
* Fix remaining unit tests
* Implement unit test for BOM export
- Including test for custom plugin
* Fix unit test
* Bump API version
* Enhanced playwright tests
* Add debug for CI testing
* Single unit test only (for debugging)
* Fix typo
* typo fix
* Remove debugs
* Docs updates
* Revert typo
* Update tests
* Serializer fix
* Fix typo
* Offload data export to the background worker
- Requires mocking the original request object
- Will need some further unit testing!
* Refactor existing models into DataOutput
- Remove LabelOutput table
- Remove ReportOutput table
- Remove ExportOutput table
- Consolidate into single API endpoint
* Remove "output" tables from frontend
* Refactor frontend hook to be generic
* Frontend now works with background data export
* Fix tasks.py
* Adjust unit tests
* Revert 'plugin_key' to 'plugin'
* Improve user checking when printing
* Updates
* Remove erroneous migration file
* Tweak plugin registry
* Adjust playwright tests
* Refactor data export
- Convert into custom hook
- Enable for calendar view also
* Add playwright tests
* Adjust unit testing
* Tweak unit tests
* Add extra timeout to data export
* Fix for RUF045
2025-03-18 11:35:44 +11:00
Oliver
947a1bcc3a
Use primary color for StylishText ( #9332 )
2025-03-18 10:37:45 +11:00
Matthias Mair
6d42789cb2
fix api version ( #9331 )
2025-03-17 22:51:33 +00:00
Matthias Mair
f8de4e29a1
feat(frontend): Add token managment tools ( #9244 )
...
* Add typing
* feat(frontend): Add token managment tools
Closes https://github.com/inventree/InvenTree/issues/9166
* remove debug msg
* split responsibilities for token endpoint
* move ApiTokenTable
* add option for superusers to show all user tokens
* Add tokens to admin users interface
* adjust api text
* adress raised issues
* make stuff sortable / filterable
2025-03-18 07:27:19 +11:00
Oliver
ddc3cd32f5
[UI] Bulk edit actions ( #9320 )
...
* Allow bulk selection of sales order shipment
* Tweaks
* Support bulk-edit for location parent and category parent
* Allow more login attempts for playwright
2025-03-17 23:27:32 +11:00
Oliver
9db5205f79
Bulk update mixin ( #9313 )
...
* Refactor BulkDeleteMixin
* Implement BulkUpdateMixin class
* Refactor NotificationsTable
- Use common bulkdelete operation
* Update successMessage
* Update metadata constructs
* Add bulk-edit support for PartList endpoint
* Implement set-category for part table
* Cleanup old endpoint
* Improve form error handling
* Simplify translated text
* Add playwright tests
* Bump API version
* Fix unit tests
* Further test updates
2025-03-17 09:21:43 +11:00
Matthias Mair
897afd029b
feat(frontend): show if redirecting inline ( #9122 )
...
* https://github.com/inventree/InvenTree/pull/6293
* refactor to a shared component
* refactoring container stuff to a wrapper
* move title to wrapper
* move logoff and loader to wrapper
* mvoe functions to general auth
* seperate login and register into seperate pages
* unify auth styling
* rename component
* adapt to new look
* check if registration is enabled
* feat(frontend):show if redirecting
* reduce diff
* fix missing import
* remove double warning
2025-03-17 09:03:42 +11:00
Oliver
a453c9b286
[refactor] Remove django-weasyprint entirely ( #9316 )
...
* Remove django-weasyprint entirely
* Handle null request
* Bug fix
2025-03-17 07:51:29 +11:00
Oliver
3afafe594b
[UI] Reimplement calendar views ( #8933 )
...
* Add deps for @fullcalendar
* Basic calendar setup
* Add locale support
* Add custom <SegmentedIconControl> component
* optional 'control' for panel
* Scaffolding out build index page
* Fetch build orders based on calendar dates
* Display builds
* Click to navigate to build
* Working on custom header
* Implement button functionality
* Display current month name
* Implement datepicker dropdown
* Adjust layout
* Custom rendering
* Include part detail
* Implement hook to track calendar state
* Clearing search causes immediate update
* Offload core functionality into hook
- Adds search input
* Spread props correctly
* Cleanup
* Allow build orders to be edited directly from calendar view
* Cleanup
* Fix for InvenTreeCalendarProps
* Improve date range filtering for Build model
* Simplify BuildFilter
* Refactoring
* PurchaseOrder calendar implementation
* Allow edit of purchase orders
* Refactor and implement for all order types
- Add missing "issue_date" field for SalesOrder
- Refactor API for other order types
- Fix rendering issues
* Bump API version
* Add playwright tests for calendar (simple)
* Fix migrations
* Simplify notifications
* Refactor filter components
- Make them more generic
* Enable custom filters for calendars
* Custom filters per table
* Display status label
* Refactoring
* Update playwright tests
* Update build order docs
* Bug fix for order date editing
* Update purchase order docs
* Return Order docs
* Update date formatting
2025-03-16 18:01:51 +11:00
github-actions[bot]
fc34bd0a5e
New Crowdin translations by GitHub Action ( #9288 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-16 09:40:18 +11:00
Matthias Mair
516755db97
refactor(frontend): Do not request token in frontend ( #9217 )
...
* remove calls that reference tokens
* remove call to token endpoint
* ensure CSRFToken is always send
* bump axios
* lower axios
* reset axios change
* bump reslution down
2025-03-16 08:36:58 +11:00
Oliver
0e43e8de2d
Further reduce log output for weasyprint ( #9305 )
...
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-03-16 07:42:54 +11:00
Oliver
4eaa5880c1
Fix currency rendering ( #9308 )
...
- Closes https://github.com/inventree/InvenTree/issues/9300
2025-03-16 07:42:34 +11:00
Oliver
e1ac1c77c0
Provide mocked URL to dummy print requst ( #9307 )
...
* Provide mocked URL to dummy print requst
- FIxes bug which prevented background printing with DEBUG=False
* Disable debug for postgres testing
2025-03-16 00:53:19 +11:00
Joe Rogers
d7aa5e45b9
Check for schema generation state when removing fields ( #9236 )
...
* Ensure notes are not removed when generating schema
* Skip remaining conditional field removals when generating schema, remove removable fields from required lists
* Update API version, add schema gen state check for api-doc endpoint
* Add test for generate schema state
* Add test for schema postprocessing function
* Filter nullable + read_only fields out of schema required lists
---------
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-03-15 23:53:30 +11:00
Oliver
cdb445583b
Prevent sentry reporting in test mode ( #9304 )
2025-03-15 22:42:18 +11:00
Oliver
3dfd1ed146
Static Asset Management ( #9292 )
...
* Caddyfile: Redirect asset requests
- Ensure the static asset files are served by the proxy
- Reduce gunicorn / python load
- Significant server performance increase
* Allow CORS requests to 'assets' path
* Update static assets path for vite build
* Remove RedirectAssetView
* Specify relative base path
Ref: https://vite.dev/guide/build.html#relative-base
* Revert settings.py
* Revert caddyfile
* Remove defunct unit test
* Add timeout to test
2025-03-14 08:20:51 +11:00
Oliver
b25bf5e669
Dynamic filters ( #9290 )
...
* Add attributes to TableFilter type def
* Refactoring
* Refactor ProjectCodeFilter
* Provide simple string rendering of a dynamic filter
* Refactor ResponsibleFilter
* Further refactoring
* More refactoring
* Fix placeholder value
2025-03-13 13:09:37 +11:00
Oliver
7a43c3a83e
Auto-fill currency for new supplier part ( #9286 )
...
- Closes https://github.com/inventree/InvenTree/issues/9284
2025-03-13 01:35:29 +11:00
dependabot[bot]
0049544305
Bump @babel/runtime from 7.25.6 to 7.26.10 in /src/frontend ( #9285 )
...
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime ) from 7.25.6 to 7.26.10.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.26.10/packages/babel-runtime )
---
updated-dependencies:
- dependency-name: "@babel/runtime"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-13 00:46:09 +11:00
github-actions[bot]
f7536a9f89
New Crowdin translations by GitHub Action ( #9175 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-11 19:21:21 +11:00
dependabot[bot]
fdfbd5f783
Bump jinja2 from 3.1.5 to 3.1.6 in /src/backend ( #9272 )
...
* Bump jinja2 from 3.1.5 to 3.1.6 in /src/backend
Bumps [jinja2](https://github.com/pallets/jinja ) from 3.1.5 to 3.1.6.
- [Release notes](https://github.com/pallets/jinja/releases )
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/jinja/compare/3.1.5...3.1.6 )
---
updated-dependencies:
- dependency-name: jinja2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix req
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-03-11 08:05:17 +11:00
dependabot[bot]
1cd7baabb1
Bump axios from 1.7.9 to 1.8.2 in /src/frontend ( #9270 )
...
Bumps [axios](https://github.com/axios/axios ) from 1.7.9 to 1.8.2.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v1.7.9...v1.8.2 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-11 08:04:04 +11:00
dependabot[bot]
94ded911cc
Bump django from 4.2.19 to 4.2.20 in /src/backend ( #9252 )
...
* Bump django from 4.2.19 to 4.2.20 in /src/backend
Bumps [django](https://github.com/django/django ) from 4.2.19 to 4.2.20.
- [Commits](https://github.com/django/django/compare/4.2.19...4.2.20 )
---
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix req
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-03-10 20:49:08 +11:00
Oliver
06961c6a24
Add error handling to API queries ( #9253 )
2025-03-07 14:30:51 +11:00
Oliver
2e91dc202b
Fix for link length migration ( #9249 )
...
- Found some fields which had not been migrated correctly
2025-03-06 16:24:54 +11:00
Matthias Mair
8e753b3797
fix(backend): API version correction ( #9243 )
...
The API version was not corretly changed in https://github.com/inventree/InvenTree/pull/9131 - this fixes it.
Fixes https://github.com/inventree/InvenTree/issues/9242
2025-03-05 11:24:29 +00:00
Oliver
017d96f64e
Ignore sentry for TemplateSyntaxError ( #9239 )
...
- Getting flodded with reports of users misapplied template filters
2025-03-05 22:00:05 +11:00
Oliver
21ae1138ce
Tracking api fix ( #9238 )
...
* [Bug] Fix search for StockTrackingList
- Removed invalid field
* Add unit test coverage for failing condition
* Fix 'notes' field for extra line item API
2025-03-05 21:59:44 +11:00
simonkuehling
d96f0d78e9
increase character limits on all link fields to 2000 ( #9131 )
...
* increase character limits on all link fields to 2000
* update test to still trigger
* Don't fail when diff is too big for echo (#9205 )
* Reduce severity of error message (#9209 )
- Currently flooding sentry.io with reports
* Disable pagination for ConfigList class (#9210 )
* [API] Auth login error (#9212 )
Fixes #9211
* [UI] Table Update (#9220 )
- Retain user selection for pageSize
* renumber migrations after merge from master
* Remove quick actions (#9222 )
* Remove placeholder components
- No function
- Cleanup for 1.0.0
* Remove Placeholder.tsx
* feat(backend): Add user profile (#9116 )
* Add user profile
* fix choice set
* ensure primary_group is valid
* add missing migrations
* fix tests
* merge migrations
* add migration test
* add new model to ruleset
* ensure changed to the m2m conenction also validate primary grups
* move signals
* fix import?
* patch user language through
* use set methods correctly
* bump api
* refactoring to make debugging and extending easier
* fix dum recurrsion problem
* fix user pk lookup
* rename migration
* add user and group page
* cleanup
* add hoverCard for user / owner / group render
* include owner_model in owner responses
* move user serializers to users
* add profile to list
* add brief serializer for profiles
* ensure profile is present in most apis
* extend rendered data
* store and observe langauge in profile
* reduce unneeded complexity
* enable access to full profle (including internal fields) in me serializer
* move theme to a single object
* persist theme settings
* fix radius lookup
* remove debug message
* fix filter
* remove unused field
* remove image fields
* add setting to control showing profiles
* fix settings
* update test
* fix theme reload
* Add contact UI
* Add profile edit screen
* fix test
* Add testing for user theme panel
* fix var name
* complete coverage of theme
* Add test for new pages
* make test more reliable in strict mode
* remove step
* fix ref
* add verbose names
* fix used setting
* extend tests
* fix permissions
* fix lookup
* use lookup to enuse ursls stay valid
* update migrations
* Add position field
* fix permissions
* Fix font size in location column (#9230 )
* [WIP] Background reports (#9199 )
* Update report generation progress
* Add shim task for offloading report printing
* Cleanup
* Add detail endpoints for label and report outputs
* Display report printing progress in UI
* Implement similar for label printing
* Reduce output for CI
* Add plugin slug
* Bump API version
* Ensure it works with machine printing
* Fix null comparison
* Fix SKU link
* Update playwright tests
* Massively reduce log output when printing
* handle null values in existing db data
* fix test to pass at max character limit again
---------
Co-authored-by: Matthias Mair <code@mjmair.com>
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
Co-authored-by: Joe Rogers <1337joe@users.noreply.github.com>
2025-03-05 10:44:04 +11:00
Oliver
d822b9b574
[WIP] Background reports ( #9199 )
...
* Update report generation progress
* Add shim task for offloading report printing
* Cleanup
* Add detail endpoints for label and report outputs
* Display report printing progress in UI
* Implement similar for label printing
* Reduce output for CI
* Add plugin slug
* Bump API version
* Ensure it works with machine printing
* Fix null comparison
* Fix SKU link
* Update playwright tests
* Massively reduce log output when printing
2025-03-04 23:40:54 +11:00
Oliver
d5a176c121
Fix font size in location column ( #9230 )
2025-03-04 23:27:34 +11:00
Matthias Mair
0d1ab4e75a
feat(backend): Add user profile ( #9116 )
...
* Add user profile
* fix choice set
* ensure primary_group is valid
* add missing migrations
* fix tests
* merge migrations
* add migration test
* add new model to ruleset
* ensure changed to the m2m conenction also validate primary grups
* move signals
* fix import?
* patch user language through
* use set methods correctly
* bump api
* refactoring to make debugging and extending easier
* fix dum recurrsion problem
* fix user pk lookup
* rename migration
* add user and group page
* cleanup
* add hoverCard for user / owner / group render
* include owner_model in owner responses
* move user serializers to users
* add profile to list
* add brief serializer for profiles
* ensure profile is present in most apis
* extend rendered data
* store and observe langauge in profile
* reduce unneeded complexity
* enable access to full profle (including internal fields) in me serializer
* move theme to a single object
* persist theme settings
* fix radius lookup
* remove debug message
* fix filter
* remove unused field
* remove image fields
* add setting to control showing profiles
* fix settings
* update test
* fix theme reload
* Add contact UI
* Add profile edit screen
* fix test
* Add testing for user theme panel
* fix var name
* complete coverage of theme
* Add test for new pages
* make test more reliable in strict mode
* remove step
* fix ref
* add verbose names
* fix used setting
* extend tests
* fix permissions
* fix lookup
* use lookup to enuse ursls stay valid
* update migrations
* Add position field
* fix permissions
2025-03-04 22:57:20 +11:00
Oliver
8bca48dbdd
Remove quick actions ( #9222 )
...
* Remove placeholder components
- No function
- Cleanup for 1.0.0
* Remove Placeholder.tsx
2025-03-04 17:54:36 +11:00
Oliver
8cee2e36ca
[UI] Table Update ( #9220 )
...
- Retain user selection for pageSize
2025-03-03 19:09:42 +11:00
Matthias Mair
ac96ba4a7c
[API] Auth login error ( #9212 )
...
Fixes #9211
2025-03-02 07:58:46 +11:00
Oliver
d69fb9011c
Disable pagination for ConfigList class ( #9210 )
2025-03-01 16:12:09 +11:00
Oliver
8404e2232f
Reduce severity of error message ( #9209 )
...
- Currently flooding sentry.io with reports
2025-03-01 16:12:01 +11:00
Oliver
6c52f00c16
Call machine func ( #9191 )
...
* Force label printing to background worker
* Refactor "check_reload" state of machine registry
- In line with plugin registry
- More work can be done here (i.e. session caching)
* Better handling of call_plugin_function
* Wrapper for calling machine function
* Use AttributeError instead
* Simplify function offloading
* Check plugin registry hash when reloading machine registry
* Cleanup
* Fixes
* Adjust unit test
* Cleanup
* Allow running in foreground if background worker not running
* Simplify call structure
2025-02-28 21:07:56 +11:00
Joe Rogers
157cbbead5
Schema cleanup tmp ( #9143 )
...
* Add type hints for name, address, expired, and active
* Add nullable to various fields that return null in the test dataset
* Removed nullable type hint, add default boolean value instead of nullable
* Bump schema version
* Add schema version notes, add localized tags for doc string
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-02-28 19:15:35 +11:00
Oliver
92a9423c21
Remove restriction on row action ( #9201 )
2025-02-28 16:43:25 +11:00
Michael
0da9391568
Add part full name to supplier part table ( #9197 )
2025-02-27 23:17:43 +11:00
Oliver
28259a1ad6
Add loading indicator for custom panels ( #9194 )
2025-02-27 15:25:56 +11:00
Oliver
92edbf41ab
Add 'note' field to form ( #9186 )
2025-02-26 13:56:28 +11:00
Oliver
3940544a70
Allow custom icons to be cleared ( #9185 )
...
* Allow custom icons to be cleared
- Closes https://github.com/inventree/InvenTree/issues/9182
* Bump API version
* Update unit test
* Loosen test requirements
2025-02-26 13:25:44 +11:00
Oliver
94c2157d3c
Handle case of null stock location ( #9183 )
2025-02-26 09:26:11 +11:00
Oliver
df60b1bc22
Allow reload of stock table if multiple new items are created ( #9178 )
2025-02-25 21:37:43 +11:00
Matthias Mair
89c5148873
Revert "remove need for hard coded token ( #9136 )" ( #9177 )
...
This reverts commit 9f236f5ce9 .
2025-02-25 09:44:14 +00:00
Matthias Mair
9f236f5ce9
remove need for hard coded token ( #9136 )
2025-02-25 09:22:35 +11:00
Matthias Mair
991b578c30
refactor(frontend): Auth component refactor ( #9121 )
...
* https://github.com/inventree/InvenTree/pull/6293
* refactor to a shared component
* refactoring container stuff to a wrapper
* move title to wrapper
* move logoff and loader to wrapper
* mvoe functions to general auth
* seperate login and register into seperate pages
* unify auth styling
* rename component
* adapt to new look
* check if registration is enabled
* reduce diff
* reduce diff
* fix import
* add aria label to make more reliable
* make cap match
* ensure that confirm only works with valid inputs
* leave error for non-matching pwd to API
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-02-25 07:04:16 +11:00
Oliver
58a03d960a
Refactor API token display ( #9168 )
...
* Refactor API token display
* Tweaks
- Fix accessor ID
- Add filtering
* Revert ordering fields
2025-02-25 07:03:22 +11:00
github-actions[bot]
49eaedaca6
New Crowdin translations by GitHub Action ( #9161 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-24 11:14:52 +11:00
Oliver
cfdafcd791
Dashboard item rendering fixes ( #9163 )
2025-02-23 21:39:22 +11:00
Oliver
c9666ff8ec
Remove 'url' field from serializers ( #9150 )
...
* Remove 'url' field from serializers
- Not used in any official client
- Inconsistent use across models
* Bump API version
* Adjust unit tests
* Fix API version
2025-02-23 21:07:34 +11:00
Oliver
9d1d0fa66b
Cleanup backend code ( #9158 )
...
* Cleanup backend code
* Re-add # TODO
2025-02-23 17:51:51 +11:00
Oliver
05fa36df72
TODO Cleanup ( #9152 )
2025-02-23 09:31:02 +11:00
Matthias Mair
c3f737b320
fix(frontend): header nesting warning when using navbar_message ( #9154 )
2025-02-23 08:16:03 +11:00
Oliver
07423ff247
Slight tweaks to forms ( #9149 ) use
2025-02-22 23:33:35 +11:00
Oliver
347f7ea050
[UI] Barcode scanner update ( #9151 )
...
Use BARCODE_WEBCAM_SUPPORT setting
2025-02-22 23:33:17 +11:00
Oliver
8df34cefd6
[UI] Settings render ( #9148 )
...
* Update sample plugin
* Inline rendering of model based settings
* Spelling fix
* Add playwright testing
2025-02-22 21:59:06 +11:00
Jacob Felknor
2cabd02c6b
Use ref pattern on PO duplicate ( #9100 )
...
* use ref pattern on PO duplicate
* use ref patterns on duplicate for other types of orders
* revert unintentional change to pre-commit
* add playwright tests
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-02-22 20:40:01 +11:00
Oliver
84d3a716e0
[UI] Reduce test sensitivity ( #9146 )
2025-02-22 20:06:34 +11:00
Oliver
7098ac74d2
[UI] Stock batch codes ( #9145 )
...
* Display batch code in stock item preview
* Show batch code in stock operations modal
* Refactor StockForms
* More table refactoring
2025-02-22 19:52:18 +11:00
Oliver
bd7e515856
Harden playwright tests ( #9141 )
2025-02-22 17:14:14 +11:00
Oliver
74e3122581
Mixin cleanup ( #9142 )
...
* Remove legacy SettingsContentMixin
- Only used for rendering into old UI
- No longer useful
* Refactor path for NavigationMixin
* Fix typos
* Fix borked import
2025-02-22 17:13:29 +11:00
Oliver
e447e4037b
UI cleanup ( #9140 )
...
* Refactor SecurityContext page:
- Add Accordion to separate different groups
- Fix "make primary" button (requires PATCH)
- Responsive grid design
* Add splash screen background to more pages
* Adds playwright testing for email setup
* Refactoring
* Fix playwright tests
2025-02-22 17:13:12 +11:00
Oliver
44cca7ddf2
[UI] Search Improvements ( #9137 )
...
* Harden playwright tests
* Refactor search drawer
- Allow result groups to collapse
* Add tooltip
* Fix menu position
* Navigate through to complete list of results
* Refactor table headers
* Add index pages for SupplierPart and ManufacturerPart models
* backend: allow split search by company type
* Fix panel naming bug
* Fix model URLs
* Split company results by company type
- Allows better routing to results list
* Remove debug msg
* Fix 'button within button' issue
* Additional playwright tests
2025-02-22 15:00:25 +11:00
Oliver
09cdf72bda
Handle undefined values ( #9139 )
2025-02-22 11:52:11 +11:00
Matthias Mair
03278c56c9
Remove django-allauth-2fa, dj-rest-auth and django-user-sessions ( #6293 )
...
* Remove django-allauth-2fa
Fixes #6281
* fix req
* fix file again
* remove allauth_2fa flows
* reintroduce otp
* fix rq
* remove old ref
* remove otp things from settings
* reintroduce otp codes
* remove totp section
* bump version
* fix reqs
* add missing model
* ignore TOTP migration if the model is not laoded
* add model deps
* add extra migrations step for easier testing
* add migration testing
* remove old catch
* cover static devies too
* remove more old stuff
* fix import
* mrege migrations
* bump API version
* switch to allauth.usersessions
* add headless
* re-add saml/openid
* user sessions cleanup
* turn off normal allauth urls if CUI is not active
* disable tests that rely on old endpoints - to be replaced
* always track session changes
* remove old allauth templates
* remove old ref
* add missing model
* fix session lookup
* always logout when pwd is changed
* reimplement session ending
* fix merge
* upgrade reqs
* lower cryptography version
* clean allauth_2fa reference
* disable test temporarly
* fix migration check
* disable tests temporarly
* Re-implement auth flow using new APIs; adds MFA to PUI
* re-implement logoff
* stop failure message from appearing when in MFA flow
* remove jwt mention
* fix: email endpoints (to be cleaned TODO@matmair)
* remove unused endpoints
* ignore the now often-used 410 error
* fix auth for email actions in MFA scenarios
* add mfa listing use build-in forms
* add dummy entry for missing frontend urls; see TODO@matmair
* remove unneeded change of confirm url
* add mfa reg endpoint (not fully implemented)
* implement more provider stuff
* simplify calls
* make calls more robust
* switch to browser based sessions
* add todo's
* update api version
* remove x-session, not needed anymore
* remove old urls
* remove ui preference - there is no decision anymore
* fix login redirect logic
* change name to ensure 1p can detect field
* add mfa table
* fix remove sso provider account action; provider (user) admin stuff is done
* reduce templates to the raw basics
* fix tests
* more exclusions
* rewrite url structure
* move buildin token test
* re-enable registration tests
* re-implement registrations
* enable registration for now
* re-implement password change
* adjust tests
* fix asserts
* align names with allauth
* simplify
* refactor and rephrasing
* fix nesting issue
* clean up urls even more
* add mfa add and remove screens
* add type
* revert dep change
* fix api version
* re-add settings
* simplify urls
* Add timeout to login wait for
* fix url assertation
* remove unneded mfa_enabled
* add setting for configuring types
* bump api version
* fix password reset flow
* change settings order
* save auth context
* rename var to remove confusion
* make login/register seperate paths
* make info text better
* adjust urls
* add error message
* disable buttons if no email is set
* add custom adapters for MFA and headless authentication to use upstreamed features
* move auth settings to status
* respect more settings
* update settings
* bump api version
* remove depreceated docs part
* remove dj_rest_auth stuff
* fix api_version bump
* remove temp fix
* fix provider login
* remove unsupported option
* remove hash requirement for now
* simplify customisation
* implement email-verification
* remove auth from api docs
* fix override of get_frontend_url
details in https://codeberg.org/allauth/django-allauth/pulls/4248
* bump api again
* fix req
* Revert "remove hash requirement for now"
This reverts commit 00bb6c5274 .
* remove usage of git repo
* fix doc string
* extend schema generation to just patch in allauth
* patch allauth OAI ref names
* reduce types
* refactor code structure
* fix ref patching a bit more
* add param cleanup
* ensure strings, number, bools are handled correctly in cleanup
* move fnc
* shorten names
* bump allauth
* re-add auth doc section
* fix doc structure
* revert playwrigth change
* ckean up browser only path
* clean up parameters that we do not use
* re-add 2fa required middleware
* fix mail sending hook
* fix password set texts
* Add forced mfa setup
* remove type
* adjust api_version
* Remove debug prints
* Add error message for TOTP creation
* Handle failed TOTP login
* fix reqs
* Add error on 409 during login
* fix tested url
* fix api_version
* fix allauth version
* minimize req diff
* further minimize diff
---------
Co-authored-by: Oliver Walters <oliver.henry.walters@gmail.com>
2025-02-22 11:11:04 +11:00
Oliver
1f84f24514
Batch code fix ( #9123 )
...
* Fix batch code assignment when receiving items
* Add playwright tests
* Harden playwright tests
* Refactoring
2025-02-22 08:34:45 +11:00
dependabot[bot]
2521862b1a
Bump the dependencies group across 1 directory with 9 updates ( #9134 ) use
...
* Bump the dependencies group across 1 directory with 9 updates
Bumps the dependencies group with 9 updates in the /src/backend directory:
| Package | From | To |
| --- | --- | --- |
| [coverage[toml]](https://github.com/nedbat/coveragepy ) | `7.6.11` | `7.6.12` |
| [dj-rest-auth](https://github.com/iMerica/dj-rest-auth ) | `7.0.0` | `7.0.1` |
| [django-allauth-2fa](https://github.com/valohai/django-allauth-2fa ) | `0.11.1` | `0.12.0` |
| [django-filter](https://github.com/carltongibson/django-filter ) | `24.3` | `25.1` |
| [django-money](https://github.com/django-money/django-money ) | `3.2.0` | `3.5.3` |
| [djangorestframework](https://github.com/encode/django-rest-framework ) | `3.14.0` | `3.15.2` |
| [pydyf](https://github.com/CourtBouillon/pydyf ) | `0.10.0` | `0.11.0` |
| [sentry-sdk](https://github.com/getsentry/sentry-python ) | `2.20.0` | `2.22.0` |
| [weasyprint](https://github.com/Kozea/WeasyPrint ) | `62.3` | `64.1` |
Updates `coverage[toml]` from 7.6.11 to 7.6.12
- [Release notes](https://github.com/nedbat/coveragepy/releases )
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst )
- [Commits](https://github.com/nedbat/coveragepy/compare/7.6.11...7.6.12 )
Updates `dj-rest-auth` from 7.0.0 to 7.0.1
- [Release notes](https://github.com/iMerica/dj-rest-auth/releases )
- [Commits](https://github.com/iMerica/dj-rest-auth/compare/7.0.0...7.0.1 )
Updates `django-allauth-2fa` from 0.11.1 to 0.12.0
- [Release notes](https://github.com/valohai/django-allauth-2fa/releases )
- [Changelog](https://github.com/valohai/django-allauth-2fa/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/valohai/django-allauth-2fa/compare/v0.11.1...v0.12.0 )
Updates `django-filter` from 24.3 to 25.1
- [Release notes](https://github.com/carltongibson/django-filter/releases )
- [Changelog](https://github.com/carltongibson/django-filter/blob/main/CHANGES.rst )
- [Commits](https://github.com/carltongibson/django-filter/compare/24.3...25.1 )
Updates `django-money` from 3.2.0 to 3.5.3
- [Release notes](https://github.com/django-money/django-money/releases )
- [Changelog](https://github.com/django-money/django-money/blob/main/docs/changes.rst )
- [Commits](https://github.com/django-money/django-money/compare/3.2...3.5.3 )
Updates `djangorestframework` from 3.14.0 to 3.15.2
- [Release notes](https://github.com/encode/django-rest-framework/releases )
- [Commits](https://github.com/encode/django-rest-framework/compare/3.14.0...3.15.2 )
Updates `pydyf` from 0.10.0 to 0.11.0
- [Release notes](https://github.com/CourtBouillon/pydyf/releases )
- [Changelog](https://github.com/CourtBouillon/pydyf/blob/main/docs/changelog.rst )
- [Commits](https://github.com/CourtBouillon/pydyf/compare/v0.10.0...v0.11.0 )
Updates `sentry-sdk` from 2.20.0 to 2.22.0
- [Release notes](https://github.com/getsentry/sentry-python/releases )
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-python/compare/2.20.0...2.22.0 )
Updates `weasyprint` from 62.3 to 64.1
- [Release notes](https://github.com/Kozea/WeasyPrint/releases )
- [Changelog](https://github.com/Kozea/WeasyPrint/blob/main/docs/changelog.rst )
- [Commits](https://github.com/Kozea/WeasyPrint/compare/v62.3...v64.1 )
---
updated-dependencies:
- dependency-name: coverage[toml]
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: dj-rest-auth
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: django-allauth-2fa
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: django-filter
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: django-money
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: djangorestframework
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: pydyf
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: sentry-sdk
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: weasyprint
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix req
* clean up req file
* lower drf again
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-02-22 08:02:53 +11:00
Oliver
bc9dbf7df4
Barcode validation fix ( #9127 )
...
* Fix logic for adding items to SalesOrder
* Same thing for purchase orders
* Update serializers.py
Revert typo fix
- Otherwise, we need to do an API bump and the PR can't be back-ported!
2025-02-21 22:17:55 +11:00
Oliver
6930ae7122
Ignore inactive parts ( #9125 )
2025-02-21 20:55:22 +11:00
Oliver
ab4eff19d3
[UI] Pricing chart fixes ( #9119 )
...
* Fix default values for pricing override
* Fix broken calculation for sale pricing
- Was previously excluding COMPLETED orders
* Fix for PricingOverviewPanel
* Fix for InvenTreeMoneySerializer
- Numbers should be represented as numbers!
* Front-end wrangling too
* Fix unit test
2025-02-21 19:09:57 +11:00
Oliver
15ad62494f
[Docker] Alpine image fix ( #9118 )
...
* Revert to alpine3:20 / postgres:16
* Remove old hack
- No longer needed as we are using python 3.11
* Update package requirements for devcontainer
Also fixes some docker warnings from the alpine Dockerfile
* Specify SITE_URL
* Reduce log output during docker image testing
2025-02-21 18:02:39 +11:00
Oliver
96bca652c4
Logic fix for label printing plugin ( #9117 )
2025-02-21 16:06:04 +11:00
dependabot[bot]
19f772bd6e
Bump @octokit/request from 8.4.0 to 8.4.1 in /src/frontend ( #9105 )
...
Bumps [@octokit/request](https://github.com/octokit/request.js ) from 8.4.0 to 8.4.1.
- [Release notes](https://github.com/octokit/request.js/releases )
- [Commits](https://github.com/octokit/request.js/compare/v8.4.0...v8.4.1 )
---
updated-dependencies:
- dependency-name: "@octokit/request"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-20 08:20:40 +11:00
Oliver
e492774808
Use postgres for playwright testing ( #9104 )
...
* Use postgres for playwright testing
- Should reduce issues with parallel tests
* Fix deps
* Harden playwright tests
2025-02-19 20:33:54 +11:00
Oliver
7e7f745c89
Updates to admin interface ( #9103 )
2025-02-19 15:09:34 +11:00
dependabot[bot]
2d0f4e50bb
Bump @octokit/plugin-paginate-rest from 9.2.1 to 9.2.2 in /src/frontend ( #9102 )
...
Bumps [@octokit/plugin-paginate-rest](https://github.com/octokit/plugin-paginate-rest.js ) from 9.2.1 to 9.2.2.
- [Release notes](https://github.com/octokit/plugin-paginate-rest.js/releases )
- [Commits](https://github.com/octokit/plugin-paginate-rest.js/compare/v9.2.1...v9.2.2 )
---
updated-dependencies:
- dependency-name: "@octokit/plugin-paginate-rest"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-19 14:51:08 +11:00
Matthias Mair
c314a4575d
feat(backend): Add instance id for linked data plugins ( #9087 )
...
* feat(backend): Add instance id for linked data plugins
* add to settings ui
* fix ref name
* add test
* fix default
* remove wrong key
* fix serializer
* fix patching
2025-02-18 18:58:46 +11:00
Matthias Mair
1d0540948f
chore(backend): bump devtools ( #9088 )
...
* chore(backend):Bump devtools
* fix typos that are now detected
2025-02-18 18:57:48 +11:00
Oliver
480536a023
PartThumbTable updates ( #9094 )
...
- Change columns based on viewport width
- Use debounced value
- Enable pagination
- Fix pagination on backend API
2025-02-18 13:48:44 +11:00
Oliver
a3ffc01d88
Remove 'is_ajax' helper ( #9095 )
...
- Old, dead code
- No longer needed
2025-02-18 13:48:35 +11:00
Matthias Mair
4a9138cc3b
chore(backend): increase coverage ( #9039 )
...
* move version tests
* factor out read_license_file
* add testing for license file
* ignore special case when we create the schema
* extent no found api tests
* extend info view tests
* try fixing test?
* fix?
* test user create api
* measure impact of removing bom import
* remove dead code
* Revert "measure impact of removing bom import"
This reverts commit bb31db05e3 .
* remove dead code
* remove plugin tags that were made for CUI
* add testing for filters
* add test for config delete
* add more api tests
* adjust tests
* fix test
* use superuser
* adapt error code
* Add test for https://github.com/inventree/InvenTree/pull/9077
* add mixin_available mixin
* make check_reload more observable
* test check_reload too
* test clean_barcode
* reset after testing
* extend datamatrix testing
* debug print
* fix assertation
2025-02-17 11:21:58 +11:00
dependabot[bot]
ed4240a54c
Bump dompurify from 3.1.7 to 3.2.4 in /src/frontend ( #9083 )
...
Bumps [dompurify](https://github.com/cure53/DOMPurify ) from 3.1.7 to 3.2.4.
- [Release notes](https://github.com/cure53/DOMPurify/releases )
- [Commits](https://github.com/cure53/DOMPurify/compare/3.1.7...3.2.4 )
---
updated-dependencies:
- dependency-name: dompurify
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-17 09:05:03 +11:00
dependabot[bot]
8912f0db56
Bump @octokit/endpoint from 9.0.5 to 9.0.6 in /src/frontend ( #9084 )
...
Bumps [@octokit/endpoint](https://github.com/octokit/endpoint.js ) from 9.0.5 to 9.0.6.
- [Release notes](https://github.com/octokit/endpoint.js/releases )
- [Commits](https://github.com/octokit/endpoint.js/compare/v9.0.5...v9.0.6 )
---
updated-dependencies:
- dependency-name: "@octokit/endpoint"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-17 09:04:36 +11:00
dependabot[bot]
7362305296
Bump @octokit/request-error from 5.1.0 to 5.1.1 in /src/frontend ( #9082 )
...
Bumps [@octokit/request-error](https://github.com/octokit/request-error.js ) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/octokit/request-error.js/releases )
- [Commits](https://github.com/octokit/request-error.js/compare/v5.1.0...v5.1.1 )
---
updated-dependencies:
- dependency-name: "@octokit/request-error"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-16 12:36:01 +11:00
Oliver
8367c32e84
Remove dead code related to BOM import ( #9079 )
...
* Remove dead code related to BOM import
- Now handled by generic import tool
- Replaces https://github.com/inventree/InvenTree/pull/8756
* Bump API version
2025-02-15 07:59:43 +11:00
github-actions[bot]
4ece2fa6dd
New Crowdin translations by GitHub Action ( #9069 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-14 23:53:30 +11:00
Oliver
944a4f28be
Setting filter ( #9076 )
...
* Expose "model_filters" to settings API
* Enable settings filters in the front-end
* Fix return types
* Bump API version
2025-02-14 19:15:42 +11:00
Oliver
cca1912220
Adds "is_variant" filter for Part API ( #9077 )
...
* Adds "is_variant" filter for Part API
* Bump API version
2025-02-14 17:08:27 +11:00
Oliver
caa0498aa3
[UI] Test Result Table Tweak ( #9075 )
...
Control row expansion property for StockItemTestResultTable
2025-02-14 10:00:46 +11:00
Matthias Mair
301347f1d0
[UI] Settings to control editing of "completed" orders ( #9070 )
...
* [UI] Settings to contrl editing of "completed" orders
Fixes #8976
* only check for completness if locking is enabled
* also lock lines
* allow editing of status to get an order "free" again
2025-02-14 09:30:19 +11:00
Oliver
f27a84a7e5
Bug fix for receiving line item event ( #9071 )
...
- Use StockItem ID correctly
- Provide line ID
2025-02-13 14:39:05 +11:00
dependabot[bot]
40c1dc704f
Bump cryptography from 43.0.3 to 44.0.1 in /src/backend ( #9064 )
...
* Bump cryptography from 43.0.3 to 44.0.1 in /src/backend
Bumps [cryptography](https://github.com/pyca/cryptography ) from 43.0.3 to 44.0.1.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pyca/cryptography/compare/43.0.3...44.0.1 )
---
updated-dependencies:
- dependency-name: cryptography
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix req
* set upper limit
* use highest version available on bullseye
* remove lower limit
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-02-12 17:14:37 +11:00
Oliver
7049e84ac3
Fix for data import ( #9060 )
...
- Prevent shadow overwrite of default_values dict
- Remove dead code
2025-02-12 07:24:24 +11:00
github-actions[bot]
8493e5adb2
New Crowdin translations by GitHub Action ( #9015 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-11 15:29:13 +11:00
Matthias Mair
3b7bda1e4f
chore(backend): bump deps ( #9055 )
2025-02-11 11:37:18 +11:00
Matthias Mair
d569dbec49
[PUI] Make breadcrumbs adjustable ( #8027 )
...
* adjust breadcrumbs to include current item
* Add last breacdrumb to various pages
* Add user settings for last breadcrumb
* add breacrumbs to company subpages
* use getDetailUrl instead
* set default
* change description
* fix styles
* fix merge
* rename to camelCase
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-02-11 11:36:59 +11:00
Matthias Mair
047431d67f
fix(backend): determine active branch on startup ( #9056 )
...
* fix(backend): Determine active branch on startup
* add more warnings and document them
* extend expected errors
* fix typos
2025-02-11 09:19:49 +11:00
Matthias Mair
33d0449460
fix(contrib): move imports to ensure task startup without django is possible ( #9057 )
2025-02-10 12:21:43 +11:00
Oliver
3a423c3e40
[Setup] Enhance version information output ( #9049 )
...
* Improve output of 'invoke version'
- Display backup path
- Handle undefined paths without error
* Provide colorized output
2025-02-08 12:12:11 +11:00
Oliver
49824ddf31
Fix typos in settings.py ( #9048 )
2025-02-08 10:45:47 +11:00
Matthias Mair
a3be8e986b
chore(contrib): include pkg source in pkg logging ( #9035 )
...
* fix(backend): wrong path for version was used
* chore(contrib): Include Pkg source in pkg logging
2025-02-06 09:17:42 +11:00