github-actions[bot]
d358001827
New Crowdin translations by GitHub Action ( #11662 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-05 12:08:50 +10:00
Oliver
a721a0fe35
Add documentation on background worker configuration options ( #11673 )
2026-04-04 12:41:55 +11:00
Oliver
3a1e860789
Storage fixes ( #11672 )
...
* Use storage class rather than manually constructing URL
* Fix for report helpers
2026-04-04 11:49:21 +11:00
Oliver
bb3293ef31
Updates to part revision support ( #11670 )
...
* Update revision validation
* Refactor UI display
* Fix for usePartFields
* Rearrange part settings
* Better visuals
* Update docs
* use 'full_name' field
* Update playwright tests
* Adjust unit test
* Fix playwright tests
2026-04-04 00:10:25 +11:00
dependabot[bot]
884b0aa966
chore(deps): bump the dependencies group across 1 directory with 20 updates ( #11661 )
...
* chore(deps): bump the dependencies group across 1 directory with 20 updates
Bumps the dependencies group with 20 updates in the /src/backend directory:
| Package | From | To |
| --- | --- | --- |
| [bleach](https://github.com/mozilla/bleach ) | `4.1.0` | `6.3.0` |
| [blessed](https://github.com/jquast/blessed ) | `1.33.0` | `1.34.0` |
| [boto3](https://github.com/boto/boto3 ) | `1.42.72` | `1.42.76` |
| [botocore](https://github.com/boto/botocore ) | `1.42.72` | `1.42.76` |
| [djangorestframework](https://github.com/encode/django-rest-framework ) | `3.17.0` | `3.17.1` |
| [gunicorn](https://github.com/benoitc/gunicorn ) | `25.1.0` | `25.2.0` |
| [importlib-metadata](https://github.com/python/importlib_metadata ) | `8.7.1` | `9.0.0` |
| [protobuf](https://github.com/protocolbuffers/protobuf ) | `6.33.6` | `7.34.1` |
| [redis](https://github.com/redis/redis-py ) | `7.3.0` | `7.4.0` |
| [sentry-sdk](https://github.com/getsentry/sentry-python ) | `2.55.0` | `2.56.0` |
| [wrapt](https://github.com/GrahamDumpleton/wrapt ) | `1.17.3` | `2.1.2` |
| [build](https://github.com/pypa/build ) | `1.4.0` | `1.4.2` |
| [coverage](https://github.com/coveragepy/coveragepy ) | `7.13.4` | `7.13.5` |
| [django-silk](https://github.com/jazzband/django-silk ) | `5.4.3` | `5.5.0` |
| [django-stubs](https://github.com/typeddjango/django-stubs ) | `5.2.9` | `6.0.1` |
| [django-stubs-ext](https://github.com/typeddjango/django-stubs ) | `5.2.9` | `6.0.1` |
| [filelock](https://github.com/tox-dev/py-filelock ) | `3.25.0` | `3.25.2` |
| [identify](https://github.com/pre-commit/identify ) | `2.6.17` | `2.6.18` |
| [python-discovery](https://github.com/tox-dev/python-discovery ) | `1.1.0` | `1.2.0` |
| [virtualenv](https://github.com/pypa/virtualenv ) | `21.1.0` | `21.2.0` |
Updates `bleach` from 4.1.0 to 6.3.0
- [Changelog](https://github.com/mozilla/bleach/blob/main/CHANGES )
- [Commits](https://github.com/mozilla/bleach/compare/v4.1.0...v6.3.0 )
Updates `blessed` from 1.33.0 to 1.34.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/compare/1.33...1.34 )
Updates `boto3` from 1.42.72 to 1.42.76
- [Release notes](https://github.com/boto/boto3/releases )
- [Commits](https://github.com/boto/boto3/compare/1.42.72...1.42.76 )
Updates `botocore` from 1.42.72 to 1.42.76
- [Commits](https://github.com/boto/botocore/compare/1.42.72...1.42.76 )
Updates `djangorestframework` from 3.17.0 to 3.17.1
- [Release notes](https://github.com/encode/django-rest-framework/releases )
- [Commits](https://github.com/encode/django-rest-framework/compare/3.17.0...3.17.1 )
Updates `gunicorn` from 25.1.0 to 25.2.0
- [Release notes](https://github.com/benoitc/gunicorn/releases )
- [Commits](https://github.com/benoitc/gunicorn/compare/25.1.0...25.2.0 )
Updates `importlib-metadata` from 8.7.1 to 9.0.0
- [Release notes](https://github.com/python/importlib_metadata/releases )
- [Changelog](https://github.com/python/importlib_metadata/blob/main/NEWS.rst )
- [Commits](https://github.com/python/importlib_metadata/compare/v8.7.1...v9.0.0 )
Updates `protobuf` from 6.33.6 to 7.34.1
- [Release notes](https://github.com/protocolbuffers/protobuf/releases )
- [Commits](https://github.com/protocolbuffers/protobuf/commits )
Updates `redis` from 7.3.0 to 7.4.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/v7.3.0...v7.4.0 )
Updates `sentry-sdk` from 2.55.0 to 2.56.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.55.0...2.56.0 )
Updates `wrapt` from 1.17.3 to 2.1.2
- [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/1.17.3...2.1.2 )
Updates `build` from 1.4.0 to 1.4.2
- [Release notes](https://github.com/pypa/build/releases )
- [Changelog](https://github.com/pypa/build/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pypa/build/compare/1.4.0...1.4.2 )
Updates `coverage` from 7.13.4 to 7.13.5
- [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.13.4...7.13.5 )
Updates `django-silk` from 5.4.3 to 5.5.0
- [Release notes](https://github.com/jazzband/django-silk/releases )
- [Changelog](https://github.com/jazzband/django-silk/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jazzband/django-silk/compare/5.4.3...5.5.0 )
Updates `django-stubs` from 5.2.9 to 6.0.1
- [Release notes](https://github.com/typeddjango/django-stubs/releases )
- [Commits](https://github.com/typeddjango/django-stubs/compare/5.2.9...6.0.1 )
Updates `django-stubs-ext` from 5.2.9 to 6.0.1
- [Release notes](https://github.com/typeddjango/django-stubs/releases )
- [Commits](https://github.com/typeddjango/django-stubs/compare/5.2.9...6.0.1 )
Updates `filelock` from 3.25.0 to 3.25.2
- [Release notes](https://github.com/tox-dev/py-filelock/releases )
- [Changelog](https://github.com/tox-dev/filelock/blob/main/docs/changelog.rst )
- [Commits](https://github.com/tox-dev/py-filelock/compare/3.25.0...3.25.2 )
Updates `identify` from 2.6.17 to 2.6.18
- [Commits](https://github.com/pre-commit/identify/compare/v2.6.17...v2.6.18 )
Updates `python-discovery` from 1.1.0 to 1.2.0
- [Release notes](https://github.com/tox-dev/python-discovery/releases )
- [Commits](https://github.com/tox-dev/python-discovery/compare/1.1.0...1.2.0 )
Updates `virtualenv` from 21.1.0 to 21.2.0
- [Release notes](https://github.com/pypa/virtualenv/releases )
- [Changelog](https://github.com/pypa/virtualenv/blob/main/docs/changelog.rst )
- [Commits](https://github.com/pypa/virtualenv/compare/21.1.0...21.2.0 )
---
updated-dependencies:
- dependency-name: bleach
dependency-version: 6.3.0
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: blessed
dependency-version: 1.34.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: boto3
dependency-version: 1.42.76
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: botocore
dependency-version: 1.42.76
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: djangorestframework
dependency-version: 3.17.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: gunicorn
dependency-version: 25.2.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: importlib-metadata
dependency-version: 9.0.0
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: protobuf
dependency-version: 7.34.1
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: redis
dependency-version: 7.4.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: sentry-sdk
dependency-version: 2.56.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: wrapt
dependency-version: 2.1.2
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: build
dependency-version: 1.4.2
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: coverage
dependency-version: 7.13.5
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: django-silk
dependency-version: 5.5.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: django-stubs
dependency-version: 6.0.1
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: django-stubs-ext
dependency-version: 6.0.1
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: filelock
dependency-version: 3.25.2
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: identify
dependency-version: 2.6.18
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: python-discovery
dependency-version: 1.2.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: virtualenv
dependency-version: 21.2.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix style
* more fixes
---------
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-04-03 14:16:39 +11:00
dependabot[bot]
2eb675ae9e
chore(deps): bump pygments from 2.19.2 to 2.20.0 in /docs ( #11637 )
...
* chore(deps): bump pygments from 2.19.2 to 2.20.0 in /docs
Bumps [pygments](https://github.com/pygments/pygments ) from 2.19.2 to 2.20.0.
- [Release notes](https://github.com/pygments/pygments/releases )
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES )
- [Commits](https://github.com/pygments/pygments/compare/2.19.2...2.20.0 )
---
updated-dependencies:
- dependency-name: pygments
dependency-version: 2.20.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix style
* bump rest of deps
* fix pygments
---------
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-04-03 14:16:25 +11:00
Matthias Mair
45de695d4f
feat(backend): add request id ( #11666 )
...
helpful for https://github.com/inventree/InvenTree/issues/9996
2026-04-03 14:07:27 +11:00
Oliver
5c55f4f4c0
Migrate plugin tables ( #11648 )
...
* Prevent creation of PluginConfig during migrations
* Refactor data import process
- Split into multiple separate steps
* Load plugins during data load / dump
- Required, otherwise we cannot dump the data
* Refactor export_records
- Use temporary file
- Cleanup docstring
* Force apps check on second validation step
* Improve import sequencing
* Update CI script
* Update migration docs
* CI pipeline for running import/export test
* Fix workflow naming
* Fix env vars
* Add placeholder script
* Fix matrix env vars
* Fix missing env var
* Install required packages
* Fix typo
* Tweak tasks.py
* Install dummy plugin as part of the
* Updated CI workflow
* Validate exported data
* Additional CI process
* Log mandatory plugins to INFO
* Force global setting
* Refactor CI pipeline
* Tweak file test
* Workflow updates
* Enable auto-update
* Test if import/export test should run
* Trigger if tasks.py changes
2026-04-02 21:26:34 +11:00
github-actions[bot]
9aa2308f52
New Crowdin translations by GitHub Action ( #11623 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-02 16:56:15 +11:00
Matthias Mair
5d1cbf4e9a
refactor(backend): replace bleach with nh3 and bump weasy ( #11655 )
...
* Replace bleach with nh3 for HTML sanitization
Agent-Logs-Url: https://github.com/matmair/InvenTree/sessions/913a447a-5efa-4fa3-b8b1-6af5feaa24f0
Co-authored-by: matmair <66015116+matmair@users.noreply.github.com >
* reduce diff
* bump weasy
* fix name
* remove old textual refs
* move defaults
* add some comments
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
2026-04-02 15:35:15 +11:00
Matthias Mair
07a0bd2e24
remove duplicate requirements ( #11654 )
2026-04-02 10:46:41 +11:00
Oliver
c8bcb924ca
Reduce load on background worker ( #11651 )
...
* Do not save setting with identical value
* Prevent task duplication
* Logic fixes
* Add unit test for task de-duplication
* Updated unit test
2026-04-01 17:42:48 +11:00
Oliver
080edc870f
Better ordering for plugin settings ( #11646 )
...
* Better ordering for plugin settings
- Followup to https://github.com/inventree/InvenTree/pull/11643
- Use order as provided by plugin
* Bug fix
2026-04-01 16:18:55 +11:00
Oliver
6243aec9b7
Shipment parameters ( #11641 )
...
* Add 'parameter' support for SalesOrderShipment model
* Add "parameters" tab for shipment view
* Playwright test
* Update CHANGELOG
* Update API version
* Install gettext
* Try yaml format
* Revert "Try yaml format"
This reverts commit 394a5551c8 .
---------
Co-authored-by: Matthias Mair <code@mjmair.com >
2026-04-01 10:31:49 +11:00
Matthias Mair
1f01229d30
fix(backend): API description ordering more deterministic ( #11649 )
...
* fix(backend): API description ordering more deterministic
* bump API
* Update API version history in api_version.py
2026-04-01 08:54:44 +11:00
Oliver
5f3e9a0652
Enforce deterministic ordering for plugin settings ( #11643 )
...
* Enforce deterministic ordering for plugin settings
* Fix typo
2026-03-31 20:45:25 +11:00
Oliver
092c43b49a
Update "date" field for StockItemTestResult ( #11586 )
...
* Update "date" field for StockItemTestResult
- Allow editing of date (via admin)
* Mark 'date' and 'user' as read-only unless importing
* Revert API field name
* Fix default value
* Fix migration
---------
Co-authored-by: Matthias Mair <code@mjmair.com >
2026-03-31 07:13:12 +11:00
Oliver
77744aeeac
Enhancements for recort import/export ( #11630 )
...
* Add management command to list installed apps
* Add metadata to exported data file
* Validate metadata for imported file
* Update CHANGELOG.md
* Update docs
* Use internal codes
* Refactor and add more metadata
* Adjust github action workflow
* Run with --force option to setup demo dataset
2026-03-31 00:18:48 +11:00
Oliver
67d6026637
Remove duplicate entries in the API version list ( #11629 )
2026-03-30 19:58:57 +11:00
Oliver
dab4319033
Receive virtual parts ( #11627 )
...
* Handle receive of virtual parts
- Update line item quantity
- Do not add any stock
* Add unit test
* Additional unit test
* UI form improvements
* Add playwright test
* Updated playwright tests
2026-03-30 19:10:56 +11:00
dependabot[bot]
b4f230753f
chore(deps): bump cryptography from 46.0.5 to 46.0.6 in /src/backend ( #11619 )
...
* chore(deps): bump cryptography from 46.0.5 to 46.0.6 in /src/backend
Bumps [cryptography](https://github.com/pyca/cryptography ) from 46.0.5 to 46.0.6.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pyca/cryptography/compare/46.0.5...46.0.6 )
---
updated-dependencies:
- dependency-name: cryptography
dependency-version: 46.0.6
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-03-30 09:24:07 +11:00
github-actions[bot]
b4ab985e1e
New Crowdin translations by GitHub Action ( #11593 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-29 17:49:33 +11:00
Matthias Mair
e3c9a35bae
feat(backend): add inventree version to every response ( #11611 )
...
* feat(backend): add inventree version to every response
* add more info
2026-03-29 14:27:05 +11:00
dependabot[bot]
100555c9db
chore(deps): bump pypdf from 6.9.1 to 6.9.2 in /src/backend ( #11608 )
...
* chore(deps): bump pypdf from 6.9.1 to 6.9.2 in /src/backend
Bumps [pypdf](https://github.com/py-pdf/pypdf ) from 6.9.1 to 6.9.2.
- [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.9.1...6.9.2 )
---
updated-dependencies:
- dependency-name: pypdf
dependency-version: 6.9.2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix style
* add playwright test
* Revert "add playwright test"
This reverts commit f0c661d6eb .
---------
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-03-27 07:29:54 +11:00
dependabot[bot]
d2e8c75de4
chore(deps): bump requests from 2.32.5 to 2.33.0 in /src/backend ( #11609 )
...
* chore(deps): bump requests from 2.32.5 to 2.33.0 in /src/backend
Bumps [requests](https://github.com/psf/requests ) from 2.32.5 to 2.33.0.
- [Release notes](https://github.com/psf/requests/releases )
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md )
- [Commits](https://github.com/psf/requests/compare/v2.32.5...v2.33.0 )
---
updated-dependencies:
- dependency-name: requests
dependency-version: 2.33.0
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
* style fix
* reduce diff
---------
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-03-27 07:29:32 +11:00
Oliver
a1ec46a6b8
isGeneratingSchema fix ( #11606 )
...
- Ignore sqlflush command
2026-03-25 01:09:00 +11:00
Oliver
8ec61aca0a
Update DataExport functionality ( #11604 )
...
* Update DataExport functionality
- Chunk queryset into memory
* Allow larger number of queries for chunked database fetching
* Handle possible exception in unit testing
2026-03-25 00:35:08 +11:00
Oliver
b98fc9c7a0
Restrict queryset for DataImportSession ( #11602 )
...
* Restrict queryset for DataImportSession
- Only allow non-staff users to see their own sessions
* Add unit test
* raise PermissionDenied if no user info available
2026-03-24 23:28:58 +11:00
Matthias Mair
ae593bd7c4
chore(backend): full backend/image bump ( #11571 )
...
* full bump
* bump base image
* update comment
* fix ty errors
* lower allauth
2026-03-23 21:46:45 +11:00
Oliver
1e0a0aa79d
Add option to "asset" tag to control error raising ( #11591 )
2026-03-22 17:15:14 +11:00
github-actions[bot]
0feba9fbfb
New Crowdin translations by GitHub Action ( #11498 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-22 13:31:14 +11:00
Oliver
8e289a3208
[API] Category star fix ( #11588 )
...
* [API] Bug fix for PartStar and PartCategoryStar
- Logic refactor and fixes
* Add playwright tests
* Remove debug statements
* Revert API string changes
2026-03-21 23:47:11 +11:00
Bradley Zylstra
cf619b4184
[Bug] Import-records fix when importing from older InvenTree+Postgres version ( #10862 )
...
* Fixed issue where importing data from older versions of InvenTree+Postgres would fail
* Update tasks.py
Changed .startswith to exact matching for users.userprofile.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update tasks.py
Added validation checks to user primary key pairing dict.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Reverted tasks.py, disabled signals in user model when importing data
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-03-21 22:46:03 +11:00
Oliver
3a3816307e
Make WAL mode configurable for sqlite ( #11585 )
2026-03-21 19:46:22 +11:00
Oliver
6d8606bbe4
Refactoring for report helper functions ( #11579 )
...
* Refactoring for media file report helper functions
* Updated unit tests
* Improved error handling
* Generic path return for asset
* Fix return type annotations
* Fix existing test
* Tweaked unit test
* Collect static files in CI
* Run static step for all DB tests
* Update action.yaml
* Fix for action.yaml
* Updated unit tests
2026-03-21 17:38:41 +11:00
Oliver
5adf33d354
Improvements for get_bulk_queryset ( #11581 )
...
* Improvements for get_bulk_queryset
- Limit scope to base view queryset
- Remove ability to provide arbitrary filters
- Remove feedback if zero items are found
* Adjust unit test
* Remove filter test
* Update CHANGELOG.md
2026-03-21 17:17:35 +11:00
Oliver
c5bf915d10
Adjust DataOutput API endpoint ( #11580 )
...
* DataOutput API fix
- Prevent non-staff users from accessing unrelated DataOutput instances
* Add unit tests
2026-03-21 15:14:59 +11:00
Oliver
5f9972e75e
[plugin] Cache busting for plugin static files ( #11565 )
...
* Add helper to check the existence of a static file
* Log error if plugin static file does not exist
* Support cache busting for plugin files
* Use Pathlib instead
* Improve generic URL resolution
* Add unit test
2026-03-20 15:42:15 +11:00
Oliver
fc730b9af7
Save user info ( #11572 )
...
* Record user info when creating stock item
* Add unit test
* Add playwright test
2026-03-20 15:41:44 +11:00
Oliver
8c2592b3c2
Fix parent field for StockItemSerializer ( #11573 )
...
* Fix parent field for StockItemSerializer
- Closes https://github.com/inventree/InvenTree/issues/11507
* Bump API version
2026-03-20 15:41:35 +11:00
dependabot[bot]
a64b15af76
chore(deps): bump pypdf from 6.8.0 to 6.9.1 in /src/backend ( #11556 )
...
* chore(deps): bump pypdf from 6.8.0 to 6.9.1 in /src/backend
Bumps [pypdf](https://github.com/py-pdf/pypdf ) from 6.8.0 to 6.9.1.
- [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.8.0...6.9.1 )
---
updated-dependencies:
- dependency-name: pypdf
dependency-version: 6.9.1
dependency-type: direct:production
...
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-03-20 10:39:10 +11:00
Matthias Mair
9c993d1c22
bump drf ( #11559 )
2026-03-20 07:18:27 +11:00
Oliver
ef2f05a418
[API] Bug fix for PartCategory cascade filter ( #11562 )
...
* Bug fix for PartCategory cascade filter
* Additional unit test
2026-03-19 23:40:44 +11:00
Matthias Mair
16103379c9
chore(backend): Bump ty ( #11537 )
...
* bump ty - there is better django support now
* more fixes
* fix usage of types
* add missing type
* fix access
* ensure itteration is safe
* fix uncombat decimal usage
* ?potential breaking: change access key
* remove now obsolete igtnore
* ignore errors on StdImageField
* remove usage of unkonw parameter
* fix diff error
* fix schema creation
* fix coverage quirk
* those are unneeded now?
* this seem to have been an issue with 3.12; not occuring on 3.14
* ignore pydantiics
* ignore edge cases for now
* include isGenerating fix
* make typing python 3.11 compatible
* fix more errors
2026-03-18 18:25:50 +11:00
Oliver
865ec47a3b
Fix error generation on failed background task ( #11552 )
...
* Fix error generation on failed background task
* Tweak unit test
2026-03-18 18:23:47 +11:00
nino-tan-smartee
468f0f9c3b
fix(plugin): use app_name instead of plugin_path when deregistering models ( #11536 )
...
* fix(plugin): use app_name instead of plugin_path when deregistering models
_deactivate_mixin uses plugin_path (the full dotted module path) as the
key into Django's apps.all_models when removing plugin models during
reload. However, Django registers models under the app_label (the short
app_name), not the full plugin_path.
For plugins with nested module paths (e.g. "myplugin.myplugin"),
plugin_path != app_name. Since apps.all_models is a defaultdict, looking
up plugin_path silently creates an empty OrderedDict, then .pop(model)
raises KeyError because the model was never in that dict — it was
registered under app_name.
This causes recurring KeyError crashes every plugin reload cycle
(~1 minute) for any external plugin with a nested package structure.
The fix:
- Use app_name (already computed at line 98) instead of plugin_path
- Add default None to .pop() for defensive safety
- Consistent with line 123 which already correctly uses app_name
* test(plugin): add unit test for nested plugin path model deregistration
Ensures _deactivate_mixin uses app_name (last path component) instead
of the full plugin_path when looking up models in apps.all_models,
preventing KeyError for external plugins with nested module structures.
* style: fix ruff format for context manager parenthesization
2026-03-18 13:45:40 +11:00
Oliver
488bd5f923
Fix complete_sales_order_shipment task ( #11525 )
...
* Fix complete_sales_order_shipment task
- Perform allocation *before* marking shipment as complete
- Ensure task is not marked as complete before it is actually done
* Add unit test
* Provide task status tracking for shipment completion
* Add integration testing
* Address unit test issues
* Bump API version
* Enhance playwright test
2026-03-18 08:05:16 +11:00
Oliver
b10fd949d3
Remove error handling for complete_build_allocations task ( #11551 )
...
- We *want* this to fail, and run again
- It is handled by the background task manager
2026-03-18 07:07:25 +11:00
Oliver
756c0be0b5
[db] Backend setting improvements ( #11500 )
...
* Refactor database engine options
- Move to setting/db_backend.py
- Cleanup settings.py
* Fix documentation for postgres settings
* docs updates
* Add transaction_mode options for sqlite
* Update CHANGELOG with breaking changes
* Remove hard-coded database config
* Raise error on invalid backend
* Fix typos
* Fix broken redis link
* Limit to single worker thread for sqlite
* Update docs
* Add verbosity switch to dev.test task
* Add test timeout - kill hanging tests after 120s
* Set WAL mode for sqlite
* Use IMMEDIATE mode for background worker thread
* Use config to set WAL rather than custom hook
* Tweak pyproject settings
* Tweak code
* Increase timeouts
* Reset requirements to master
2026-03-18 00:01:17 +11:00
Matthias Mair
ab116309b3
chore(backend): fix isGenerating detection ( #11548 )
2026-03-18 00:00:33 +11:00