Oliver
6fdc6b3a8c
[bug] Auto allocate bugfix ( #10398 )
...
* Fix "unallocated_quantity" calculation
- Take "consumed" quantity into account also
* Account for consumed quantity in:
- build.is_fully_allocated
- build.is_overallocated
* Additional unit tests
- Ensure the new calculations work properly
* Adjust API filter
* Try splitting query
* Another fix
* Try ExpressionWrapper
* Change order of operations?
* Refactor
* Adjust filtering strategy
* Change ordering
* Use Max wrapper
* Add comments
2025-09-27 10:10:16 +10:00
Matthias Mair
4794d69687
fix: correct user deletion ( #10385 )
...
* Ensure all user sessions are cleared
* remove double warning text on user delete
2025-09-24 10:22:36 +10:00
Reza
4681cbbfef
Refactor query parameters handling for SupplierPart and StockList endpoints ( #10374 )
...
* refactor output options for SupplierPart endpoints
* Add output options schema generation and corresponding tests for SupplierPart
* Bump API version to 392 and update version history; remove unused parameters in SupplierPartMixin
* Update API version to 392 and adjust version history with new release date
* Enhance output options handling in SupplierPart API
---------
Co-authored-by: Matthias Mair <code@mjmair.com >
2025-09-24 09:15:28 +10:00
Oliver
2f357587bc
Handle null user case ( #10362 )
2025-09-20 12:56:28 +10:00
Oliver
bbfdcdce73
Support import of "choice" fields ( #10361 )
...
- Perform reverse lookup of display value
2025-09-20 10:16:10 +10:00
dependabot[bot]
dcd2fcfd93
chore(deps): bump the dependencies group across 2 directories with 10 updates ( #10358 )
...
* chore(deps): bump the dependencies group across 2 directories with 10 updates
Bumps the dependencies group with 2 updates in the /docs directory: [mkdocs-material](https://github.com/squidfunk/mkdocs-material ) and [mkdocstrings[python]](https://github.com/mkdocstrings/mkdocstrings ).
Bumps the dependencies group with 8 updates in the /src/backend directory:
| Package | From | To |
| --- | --- | --- |
| [blessed](https://github.com/jquast/blessed ) | `1.21.0` | `1.22.0` |
| [django-cors-headers](https://github.com/adamchainz/django-cors-headers ) | `4.7.0` | `4.9.0` |
| [docutils](https://github.com/rtfd/recommonmark ) | `0.22` | `0.22.1` |
| [feedparser](https://github.com/kurtmckee/feedparser ) | `6.0.11` | `6.0.12` |
| [grpcio](https://github.com/grpc/grpc ) | `1.74.0` | `1.75.0` |
| [sentry-sdk](https://github.com/getsentry/sentry-python ) | `2.35.1` | `2.38.0` |
| [whitenoise](https://github.com/evansd/whitenoise ) | `6.9.0` | `6.11.0` |
| [ty](https://github.com/astral-sh/ty ) | `0.0.1a20` | `0.0.1a21` |
Updates `mkdocs-material` from 9.6.18 to 9.6.20
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases )
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG )
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.6.18...9.6.20 )
Updates `mkdocstrings[python]` from 0.30.0 to 0.30.1
- [Release notes](https://github.com/mkdocstrings/mkdocstrings/releases )
- [Changelog](https://github.com/mkdocstrings/mkdocstrings/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mkdocstrings/mkdocstrings/compare/0.30.0...0.30.1 )
Updates `blessed` from 1.21.0 to 1.22.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.21.0...1.22.0 )
Updates `django-cors-headers` from 4.7.0 to 4.9.0
- [Changelog](https://github.com/adamchainz/django-cors-headers/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/adamchainz/django-cors-headers/compare/4.7.0...4.9.0 )
Updates `docutils` from 0.22 to 0.22.1
- [Changelog](https://github.com/readthedocs/recommonmark/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rtfd/recommonmark/commits )
Updates `feedparser` from 6.0.11 to 6.0.12
- [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/6.0.11...v6.0.12 )
Updates `grpcio` from 1.74.0 to 1.75.0
- [Release notes](https://github.com/grpc/grpc/releases )
- [Changelog](https://github.com/grpc/grpc/blob/master/doc/grpc_release_schedule.md )
- [Commits](https://github.com/grpc/grpc/compare/v1.74.0...v1.75.0 )
Updates `sentry-sdk` from 2.35.1 to 2.38.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.35.1...2.38.0 )
Updates `whitenoise` from 6.9.0 to 6.11.0
- [Changelog](https://github.com/evansd/whitenoise/blob/main/docs/changelog.rst )
- [Commits](https://github.com/evansd/whitenoise/compare/6.9.0...6.11.0 )
Updates `ty` from 0.0.1a20 to 0.0.1a21
- [Release notes](https://github.com/astral-sh/ty/releases )
- [Changelog](https://github.com/astral-sh/ty/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ty/compare/0.0.1-alpha.20...0.0.1-alpha.21 )
---
updated-dependencies:
- dependency-name: mkdocs-material
dependency-version: 9.6.20
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: mkdocstrings[python]
dependency-version: 0.30.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: blessed
dependency-version: 1.22.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: django-cors-headers
dependency-version: 4.9.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: docutils
dependency-version: 0.22.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: feedparser
dependency-version: 6.0.12
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: grpcio
dependency-version: 1.75.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: sentry-sdk
dependency-version: 2.38.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: whitenoise
dependency-version: 6.11.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: ty
dependency-version: 0.0.1a21
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 >
2025-09-20 08:10:38 +10:00
Oliver
f4333bd83f
Improved error handling ( #10352 )
...
- Closes https://github.com/inventree/InvenTree/issues/10338
2025-09-19 18:20:40 +10:00
Matthias Mair
4b0acad518
fix(backend): better siteurl testing in middleware ( #10335 )
...
* fix(backend): simplify siteurl testing
* add multi-site test
* pass off site_url check if more than one trusted origin is set
* split up testing
* add temporary debug info
* fix test enviorment
2025-09-19 18:18:03 +10:00
Jacob Felknor
fd57b5354b
fix bug I introduced with automatic EmailAddress creation for LDAP users ( #10347 )
2025-09-19 07:23:44 +10:00
github-actions[bot]
d1a05f84bc
New Crowdin translations by GitHub Action ( #10332 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-18 13:20:15 +10:00
Oliver
df0e27bed2
UI panels fix ( #10341 )
...
* Tweak sample plugin
* Re-fetch panels when instance changes
* Unit test fix
2025-09-18 13:19:47 +10:00
Matthias Mair
21cb488eef
feat(backend): add typechecking with ty ( #9664 )
...
* Add ty for type checking
* fix various typing issues
* fix req
* more fixes
* and more types
* and more typing
* fix imports
* more fixes
* fix types and optional statements
* ensure patch only runs if it is installed
* add type check to qc
* more fixes
* install all reqs
* fix more types
* more fixes
* disable container stuff for now
* move typecheck to seperate job
* try to use putput for path
* use env instead
* fix typo
* add missing install
* remove unclear imports - not sure why this was done
* add kwarg names
* fix introduced issue in url call
* ignore import
* fix broken typing changes
* fix filter import
* reduce change set
* remove api-change
* fix dict
* ignore typing errors
* fix more type issues
* ignore errors
* style fix
* fix type
* bump ty
* fix more
* type fixes
* update ignores
* fix import
* fix defaults
* fix ignore
* fix some issues
* fix type
2025-09-17 21:30:02 +10:00
Oliver
a6e555708f
Exclude field from stock-item import ( #10333 )
2025-09-17 09:25:49 +10:00
github-actions[bot]
7033e36fc3
New Crowdin translations by GitHub Action ( #10286 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-17 07:37:06 +10:00
Oliver
bb40b92896
Update software version to 1.1.0 dev ( #10318 )
...
* Update software version to 1.1.0 dev
Bump master branch to 1.1.0 dev version
* Update MAX_VERSION to '2.0.0' in version.py
---------
Co-authored-by: Matthias Mair <code@mjmair.com >
2025-09-16 09:35:36 +10:00
dependabot[bot]
ccfd1c4bf8
chore(deps): bump django from 4.2.23 to 4.2.24 in /src/backend ( #10300 )
...
* chore(deps): bump django from 4.2.23 to 4.2.24 in /src/backend
Bumps [django](https://github.com/django/django ) from 4.2.23 to 4.2.24.
- [Commits](https://github.com/django/django/compare/4.2.23...4.2.24 )
---
updated-dependencies:
- dependency-name: django
dependency-version: 4.2.24
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 >
2025-09-12 08:48:49 +10:00
Reza
8adfa234bb
Refactor (backend): Improve BuildItemList API filters ( #10279 )
...
* refactor(stock): improve StockList api filters
* update PR numver in api_version
* Update src/backend/InvenTree/InvenTree/api_version.py
Co-authored-by: Matthias Mair <code@mjmair.com >
* Fix MySQL test failure caused by self-referential FK constraint in StockItem
* Data import fix (#10298 )
* Data import fix
- Improved error handling
* Tweak frontend display of errors
* chore(deps-dev): bump vite from 6.3.5 to 6.3.6 in /src/frontend (#10297 )
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 6.3.5 to 6.3.6.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v6.3.6/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v6.3.6/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-version: 6.3.6
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: Matthias Mair <code@mjmair.com >
Co-authored-by: Oliver <oliver.henry.walters@gmail.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-11 08:25:30 +10:00
Oliver
9df896cf7a
Data import fix ( #10298 )
...
* Data import fix
- Improved error handling
* Tweak frontend display of errors
2025-09-10 10:56:59 +10:00
Matthias Mair
2c22686520
fix(backend): re-add active plugins to anon status ( #10282 )
...
* this was disabled due to wrong feedback by me, common debug tools do not work because of this
* patch tests
* make mfa test more robust
2025-09-09 07:39:25 +10:00
github-actions[bot]
a47a022747
New Crowdin translations by GitHub Action ( #10248 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-08 23:19:45 +10:00
Matthias Mair
ed04a37838
chore(backend): improve coverage ( #10226 )
...
* remove unneeded helper
* remove unnecessary coverage
* ignore catch-all pervisions in app setup
* remove unused function
* this was replaced by get_model_permission_string
2025-09-05 10:00:50 +10:00
Oliver
a3f4cc9b88
Ensure stock check task runs in the background worker ( #10266 )
2025-09-04 14:39:11 +10:00
Oliver
7969d2d9ce
Virtual parts enhancements ( #10257 )
...
* Prevent virtual parts from being linked in a BuildOrder
* Hide "stock" tab for virtual parts
* Filter out virtual parts when creating a new stock item
* Support virtual parts in sales orders
* Add 'virtual' filter for BomItem
* Hide stock badges for virtual parts
* Tweak PartDetail page
* docs
* Adjust completion logic for SalesOrder
* Fix backend filter
* Remove restriction
* Adjust table
* Fix for "pending_line_items"
* Hide more panels for "Virtual" part
* Add badge for "virtual" part
* Bump API version
* Fix docs link
2025-09-03 15:13:08 +10:00
Oliver
73af9b18ed
Error tweaks ( #10250 )
...
* Refactor sentry checks
* Refresh output from db before printing
2025-09-02 20:15:21 +10:00
github-actions[bot]
35c398dfde
New Crowdin translations by GitHub Action ( #10242 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-02 10:19:35 +10:00
dependabot[bot]
0880ce34e3
chore(deps): bump the dependencies group across 2 directories with 6 updates ( #10245 )
...
* chore(deps): bump the dependencies group across 2 directories with 6 updates
Bumps the dependencies group with 2 updates in the /docs directory: [mkdocs-include-markdown-plugin](https://github.com/mondeja/mkdocs-include-markdown-plugin ) and [mkdocs-mermaid2-plugin](https://github.com/fralau/mkdocs-mermaid2-plugin ).
Bumps the dependencies group with 4 updates in the /src/backend directory: [django-mptt](https://github.com/django-mptt/django-mptt ), [python-barcode[images]](https://github.com/WhyNotHugo/python-barcode ), [sentry-sdk](https://github.com/getsentry/sentry-python ) and [coverage[toml]](https://github.com/nedbat/coveragepy ).
Updates `mkdocs-include-markdown-plugin` from 7.1.6 to 7.1.7
- [Release notes](https://github.com/mondeja/mkdocs-include-markdown-plugin/releases )
- [Commits](https://github.com/mondeja/mkdocs-include-markdown-plugin/compare/v7.1.6...v7.1.7 )
Updates `mkdocs-mermaid2-plugin` from 1.2.1 to 1.2.2
- [Release notes](https://github.com/fralau/mkdocs-mermaid2-plugin/releases )
- [Changelog](https://github.com/fralau/mkdocs-mermaid2-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/fralau/mkdocs-mermaid2-plugin/compare/v1.2.1...v1.2.2 )
Updates `django-mptt` from 0.17.0 to 0.18.0
- [Release notes](https://github.com/django-mptt/django-mptt/releases )
- [Changelog](https://github.com/django-mptt/django-mptt/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/django-mptt/django-mptt/compare/0.17...0.18 )
Updates `python-barcode[images]` from 0.15.1 to 0.16.1
- [Release notes](https://github.com/WhyNotHugo/python-barcode/releases )
- [Changelog](https://github.com/WhyNotHugo/python-barcode/blob/main/docs/changelog.rst )
- [Commits](https://github.com/WhyNotHugo/python-barcode/compare/v0.15.1...v0.16.1 )
Updates `sentry-sdk` from 2.35.0 to 2.35.1
- [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.35.0...2.35.1 )
Updates `coverage[toml]` from 7.10.4 to 7.10.6
- [Release notes](https://github.com/nedbat/coveragepy/releases )
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst )
- [Commits](https://github.com/nedbat/coveragepy/compare/7.10.4...7.10.6 )
---
updated-dependencies:
- dependency-name: mkdocs-include-markdown-plugin
dependency-version: 7.1.7
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: mkdocs-mermaid2-plugin
dependency-version: 1.2.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: django-mptt
dependency-version: 0.18.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: python-barcode[images]
dependency-version: 0.16.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: sentry-sdk
dependency-version: 2.35.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: coverage[toml]
dependency-version: 7.10.6
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 >
2025-09-01 09:24:13 +10:00
Reza
b54122f401
Refactor (backend): Improve BuildItemList API filters ( #10214 )
...
* add output filter to BuildItemFilter and optimize queryset retrieval
* add NumberOrNullFilter to handle filtering by numeric values or 'null'; update BuildItemFilter to use new filter and add tests for output filtering
* update api_version
* fix(tests): Add missing stock fixture to build tests
---------
Co-authored-by: Matthias Mair <code@mjmair.com >
2025-08-29 08:54:11 +10:00
github-actions[bot]
69c115c23e
New Crowdin translations by GitHub Action ( #10223 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-28 22:08:27 +10:00
github-actions[bot]
214e19dd10
New Crowdin translations by GitHub Action ( #10205 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-25 18:38:27 +10:00
Oliver
f4233981f5
Build source location ( #10220 )
...
* Display build source location
* Fix docstring
* Enhance build availability filter
- Take build source location into account
- Improve pre-fetch
* Enhance type annotations
2025-08-25 18:38:22 +10:00
Matthias Mair
6c05742a3b
chore(backend):mfa e2e testing ( #10206 )
...
* chore(backend):mfa e2e testing
* there are no tokens when only depoying browser-based clients for allauth
* cleanup
* style fixes
2025-08-25 16:01:43 +10:00
Oliver
ea667c1f62
Handle null line items ( #10217 )
2025-08-25 13:30:40 +10:00
Joe Rogers
303e8b46e7
Disable paging on purchaseOrderReceive API call ( #10213 )
...
* Disable paging on purchaseOrderReceive api call
* Bump api version
2025-08-24 12:58:26 +10:00
Reza
8f95e61035
fix(api): enhance SupplierPartMixin queryset to include manufacturer part tags ( #10215 )
2025-08-24 07:46:06 +10:00
dependabot[bot]
0d7e3fa068
chore(deps): bump the dependencies group across 3 directories with 3 updates ( #10212 )
...
* chore(deps): bump the dependencies group across 3 directories with 3 updates
Bumps the dependencies group with 1 update in the /contrib/dev_reqs directory: [requests](https://github.com/psf/requests ).
Bumps the dependencies group with 2 updates in the /docs directory: [requests](https://github.com/psf/requests ) and [mkdocs-material](https://github.com/squidfunk/mkdocs-material ).
Bumps the dependencies group with 2 updates in the /src/backend directory: [requests](https://github.com/psf/requests ) and [coverage[toml]](https://github.com/nedbat/coveragepy ).
Updates `requests` from 2.32.4 to 2.32.5
- [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.4...v2.32.5 )
Updates `requests` from 2.32.4 to 2.32.5
- [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.4...v2.32.5 )
Updates `mkdocs-material` from 9.6.17 to 9.6.18
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases )
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG )
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.6.17...9.6.18 )
Updates `requests` from 2.32.4 to 2.32.5
- [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.4...v2.32.5 )
Updates `coverage[toml]` from 7.10.3 to 7.10.4
- [Release notes](https://github.com/nedbat/coveragepy/releases )
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst )
- [Commits](https://github.com/nedbat/coveragepy/compare/7.10.3...7.10.4 )
---
updated-dependencies:
- dependency-name: requests
dependency-version: 2.32.5
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: requests
dependency-version: 2.32.5
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: mkdocs-material
dependency-version: 9.6.18
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: requests
dependency-version: 2.32.5
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: coverage[toml]
dependency-version: 7.10.4
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 >
2025-08-23 08:10:42 +10:00
Matthias Mair
e3a1c5fa20
improve error messages ( #10207 )
...
* fix remove mfa task
* add test for command
* clean up after schema test
* add assert to esure authenticators are really present/removed
* simplify handler
* improve error message
* make more readable
2025-08-21 09:08:26 +10:00
github-actions[bot]
9dae8724d8
New Crowdin translations by GitHub Action ( #10190 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-20 23:00:53 +10:00
Oliver
bd9c52eeaf
Machine registry improvements ( #10150 )
...
* Add wrapper function for machine registry
* Decorate entrypoint functions
* Docstrings
* Fix for boolean setting
* Add playwright tests
* Use proper entrypoints
* Ensure settings are fetched correctly
* Prevent recursion of machine registry decorator
* Fix machine status display
* Enhanced warning msg
* Add simple machine sample printer
* Adds playwright tests for machine UI
* re-throw exception
* Define 'machine' plugin mixin class
* Adjust machine discovery
* Use plugin mixins for registering machine types and drivers
* Adjust unit test
* Remove plugin static files when deactivating
* Force machine reload when plugin registry changes
* Add plugins specific to testing framework
* Add test for plugin loading sequence
* Add session caching
- Significantly reduce DB hits
* Enhanced unit testing and test plugins
* Refactor unit tests
* Further unit test fixes
* Adjust instance rendering
* Display table of available drivers
* Cleanup
* ADjust unit test
* Tweak unit test
* Add docs on new mixin type
* Tweak machine overview docs
* Tweak playwright tests
* Additional unit test
* Add unit test for calling machine func
* Enhanced playwright tests
* Account for database not being ready
2025-08-20 23:00:39 +10:00
Matthias Mair
76dfd62f84
fix: remove mfa task ( #10200 )
...
* fix remove mfa task
* add test for command
* clean up after schema test
* add assert to esure authenticators are really present/removed
* simplify handler
2025-08-20 21:21:03 +10:00
Oliver
885ec81a08
Import update ( #10188 )
...
* Add field to "update" existing records
* Ensure the ID is first
* Prevent editing of "ID" field
* Extract db instance
* Bump API version
* Prevent edit of "id" field
* Refactoring
* Enhanced playwright tests for data importing
* Update docs
* Update src/backend/InvenTree/importer/models.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/frontend/src/forms/ImporterForms.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Fix silly AI mistake
* Fix for table pagination
- Ensure page does not exceed available records
* Bug fix for playwright test
* Add end-to-end API testing
* Fix unit tests
* Adjust table page logic
* Ensure sensible page size
* Simplify playwright test
* Simplify test again
* Tweak unit test
- Importing has invalidated the BOM?
* Adjust playwright tests
* Further playwright fixes
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-08-20 15:34:49 +10:00
Oliver
e44008f528
List filters ( #10203 )
...
* Add support for 'list' filtering
* Docs
* Add unit tests
2025-08-20 10:23:20 +10:00
Oliver
b939e39ea2
Printing order ( #10199 )
...
* Fix printing order for labels
- Order of printing should match order of submission
* Same for reports
2025-08-20 07:14:07 +10:00
Oliver
49cc5fb137
Build order consume ( #8191 )
...
* Adds "consumed" field to BuildLine model
* Expose new field to serializer
* Add "consumed" column to BuildLineTable
* Boolean column tweaks
* Increase consumed count when completing allocation
* Add comment
* Update migration
* Add serializer for consuming build items
* Improve build-line sub-table
* Refactor BuildItem.complete_allocation method
- Allow optional quantity to be specified
- Adjust the allocated quantity when consuming
* Perform consumption
* Add "BuildConsume" API endpoint
* Implement frontend form
* Fixes for serializer
* Enhance front-end form
* Fix rendering of BuildLineTable
* Further improve rendering
* Bump API version
* Update API description
* Add option to consume by specifying a list of BuildLine objects
* Add form to consume stock via BuildLine reference
* Fix api_version
* Fix backup colors
* Fix typo
* Fix migrations
* Fix build forms
* Forms fixes
* Fix formatting
* Fixes for BuildLineTable
* Account for consumed stock in requirements calculation
* Reduce API requirements for BuildLineTable
* Docs updates
* Updated playwright testing
* Update src/frontend/src/forms/BuildForms.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/frontend/src/tables/build/BuildLineTable.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Add unit test for filters
* Add functional tests
* Tweak query count
* Increase max query time for testing
* adjust unit test again
* Prevent consumption of "tracked" items
* Adjust playwright tests
* Fix table
* Fix rendering
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-08-19 17:03:19 +10:00
Reza
b4982fde1d
Fix N+1 Query for primary_address in Company API ( #10171 )
...
* Enhance CompanySerializer to use Prefetch for for better performance
* Refactor CompanySerializer to improve address handling and add schema fields
* implement changes suggested by joe
Co-authored-by: Joe Rogers <1337joe@users.noreply.github.com >
* Update src/backend/InvenTree/company/serializers.py
Co-authored-by: Joe Rogers <1337joe@users.noreply.github.com >
* Update src/backend/InvenTree/company/serializers.py
Co-authored-by: Joe Rogers <1337joe@users.noreply.github.com >
---------
Co-authored-by: Matthias Mair <code@mjmair.com >
Co-authored-by: Joe Rogers <1337joe@users.noreply.github.com >
2025-08-19 07:22:04 +10:00
github-actions[bot]
11f1e27926
New Crowdin translations by GitHub Action ( #10185 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-19 00:57:59 +10:00
dependabot[bot]
750a1b7759
chore(deps): bump the dependencies group across 2 directories with 6 updates ( #10186 )
...
* chore(deps): bump the dependencies group across 2 directories with 6 updates
Bumps the dependencies group with 2 updates in the /docs directory: [mkdocs-macros-plugin](https://github.com/fralau/mkdocs_macros_plugin ) and [mkdocs-material](https://github.com/squidfunk/mkdocs-material ).
Bumps the dependencies group with 4 updates in the /src/backend directory: [pypdf](https://github.com/py-pdf/pypdf ), [sentry-sdk](https://github.com/getsentry/sentry-python ), [coverage[toml]](https://github.com/nedbat/coveragepy ) and [pre-commit](https://github.com/pre-commit/pre-commit ).
Updates `mkdocs-macros-plugin` from 1.3.7 to 1.3.9
- [Release notes](https://github.com/fralau/mkdocs_macros_plugin/releases )
- [Changelog](https://github.com/fralau/mkdocs-macros-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/fralau/mkdocs_macros_plugin/compare/v1.3.7...v1.3.9 )
Updates `mkdocs-material` from 9.6.16 to 9.6.17
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases )
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG )
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.6.16...9.6.17 )
Updates `pypdf` from 5.9.0 to 6.0.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/5.9.0...6.0.0 )
Updates `sentry-sdk` from 2.34.1 to 2.35.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.34.1...2.35.0 )
Updates `coverage[toml]` from 7.10.2 to 7.10.3
- [Release notes](https://github.com/nedbat/coveragepy/releases )
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst )
- [Commits](https://github.com/nedbat/coveragepy/compare/7.10.2...7.10.3 )
Updates `pre-commit` from 4.2.0 to 4.3.0
- [Release notes](https://github.com/pre-commit/pre-commit/releases )
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pre-commit/pre-commit/compare/v4.2.0...v4.3.0 )
---
updated-dependencies:
- dependency-name: mkdocs-macros-plugin
dependency-version: 1.3.9
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: mkdocs-material
dependency-version: 9.6.17
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: pypdf
dependency-version: 6.0.0
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: sentry-sdk
dependency-version: 2.35.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: coverage[toml]
dependency-version: 7.10.3
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: pre-commit
dependency-version: 4.3.0
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 >
2025-08-17 23:03:27 +10:00
Matthias Mair
6cb9327a1c
chore(backend): bump deps ( #10154 )
...
* bump backend devs
* bump helper-deps
2025-08-17 07:04:44 +10:00
github-actions[bot]
bc89af272d
New Crowdin translations by GitHub Action ( #10169 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-16 20:02:51 +10:00
Daniil Chudo
ebc9213033
feature(BE): add customization for admin.site.site_header ( #10179 ) to
...
* feature: add customization for admin.site.site_header
* fix: style issue
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com >
2025-08-16 18:44:07 +10:00
Oliver
fa15466ce4
Fix api_url for 'user' type ( #10182 )
...
* Fix api_url for 'user' type
* Added regression test
2025-08-16 08:10:02 +10:00