Matthias Mair
b686d7cb64
make login page load faster ( #13073 )
...
* make login page load faster
* ann error handler
* simplify lazy import
* more lazy loading
* remove dead function
* nove spotlight out to get smaller chunk
* load drawer
2026-11-27 18:36:23 +11:00
Oliver
fd3dfc8517
[bug] check before deleting parts from category ( #13403 )
2026-11-27 17:51:11 +11:00
Oliver
6ec28a09e2
[API] Performance improvements for parametric filtering ( #13393 )
...
* [API] Performance improvements for parametric filtering
- Optimize DB queries
- Additional regression tests
* fix for test on mysql
2026-11-27 14:45:47 +11:00
Oliver
79e4a50530
BOM annotate fix ( #13396 )
...
* Annotation improvements for BOMItem serializer
Significant speed improvements for BOMItem API
* Fix type hinting
* adjust test
2026-11-27 13:45:52 +11:00
Oliver
9d8510327a
Uploaded file size limit ( #13401 )
2026-11-27 11:51:11 +11:00
Oliver
a27f04cedf
[bug] Fix boolean casting for INVENTREE_LOGIN_ENFORCE_MFA ( #13400 )
...
Use str2bool to ensure that falsey strings are decoded as boolean False
2026-11-27 11:50:59 +11:00
Oliver
b0ffa90c05
[bug] External build validation ( #13399 )
...
Check if external builds are enabled
2026-11-27 11:03:32 +11:00
Oliver
3a8c73fe22
Small typo fixes ( #13397 )
2026-11-27 10:22:14 +11:00
Oliver
9373b8fbb6
Revert "[bug] Fix about dialog restriction ( #13379 )" ( #13390 )
...
This reverts commit 03ffbb0902 .
2026-11-27 08:40:47 +11:00
Oliver
a7a01092d5
Updates for import/export tasks ( #13394 )
...
* Enable currency data in export
* enable --bulk option for setup_test
* use bulk import for frontend CI
2026-11-27 07:01:45 +11:00
Saurav Kumar
9466834943
feat(frontend): allow keeping barcode scan dialog open for multiple scans ( #13373 )
...
Signed-off-by: saurav kumar <krsauvi@gmail.com >
2026-11-26 22:09:13 +11:00
Oliver
03ffbb0902
[bug] Fix about dialog restriction ( #13379 )
...
- Remove unused INVENTREE_RESTRICT_ABOUT
- Adjust first-use tour
- Updated docs
2026-11-26 21:21:36 +11:00
Oliver
8e83a8a9a1
[bug] fix missing staff setting ( #13386 )
...
- NOTIFICATION_ERROR_REPORT setting was hidden
2026-11-26 19:14:44 +11:00
Oliver
4c06cfb237
[bug] fix for stale stock filter ( #13383 )
...
- Observe the STOCK_ENABLE_EXPIRY setting
- Refactor into shared helper functions
- Do not annotate if setting is disabled
2026-11-26 18:05:07 +11:00
Oliver
864375eba9
[bug] str2bool cast for inventree_identifier ( #13385 )
...
Can be stringy If provided from INVENTREE_ANNOUNCE_ID
2026-11-26 18:04:40 +11:00
Oliver
a4a26dfb70
[bug] Remove duplicate task ( #13380 )
...
- Removes duplicate copy of "delete_old_notifications"
- Updated regression test
- Delete legacy tasks
2026-11-26 16:03:29 +11:00
Oliver
292defb03e
[bug] fix for get_global_setting access ( #13377 )
...
- Fix erroneous calls
- Update helper function
2026-11-26 14:09:40 +11:00
Oliver
e4d1ba305a
[bug] Add missing setting ( #13378 )
...
Add support for missing setting in UI
2026-11-26 14:08:42 +11:00
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