Oliver
437dddc75f
[UI] Import context ( #11685 )
...
* Refactor ImporterDrawer
- Use a single, globally accessible object
- Provide global state management
* Expose global importer state to the plugin interface
* Improve registration of data import serializers
* Update frontend version / docs
* Bump API version
2026-04-08 06:01:00 +10:00
Matthias Mair
e91f306245
feat(frontend): improve comms around danger of staff users ( #11659 )
...
* docs: add more details around staff / superuser roles and their dangers
* make clear that staff users are dangerous
* make distinction clearer in API
* add error code and frontend warning about running with staff / admin user
* fix test
* bump api
* adapt banner warning
* make banner locally disableable
* add global option to disable elevated user alert
2026-04-05 22:51:46 +10:00
github-actions[bot]
d358001827
New Crowdin translations by GitHub Action ( #11662 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-05 12:08:50 +10:00
Oliver
bb3293ef31
Updates to part revision support ( #11670 )
...
* Update revision validation
* Refactor UI display
* Fix for usePartFields
* Rearrange part settings
* Better visuals
* Update docs
* use 'full_name' field
* Update playwright tests
* Adjust unit test
* Fix playwright tests
2026-04-04 00:10:25 +11:00
github-actions[bot]
9aa2308f52
New Crowdin translations by GitHub Action ( #11623 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-02 16:56:15 +11:00
Oliver
c89b0b7131
Memoize parameters for useInstance ( #11652 )
2026-04-01 17:06:38 +11:00
Oliver and Matthias Mair
6243aec9b7
Shipment parameters ( #11641 )
...
* Add 'parameter' support for SalesOrderShipment model
* Add "parameters" tab for shipment view
* Playwright test
* Update CHANGELOG
* Update API version
* Install gettext
* Try yaml format
* Revert "Try yaml format"
This reverts commit 394a5551c8 .
---------
Co-authored-by: Matthias Mair <code@mjmair.com >
2026-04-01 10:31:49 +11:00
Oliver
4c0a3c5545
Add copy function to more columns ( #11635 )
2026-03-31 00:22:28 +11:00
Oliver
dab4319033
Receive virtual parts ( #11627 )
...
* Handle receive of virtual parts
- Update line item quantity
- Do not add any stock
* Add unit test
* Additional unit test
* UI form improvements
* Add playwright test
* Updated playwright tests
2026-03-30 19:10:56 +11:00
Oliver
2c7b2d27f9
Badge fix ( #11624 )
...
* Fix "in production" badge
- Use the total scheduled build quantity
* Add "Allocated" badge
* Tweak playwright tests
2026-03-30 08:38:53 +11:00
Oliver
79aa824c14
Keep allocation forms open ( #11621 )
...
- Following https://github.com/inventree/InvenTree/pull/11074
- Option to keep allocation forms open
2026-03-29 17:49:46 +11:00
github-actions[bot]
b4ab985e1e
New Crowdin translations by GitHub Action ( #11593 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-29 17:49:33 +11:00
Oliver and Matthias Mair
571b46c9ff
Fix order of hooks for stabilizing table columns ( #11482 )
...
* Fix order of hooks for stabilizing table columns
Ref: https://github.com/icflorescu/mantine-datatable/issues/759
* Reset column ordering and widths when the component is mounted
---------
Co-authored-by: Matthias Mair <code@mjmair.com >
2026-03-29 15:21:53 +11:00
9cd0b520c2
Added keep open boolean field to Stock Location modal form ( #11074 )
...
* Added keep open boolean field to Stock Location modal form
* Rewrite keep form open field feature to avoid calling methods in form field definitions
* Rewrite keep form open feature as common form property
* Removed unused artefact from previous implementation
* keepOpenOption removed as default option for all create forms. Instead it's enabled on selected forms.
* keepOpenOption field speed improvement
- using useRef instead of useState
- keepOpenSwitch moved to own component
* Added keep form open feature to changelog
* Updated documentation: keep form open feature added to concepts/user_interface docs
* Added test case for "keep form open" feature
* Changed switch selector in keep form open feature test
---------
Co-authored-by: spm <jan.krajdl@cecolo.com >
Co-authored-by: Oliver <oliver.henry.walters@gmail.com >
Co-authored-by: Matthias Mair <code@mjmair.com >
2026-03-29 15:09:47 +11:00
HuaYangTian
7614973a04
fix(frontend): complete zh-Hans UI localization ( #11612 )
...
* fix(frontend): complete zh-Hans localization
* fix(frontend): address i18n review feedback
2026-03-29 14:25:27 +11:00
Matthias Mair and Oliver
8b67fe5e99
fix(frontend): Template Editor Rendering Issues ( #11601 )
...
* fix order
* general bump
* allign @codemirror
* fix style
* add playwright test
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com >
2026-03-27 07:29:03 +11:00
dependabot[bot]
7e18555a6b
chore(deps): bump yaml from 1.10.2 to 1.10.3 in /src/frontend ( #11607 )
...
Bumps [yaml](https://github.com/eemeli/yaml ) from 1.10.2 to 1.10.3.
- [Release notes](https://github.com/eemeli/yaml/releases )
- [Commits](https://github.com/eemeli/yaml/compare/v1.10.2...v1.10.3 )
---
updated-dependencies:
- dependency-name: yaml
dependency-version: 1.10.3
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-26 11:59:40 +11:00
Miklós Márton
4865a2b2a0
Remove unnecessary semicolon passed to FontFace constructor ( #11603 )
...
Fixes #11583
2026-03-24 22:15:44 +11:00
Miklós Márton
7100569e45
Support image upload from clipboard ( #11577 )
...
* Support image upload from clipboard
* Suffix the image upload dialog message with the clipboard paste capability
2026-03-23 21:45:36 +11:00
github-actions[bot]
0feba9fbfb
New Crowdin translations by GitHub Action ( #11498 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-22 13:31:14 +11:00
Oliver
8e289a3208
[API] Category star fix ( #11588 )
...
* [API] Bug fix for PartStar and PartCategoryStar
- Logic refactor and fixes
* Add playwright tests
* Remove debug statements
* Revert API string changes
2026-03-21 23:47:11 +11:00
Oliver
6d8606bbe4
Refactoring for report helper functions ( #11579 )
...
* Refactoring for media file report helper functions
* Updated unit tests
* Improved error handling
* Generic path return for asset
* Fix return type annotations
* Fix existing test
* Tweaked unit test
* Collect static files in CI
* Run static step for all DB tests
* Update action.yaml
* Fix for action.yaml
* Updated unit tests
2026-03-21 17:38:41 +11:00
Oliver
fc730b9af7
Save user info ( #11572 )
...
* Record user info when creating stock item
* Add unit test
* Add playwright test
2026-03-20 15:41:44 +11:00
Oliver
7f0610502d
Build line fix ( #11566 )
...
* Fix for RenderBuildLine
* Simple playwright test
2026-03-20 08:51:21 +11:00
Oliver
4599edd375
[UI Update image fix ( #11557 )
...
* Improve thumbnail selector
- Center image
- Better descriptive text
* Updated playwrigth testing
2026-03-19 16:56:13 +11:00
Oliver
488bd5f923
Fix complete_sales_order_shipment task ( #11525 )
...
* Fix complete_sales_order_shipment task
- Perform allocation *before* marking shipment as complete
- Ensure task is not marked as complete before it is actually done
* Add unit test
* Provide task status tracking for shipment completion
* Add integration testing
* Address unit test issues
* Bump API version
* Enhance playwright test
2026-03-18 08:05:16 +11:00
Oliver
84cd81d9a8
Build consume fix ( #11529 )
...
* Add new build task
* Refactor background task for consuming build stock
- Run as a single task
- Improve query efficiency
* Refactor consuming stock against build via API
- Return task_id for monitoring
- Keep frontend updated
* Task tracking for auto-allocation
* Add e2e integration tests:
- Auto-allocate stock
- Consume stock
* Bump API version
* Playwright test fixes
* Adjust unit tests
* Robustify unit test
* Widen test scope
* Adjust playwright test
* Loosen test requirements again
* idk, another change :|
* Robustify test
2026-03-17 20:51:12 +11:00
Oliver
609a3f4a36
[UI] Library fix ( #11530 )
...
* Ensure "lib" is built as part of CI
* Fix useMonitorBackgroundTask hook
2026-03-15 15:37:56 +11:00
Oliver
6830ba5efe
[API] Monitor task ( #11527 )
...
* Enhance docstring
* Return the ID of an offloaded task
* Add API endpoint for background task detail
* Add UI hook for monitoring background task progress
* Handle queued tasks (not yet started)
* Improve UX
* Update frontend lib version
* Bump API version
* Fix notification
* Simplify UI interface
* Implement internal hook
* Fix API path sequence
* Add unit tests for task detail endpoint
* Refactor code into reusable model
* Explicit operation_id for API endpoints
* Further refactoring
* Use 200 response code
- axios does not like 202, simplify it
* Return task response for validation of part BOM
* Fix schema
* Cleanup
* Run background worker during playwright tests
- For full e2e integration testing
* Improve hooks and unit testing
* Rename custom hooks to meet react naming requirements
2026-03-15 14:11:22 +11:00
Matthias Mair
29ac2392db
bump undici ( #11526 )
2026-03-15 01:25:20 +11:00
Matthias Mair
897e3b9ec6
bump build tooling ( #11505 )
2026-03-14 22:55:30 +11:00
Matthias Mair
d7af345e20
refactor(frontend): use central user creds ( #11520 )
2026-03-14 13:29:46 +11:00
Matthias Mair
fda3204e33
fix: low-privilege user token creation ( #11492 )
...
* [bug] Users cannot create their own API tokens
Fixes #11486
* fix detection of metadata
* make easier to read
* add handler for IsAuthenticated
* use correct method
* fix style see #11487
* add frontend test
* make test more reliable?
2026-03-14 12:02:49 +11:00
c8d41bc207
chore(deps): bump dompurify from 3.2.6 to 3.3.2 in /src/frontend ( #11477 )
...
* chore(deps): bump dompurify from 3.2.6 to 3.3.2 in /src/frontend
Bumps [dompurify](https://github.com/cure53/DOMPurify ) from 3.2.6 to 3.3.2.
- [Release notes](https://github.com/cure53/DOMPurify/releases )
- [Commits](https://github.com/cure53/DOMPurify/compare/3.2.6...3.3.2 )
---
updated-dependencies:
- dependency-name: dompurify
dependency-version: 3.3.2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix style
---------
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 >
2026-03-13 11:47:58 +11:00
7d739e5927
chore(deps): bump the dependencies group across 1 directory with 4 updates ( #11494 )
...
* chore(deps): bump the dependencies group across 1 directory with 4 updates
Bumps the dependencies group with 4 updates in the /src/frontend directory: [@codemirror/view](https://github.com/codemirror/view ), [@uiw/codemirror-theme-vscode](https://github.com/uiwjs/react-codemirror ), [@playwright/test](https://github.com/microsoft/playwright ) and [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ).
Updates `@codemirror/view` from 6.38.2 to 6.39.16
- [Changelog](https://github.com/codemirror/view/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/view/compare/6.38.2...6.39.16 )
Updates `@uiw/codemirror-theme-vscode` from 4.25.1 to 4.25.7
- [Release notes](https://github.com/uiwjs/react-codemirror/releases )
- [Commits](https://github.com/uiwjs/react-codemirror/compare/v4.25.1...v4.25.7 )
Updates `@playwright/test` from 1.56.0 to 1.58.2
- [Release notes](https://github.com/microsoft/playwright/releases )
- [Commits](https://github.com/microsoft/playwright/compare/v1.56.0...v1.58.2 )
Updates `@types/node` from 24.11.0 to 25.3.3
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@codemirror/view"
dependency-version: 6.39.16
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: "@uiw/codemirror-theme-vscode"
dependency-version: 4.25.7
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: "@playwright/test"
dependency-version: 1.58.2
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: "@types/node"
dependency-version: 25.3.3
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix test
* 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: Matthias Mair <code@mjmair.com >
Co-authored-by: Oliver <oliver.henry.walters@gmail.com >
2026-03-13 10:57:53 +11:00
Oliver
6ca102cb5f
Allow bulk edit of stock batch code ( #11499 )
...
* Allow bulk edit of stock batch code
Closes https://github.com/inventree/InvenTree/issues/10817
* Bump API version
* Add unit test
2026-03-13 01:23:55 +11:00
github-actions[bot]
98b56e1a49
New Crowdin translations by GitHub Action ( #11407 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-12 20:38:18 +11:00
Oliver
aafda4bece
[UI] Fix hook deps for BuildOutputTable ( #11483 )
...
- Closes https://github.com/inventree/InvenTree/issues/11280
2026-03-12 13:18:22 +11:00
Oliver
c292e807b9
Enhance MonitorDataOutput ( #11458 )
...
* Enhance MonitorDataOutput
- Optionally pass QueryClient
- Required when running outside of <ApiContext />
* Fix default base URL if not specified
* Remove "allow_null" from Mantine props
* Bump lib version to 0.8.2
* Bump CHANGELOG.md
2026-03-12 12:22:16 +11:00
Matthias Mair and Oliver
57949b69e0
chore(frontend): resolution bump ( #11465 )
...
* chore(frontend): resolution bump
* bump nyc
* bump vite-plugin-istanbul
* bump @codecov/vite-plugin
* bump @lingui
* fix typing
* fix tests
* make more robust
* fix @codemirror
* fix another switch
* add more "give" to test
* ifnore demo dataset
* fix assert
* revert test change
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com >
2026-03-12 12:14:36 +11:00
Oliver
27809d712a
Copy order params ( #11479 )
...
* Copy parameters when duplicating an order
* Add unit test for order parameter duplication
* Bunmp API version
* Fix test reliability
* Disable image fetching for SampleSupplierPlugin
- Allow turning on manually
- Prevent CI issues due to rate limiting
* Revery pypdf.. ???
2026-03-11 19:26:56 +11:00
Oliver
4d404352f4
[ui] Fix Reference column in SalesOrderLineItemTable ( #11455 )
...
- Closes https://github.com/inventree/InvenTree/issues/11448
2026-03-04 17:06:10 +11:00
Oliver
948818bc78
Expose monitorDataOutput hook to plugin library ( #11453 )
...
- Allow plugins to process data outputs
2026-03-03 15:10:03 +11:00
Jacob Felknor and Oliver
41a617febd
Allow Zero Quantity BOM Item with System Setting ( #11437 )
...
* allow zero qty bom item with setting
* add allow zero bom qty setting to docs
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com >
2026-03-03 11:10:20 +11:00
3d9104e9a5
Add "updated_at" field to Orders model ( #11374 )
...
* add "updated_at" field to PurchaseOrder model
* change to use abstract po instead
* add api filters
* add show, order and filter by po updated_at date to frontend
* add tests and increment api_version
* change updated_at to null by default
* never trust github conflict resolution
* bump docker image to python 3.14 (#11414 )
* chore(deps): bump the dependencies group across 1 directory with 4 updates (#11416 )
Bumps the dependencies group with 4 updates in the / directory: [depot/setup-action](https://github.com/depot/setup-action ), [depot/build-push-action](https://github.com/depot/build-push-action ), [anchore/sbom-action](https://github.com/anchore/sbom-action ) and [actions/stale](https://github.com/actions/stale ).
Updates `depot/setup-action` from 1.6.0 to 1.7.1
- [Release notes](https://github.com/depot/setup-action/releases )
- [Commits](https://github.com/depot/setup-action/compare/b0b1ea4f69e92ebf5dea3f8713a1b0c37b2126a5...15c09a5f77a0840ad4bce955686522a257853461 )
Updates `depot/build-push-action` from 1.16.2 to 1.17.0
- [Release notes](https://github.com/depot/build-push-action/releases )
- [Commits](https://github.com/depot/build-push-action/compare/9785b135c3c76c33db102e45be96a25ab55cd507...5f3b3c2e5a00f0093de47f657aeaefcedff27d18 )
Updates `anchore/sbom-action` from 0.21.1 to 0.22.2
- [Release notes](https://github.com/anchore/sbom-action/releases )
- [Changelog](https://github.com/anchore/sbom-action/blob/main/RELEASE.md )
- [Commits](https://github.com/anchore/sbom-action/compare/0b82b0b1a22399a1c542d4d656f70cd903571b5c...28d71544de8eaf1b958d335707167c5f783590ad )
Updates `actions/stale` from 10.1.1 to 10.2.0
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/stale/compare/997185467fa4f803885201cee163a9f38240193d...b5d41d4e1d5dceea10e7104786b73624c18a190f )
---
updated-dependencies:
- dependency-name: depot/setup-action
dependency-version: 1.7.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: depot/build-push-action
dependency-version: 1.17.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: anchore/sbom-action
dependency-version: 0.22.2
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: actions/stale
dependency-version: 10.2.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* [UI] Copy cells expansion (#11410 )
* Prevent copy button if copy value is null
* Add "link" columns to order tables
* Support copy for default column types
* Tweak padding to avoid flickering issues
* Refactor IPNColumn
* Adjust visual styling
* Copy for SKU and MPN columns
* Add more copy columns
* More tweaks
* Tweak playwright testing
* Further cleanup
* More copy cols
* Fix auto pricing overwriting manual purchase price #10846 (#11411 )
* Fix auto pricing overwriting manual purchase price #10846
* Added entry to api_version.py
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com >
* [UI] Default locale (#11412 )
* [UI] Support default server language
* Handle faulty theme
* Add option for default language
* Improve language selection
* Brief docs entry
* Fix typo
* Fix yarn build
* Remove debug msg
* Fix calendar locale
* feat(backend): ensure restore of backups only works in correct enviroments (#11372 )
* [FR] ensure restore of backups only works in correct enviroments
Fixes #11214
* update PR nbr
* fix wrong ty detection
* fix link
* ensure tracing does not enagage while running backup ops
* fix import
* remove debugging string
* add error codes
* add tests for backup and restore
* complete test for restore
* we do not need e2e on every matrix entry
there is no realy db dep here
* fix changelog format
* add flag to allow bypass
* update CHANGELOG.md
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: Oliver <oliver.henry.walters@gmail.com >
Co-authored-by: Matthias Mair <code@mjmair.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: JustusRijke <53965859+JustusRijke@users.noreply.github.com >
2026-02-28 09:07:02 +11:00
Oliver
b18016e43e
[UI] Disable copy button if not secure ( #11427 )
...
- Hide copy button if not within secure context
- Ref: https://github.com/inventree/InvenTree/discussions/11422
2026-02-26 09:53:04 +11:00
Oliver
8a4ad4ff62
[UI] Default locale ( #11412 )
...
* [UI] Support default server language
* Handle faulty theme
* Add option for default language
* Improve language selection
* Brief docs entry
* Fix typo
* Fix yarn build
* Remove debug msg
* Fix calendar locale
2026-02-24 16:08:26 +11:00
JustusRijke and Oliver
246108e732
Fix auto pricing overwriting manual purchase price #10846 ( #11411 )
...
* Fix auto pricing overwriting manual purchase price #10846
* Added entry to api_version.py
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com >
2026-02-24 12:58:01 +11:00
Oliver
449bd4e5a0
[UI] Copy cells expansion ( #11410 )
...
* Prevent copy button if copy value is null
* Add "link" columns to order tables
* Support copy for default column types
* Tweak padding to avoid flickering issues
* Refactor IPNColumn
* Adjust visual styling
* Copy for SKU and MPN columns
* Add more copy columns
* More tweaks
* Tweak playwright testing
* Further cleanup
* More copy cols
2026-02-24 11:44:14 +11:00
Tin Pham
edc639d55c
feat: add copyable cells feature with CopyButton component ( #11406 )
2026-02-23 19:59:22 +11:00