Oliver
2bd548296b
[bug] Fix for STOCKTAKE_AUTO_DAYS ( #13376 )
...
Previously had incorrect MinValueValidator
2026-11-26 14:05:22 +11:00
Oliver
0c7551b8ae
[bug] fix for part IPN regex ( #13374 )
...
Handle condition where IPN regex is malformed
2026-11-26 14:05:04 +11:00
Oliver
e309531322
[bug] fixes for batch code generation ( #13375 )
...
- Improve template validation
- Ensure generated batch code fits within field length
- Fix docs
2026-11-26 14:04:43 +11:00
Oliver and Claude Opus 5.5
a44d6da500
Fixes for stale stock ( #13369 )
...
* Remove unused settings
Remove settings which have had no effect since the legacy user interface
was removed (or which were never implemented):
- STOCK_SHOW_INSTALLED_ITEMS
- PART_SHOW_RELATED
- BARCODE_INPUT_DELAY
- PLUGIN_UPDATE_CHECK
- REPORT_INLINE (user)
- LABEL_INLINE (user)
Remove them from the settings pages and documentation, and use other
boolean user settings in the tests which used LABEL_INLINE as an example.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
* Respect part creation and duplication settings
The PART_COPY_TESTS, PART_CATEGORY_PARAMETERS and PART_CREATE_SUPPLIER
settings had no effect since the legacy user interface was removed. The
part forms now use them for the defaults of the "copy tests" and "copy
category parameters" options, and to show the initial supplier fields.
Adds Playwright tests for the create and duplicate part forms.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
* Enforce expired stock and IPN edit settings
The STOCK_ALLOW_EXPIRED_BUILD, STOCK_ALLOW_EXPIRED_SALE and
PART_ALLOW_EDIT_IPN settings had no effect since the legacy user
interface was removed.
- When stock expiry is enabled, expired stock can only be allocated to
build orders / sales orders if the corresponding setting permits it.
This applies to manual (API) allocation, allocation by serial number,
auto-allocation, and new allocations created via the model. Existing
allocations of since-expired stock remain editable.
- When PART_ALLOW_EDIT_IPN is disabled, the IPN of an existing part cannot
be changed via the API, and the IPN field is disabled in the edit form.
Adds unit tests for each allocation path and the IPN rule, a Playwright
test for the IPN field, and documents the expired stock settings.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
* Additional docs
* Update CHANGELOG
* Fix playwright test
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-26 11:06:41 +11:00
dependabot[bot]
ad19adcfea
chore(deps): bump the dependencies group with 2 updates ( #13371 )
...
Bumps the dependencies group with 2 updates: [j178/prek-action](https://github.com/j178/prek-action ) and [oasdiff/oasdiff-action/diff](https://github.com/oasdiff/oasdiff-action ).
Updates `j178/prek-action` from 3.1.0 to 3.1.1
- [Release notes](https://github.com/j178/prek-action/releases )
- [Commits](https://github.com/j178/prek-action/compare/44924fe9ef4a6f88253c4b6b1bf11c689d3ce53d...7b101f8338a08d2bd6fdb3625e4e7692428763a3 )
Updates `oasdiff/oasdiff-action/diff` from 0.1.23 to 0.2.1
- [Release notes](https://github.com/oasdiff/oasdiff-action/releases )
- [Commits](https://github.com/oasdiff/oasdiff-action/compare/8a211b41745fcecdfa4a86531ffbf08934fb14f6...14ca7009a63c417dfe27b7c44359c4bcccaf8eee )
---
updated-dependencies:
- dependency-name: j178/prek-action
dependency-version: 3.1.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: oasdiff/oasdiff-action/diff
dependency-version: 0.2.1
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>
2026-11-26 08:12:22 +11:00
Oliver
5d24a3f327
[bug] Fix for data import ( #13367 )
...
* [bug] Fix for data import
Correctly skip plugin records (if requested) when importing data
* Fix for data export
* Updated CI workflow
2026-11-25 20:31:33 +11:00
Oliver
65a8113baf
Fix row locking for stock removal ( #13368 )
2026-11-25 18:25:07 +11:00
Oliver
ad534a7124
[ui] Group users edit ( #13362 )
...
* [UI] group user controls
* Add documentation on user configuration via admin center
2026-11-25 07:29:27 +11:00
939df605f4
Prevent shipping and removing allocated stock ( #13298 )
...
* Prevent shipping and removing allocated stock
* fix style
* Use shared allocation validation for stock removal
* test: cover shipment with zero allocated stock
---------
Co-authored-by: mamad <you@example.com >
Co-authored-by: Oliver <oliver.henry.walters@gmail.com >
Co-authored-by: Matthias Mair <code@mjmair.com >
2026-11-24 13:45:30 +00:00
Syogo-Suganoya and Claude Opus 5.5
54276081cc
[Feature] Select which fields to search in tables ( #13346 )
...
* Allow table search to be limited to selected fields
- Add 'search_fields' query parameter to InvenTreeSearchFilter
- Expose searchable fields (name / label) in the OPTIONS metadata
- Add search field selection menu to the table header
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
* Add Playwright test for table search fields
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
* Add tests for search field restrictions and labels
- Check that search_fields cannot be used to search fields which are
not exposed for searching by the view
- Check that search field labels are translated based on the request
language, including a distant related field
- Check the displayed labels in the Playwright test, including a
distant related field in the BOM table
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
* Hide the search field menu for tables with a single search field
- Read the searchable fields from the existing table OPTIONS request,
and cache them alongside the column names
- Only display the search field menu when there is more than one
field to choose from
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
---------
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-25 00:41:45 +11:00
github-actions[bot]
9e1e3a9f31
New Crowdin translations by GitHub Action ( #13331 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-24 23:24:42 +11:00
Oliver
793b05e667
add holdoff delay for fetching release info ( #13360 )
2026-11-24 18:51:12 +11:00
Matthias Mair
4f5fbc091b
fix parameter add dialog asuming always being for part ( #13357 )
2026-11-24 13:46:47 +11:00
Matthias Mair
06f9d6c298
bump ty ( #13165 )
...
* bump ty
* bump ty again
* update rules
* remove unused ignores
* add asserts for none
* fix tests that might be none
* fix typing
* update setting
* fix bug
* update ignores
* update ignore
* update stats
2026-11-24 13:40:46 +11:00
Oliver
c07e03c745
Fix broken docs links ( #13354 )
2026-11-24 11:21:19 +11:00
Oliver
df5cc1103e
[docs] imrprove link checking ( #13352 )
2026-11-24 10:53:12 +11:00
Oliver
b30567799c
Pass user instance through to filterable child serializers ( #13349 )
2026-11-24 09:27:51 +11:00
Leon Kiesgen and Claude Opus 5.5
3744e74671
[bug] Require only 'view' permission to read model metadata ( #13348 )
...
ContentTypePermission works out 'view' for safe methods and 'change'
otherwise, but its fallback for models without check_permission()
(e.g. Part, StockItem) still passed a hardcoded 'change'. Reading
metadata via the generic metadata endpoint therefore required 'change'
permission, unlike the model's own detail endpoint, which needs 'view'.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-24 09:27:17 +11:00
Matthias Mair
adfd393c92
refactor(frontend): use generic features for actions ( #13343 )
...
* remove hardcoded support fields
* add generic lookup hook
* use new generic modelfeature
* remove redundant permission
* fix memo
* remove enabled -> add labels to company
2026-11-24 07:49:52 +11:00
Matthias Mair
629a411612
small fixes ( #13342 )
...
* merge duplicate branches
* fix type
* remove impossible branches
* fix types
* make more tolerant
* update queries
* fix sec check
2026-11-23 23:40:30 +11:00
Syogo-Suganoya and Claude Opus 5.5
4dfbabe496
[bug] Fix navigation when clicking a BOM row ( #13345 )
...
* Allow navigating to a sub-part by clicking a BOM row
Clicking a row in the BOM table no longer did anything, as the cell click
handler was disabled entirely. Only disable it while the BOM is being edited.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
* Add regression test for nested BOM row expansion and navigation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-23 20:19:30 +11:00
Oliver
da94e5cd91
[docs] Adjust theme colors ( #13344 )
...
To match the website
2026-11-23 11:59:48 +11:00
Matthias Mair
afc88f56e8
refactor(backend): move mixins to generic ( #13293 )
...
* move mixins to generic
* fix imports
* fix import
* move InvenTreePermissionCheckMixin
* move base models
* move InvenTreeAuditMixin
* move PathStringMixin
* move ContentTypeMixin
* move MetadataMixin, PluginValidationMixin
* move ReferenceIndexingMixin
* fix import paths
* update doc paths
* fix imports
* internalize diff base
* add legacy imports
* rename metadata mixin
* rename PathStringMixin
* rename PluginValidationMixin
* rename ReferenceIndexingMixin
* add changelog entry
* document base clases
* add docs for model mixins
* add the rest of doc strings
2026-11-23 09:44:54 +11:00
dependabot[bot] and Matthias Mair
8ebb7a0e20
chore(deps): bump the dependencies group across 2 directories with 13 updates ( #13338 )
...
* chore(deps): bump the dependencies group across 2 directories with 13 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 11 updates in the /src/backend directory:
| Package | From | To |
| --- | --- | --- |
| [gunicorn](https://github.com/benoitc/gunicorn ) | `26.2.0` | `27.0.1` |
| [boto3](https://github.com/boto/boto3 ) | `1.43.125` | `1.44.2` |
| [botocore](https://github.com/boto/botocore ) | `1.43.125` | `1.44.2` |
| [django-auditlog](https://github.com/django-commons/django-auditlog ) | `3.4.1` | `3.4.2` |
| [django-fsm-2](https://github.com/django-commons/django-fsm-2 ) | `4.2.4` | `4.3.0` |
| [pypdf](https://github.com/py-pdf/pypdf ) | `7.0.0` | `7.1.0` |
| [python-dateutil](https://github.com/dateutil/dateutil ) | `2.9.0.post0` | `4.0.0` |
| [sentry-sdk](https://github.com/getsentry/sentry-python ) | `2.74.0` | `2.75.0` |
| [coverage](https://github.com/coveragepy/coveragepy ) | `7.17.2` | `7.17.3` |
| [markdown-it-py](https://github.com/executablebooks/markdown-it-py ) | `4.2.0` | `4.3.0` |
| [types-pyyaml](https://github.com/python/typeshed ) | `6.0.12.20261103` | `6.0.12.20261113` |
Updates `uv` from 0.13.7 to 0.13.8
- [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.7...0.13.8 )
Updates `pip` from 26.3 to
- [Changelog](https://github.com/pypa/pip/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/pip/commits )
Updates `gunicorn` from 26.2.0 to 27.0.1
- [Release notes](https://github.com/benoitc/gunicorn/releases )
- [Commits](https://github.com/benoitc/gunicorn/compare/26.2.0...27.0.1 )
Updates `boto3` from 1.43.125 to 1.44.2
- [Release notes](https://github.com/boto/boto3/releases )
- [Commits](https://github.com/boto/boto3/compare/1.43.125...1.44.2 )
Updates `botocore` from 1.43.125 to 1.44.2
- [Commits](https://github.com/boto/botocore/compare/1.43.125...1.44.2 )
Updates `django-auditlog` from 3.4.1 to 3.4.2
- [Release notes](https://github.com/django-commons/django-auditlog/releases )
- [Changelog](https://github.com/django-commons/django-auditlog/blob/master/CHANGELOG.md )
- [Commits](https://github.com/django-commons/django-auditlog/compare/v3.4.1...v3.4.2 )
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 `pypdf` from 7.0.0 to 7.1.0
- [Release notes](https://github.com/py-pdf/pypdf/releases )
- [Changelog](https://github.com/py-pdf/pypdf/blob/main/CHANGELOG.md )
- [Commits](https://github.com/py-pdf/pypdf/compare/7.0.0...7.1.0 )
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 )
Updates `sentry-sdk` from 2.74.0 to 2.75.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.74.0...2.75.0 )
Updates `coverage` from 7.17.2 to 7.17.3
- [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.2...7.17.3 )
Updates `markdown-it-py` from 4.2.0 to 4.3.0
- [Release notes](https://github.com/executablebooks/markdown-it-py/releases )
- [Changelog](https://github.com/executablebooks/markdown-it-py/blob/master/CHANGELOG.md )
- [Commits](https://github.com/executablebooks/markdown-it-py/compare/v4.2.0...v4.3.0 )
Updates `types-pyyaml` from 6.0.12.20261103 to 6.0.12.20261113
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: uv
dependency-version: 0.13.8
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: gunicorn
dependency-version: 27.0.1
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: boto3
dependency-version: 1.44.2
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: botocore
dependency-version: 1.44.2
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: django-auditlog
dependency-version: 3.4.2
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: pypdf
dependency-version: 7.1.0
dependency-type: direct:production
update-type: version-update:semver-minor
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
- dependency-name: sentry-sdk
dependency-version: 2.75.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: coverage
dependency-version: 7.17.3
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: markdown-it-py
dependency-version: 4.3.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: types-pyyaml
dependency-version: 6.0.12.20261113
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix style
* pin fsm
---------
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-23 00:08:37 +11:00
Miguel Brandt
f73208a402
[Feature] Add parameters to stock location types ( #13339 )
...
* Support parameters on stock location types
* Add stock location type details page
* Bump API version and document location type parameters
* Fix location type write queries and deletion rollback
* Preserve location type names and gate parameter actions
* Use standard navigation and actions for location types
* Add location type preview and detail page shortcuts
2026-11-22 09:50:41 +11:00
Matthias Mair
6c5cb2910a
Small fixes ( #13333 )
...
* add missing catch
* use replaceAll instead
* add explicit expects to fix juint result reporting
* fix path traversal
* try make this more stable
* use a loop to make this more stable against autoclosing menus
* plugins are somewhat unpredictable so adding some slck
2026-11-22 08:45:01 +11:00
Oliver
7933454b89
[docs] database concurrency ( #13341 )
...
make a new concepts page for discussing database concurrency
2026-11-21 15:07:24 +11:00
Oliver
371ac83bbb
omit default values for read-only child serializers ( #13340 )
2026-11-21 09:59:00 +11:00
Oliver
9d7aeb4d3c
[UI] Add barcode actions for ManufacturerPart ( #13334 )
2026-11-20 21:05:36 +11:00
Miklós Márton and Matthias Mair
c78234218d
Use InvenTreeCurrencySerializer for price override min/max currency ( #13330 )
...
* Use InvenTreeCurrencySerializer for price override min/max currency
Fixes #13329
* Apply suggestion from @matmair
---------
Co-authored-by: Matthias Mair <code@mjmair.com >
2026-11-20 17:34:33 +11:00
github-actions[bot]
7612589b54
New Crowdin translations by GitHub Action ( #13311 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-20 09:47:46 +11:00
Matthias Mair
78b6dd83a4
include docker provenance ( #13324 )
...
* add provenance and attestations
* improve caching
2026-11-19 08:51:46 +11:00
dependabot[bot]
89e0d734d8
chore(deps): bump the dependencies group with 3 updates ( #13322 )
...
Bumps the dependencies group with 3 updates: [docker/login-action](https://github.com/docker/login-action ), [oasdiff/oasdiff-action/diff](https://github.com/oasdiff/oasdiff-action ) and [crowdin/github-action](https://github.com/crowdin/github-action ).
Updates `docker/login-action` from 4.7.0 to 4.8.0
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/81c6f93d4bc991e510b342a00b419b3bb4efc5c6...8aa5831fb8d48d8f76594c7ddde61ae58019f550 )
Updates `oasdiff/oasdiff-action/diff` from 0.1.21 to 0.1.23
- [Release notes](https://github.com/oasdiff/oasdiff-action/releases )
- [Commits](https://github.com/oasdiff/oasdiff-action/compare/9e56cf8b3aff7edb326d5767d3d23f96127e20c3...8a211b41745fcecdfa4a86531ffbf08934fb14f6 )
Updates `crowdin/github-action` from 3.5.1 to 3.6.0
- [Release notes](https://github.com/crowdin/github-action/releases )
- [Commits](https://github.com/crowdin/github-action/compare/5b9790df740c85af5412a3a3a91b24988d5d324f...d651c77756acbe11a31d77a6fb79d8a239e1e05a )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-version: 4.8.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: oasdiff/oasdiff-action/diff
dependency-version: 0.1.23
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: crowdin/github-action
dependency-version: 3.6.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>
2026-11-19 08:51:14 +11:00
Oliver
d0cc310431
Update MPN barcode scanner ( #13319 )
2026-11-18 11:51:23 +11:00
Matthias Mair
c79acc32d9
chore(backend): bump scim2 ( #13237 )
...
* bump scim2
* update to new lib behaviour
2026-11-18 10:30:23 +11:00
Oliver
fa26c7bb15
[ui] improved overflow for table cells ( #13312 )
...
Closes https://github.com/inventree/InvenTree/issues/13308
2026-11-18 01:18:06 +11:00
Oliver
de39c1626c
Check for allocated stock on transfer action ( #13302 )
...
* Check for allocated stock on transfer action
- Prevent partial transfer of allocated stock
* Check allocation on more actions: serialize / install
* Additional stock detail badges
* include transfer order allocations
* fix playwright test
2026-11-17 23:21:03 +11:00
Miklós Márton
2a1e0cf0a4
Show location description in the Stock Item/Stock Details Location field ( #13297 )
...
* Show location description in the Stock Item/Stock Details Location field
* Display full stock location path as a hover tooltip in the Stock Item/Stock Details/Location view
* Display category description next to the category name if set:
- Part category details view parent category
- Part details view category
Display location description next to the location name if set:
- Part category details view Default location and Parent default location
- Part details view Default and Category default location
- Build orders Source and Destination location
- Purchaseorder Destination location
- Stock location parent location
2026-11-17 23:20:46 +11:00
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