Matthias Mair
36d21fe640
feat(frontend): add user setting to control navigation behaviour ( #12669 )
...
follow up to https://github.com/inventree/InvenTree/pull/12585
2026-08-20 11:23:12 +10:00
dependabot[bot] and Matthias Mair
dc9a277478
chore(deps): bump sqlparse from 0.5.5 to 0.6.0 in /src/backend ( #12653 )
...
* chore(deps): bump sqlparse from 0.5.5 to 0.6.0 in /src/backend
Bumps [sqlparse](https://github.com/andialbrecht/sqlparse ) from 0.5.5 to 0.6.0.
- [Changelog](https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG )
- [Commits](https://github.com/andialbrecht/sqlparse/compare/0.5.5...0.6.0 )
---
updated-dependencies:
- dependency-name: sqlparse
dependency-version: 0.6.0
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: Matthias Mair <code@mjmair.com >
2026-08-19 09:05:35 +10:00
dependabot[bot] and Matthias Mair
34732f0afa
chore(deps): bump the dependencies group across 1 directory with 14 updates ( #12642 )
...
* chore(deps): bump the dependencies group across 1 directory with 14 updates
Bumps the dependencies group with 14 updates in the /src/backend directory:
| Package | From | To |
| --- | --- | --- |
| [cffi](https://github.com/python-cffi/cffi ) | `2.1.0` | `2.1.1` |
| [coverage](https://github.com/coveragepy/coveragepy ) | `7.15.2` | `7.15.4` |
| [django-stubs](https://github.com/typeddjango/django-stubs ) | `6.0.7` | `6.0.9` |
| [django-stubs-ext](https://github.com/typeddjango/django-stubs ) | `6.0.6` | `6.0.9` |
| [django-test-migrations](https://github.com/wemake-services/django-test-migrations ) | `1.5.0` | `1.6.0` |
| [packaging](https://github.com/pypa/packaging ) | `26.2` | `26.3` |
| [pip](https://github.com/pypa/pip ) | `26.2` | `26.2.1` |
| [prek](https://github.com/j178/prek ) | `0.4.11` | `0.4.12` |
| [pytest-django](https://github.com/pytest-dev/pytest-django ) | `4.12.0` | `4.13.0` |
| [blessed](https://github.com/jquast/blessed ) | `1.47.0` | `1.48.0` |
| [boto3](https://github.com/boto/boto3 ) | `1.43.61` | `1.43.66` |
| [botocore](https://github.com/boto/botocore ) | `1.43.61` | `1.43.66` |
| [djangorestframework](https://github.com/encode/django-rest-framework ) | `3.17.1` | `3.18.0` |
| [googleapis-common-protos](https://github.com/googleapis/google-cloud-python ) | `1.75.0` | `1.75.1` |
Updates `cffi` from 2.1.0 to 2.1.1
- [Release notes](https://github.com/python-cffi/cffi/releases )
- [Commits](https://github.com/python-cffi/cffi/compare/v2.1.0...v2.1.1 )
Updates `coverage` from 7.15.2 to 7.15.4
- [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.15.2...7.15.4 )
Updates `django-stubs` from 6.0.7 to 6.0.9
- [Release notes](https://github.com/typeddjango/django-stubs/releases )
- [Commits](https://github.com/typeddjango/django-stubs/compare/6.0.7...6.0.9 )
Updates `django-stubs-ext` from 6.0.6 to 6.0.9
- [Release notes](https://github.com/typeddjango/django-stubs/releases )
- [Commits](https://github.com/typeddjango/django-stubs/compare/6.0.6...6.0.9 )
Updates `django-test-migrations` from 1.5.0 to 1.6.0
- [Release notes](https://github.com/wemake-services/django-test-migrations/releases )
- [Changelog](https://github.com/wemake-services/django-test-migrations/blob/master/CHANGELOG.md )
- [Commits](https://github.com/wemake-services/django-test-migrations/compare/1.5.0...1.6.0 )
Updates `packaging` from 26.2 to 26.3
- [Release notes](https://github.com/pypa/packaging/releases )
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pypa/packaging/compare/26.2...26.3 )
Updates `pip` from 26.2 to 26.2.1
- [Changelog](https://github.com/pypa/pip/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/pip/compare/26.2...26.2.1 )
Updates `prek` from 0.4.11 to 0.4.12
- [Release notes](https://github.com/j178/prek/releases )
- [Changelog](https://github.com/j178/prek/blob/master/CHANGELOG.md )
- [Commits](https://github.com/j178/prek/compare/v0.4.11...v0.4.12 )
Updates `pytest-django` from 4.12.0 to 4.13.0
- [Release notes](https://github.com/pytest-dev/pytest-django/releases )
- [Changelog](https://github.com/pytest-dev/pytest-django/blob/main/docs/changelog.rst )
- [Commits](https://github.com/pytest-dev/pytest-django/compare/v4.12.0...v4.13.0 )
Updates `blessed` from 1.47.0 to 1.48.0
- [Release notes](https://github.com/jquast/blessed/releases )
- [Changelog](https://github.com/jquast/blessed/blob/master/docs/history.rst )
- [Commits](https://github.com/jquast/blessed/commits/1.48 )
Updates `boto3` from 1.43.61 to 1.43.66
- [Release notes](https://github.com/boto/boto3/releases )
- [Commits](https://github.com/boto/boto3/compare/1.43.61...1.43.66 )
Updates `botocore` from 1.43.61 to 1.43.66
- [Commits](https://github.com/boto/botocore/compare/1.43.61...1.43.66 )
Updates `djangorestframework` from 3.17.1 to 3.18.0
- [Release notes](https://github.com/encode/django-rest-framework/releases )
- [Commits](https://github.com/encode/django-rest-framework/compare/3.17.1...3.18.0 )
Updates `googleapis-common-protos` from 1.75.0 to 1.75.1
- [Release notes](https://github.com/googleapis/google-cloud-python/releases )
- [Changelog](https://github.com/googleapis/google-cloud-python/blob/main/packages/google-cloud-documentai/CHANGELOG.md )
- [Commits](https://github.com/googleapis/google-cloud-python/compare/googleapis-common-protos-v1.75.0...googleapis-common-protos-v1.75.1 )
---
updated-dependencies:
- dependency-name: cffi
dependency-version: 2.1.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: coverage
dependency-version: 7.15.4
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: django-stubs
dependency-version: 6.0.9
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: django-stubs-ext
dependency-version: 6.0.9
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: django-test-migrations
dependency-version: 1.6.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: packaging
dependency-version: '26.3'
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: pip
dependency-version: 26.2.1
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: prek
dependency-version: 0.4.12
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: pytest-django
dependency-version: 4.13.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: blessed
dependency-version: 1.48.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: boto3
dependency-version: 1.43.66
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: botocore
dependency-version: 1.43.66
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: djangorestframework
dependency-version: 3.18.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: googleapis-common-protos
dependency-version: 1.75.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
...
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-08-18 08:50:58 +10:00
github-actions[bot]
90b72c194b
New Crowdin translations by GitHub Action ( #12625 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-16 23:02:10 +10:00
Oliver
af74f1abf6
Improve error handling for unit registry ( #12643 )
2026-08-16 11:46:40 +10:00
amanjain57-gif and Aman Jain
ee4ad7fd10
feat: add piece_count and piece_size fields to BomItem for cut-to-length parts ( #12422 )
...
* feat: add piece_count and piece_size fields to BomItem for cut-to-length parts
Manufacturing BOMs frequently require multiple pieces of a specific size
cut from continuous stock (cables, tubing, structural profiles). Currently
the only way to express "10 pieces of 250mm cable" is to enter the total
length (2.5m) as quantity, which loses the piece-count information that
purchasing and production need.
This adds two optional fields to BomItem:
- piece_count: number of discrete pieces required (default: 1)
- piece_size: size/length of each piece (e.g. "250 mm")
When piece_size is specified, the total quantity is auto-calculated as
piece_count × piece_size, maintaining full backward compatibility (existing
items effectively have piece_count=1 and empty piece_size).
Changes:
- Backend: new model fields, migration, updated recalculate_quantity()
logic, hash_fields for BOM validation
- API: serializer exposes piece_count and piece_size
- Frontend: BOM form includes the new fields, BOM table shows them as
optional columns
Addresses #10274
* refactor: simplify to single piece_count field per reviewer feedback
Remove the piece_size field entirely. The existing quantity field already
represents the per-piece size/length, so piece_count multiplied by
quantity gives the total material requirement.
Example: quantity=200mm, piece_count=10 → total 2m of wire in 10 pieces.
Changes:
- Remove piece_size model field, serializer field, and frontend column/form
- Update migration to only add piece_count
- Update get_required_quantity() to multiply by piece_count
- Restore original recalculate_quantity() without piece_size logic
* test/docs: add unit tests and documentation for piece_count field
* style: replace ambiguous × with x to fix RUF002 lint error
* Address review feedback: api_version bump, changelog, style fix
- Bump INVENTREE_API_VERSION to 531 with entry for piece_count field
- Add CHANGELOG.md entry under Unreleased > Added
- Fix RUF001: replace ambiguous × with x in serializers.py help_text
* fix: align piece_count migration help_text with model (RUF001)
The 0153 AddField recorded help_text with a Unicode multiplication sign
(×), while the model field uses plain 'x' after the RUF001 fix. This
mismatch made makemigrations --check flag an unstaged
0154_alter_bomitem_piece_count migration, failing the DB test CI jobs.
Update the original migration's help_text (and docstring) to plain 'x'
so the field definition matches the model, keeping a single clean
migration instead of add-then-alter.
* fix: use set_quantity() in piece_count tests
BomItem.quantity is a derived field, recalculated from raw_amount on
every save() via recalculate_quantity(). Setting item.quantity directly
was overwritten back to the fixture value on save, so the tests computed
against quantity=3 and failed. Use set_quantity() (which sets raw_amount)
to match how quantity is meant to be updated.
* ci: re-trigger CI to confirm Firefox E2E failures are transient
---------
Co-authored-by: Aman Jain <jainamn@amazon.com >
2026-08-16 09:43:42 +10:00
Oliver
9844a4805e
Allow bulk-edit for ReturnOrderLineItem ( #12635 )
...
* Allow bulk-edit for ReturnOrderLineItem
- Allow bulk change of line item outcome
* Update API version documentation with pull request links
2026-08-13 20:10:10 +10:00
Oliver
695b9c1dc2
[bug] Fix ReturnOrder event registration ( #12633 )
2026-08-13 16:43:22 +10:00
ribsey and Oliver
f5c4bbc6a8
reset errors on update ( #12550 )
...
* reset errors on update
* add empty line
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com >
2026-08-12 16:38:46 +10:00
Oliver
2b3283d5d2
[bug] OptionalField race condition ( #12627 )
...
* [bug] OptionalField race condition
Fixes subtle bug where OptionalField entries can be silenty dropped from an API request due to concurrent requests / race conditions
* Additional unit tests
* Additional guard in metadata.py
* include extra kwargs
* Adjust import/exporting options
* Fix attribute sharing across class instances
2026-08-12 16:38:04 +10:00
FurinaDog and FurinaDog
55a193e5d7
fix: support UUID notification references ( #12616 )
...
* fix: support UUID notification references
* test: update notification uid expectation
---------
Co-authored-by: FurinaDog <FurinaDog@users.noreply.github.com >
2026-08-12 07:47:25 +10:00
Matthias Mair
1c86102d82
refactor fail limit to match allauth defaults more closely ( #12623 )
2026-08-12 07:46:45 +10:00
Matthias Mair
40c528164f
feat(backend): switch to a more formal FSM approach ( #12507 )
...
* full fsm implementation
closes https://github.com/inventree/InvenTree/issues/12314
based on https://github.com/matmair/InvenTree/pull/721
* update assertations
* refactor to reduce duplication
* move for cleaner diff
* more moving stuff around
* fix assingment
* remove skip
* merge test classes
* re-enable transition plugin tests
* fix docstrings
* add depreciation warning
* fix type
* nitpicks
* small cleanup
* ensure we alwas pass a str
* add backport
* fix marker position
* full fsm implementation
closes https://github.com/inventree/InvenTree/issues/12314
based on https://github.com/matmair/InvenTree/pull/721
* update assertations
* refactor to reduce duplication
* move for cleaner diff
* more moving stuff around
* fix assingment
* remove skip
* merge test classes
* re-enable transition plugin tests
* fix docstrings
* add depreciation warning
* fix type
* nitpicks
* small cleanup
* ensure we alwas pass a str
* add backport
* fix marker position
* fix ty issue
* ignore this corner case
* ensure invalid transitions can raise a nice validation error
* compact code
* add depreciation mark
* make raise_error default (#754 )
* fix merge
* adjust test as this is now not a no-op but a raised error
* fix assertations
* fix test to not take a broken path
* remove unused test statements
* converge
* add test branch for actually working transition
* reduce uneeded code
* ignore depreceated methods
* fix missing coverage
* add prefetch
* reduce diff
2026-08-12 07:45:43 +10:00
Matthias Mair
7cb3d78a5f
refactor(backend): remove network dep from test ( #12624 )
2026-08-12 07:44:49 +10:00
Oliver
77d8470141
[bug] Handle duplicate email addresses for magic links ( #12621 )
2026-08-11 23:49:53 +10:00
github-actions[bot]
f054a487ef
New Crowdin translations by GitHub Action ( #12535 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-11 18:47:12 +10:00
Oliver
1020ed3009
Fix for API exception_handler ( #12604 )
...
- Only log unhandled exceptions to sentry.io
- Check for valid handling first
- Report second
2026-08-10 23:23:07 +10:00
Oliver
e7503684d0
Bump version number to 1.6.0-rev ( #12603 )
...
* Bump version number to 1.6.0-rev
* Add release date
* Add next version entry
2026-08-10 21:58:40 +10:00
dependabot[bot] and Matthias Mair
c622a65661
chore(deps): bump the dependencies group across 1 directory with 10 updates ( #12561 )
...
* chore(deps): bump the dependencies group across 1 directory with 10 updates
Bumps the dependencies group with 10 updates in the /src/backend directory:
| Package | From | To |
| --- | --- | --- |
| [boto3](https://github.com/boto/boto3 ) | `1.43.55` | `1.43.61` |
| [botocore](https://github.com/boto/botocore ) | `1.43.55` | `1.43.61` |
| [django-anymail](https://github.com/anymail/django-anymail ) | `15.0` | `15.1` |
| [feedparser](https://github.com/kurtmckee/feedparser ) | `6.0.12` | `6.0.14` |
| [markdown](https://github.com/Python-Markdown/markdown ) | `3.10.2` | `3.10.3` |
| [redis](https://github.com/redis/redis-py ) | `8.0.1` | `8.1.0` |
| [tablib](https://github.com/jazzband/tablib ) | `3.9.0` | `3.10.0` |
| [tqdm](https://github.com/tqdm/tqdm ) | `4.69.1` | `4.70.0` |
| [wrapt](https://github.com/GrahamDumpleton/wrapt ) | `2.2.2` | `2.3.0` |
| [pip](https://github.com/pypa/pip ) | `26.1.2` | `26.2` |
Updates `boto3` from 1.43.55 to 1.43.61
- [Release notes](https://github.com/boto/boto3/releases )
- [Commits](https://github.com/boto/boto3/compare/1.43.55...1.43.61 )
Updates `botocore` from 1.43.55 to 1.43.61
- [Commits](https://github.com/boto/botocore/compare/1.43.55...1.43.61 )
Updates `django-anymail` from 15.0 to 15.1
- [Release notes](https://github.com/anymail/django-anymail/releases )
- [Changelog](https://github.com/anymail/django-anymail/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/anymail/django-anymail/compare/v15.0...v15.1 )
Updates `feedparser` from 6.0.12 to 6.0.14
- [Release notes](https://github.com/kurtmckee/feedparser/releases )
- [Changelog](https://github.com/kurtmckee/feedparser/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/kurtmckee/feedparser/compare/v6.0.12...v6.0.14 )
Updates `markdown` from 3.10.2 to 3.10.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.10.2...3.10.3 )
Updates `redis` from 8.0.1 to 8.1.0
- [Release notes](https://github.com/redis/redis-py/releases )
- [Changelog](https://github.com/redis/redis-py/blob/master/CHANGES )
- [Commits](https://github.com/redis/redis-py/compare/v8.0.1...v8.1.0 )
Updates `tablib` from 3.9.0 to 3.10.0
- [Release notes](https://github.com/jazzband/tablib/releases )
- [Changelog](https://github.com/jazzband/tablib/blob/master/HISTORY.md )
- [Commits](https://github.com/jazzband/tablib/compare/v3.9.0...v3.10.0 )
Updates `tqdm` from 4.69.1 to 4.70.0
- [Release notes](https://github.com/tqdm/tqdm/releases )
- [Commits](https://github.com/tqdm/tqdm/compare/v4.69.1...v4.70.0 )
Updates `wrapt` from 2.2.2 to 2.3.0
- [Release notes](https://github.com/GrahamDumpleton/wrapt/releases )
- [Changelog](https://github.com/GrahamDumpleton/wrapt/blob/develop/docs/changes.rst )
- [Commits](https://github.com/GrahamDumpleton/wrapt/compare/2.2.2...2.3.0 )
Updates `pip` from 26.1.2 to 26.2
- [Changelog](https://github.com/pypa/pip/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/pip/compare/26.1.2...26.2 )
---
updated-dependencies:
- dependency-name: boto3
dependency-version: 1.43.61
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: botocore
dependency-version: 1.43.61
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: django-anymail
dependency-version: '15.1'
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: feedparser
dependency-version: 6.0.14
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: markdown
dependency-version: 3.10.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: redis
dependency-version: 8.1.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: tablib
dependency-version: 3.10.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: tqdm
dependency-version: 4.70.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: wrapt
dependency-version: 2.3.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: pip
dependency-version: '26.2'
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
...
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-08-10 21:28:29 +10:00
Matthias Mair
324b0ca012
feat(backend): add throtteling by default ( #11951 )
...
* feat(backend): add throtteling by default
* add changelog entry
* ignore throtetling in debug mode
* increase threshold
2026-08-10 18:41:15 +10:00
Oliver
1b20920e4a
[security] Additional SSRF protections ( #12595 )
...
Tighten SSRF protections when fetching from external URLs
2026-08-10 18:32:49 +10:00
dependabot[bot] and Matthias Mair
edae156439
chore(deps): bump pypdf from 6.14.2 to 6.15.0 in /src/backend ( #12594 )
...
* chore(deps): bump pypdf from 6.14.2 to 6.15.0 in /src/backend
Bumps [pypdf](https://github.com/py-pdf/pypdf ) from 6.14.2 to 6.15.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/6.14.2...6.15.0 )
---
updated-dependencies:
- dependency-name: pypdf
dependency-version: 6.15.0
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: Matthias Mair <code@mjmair.com >
2026-08-10 16:13:05 +10:00
siddhartha28 and Siddhartha Ravilla
76bce6a7b1
Fix Install Stock Items shows only selected parts ( #12596 )
...
* Bug Fix Install Stock Item showing variant stock when BOM disallows variants
* Add regression test for include_variants stock filter
---------
Co-authored-by: Siddhartha Ravilla <ravilla.si@northeastern.edu >
2026-08-09 17:57:18 +10:00
214f472ec9
Fix test result ordering by test timestamps ( #12533 )
...
* Fix test result ordering by test timestamps
* Refractor test result comparison helper
* Apply formatting fixes
* Fix frontend formatting
* Avoid mutating test result records
* Add migration for test result ordering
* Retry documentation build
---------
Co-authored-by: jayasree723 <confidentlehmann@tomorjerry.com >
Co-authored-by: Oliver <oliver.henry.walters@gmail.com >
2026-08-09 09:56:48 +10:00
Oliver
afcc89ecfb
Data import fix ( #12568 )
...
* Specify JSON encoder for data import fields
- Fixes encoding issues when importing from XLSX file
* Add regression test
* Fix faulty error handler
* Fix for unit test
2026-08-09 08:19:19 +10:00
Oliver
901dc024c0
[bug] Fix for plugin fetching ( #12590 )
...
- Prevent operation on stale plugin
2026-08-09 08:19:01 +10:00
Oliver
61fe3c9ce5
[bug] Fix PartStocktakeSerializer ( #12587 )
...
Closes https://github.com/inventree/InvenTree/issues/12555
2026-08-09 07:26:37 +10:00
Oliver and Matthias Mair
94024ad23e
[bug] Validate location when completing build outputs ( #12570 )
...
* [bug] Validate location when completing build outputs
- Cannot be structural
* Fix unit test
---------
Co-authored-by: Matthias Mair <code@mjmair.com >
2026-08-08 23:27:53 +10:00
Oliver
c0ed42549f
[API] Restrict barcode scan history ( #12569 )
...
- A non-staff user can only view their own results
2026-08-08 21:56:47 +10:00
Oliver
28fea388f6
[bug] Handle deleted Part ( #12578 )
2026-08-08 21:56:25 +10:00
Oliver
6cdc21c308
[sentry] Do not report MethodNotAllowed ( #12584 )
2026-08-08 20:51:21 +10:00
Oliver
21819ebc78
Fix flaky test on sqlite ( #12582 )
2026-08-08 20:27:50 +10:00
Oliver
5c798f4237
[bug] Fix part duplicate checks ( #12574 )
...
* [bug] Fix part duplicate checks
* Additional unit tests
2026-08-08 19:11:46 +10:00
Oliver
cf2f64c83a
[bug] Fix getLogoImage helper ( #12577 )
...
* [bug] Fix getLogoImage helper
- Do not return a file:// URI
* cleanup code
2026-08-08 19:11:32 +10:00
Oliver
f1e6ec249d
[bug] Fix post-delete actions ( #12575 )
...
- Check that underlying part is still available
2026-08-08 17:58:21 +10:00
Oliver
9b5c69da26
[bug] excel encoding for data import ( #12576 )
...
- Handle different encoding types for excel import
- Fail cleanly if cannot read file
2026-08-08 17:58:01 +10:00
Oliver
fe82ff1f9e
[refactor] Improve efficiency of check_missing_pricing ( #12572 )
2026-08-08 17:17:20 +10:00
Oliver
66b95cde5b
[API] Handle AppRegistryNotReady ( #12571 )
...
Explicit handling for AppRegistryNotReady error
2026-08-08 16:11:30 +10:00
Oliver
358c464349
Barcode API bugs ( #12565 )
...
* Add explicit permission checks for barcode scanning
- Previous role_required attribute did not do anything
* Additional unit tests
2026-08-08 14:17:50 +10:00
Oliver
ad818889df
Deduplicate part pricing updates per session ( #12564 )
2026-08-08 12:27:32 +10:00
Oliver
badf7ab300
Handle missing part ( #12566 )
...
Part instance may have already been deleted in post_delete hook for related models.
2026-08-08 12:27:19 +10:00
Oliver
02ee7ca2a1
Fix permissions for group and RuleSet endpoints ( #12563 )
...
- Require StaffRole in addition to is_staff
2026-08-08 10:43:15 +10:00
dependabot[bot] and Matthias Mair
4a7970b61f
chore(deps): bump cryptography from 49.0.0 to 50.0.0 in /src/backend ( #12546 )
...
* chore(deps): bump cryptography from 49.0.0 to 50.0.0 in /src/backend
Bumps [cryptography](https://github.com/pyca/cryptography ) from 49.0.0 to 50.0.0.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pyca/cryptography/compare/49.0.0...50.0.0 )
---
updated-dependencies:
- dependency-name: cryptography
dependency-version: 50.0.0
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: Matthias Mair <code@mjmair.com >
2026-08-05 21:27:27 +12:00
Oliver
8998d835a4
[API] Optional field permissions ( #12529 )
...
* Add permissions check for OptionalField
* Adjust existing unit tests
* Add caching
* Additional tests
* Additional testing
* Add exclusions for owner and group models
* Bump CHANGELOG
* Detect demo branch based on software version
* Updated docstrings
2026-08-04 07:03:12 +12:00
dependabot[bot] and Matthias Mair
5e9a840e41
chore(deps): bump the dependencies group across 1 directory with 9 updates ( #12526 )
...
* chore(deps): bump the dependencies group across 1 directory with 9 updates
Bumps the dependencies group with 9 updates in the /src/backend directory:
| Package | From | To |
| --- | --- | --- |
| [boto3](https://github.com/boto/boto3 ) | `1.43.53` | `1.43.55` |
| [botocore](https://github.com/boto/botocore ) | `1.43.53` | `1.43.55` |
| [django-oauth-toolkit](https://github.com/django-oauth/django-oauth-toolkit ) | `3.3.0` | `3.4.0` |
| [grpcio](https://github.com/grpc/grpc ) | `1.82.1` | `1.83.0` |
| [s3transfer](https://github.com/boto/s3transfer ) | `0.19.1` | `0.19.2` |
| [tqdm](https://github.com/tqdm/tqdm ) | `4.69.0` | `4.69.1` |
| [prek](https://github.com/j178/prek ) | `0.4.10` | `0.4.11` |
| [types-psycopg2](https://github.com/python/typeshed ) | `2.9.21.20260712` | `2.9.21.20260724` |
| [types-pyyaml](https://github.com/python/typeshed ) | `6.0.12.20260518` | `6.0.12.20260724` |
Updates `boto3` from 1.43.53 to 1.43.55
- [Release notes](https://github.com/boto/boto3/releases )
- [Commits](https://github.com/boto/boto3/compare/1.43.53...1.43.55 )
Updates `botocore` from 1.43.53 to 1.43.55
- [Commits](https://github.com/boto/botocore/compare/1.43.53...1.43.55 )
Updates `django-oauth-toolkit` from 3.3.0 to 3.4.0
- [Release notes](https://github.com/django-oauth/django-oauth-toolkit/releases )
- [Changelog](https://github.com/django-oauth/django-oauth-toolkit/blob/master/CHANGELOG.md )
- [Commits](https://github.com/django-oauth/django-oauth-toolkit/compare/3.3.0...3.4.0 )
Updates `grpcio` from 1.82.1 to 1.83.0
- [Release notes](https://github.com/grpc/grpc/releases )
- [Commits](https://github.com/grpc/grpc/compare/v1.82.1...v1.83.0 )
Updates `s3transfer` from 0.19.1 to 0.19.2
- [Changelog](https://github.com/boto/s3transfer/blob/develop/CHANGELOG.rst )
- [Commits](https://github.com/boto/s3transfer/compare/0.19.1...0.19.2 )
Updates `tqdm` from 4.69.0 to 4.69.1
- [Release notes](https://github.com/tqdm/tqdm/releases )
- [Commits](https://github.com/tqdm/tqdm/compare/v4.69.0...v4.69.1 )
Updates `prek` from 0.4.10 to 0.4.11
- [Release notes](https://github.com/j178/prek/releases )
- [Changelog](https://github.com/j178/prek/blob/master/CHANGELOG.md )
- [Commits](https://github.com/j178/prek/compare/v0.4.10...v0.4.11 )
Updates `types-psycopg2` from 2.9.21.20260712 to 2.9.21.20260724
- [Commits](https://github.com/python/typeshed/commits )
Updates `types-pyyaml` from 6.0.12.20260518 to 6.0.12.20260724
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: boto3
dependency-version: 1.43.55
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: botocore
dependency-version: 1.43.55
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: django-oauth-toolkit
dependency-version: 3.4.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: grpcio
dependency-version: 1.83.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: s3transfer
dependency-version: 0.19.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: tqdm
dependency-version: 4.69.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: prek
dependency-version: 0.4.11
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: types-psycopg2
dependency-version: 2.9.21.20260724
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: types-pyyaml
dependency-version: 6.0.12.20260724
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dependencies
...
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-08-03 05:48:00 +10:00
Oliver
d024a3fe2f
Fix for N+1 issues in stock item serializing ( #12534 )
2026-08-01 20:35:11 +10:00
github-actions[bot]
5216203e0d
New Crowdin translations by GitHub Action ( #12512 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-01 08:59:43 +10:00
Oliver
b50ad42a3e
Row locking for data import / update ( #12515 )
...
- Concurrency protection for data imports
2026-07-31 12:15:39 +10:00
Oliver
76a0005b61
Handle report error on missing svg data ( #12514 )
...
* Handle report error on missing svg data
* Add regression tests
2026-07-31 11:46:38 +10:00
Oliver
16639f35ac
Fix for data import "update" ( #12513 )
...
- Use partial update on serializer
- Mark other fields as not required (pk only)
2026-07-31 11:43:34 +10:00