Oliver
8f8502d0d9
[bug] Fix for token issuance via UI ( #13307 )
...
- Fixes bug where non-staff users could not generate (or revoke) their own tokens via the API
- Closes https://github.com/inventree/InvenTree/issues/13299
2026-11-17 22:03:48 +11:00
Oliver
ec23dcfdb8
User permission checks for BOM actions ( #13305 )
...
* User permission checks for BOM actions
* bump API version
2026-11-17 21:58:06 +11:00
Oliver
a47db7ec18
Handle transition errors which occur after valid transition ( #13303 )
2026-11-17 21:43:46 +11:00
Oliver
c8bd52e681
[UI] Display 500 errors in forms ( #13304 )
2026-11-17 21:43:22 +11:00
Oliver
b851402f8f
Additional hardening of fetching remote URLs ( #13306 )
2026-11-17 21:35:02 +11:00
github-actions[bot]
94851144a4
New Crowdin translations by GitHub Action ( #13291 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-17 10:54:24 +11:00
Quimxi and Claude Opus 5.5
dfc5ca9c04
Record the quantity actually moved when a transfer exceeds stock ( #13295 )
...
Requesting a transfer quantity larger than the stock item quantity moves
the entire item, but the tracking entry recorded the requested quantity.
Clamp the quantity to the item quantity before recording the event.
Fixes #13259
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-17 08:05:57 +11:00
Syogo-Suganoya and Claude Opus 5.5
1f51dfe64b
[UI] Warn before closing the template editor with unsaved changes ( #13280 )
...
* Warn before closing the template editor with unsaved changes
- Allow DetailDrawer close actions to be intercepted (onBeforeClose)
- Track the saved template code in the TemplateEditor
- Ask for confirmation before discarding unsaved changes (drawer close / page unload)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
* Treat a failed unsaved-changes check as unsaved
- Ask for confirmation if the editor code cannot be read
- Reject the plugin preview update if no handler is registered, so the template is not assumed to be saved
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
* Do not treat unavailable editor code as saved
An editor which is still initializing (e.g. a plugin editor) returns no
code yet. Fall back to the code which was last handed to the editor, and
ask for confirmation if the editor content is unknown.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
* Only mark the template as saved when the preview returns a promise
A preview handler which returns synchronously does not report whether the
template was actually stored, so keep the editor marked as unsaved.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
---------
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-16 18:30:33 +11:00
Syogo-Suganoya and Claude Opus 5.5
129cfe7383
Alert staff when active plugins rely on a disabled plugin integration ( #13281 )
...
* Alert staff when active plugins rely on a disabled plugin integration
- Report (plugin, mixin, setting) combinations in the 'system_state' of the info endpoint
- Add INVE-W22 alert to the alerts menu and admin center
- Document the new warning code
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
* Respect global setting overrides when checking plugin integrations
A setting which is overridden via environment or config file takes priority over the stored value
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
* Fix plugin integration message for plugins with translated names
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
* Report a failed plugin integration check, and cover its edge cases
If the check raises an exception, report "Unable to check plugin
integrations" instead of "No issues detected".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
* Name the plugin settings which need to be enabled
List each affected plugin together with the settings which need to be
enabled, e.g. "Auto Create Builds (Enable event integration)".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
---------
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-16 18:18:30 +11:00
dependabot[bot] and Matthias Mair
742c8a56ee
chore(deps): bump the dependencies group across 3 directories with 22 updates ( #13269 )
...
* chore(deps): bump the dependencies group across 3 directories with 22 updates
Bumps the dependencies group with 2 updates in the /contrib/dev_reqs directory: [uv](https://github.com/astral-sh/uv ) and [pip](https://github.com/pypa/pip ).
Bumps the dependencies group with 1 update in the /docs directory: [mkdocs-git-revision-date-localized-plugin](https://github.com/timvink/mkdocs-git-revision-date-localized-plugin ).
Bumps the dependencies group with 20 updates in the /src/backend directory:
| Package | From | To |
| --- | --- | --- |
| [pip](https://github.com/pypa/pip ) | `26.2.2` | `26.3` |
| [click](https://github.com/pallets/click ) | `8.5.0` | `8.5.1` |
| [coverage](https://github.com/coveragepy/coveragepy ) | `7.17.0` | `7.17.2` |
| [mypy-extensions](https://github.com/python/mypy_extensions ) | `1.1.0` | `1.2.0` |
| [prek](https://github.com/j178/prek ) | `0.5.9` | `0.5.10` |
| [pydantic](https://github.com/pydantic/pydantic ) | `2.14.2` | `2.14.3` |
| [pydantic-core](https://github.com/pydantic/pydantic ) | `2.50.2` | `2.50.4` |
| [pytest-codspeed](https://github.com/CodSpeedHQ/pytest-codspeed ) | `5.0.3` | `5.0.4` |
| [scim2-client](https://github.com/python-scim/scim2-client ) | `0.13.2` | `0.14.1` |
| [scim2-models](https://github.com/python-scim/scim2-models ) | `0.12.2` | `0.12.4` |
| [scim2-tester](https://github.com/python-scim/scim2-tester ) | `0.5.2` | `0.6.4` |
| [sqlparse](https://github.com/andialbrecht/sqlparse ) | `0.6.0` | `0.6.1` |
| [types-pyyaml](https://github.com/python/typeshed ) | `6.0.12.20261030` | `6.0.12.20261103` |
| [typing-inspection](https://github.com/pydantic/typing-inspection ) | `0.4.4` | `0.4.5` |
| [boto3](https://github.com/boto/boto3 ) | `1.43.122` | `1.43.125` |
| [botocore](https://github.com/boto/botocore ) | `1.43.122` | `1.43.125` |
| [django-fsm-2](https://github.com/django-commons/django-fsm-2 ) | `4.2.4` | `4.3.0` |
| [django-taggit](https://github.com/jazzband/django-taggit ) | `6.1.0` | `7.0.0` |
| [markdown](https://github.com/Python-Markdown/markdown ) | `3.11.2` | `3.11.3` |
| [python-dateutil](https://github.com/dateutil/dateutil ) | `2.9.0.post0` | `4.0.0` |
Updates `uv` from 0.13.6 to 0.13.7
- [Release notes](https://github.com/astral-sh/uv/releases )
- [Changelog](https://github.com/astral-sh/uv/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/uv/compare/0.13.6...0.13.7 )
Updates `pip` from 26.3 to
- [Changelog](https://github.com/pypa/pip/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/pip/commits )
Updates `mkdocs-git-revision-date-localized-plugin` from 1.6.2 to 1.6.3
- [Release notes](https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/releases )
- [Commits](https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/compare/v1.6.2...v1.6.3 )
Updates `pip` from 26.2.2 to 26.3
- [Changelog](https://github.com/pypa/pip/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/pip/commits )
Updates `click` from 8.5.0 to 8.5.1
- [Release notes](https://github.com/pallets/click/releases )
- [Changelog](https://github.com/pallets/click/blob/main/CHANGES.md )
- [Commits](https://github.com/pallets/click/compare/8.5.0...8.5.1 )
Updates `coverage` from 7.17.0 to 7.17.2
- [Release notes](https://github.com/coveragepy/coveragepy/releases )
- [Changelog](https://github.com/coveragepy/coveragepy/blob/main/CHANGES.rst )
- [Commits](https://github.com/coveragepy/coveragepy/compare/7.17.0...7.17.2 )
Updates `mypy-extensions` from 1.1.0 to 1.2.0
- [Commits](https://github.com/python/mypy_extensions/compare/1.1.0...1.2.0 )
Updates `prek` from 0.5.9 to 0.5.10
- [Release notes](https://github.com/j178/prek/releases )
- [Changelog](https://github.com/j178/prek/blob/main/CHANGELOG.md )
- [Commits](https://github.com/j178/prek/compare/v0.5.9...v0.5.10 )
Updates `pydantic` from 2.14.2 to 2.14.3
- [Release notes](https://github.com/pydantic/pydantic/releases )
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md )
- [Commits](https://github.com/pydantic/pydantic/compare/v2.14.2...v2.14.3 )
Updates `pydantic-core` from 2.50.2 to 2.50.4
- [Release notes](https://github.com/pydantic/pydantic/releases )
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md )
- [Commits](https://github.com/pydantic/pydantic/compare/core-v2.50.2...core-v2.50.4 )
Updates `pytest-codspeed` from 5.0.3 to 5.0.4
- [Release notes](https://github.com/CodSpeedHQ/pytest-codspeed/releases )
- [Changelog](https://github.com/CodSpeedHQ/pytest-codspeed/blob/master/CHANGELOG.md )
- [Commits](https://github.com/CodSpeedHQ/pytest-codspeed/compare/v5.0.3...v5.0.4 )
Updates `scim2-client` from 0.13.2 to 0.14.1
- [Release notes](https://github.com/python-scim/scim2-client/releases )
- [Changelog](https://github.com/python-scim/scim2-client/blob/main/doc/changelog.rst )
- [Commits](https://github.com/python-scim/scim2-client/compare/0.13.2...0.14.1 )
Updates `scim2-models` from 0.12.2 to 0.12.4
- [Release notes](https://github.com/python-scim/scim2-models/releases )
- [Changelog](https://github.com/python-scim/scim2-models/blob/main/doc/changelog.rst )
- [Commits](https://github.com/python-scim/scim2-models/compare/0.12.2...0.12.4 )
Updates `scim2-tester` from 0.5.2 to 0.6.4
- [Release notes](https://github.com/python-scim/scim2-tester/releases )
- [Changelog](https://github.com/python-scim/scim2-tester/blob/main/doc/changelog.rst )
- [Commits](https://github.com/python-scim/scim2-tester/compare/0.5.2...0.6.4 )
Updates `sqlparse` from 0.6.0 to 0.6.1
- [Changelog](https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG )
- [Commits](https://github.com/andialbrecht/sqlparse/compare/0.6.0...0.6.1 )
Updates `types-pyyaml` from 6.0.12.20261030 to 6.0.12.20261103
- [Commits](https://github.com/python/typeshed/commits )
Updates `typing-inspection` from 0.4.4 to 0.4.5
- [Release notes](https://github.com/pydantic/typing-inspection/releases )
- [Changelog](https://github.com/pydantic/typing-inspection/blob/main/HISTORY.md )
- [Commits](https://github.com/pydantic/typing-inspection/compare/v0.4.4...v0.4.5 )
Updates `boto3` from 1.43.122 to 1.43.125
- [Release notes](https://github.com/boto/boto3/releases )
- [Commits](https://github.com/boto/boto3/compare/1.43.122...1.43.125 )
Updates `botocore` from 1.43.122 to 1.43.125
- [Commits](https://github.com/boto/botocore/compare/1.43.122...1.43.125 )
Updates `django-fsm-2` from 4.2.4 to 4.3.0
- [Release notes](https://github.com/django-commons/django-fsm-2/releases )
- [Changelog](https://github.com/django-commons/django-fsm-2/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/django-commons/django-fsm-2/compare/4.2.4...4.3.0 )
Updates `django-taggit` from 6.1.0 to 7.0.0
- [Changelog](https://github.com/jazzband/django-taggit/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/jazzband/django-taggit/compare/6.1.0...7.0.0 )
Updates `markdown` from 3.11.2 to 3.11.3
- [Release notes](https://github.com/Python-Markdown/markdown/releases )
- [Changelog](https://github.com/Python-Markdown/markdown/blob/master/docs/changelog.md )
- [Commits](https://github.com/Python-Markdown/markdown/compare/3.11.2...3.11.3 )
Updates `python-dateutil` from 2.9.0.post0 to 4.0.0
- [Release notes](https://github.com/dateutil/dateutil/releases )
- [Changelog](https://github.com/dateutil/dateutil/blob/master/NEWS )
- [Commits](https://github.com/dateutil/dateutil/compare/2.9.0.post0...4.0.0 )
---
updated-dependencies:
- dependency-name: uv
dependency-version: 0.13.7
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: pip
dependency-version:
dependency-type: direct:production
dependency-group: dependencies
- dependency-name: mkdocs-git-revision-date-localized-plugin
dependency-version: 1.6.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: pip
dependency-version: '26.3'
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: click
dependency-version: 8.5.1
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: coverage
dependency-version: 7.17.2
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: mypy-extensions
dependency-version: 1.2.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: prek
dependency-version: 0.5.10
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: pydantic
dependency-version: 2.14.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: pydantic-core
dependency-version: 2.50.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: pytest-codspeed
dependency-version: 5.0.4
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: scim2-client
dependency-version: 0.14.1
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: scim2-models
dependency-version: 0.12.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: scim2-tester
dependency-version: 0.6.4
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: sqlparse
dependency-version: 0.6.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: types-pyyaml
dependency-version: 6.0.12.20261103
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: typing-inspection
dependency-version: 0.4.5
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: boto3
dependency-version: 1.43.125
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: botocore
dependency-version: 1.43.125
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: django-fsm-2
dependency-version: 4.3.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: django-taggit
dependency-version: 7.0.0
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: markdown
dependency-version: 3.11.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: python-dateutil
dependency-version: 4.0.0
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix style
* 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: Matthias Mair <code@mjmair.com >
2026-11-16 11:13:05 +11:00
Matthias Mair
a87489ca44
refactor: use generic model insights for frontend features ( #13072 )
...
* feat:generic model insights
inspired by https://github.com/inventree/InvenTree/pull/13069 this adds a more general approach to generic features like attachments, notes
some tests and functions written with assistance of AI
* lazy load panels
* add pr version
* fix snapshot issue
* move history panel to new generic mechanism
* Update api_version.py
* move to generic
* remove duplicate
* clean up import
* fix test
* add ignore for broken contract in test
2026-11-16 09:45:17 +11:00
github-actions[bot]
016f965ac8
New Crowdin translations by GitHub Action ( #13240 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-15 18:28:37 +11:00
Matthias Mair
a14ce3dde6
refactor(backend): split domain-specific settings ( #13290 )
...
* add collection mechanism
* move stock settings
* move report settings
* move pricing settings
* move part settings
* move order settings
* move build settings
* cleanup
* delay model import
* fix import snag
2026-11-15 16:59:15 +11:00
Oliver
b2a9218cfb
[bug] API row locking ( #13274 )
...
* row locking on patch
* row-level locking on action endpoints
* apply row locking to barcode actions
* additional row-locking for build actions
* rename exception class
* updated docs
* Add specific error code
* Fix translated text
* Handle AttributeError
2026-11-15 15:26:47 +11:00
Arjun Kotwal
3572714f5f
[bug] Count transfer order allocations when validating build items ( #13287 )
...
BuildItem.check_allocated_quantity() summed build and sales order
allocations but not transfer order allocations, so stock that was
fully allocated to an open transfer order could be allocated again to
a build order via the API (POST /api/build/item/).
Include transfer_order_allocation_count() in the check, matching
StockItem.allocation_count() and bulk_allocation_count().
Fixes #13286
2026-11-15 09:30:17 +11:00
Matthias Mair
f4f5caae2c
feat(docs): preperation for plugin modeling documentation ( #13077 )
...
* update descriptions
* add subsections
* another section
* keep nultin seperate
* rename
* make readme easier to copy
* add a seperate overview section like machines
* update generated schema page
* add missing key
* make initial paragraph more objective
* add model doc stump
* fix typos
* fix caps
* adjust readme for easier copy paste
* update generate step
* remove additional doc item
2026-11-15 08:50:33 +11:00
Oliver
9e78e73a7c
[bug] prevent changing of order creation_date via API ( #13284 )
2026-11-15 07:31:21 +11:00
Oliver
19dfb81bfb
[docs] Zensical docs ( #13253 )
...
* add zensical workflow
* rebuild schema dynamically
* load in new module
* Use zensical for docs invoke tasks
* modern
* improved carousel layout
* Increased content width
* fix for app icons
* Ensure schema dir exists
* remove unused requirement
* update readthedocs process
* fix polar.sh link
* adjust link checker pattern
* Revert some of the original style
* remove legacy mkdocs requirements
* fix for ready.py
* reduce db warnings during schema generation
* Adjust padding
* fix index issues
* fix page title
* fix pages with broken or missing headers
* split data import API schema
* cleanup old carousel
* remove djlint link
2026-11-14 22:34:18 +11:00
Alex Martens
80ad822688
fix(backend): preserve redirect target through /accounts/login/ ( #13279 )
...
AuthRequiredMiddleware redirects unauthenticated requests for
server-rendered paths to /accounts/login/?next=<path>, but the
account_login redirect view then bounced straight to the frontend
root, dropping the target.
Forward a safe relative 'next' parameter to the SPA's /logged-in
page instead, where LoggedIn.tsx recovers it once the login flow
completes. Absolute or protocol-relative targets are dropped to
rule out open redirects.
2026-11-14 19:36:06 +11:00
ed0bbc3c75
[UI] Size the detail image modal to the viewport ( #13264 )
...
Clicking a detail image opened it at Mantine's default modal width
(about 440 px), so a large image was shown no bigger than the preview.
Open the modal at 90vw and cap the image at 85vh so it fits the window.
Fixes #13252
Co-authored-by: jbc-af <jbc@autofruit.com >
Co-authored-by: Oliver <oliver.henry.walters@gmail.com >
2026-11-14 16:36:16 +11:00
0aa364dea3
Add optional linked part revision column to BOM table ( #13267 )
...
Co-authored-by: Matthias Mair <code@mjmair.com >
Co-authored-by: Oliver <oliver.henry.walters@gmail.com >
2026-11-14 16:36:01 +11:00
dependabot[bot] and Matthias Mair
72ac80034f
chore(deps): bump the dependencies group with 6 updates ( #13249 )
...
Bumps the dependencies group with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer ) | `4.1.2` | `4.1.3` |
| [depot/build-push-action](https://github.com/depot/build-push-action ) | `1.18.0` | `1.19.0` |
| [CodSpeedHQ/action](https://github.com/codspeedhq/action ) | `5.6.0` | `5.6.3` |
| [zizmorcore/zizmor-action](https://github.com/zizmorcore/zizmor-action ) | `0.8.0` | `0.8.1` |
| [github/codeql-action/upload-sarif](https://github.com/github/codeql-action ) | `4.39.1` | `4.39.3` |
| [crowdin/github-action](https://github.com/crowdin/github-action ) | `3.5.0` | `3.5.1` |
Updates `sigstore/cosign-installer` from 4.1.2 to 4.1.3
- [Release notes](https://github.com/sigstore/cosign-installer/releases )
- [Commits](https://github.com/sigstore/cosign-installer/compare/6f9f17788090df1f26f669e9d70d6ae9567deba6...756fe2d284c7292c4e9b62c8a28f1e5629c59532 )
Updates `depot/build-push-action` from 1.18.0 to 1.19.0
- [Release notes](https://github.com/depot/build-push-action/releases )
- [Commits](https://github.com/depot/build-push-action/compare/98e78adca7817480b8185f474a400b451d74e287...0f27be7c41d76663a98518dfe68f1c46582242c4 )
Updates `CodSpeedHQ/action` from 5.6.0 to 5.6.3
- [Release notes](https://github.com/codspeedhq/action/releases )
- [Changelog](https://github.com/CodSpeedHQ/action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codspeedhq/action/compare/78102a468f96d8e0ccb92d0ec49425753fc42062...af75f77f17a054769abefaa42fe8dc2975469b5f )
Updates `zizmorcore/zizmor-action` from 0.8.0 to 0.8.1
- [Release notes](https://github.com/zizmorcore/zizmor-action/releases )
- [Commits](https://github.com/zizmorcore/zizmor-action/compare/53290badfa369cb0bf7ad16342cb62c2fa47ac7b...45d7276c9ca790aabd705e31ca99c6185c3e76dd )
Updates `github/codeql-action/upload-sarif` from 4.39.1 to 4.39.3
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/9b3254085494b55a0f7c4c2b3d2d52cc712ce370...33d7b85da1a04171e211befe2c739303b9a4c066 )
Updates `crowdin/github-action` from 3.5.0 to 3.5.1
- [Release notes](https://github.com/crowdin/github-action/releases )
- [Commits](https://github.com/crowdin/github-action/compare/959dc74ac104447731cba99a016f85d0ae719788...5b9790df740c85af5412a3a3a91b24988d5d324f )
---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
dependency-version: 4.1.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: depot/build-push-action
dependency-version: 1.19.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: CodSpeedHQ/action
dependency-version: 5.6.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: zizmorcore/zizmor-action
dependency-version: 0.8.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: github/codeql-action/upload-sarif
dependency-version: 4.39.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: crowdin/github-action
dependency-version: 3.5.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
...
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 >
2026-11-14 15:02:02 +11:00
Oliver and Copilot Autofix powered by AI
12c16000d9
MFA workflow fixes ( #13241 )
...
* MFA workflow fixes
- Fixes https://github.com/inventree/InvenTree/issues/13238
- Verify email on successful password reset
- Invalidate password on account creation
- Fix MFA workflows
- Add regression tests
* Update docs
* Update OTP secret expectation to use exact match
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
* Attempt to fix flaky test
---------
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-11-14 13:34:57 +11:00
b9b46797c2
fix(frontend): preserve redirect target through SSO login ( #13270 )
...
The redirect target set by ProtectedRoute travels in react-router state,
which does not survive the full page navigation through the identity
provider. After the SSO round trip users always landed on /home.
Forward the target through the flow as a 'next' query param on the
allauth callback URL instead, and recover it on the /logged-in page.
Falls back to /home when no valid in-app path is present.
Co-authored-by: Matthias Mair <code@mjmair.com >
Co-authored-by: Oliver <oliver.henry.walters@gmail.com >
2026-11-14 13:11:56 +11:00
dependabot[bot] and Matthias Mair
5b5daa5b86
chore(deps): bump soupsieve from 3.0.4 to 4.0 in /docs ( #13268 )
...
* chore(deps): bump soupsieve from 3.0.4 to 4.0 in /docs
Bumps [soupsieve](https://github.com/facelessuser/soupsieve ) from 3.0.4 to 4.0.
- [Release notes](https://github.com/facelessuser/soupsieve/releases )
- [Commits](https://github.com/facelessuser/soupsieve/compare/3.0.4...4.0 )
---
updated-dependencies:
- dependency-name: soupsieve
dependency-version: '4.0'
dependency-type: indirect
...
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: Matthias Mair <code@mjmair.com >
2026-11-14 10:19:41 +11:00
Oliver
7787408fff
[bug] Fix for shipment allocations ( #13272 )
...
Apply row-level locking when completing shipment allocation to avoid concurrent update issues
2026-11-14 10:11:53 +11:00
Matthias Mair
de77fc4293
fix(frontend): mfa test reauth dialogs ( #13273 )
...
* fix the stepts that need a password now
* use different selectors to make more robust
* fix popup breaking flow
* support password reauth in reauth
2026-11-14 10:07:00 +11:00
Oliver
435cdaafbc
[API] Mark fields as read-only ( #13271 )
...
* [API] Mark fields as read-only
* update tests
* additional ready-only fields
2026-11-14 09:55:12 +11:00
Oliver and Matthias Mair
790112013b
Added generic MPN barcode scanning ( #13266 )
...
* Added generic MPN barcode scanning
- Provides generic lookup against MPN
- Runs with lower priority (fallback only)
- Barcode plugins are now ordered by decreasing priority
* Apply suggestion from @matmair
* Bump internal priority
---------
Co-authored-by: Matthias Mair <code@mjmair.com >
2026-11-13 21:53:35 +11:00
Oliver
891553a9c7
API / query refactoring ( #13258 )
...
* Improve caching for full_name template
* More efficient thumbnail field
* better prefetching
* cache base media URL
* InvenTreeModelSerializer now has 'fast_representation' optimization
* Revert "InvenTreeModelSerializer now has 'fast_representation' optimization"
This reverts commit 98571998a6 .
* Fix OptionalField on AuditLog API endpoints
* better prefetching
* error if OutputOptionsMixin not correctly applied
* better select_related for AttachmentMixin
* additional pre-fetch improvements
2026-11-13 19:50:37 +11:00
Oliver
321ecc39d4
Mark build fields as read-only ( #13265 )
2026-11-13 17:19:20 +11:00
Matthias Mair
6bf2bbbb63
feat(backend): use a generic registration approach for search defintion ( #13239 )
...
* use a generic registration approach for search defintion
this is in theory open to plugins but not scope for this PR
* reduce unneeded fn wrap
* simplify
* increase max_time by 1 sec
2026-11-13 13:14:49 +11:00
Oliver
cdfa7f1921
CI unit test improvements ( #13257 )
...
Speed improvements for backend CI testing
- Use different coverage tool
- Optimize plugin reloading during tests
- Mock longer running processes
- Adjust postgres configuration
- Reduce test setup time
2026-11-13 07:35:11 +11:00
Matthias Mair
6387ae95e1
chore(backend): bump allauth version ( #13236 )
...
* bump allauth version
* update used api
* bump api
* fix call api signature
* fix tests
2026-11-13 07:07:40 +11:00
Eric Ivanov and trippiez
d859a1a4ad
Test manual correction of invalid import rows ( #13260 )
...
Co-authored-by: trippiez <trippiez@users.noreply.github.com >
2026-11-13 07:04:50 +11:00
Matthias Mair
7e57196d76
Add import linter ( #13248 )
...
* add import-linter
* move machine imports to plugin space
* clean up samples
* extend scope
* extend checks
* move plugin internals into a seperat folder
* remove unneeded re-export
* adjust import
* update import checker
* update src ref
* fix mocks
2026-11-12 18:41:59 +11:00
Oliver
c80090b3ce
[UI] Improve error messaging for API fields ( #13254 )
...
- Handle condition where an API field has the same name as one of the "backup" catch-all fields
2026-11-12 17:39:48 +11:00
Oliver and Matthias Mair
af5055b33e
Messages endpoint ( #13247 )
...
* Adds /api/status/ endpoint for admin-facing system messages
* update alerts menu
* right-align badges
* Rename SERVER_RESTART_REQUIRED to _SERVER_RESTART_REQUIRED
* Adjust API endpoint
- Move to /api/system/status/
- Make messages a sub-list
- Remove "system_state" from /api/
* move staff-only messages to new endpoint (and adjust UI accordingly)
* system dialogs staff only
* Reduce scope and revert most changes
* ignore reports in frontend
* clean up blob
---------
Co-authored-by: Matthias Mair <code@mjmair.com >
2026-11-12 11:14:01 +11:00
Oliver
a0ec8e4c71
Display basic auth warning only for web server process ( #13251 )
...
Reduces logs for other system calls
2026-11-12 10:30:16 +11:00
Oliver and Matthias Mair
16309370ba
code coverage updates ( #13245 )
...
Co-authored-by: Matthias Mair <code@mjmair.com >
2026-11-11 20:50:13 +11:00
Oliver
2c8ec53ed2
[UI] Display "primary" badge for SupplierPart ( #13246 )
...
When displaying a SupplierPart inline (e.g. within a form) - add a "Primary" badge
2026-11-11 14:33:22 +11:00
Miguel Brandt
6c363d4a32
[UI] Show consuming build orders in child stock items ( #13208 )
...
* Show consuming build orders in child stock items
* Reference PR in changelog and API version notes
* Clarify stock reference test setup and assertions
* Use optional build details for consumed stock
* Include consuming build references in stock exports
* Make stock prefetch test portable to MySQL
2026-11-11 11:27:02 +11:00
Oliver
5e7bf4f92d
Reduce unit test time in CI ( #13244 )
...
- test_api_endpoints reduced from 231s to 17s
2026-11-10 20:35:39 +11:00
Matthias Mair
a8a867400d
feat(backend): enable disabling of basic authentication ( #13169 )
...
* !feat(backend): disable basic authentication by default
* align PR
* add PR number
* fix schema creation/discovery
* mask basic auth
* fix error code
* reduce diff
* adjust changelog message
* fix test (needs basic auth which is now off by default)
* switch to default on; retain warning
* update test for new default
* fix assertation
2026-11-10 13:32:38 +11:00
github-actions[bot]
be9639266d
New Crowdin translations by GitHub Action ( #13204 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-10 11:40:19 +11:00
Matthias Mair
5f7e74c412
reduce logging in actions to make more processable ( #13235 )
2026-11-10 08:04:47 +11:00
Oliver
3383e865cb
[UI] Fixes for "tags" field ( #13233 )
...
- Fetch appropriate 'tags' detail in the form request
- Additional playwright tests
2026-11-09 23:42:12 +11:00
Oliver and Matthias Mair
061981ac54
ignore opentelemetry export logs from sentry.io upload ( #13232 )
...
Co-authored-by: Matthias Mair <code@mjmair.com >
2026-11-09 23:12:50 +11:00
Oliver
48ec9d1dd2
[UI] playwright updates ( #13231 )
...
* [UI] playwright updates
- Increased coverage
- various tweaks / fixes
* Additional updates
* Robustify further
2026-11-09 22:57:13 +11:00
Oliver
2497dd5425
[bug] date import ( #13225 )
...
- Handle date values during data import
- reported via sentry.io
2026-11-09 14:55:48 +11:00