Oliver
0dbb0306a5
Update docs for running playwright tests ( #10544 )
2025-10-11 10:48:52 +11:00
Lukas
cb0b0bcd0d
allow mobile check ignore ( #10529 )
...
* allow mobile check ignore
* add docs
2025-10-09 09:44:40 +11:00
dependabot[bot]
835e9e2556
chore(deps): bump the dependencies group across 3 directories with 10 updates ( #10482 )
...
* chore(deps): bump the dependencies group across 3 directories with 10 updates
Bumps the dependencies group with 1 update in the /contrib/dev_reqs directory: [pyyaml](https://github.com/yaml/pyyaml ).
Bumps the dependencies group with 3 updates in the /docs directory: [mkdocs-include-markdown-plugin](https://github.com/mondeja/mkdocs-include-markdown-plugin ), [mkdocs-macros-plugin](https://github.com/fralau/mkdocs_macros_plugin ) and [mkdocs-material](https://github.com/squidfunk/mkdocs-material ).
Bumps the dependencies group with 6 updates in the /src/backend directory:
| Package | From | To |
| --- | --- | --- |
| [pyyaml](https://github.com/yaml/pyyaml ) | `6.0.2` | `6.0.3` |
| [django-oauth-toolkit](https://github.com/django-oauth/django-oauth-toolkit ) | `3.0.1` | `3.1.0` |
| [docutils](https://github.com/rtfd/recommonmark ) | `0.22.1` | `0.22.2` |
| [grpcio](https://github.com/grpc/grpc ) | `1.75.0` | `1.75.1` |
| [pypdf](https://github.com/py-pdf/pypdf ) | `6.0.0` | `6.1.1` |
| [sentry-sdk](https://github.com/getsentry/sentry-python ) | `2.38.0` | `2.39.0` |
Updates `pyyaml` from 6.0.2 to 6.0.3
- [Release notes](https://github.com/yaml/pyyaml/releases )
- [Changelog](https://github.com/yaml/pyyaml/blob/6.0.3/CHANGES )
- [Commits](https://github.com/yaml/pyyaml/compare/6.0.2...6.0.3 )
Updates `pyyaml` from 6.0.2 to 6.0.3
- [Release notes](https://github.com/yaml/pyyaml/releases )
- [Changelog](https://github.com/yaml/pyyaml/blob/6.0.3/CHANGES )
- [Commits](https://github.com/yaml/pyyaml/compare/6.0.2...6.0.3 )
Updates `mkdocs-include-markdown-plugin` from 7.1.8 to 7.2.0
- [Release notes](https://github.com/mondeja/mkdocs-include-markdown-plugin/releases )
- [Commits](https://github.com/mondeja/mkdocs-include-markdown-plugin/compare/v7.1.8...v7.2.0 )
Updates `mkdocs-macros-plugin` from 1.3.9 to 1.4.0
- [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.9...v1.4.0 )
Updates `mkdocs-material` from 9.6.20 to 9.6.21
- [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.20...9.6.21 )
Updates `pyyaml` from 6.0.2 to 6.0.3
- [Release notes](https://github.com/yaml/pyyaml/releases )
- [Changelog](https://github.com/yaml/pyyaml/blob/6.0.3/CHANGES )
- [Commits](https://github.com/yaml/pyyaml/compare/6.0.2...6.0.3 )
Updates `django-oauth-toolkit` from 3.0.1 to 3.1.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.0.1...3.1.0 )
Updates `docutils` from 0.22.1 to 0.22.2
- [Changelog](https://github.com/readthedocs/recommonmark/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rtfd/recommonmark/commits )
Updates `grpcio` from 1.75.0 to 1.75.1
- [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.75.0...v1.75.1 )
Updates `pypdf` from 6.0.0 to 6.1.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.0.0...6.1.1 )
Updates `pyyaml` from 6.0.2 to 6.0.3
- [Release notes](https://github.com/yaml/pyyaml/releases )
- [Changelog](https://github.com/yaml/pyyaml/blob/6.0.3/CHANGES )
- [Commits](https://github.com/yaml/pyyaml/compare/6.0.2...6.0.3 )
Updates `sentry-sdk` from 2.38.0 to 2.39.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.38.0...2.39.0 )
Updates `setuptools` from 80.9.0 to
- [Release notes](https://github.com/pypa/setuptools/releases )
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/setuptools/commits )
---
updated-dependencies:
- dependency-name: pyyaml
dependency-version: 6.0.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: pyyaml
dependency-version: 6.0.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: mkdocs-include-markdown-plugin
dependency-version: 7.2.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: mkdocs-macros-plugin
dependency-version: 1.4.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: mkdocs-material
dependency-version: 9.6.21
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: pyyaml
dependency-version: 6.0.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: django-oauth-toolkit
dependency-version: 3.1.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: docutils
dependency-version: 0.22.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: grpcio
dependency-version: 1.75.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: pypdf
dependency-version: 6.1.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: pyyaml
dependency-version: 6.0.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: sentry-sdk
dependency-version: 2.39.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: setuptools
dependency-version:
dependency-type: direct:production
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 >
Co-authored-by: Oliver <oliver.henry.walters@gmail.com >
2025-10-07 22:51:03 +11:00
Oliver
492613952c
[docs] BOM import ( #10517 )
...
- Add brief section about importing BOM data
2025-10-07 08:58:12 +11:00
Matthias Mair
c83a9b01ce
fix: package distribution ( #10515 )
...
* show warning text
* fix formatting
* try to gather site-url correctly
* protect envs that are set in the config
* raise issue if they appear
* prefer app setting over file config
* preserve setting if injected via envs
2025-10-07 08:56:08 +11:00
Oliver
363c5fd2c6
Update docs regarding INVENTREE_AUTO_UPDATE
( #10505 )
2025-10-06 22:02:29 +11:00
Oliver
5743e22501
Partial build output complete ( #10499 )
...
* Handle partial completion of build output
* Add 'quantity' field to BuildOutputComplete API endpoint
* Allow partial scrapping of build outputs
* Adjust column text
* Adjust "complete build output" form
* Change order of operations when completing build output
- Run validation checks *before* potentially splitting stock item
* Extract quantity from serializer
* Documentation
- Update screenshots
- Add note on partial completion
- Add note on partial scrapping
* Update CHANGELOG.md
* Update API version
* Add unit test for partial scrapping
* Tweak text
* Unit test for partial output completion
* Fix validation check for quantity field
* Adjust playwright tests
2025-10-06 14:30:07 +11:00
Lukas
66a488b6a2
Machine properties and periodic ping ( #10381 )
...
* add machine properties
* remove non working polyfill
* add periodic task
* add tests and docs
* fix ping task
* add int and float type
* Update api_version.py
---------
Co-authored-by: Matthias Mair <code@mjmair.com >
2025-10-06 09:01:53 +11:00
Matthias Mair
7638092ab8
feat(backend): releax protocol check ( #10454 )
...
* feat(backend): releax protocol check
* add changelog entry
* fix variable name
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com >
2025-10-02 21:36:37 +10:00
Oliver
3527e1a359
[Report] Queryset ordering ( #10439 )
...
* docs
* Add new helper
* Update CHANGELOG
2025-10-01 15:57:07 +10:00
dependabot[bot]
7e187d66c4
chore(deps): bump mkdocs-include-markdown-plugin from 7.1.7 to 7.1.8 in /docs ( #10427 )
...
* chore(deps): bump mkdocs-include-markdown-plugin in /docs
Bumps [mkdocs-include-markdown-plugin](https://github.com/mondeja/mkdocs-include-markdown-plugin ) from 7.1.7 to 7.1.8.
- [Release notes](https://github.com/mondeja/mkdocs-include-markdown-plugin/releases )
- [Commits](https://github.com/mondeja/mkdocs-include-markdown-plugin/compare/v7.1.7...v7.1.8 )
---
updated-dependencies:
- dependency-name: mkdocs-include-markdown-plugin
dependency-version: 7.1.8
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-30 08:57:47 +10:00
Oliver
fc0ec12afe
[UI] Icon improvements ( #10423 )
...
* [UI] Icon improvements
- Improve build output icons for "scrap" and "cancel"
* Update docs
2025-09-29 13:09:20 +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
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
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
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
Matthias Mair
a9f10f191c
fix style ( #10216 )
2025-08-25 10:05:31 +10:00
Red Echidna UK
ac1662c5a0
Walkthrough Update for v1.0 release ( #10159 )
...
* Updated walkthrough for Inventree 1.0 release
* fix: correct style object syntax in AttachmentCarousel component
* fix: wrap carousel code in raw tags for proper rendering
2025-08-24 12:56:18 +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
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
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
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
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
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
0f04c31ffb
[UI] Search shortcut ( #10181 )
...
* Add search shortcut
- Use '/' to open search drawer
* Add user setting for spotlight
* Hide spotlight if disabled
* Updated playwright tests
2025-08-15 20:41:03 +10:00
Matthias Mair
ed45a4e5bf
Email history enhancement ( #10114 )
...
* add warning that the log is useless by default
* Add setting to enhance email log again
* add missing test for #10109
* add test for delete protections
* add error code
* Update email.md
* Update email.md
2025-08-08 08:04:17 +10:00
Oliver
00017400ff
Bulk add test results ( #10146 )
...
* Bulk creation of test results
- Add BulkCreateMixin class
- Add frontend support
* Refactor test result serializer
- Allow lookup by template name
* Updated unit test
* Add unit tests
* Add row actions
* Docs
* Fix failing tests
* Bump API version
* Fix playwright tests
2025-08-08 07:19:20 +10:00
Oliver
7327efbafd
Docker fixes again ( #10145 )
...
* Add helper function for debugging query counts
* Adjust counts again
* Add docs to contributing.md
2025-08-07 23:28:13 +10:00
Oliver
f1b5f2c379
[refactor] Stock return API endpoints ( #10132 )
...
* Add "StockReturn" API endpoint
- Provide multiple items
- Provide quantity for each item
* Add frontend form
* update frontend forms
* Refactor frontend
* Allow splitting quantity
* Refactoring backend endpoints
* cleanup
* Update unit test
* unit tests
* Bump API version
* Fix unit test
* Add tests for returning build items to stock
* Playwright tests
* Enhanced unit tests
* Add docs
2025-08-07 10:47:26 +10:00
Oliver
c4011d0be3
Bom total quantity ( #10142 )
...
* Add 'total quantity' field to BOM exporter
* Extend unit test
* Update docs image
2025-08-07 10:09:51 +10:00
dependabot[bot]
131ee2172c
chore(deps): bump the dependencies group across 2 directories with 11 updates ( #10118 )
...
* chore(deps): bump the dependencies group across 2 directories with 11 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 9 updates in the /src/backend directory:
| Package | From | To |
| --- | --- | --- |
| [djangorestframework-simplejwt[crypto]](https://github.com/jazzband/djangorestframework-simplejwt ) | `5.5.0` | `5.5.1` |
| [docutils](https://github.com/rtfd/recommonmark ) | `0.21.2` | `0.22` |
| [dulwich](https://github.com/dulwich/dulwich ) | `0.23.2` | `0.24.1` |
| [grpcio](https://github.com/grpc/grpc ) | `1.73.1` | `1.74.0` |
| [pypdf](https://github.com/py-pdf/pypdf ) | `5.8.0` | `5.9.0` |
| [sentry-sdk](https://github.com/getsentry/sentry-python ) | `2.33.0` | `2.34.1` |
| [weasyprint](https://github.com/Kozea/WeasyPrint ) | `65.1` | `66.0` |
| [coverage[toml]](https://github.com/nedbat/coveragepy ) | `7.9.2` | `7.10.1` |
| [pip-tools](https://github.com/jazzband/pip-tools ) | `7.4.1` | `7.5.0` |
Updates `mkdocs-material` from 9.6.15 to 9.6.16
- [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.15...9.6.16 )
Updates `mkdocstrings[python]` from 0.29.1 to 0.30.0
- [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.29.1...0.30.0 )
Updates `djangorestframework-simplejwt[crypto]` from 5.5.0 to 5.5.1
- [Release notes](https://github.com/jazzband/djangorestframework-simplejwt/releases )
- [Changelog](https://github.com/jazzband/djangorestframework-simplejwt/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jazzband/djangorestframework-simplejwt/compare/v5.5.0...v5.5.1 )
Updates `docutils` from 0.21.2 to 0.22
- [Changelog](https://github.com/readthedocs/recommonmark/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rtfd/recommonmark/commits )
Updates `dulwich` from 0.23.2 to 0.24.1
- [Release notes](https://github.com/dulwich/dulwich/releases )
- [Changelog](https://github.com/jelmer/dulwich/blob/master/NEWS )
- [Commits](https://github.com/dulwich/dulwich/compare/dulwich-0.23.2...dulwich-0.24.1 )
Updates `grpcio` from 1.73.1 to 1.74.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.73.1...v1.74.0 )
Updates `pypdf` from 5.8.0 to 5.9.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.8.0...5.9.0 )
Updates `sentry-sdk` from 2.33.0 to 2.34.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.33.0...2.34.1 )
Updates `weasyprint` from 65.1 to 66.0
- [Release notes](https://github.com/Kozea/WeasyPrint/releases )
- [Changelog](https://github.com/Kozea/WeasyPrint/blob/main/docs/changelog.rst )
- [Commits](https://github.com/Kozea/WeasyPrint/compare/v65.1...v66.0 )
Updates `coverage[toml]` from 7.9.2 to 7.10.1
- [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.9.2...7.10.1 )
Updates `pip-tools` from 7.4.1 to 7.5.0
- [Release notes](https://github.com/jazzband/pip-tools/releases )
- [Changelog](https://github.com/jazzband/pip-tools/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jazzband/pip-tools/compare/7.4.1...v7.5.0 )
---
updated-dependencies:
- dependency-name: mkdocs-material
dependency-version: 9.6.16
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: mkdocstrings[python]
dependency-version: 0.30.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: djangorestframework-simplejwt[crypto]
dependency-version: 5.5.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: docutils
dependency-version: '0.22'
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: dulwich
dependency-version: 0.24.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: grpcio
dependency-version: 1.74.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: pypdf
dependency-version: 5.9.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: sentry-sdk
dependency-version: 2.34.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: weasyprint
dependency-version: '66.0'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: coverage[toml]
dependency-version: 7.10.1
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: pip-tools
dependency-version: 7.5.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-06 08:47:59 +10:00
Oliver
5574e7cf6b
[refactor] Stocktake -> Stock History ( #10124 )
...
* Remove STOCKTAKE ruleset
* Adjust wording of settings
* Cleanup
* Improve text for global settings
* Add BulkDeleteMixin to "stocktake" endpoint
* Frontend updates
* Migrations
- Remove field 'last_stocktake' from Part model
- Remove fields 'user' and 'note' from PartStocktake model
- Remove model PartStocktakeReport
* Frontend cleanup
* Rename global setting
* Rewrite stocktake functionality
* Cleanup
* Adds custom exporter for part stocktake data
* Frontend cleanup
* Bump API version
* Tweaks
* Frontend updates
* Fix unit tests
* Fix helper func
* Add docs
* Fix broken link
* Docs updates
* Adjust playwright tests
* Add unit testing for plugin
* Add unit testing for stock history creation
* Fix unit test
2025-08-06 08:02:56 +10:00
Oliver
b31e16eb98
Helper tweaks ( #10131 )
...
* Enhance report tags
* Update docs
2025-08-05 14:37:01 +10:00
Matthias Mair
b8f6b04fb9
feat(backend): more error messages ( #10119 )
...
* Adds error code for transition handler issues #10088
* Adds error codes for mandatory plugins #10094
* add more links
* Add error code for global overrides
* disable coverage for a case that can not happen
2025-08-04 10:06:13 +10:00
Oliver
4895370d0d
Email history enhancements ( #10109 )
...
* Improve formatting for <ConfigValueList>
- Only used for email settings currently
* API updates:
- Allow delete operations of email record
- Allow bulk delete operations of email record
* Table updates:
- Improved table rendering
- Allow delete ops
* Display timestamp in email table
* Add setting to control email cleanup interval
* Add scheduled task to delete old emails
* Bump API version
2025-08-01 12:32:22 +10:00
Daniel Glaser
b9a8ace614
feat: Add support for cache password in Redis configuration ( #10107 )
...
* feat(cache): Add support for cache password in Redis configuration
* Add cache password configuration option to documentation
* Fix the complaints from CI checks
2025-08-01 10:36:02 +10:00
Oliver
a79ab40f5e
Transition plugin ( #10088 )
...
* Add new enum
* Define StateTransitionMixin class
* Import
* Rename plugin mixin class
- Avoid naming clash
* Offload transitions to plugin registry
* fix imports
* Fix default value
* Fix sample transition class
* Refactor unit test
* Add docs
* Fix type hinting
* Check for expected message
* Tests for various failure modes
* Tweak query count limit
* Exclude lines from coverage
* Remove debug code
---------
Co-authored-by: Matthias Mair <code@mjmair.com >
2025-08-01 09:35:03 +10:00
Oliver
b8ea75b2b4
[plugin] Mandatory plugins ( #10094 )
...
* Add setting for "mandatory" plugins
* Add 'is_active' method to PluginConfig model
* Check against plugin config object by priority
* Prevent plugin from reporting its own 'active' status
* Refactor get_plugin_class for LabelPrint endpoint
* Fix typo
* Mark internal plugin methods as "final"
- Prevent plugins from overriding them
* Enhanced checks for bad actor plugins
* Enhanced unit test for plugin install via API
* Playwright tests for plugin errors
* Test that builtin mandatory plugins are always activated
* Force mandatory plugins to be marked as active on load
* API unit tests
* Unit testing for plugin filtering
* Updated playwright tests
- Force one extra plugin to be mandatory in configuration
* Adjust unit tests
* Updated docs
* Tweak unit test
* Another unit test fix
* Fix with_mixin
- Checking active status first is expensive...
* Make with_mixin call much more efficient
- Pre-load the PluginConfig objects
- Additional unit tests
- Ensure fixed query count
* Fix the 'is_package' method for PluginConfig
* Tweak unit test
* Make api_info endpoint more efficient
- with_mixin is now very quick
* Run just single test
* Disable CI test
* Revert changes to CI pipeline
* Fix typo
* Debug for test
* Style fix
* Additional checks
* Ensure reload
* Ensure plugin registry is ready before running unit tests
* Fix typo
* Add debug statements
* Additional debug output
* Debug logging for MySQL
* Ensure config objects are created?
* Ensure plugin registry is reloaded before running tests
* Remove intentional failure
* Reset debug level
* Fix CI pipeline
* Fix
* Fix test mixins
* Fix test class
* Further updates
* Adjust info view
* Test refactoring
* Fix recursion issue in machine registry
* Force cache behavior
* Reduce API query limits in testing
* Handle potential error case in with_mixin
* remove custom query time code
* Prevent override of is_mandatory()
* Prevent unnecessary reloads
* Tweak unit tests
* Tweak mandatory active save
* Tweak unit test
* Enhanced unit testing
* Exclude lines from coverage
* (final)? cleanup
* Prevent recursive reloads
---------
Co-authored-by: Matthias Mair <code@mjmair.com >
2025-07-31 08:26:24 +10:00
Oliver
0ef5b12747
Sticky headers ( #9022 )
...
* Add user setting
* Use value of user setting
* Fix user for global
* Stickiness
* Updated docs
2025-07-29 10:43:36 +10:00
Oliver
aee45887b3
min version note ( #10097 )
...
* min version note
* Adjust text
2025-07-29 09:45:20 +10:00
Oliver
47ccbfe972
[wip] Plugin dev docs ( #10090 )
...
* Plugin index page
* backend vs frontend
* Plugin creator docs
* Feature list
* More docs
* More images
* Additional docs
* Cleanup unit test docs
* Cleanup
* Update frontend docs
* Update
* Improve examples
* Update file list
2025-07-28 19:38:28 +10:00
gunstr
c8f82d3e90
Update to Bare Metal installation docs ( #10086 )
...
* Install PostgreSQL client when needed
* Fix supervisor path to server/worker
* Supervisor IP configuration
2025-07-27 23:40:49 +10:00
Oliver
16f7051d25
Plugin doc tweaks ( #10084 )
...
Organize builtin plugins by category
2025-07-26 16:48:33 +10:00
Oliver
1085625af4
[Refactor] Notification plugins ( #9735 )
...
* Refactor notification concept
- Notifications handled by plugins
* Cleanup
* Only send email if template provided in context
* Logic cleanup
* Fix log_error call
* Refactor error logging
- Ensure plugin slug is correctly attached
- Consistent format
- Logic fixes
* More robust plugin lookup
* Refactor calls to tringger_notification
* Tweak for build stock notification
* Low stock notification refactor
- Actually *use* the notification system
- Fix for email template
* Check stock only when build is issued
* Updated documentation
* Add PluginUserSetting class
- Allows plugins to define per-user settings
* Add API endpoints for PluginUserSetting model
* Placeholder for user-plugin-settings page
* Refactoring frontend code
* Placeholder panel
* Adds user interface for changing user-specific plugin settings
* Tweaks
* Remove old model
* Update documentation
* Playwright tests
* Update API version
* Fix unit test
* Fix removed arg
* Fixes for email notifications
- Track status of sending notifications
- Add helper "activate" method for plugin class
- Update unit tests
* Fix barcode tests
* More unit test fixes
* Test fixes
* Fix for settings models with extra fields
* Enhance unit test
* Remove old test file
* Check for null target_fnc
* Improve DB query efficiency
- Provide a flat list of active keys to plugin.is_active
- Prevents DB fetching (in certain circumstances)
- Add registry.active_plugins() method
* Bump query limit up for test
- In practice, this API endpoint is ~10 queries
* Handle potential errors
* Increase query limit for API test
* Increase query limit for some tests
* Bump API version
* Tweak unit test
* Tweak unit test
* Increased allowed queries
* fix user plugin settings
* Fix for unit test
* Update debug msg
* Tweak API
* Fix endpoint
* Remove "active plugin keys" code
* Restore previous behaviour
* Fix unit tests
* Tweak unit test
* Update src/backend/InvenTree/build/tasks.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/backend/InvenTree/plugin/base/integration/NotificationMixin.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Func updates
* Format
* Add notification settings
* Refactor plugin settings groups
* Fix func type
* Adjust message
* Additional unit tests
* Additional playwright tests
* Additional playwright test
---------
Co-authored-by: Matthias Mair <code@mjmair.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-26 13:05:59 +10:00
Oliver
dfd9fe44a4
[Refactor] BOM Validation ( #10056 )
...
* Add "bom_validated" field to the Part model
* Check bom validity of any assemblies when a part is changed
* Improved update logic
* Fixes for circular imports
* Add additional info to BOM validation serializer
* More intelligent caching
* Refactor
* Update API filter
* Data migration to process existing BomItem entries
* Add "BOM Valid" filter to part table
* Add dashboard widget
* Display BOM validation status
* Tweak dashboard widget
* Update BomTable
* Allow locked BOM items to be validated
* Adjust get_item_hash
- preserve "some" backwards compatibility
* Bump API version
* Refactor app URL patterns
* Fix import sequence
* Tweak imports
* Fix logging message
* Fix error message
* Update src/backend/InvenTree/part/migrations/0141_auto_20250722_0303.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update exception handling
* Try info level debug
* Disable exchange rate update
* Add registry ready flag
* Add is_ready func
* Cleaner init code
* Protect against plugin access until ready
* Fix dashboard widget filter
* Adjust unit test
* Fix receiver name
* Only add plugin URLs if registry is ready
* Cleanup code
* Update playwright tests
* Update docs
* Revert changes to urls.py
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-23 20:16:00 +10:00
dependabot[bot]
8f1f03ed1c
chore(deps): bump the dependencies group across 3 directories with 6 updates ( #10035 )
...
* chore(deps): bump the dependencies group across 3 directories with 6 updates
Bumps the dependencies group with 1 update in the /contrib/dev_reqs directory: [jc](https://github.com/kellyjonbrazil/jc ).
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-material](https://github.com/squidfunk/mkdocs-material ).
Bumps the dependencies group with 3 updates in the /src/backend directory: [django-allauth[mfa,openid,saml,socialaccount]](https://github.com/sponsors/pennersr ), [pypdf](https://github.com/py-pdf/pypdf ) and [sentry-sdk](https://github.com/getsentry/sentry-python ).
Updates `jc` from 1.25.4 to 1.25.5
- [Release notes](https://github.com/kellyjonbrazil/jc/releases )
- [Changelog](https://github.com/kellyjonbrazil/jc/blob/master/CHANGELOG )
- [Commits](https://github.com/kellyjonbrazil/jc/compare/v1.25.4...v1.25.5 )
Updates `mkdocs-include-markdown-plugin` from 7.1.5 to 7.1.6
- [Release notes](https://github.com/mondeja/mkdocs-include-markdown-plugin/releases )
- [Commits](https://github.com/mondeja/mkdocs-include-markdown-plugin/compare/v7.1.5...v7.1.6 )
Updates `mkdocs-material` from 9.6.14 to 9.6.15
- [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.14...9.6.15 )
Updates `django-allauth[mfa,openid,saml,socialaccount]` from 65.9.0 to 65.10.0
- [Commits](https://github.com/sponsors/pennersr/commits )
Updates `pypdf` from 5.7.0 to 5.8.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.7.0...5.8.0 )
Updates `sentry-sdk` from 2.32.0 to 2.33.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.32.0...2.33.0 )
---
updated-dependencies:
- dependency-name: jc
dependency-version: 1.25.5
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: mkdocs-include-markdown-plugin
dependency-version: 7.1.6
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: mkdocs-material
dependency-version: 9.6.15
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: django-allauth[mfa,openid,saml,socialaccount]
dependency-version: 65.10.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: pypdf
dependency-version: 5.8.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: sentry-sdk
dependency-version: 2.33.0
dependency-type: direct:production
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-07-22 10:38:34 +10:00
Oliver
69ca942dfc
BOM Enhancements ( #10042 )
...
* Add "round_up_multiple" field
* Adjust field def
* Add serializer field
* Update frontend
* Nullify empty numerical values
* Calculate round_up_multiple value
* Adjust table rendering
* Update API version
* Add unit test
* Additional unit test
* Change name of value
* Update BOM docs
* Add new fields
* Add data migration for new fields
* Bug fix for data migration
* Adjust API fields
* Bump API docs
* Update frontend
* Remove old 'overage' field
* Updated BOM docs
* Docs tweak
* Fix required quantity calculation
* additional unit tests
* Tweak BOM table
* Enhanced "can_build" serializer
* Refactor "can_build" calculations
* Code cleanup
* Serializer fix
* Enhanced rendering
* Updated playwright tests
* Fix method name
* Update API unit test
* Refactor 'can_build' calculation
- Make it much more efficient
- Reduce code duplication
* Fix unit test
* Adjust serializer type
* Update src/backend/InvenTree/part/models.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/backend/InvenTree/part/test_bom_item.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update docs/docs/manufacturing/bom.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update docs/docs/manufacturing/bom.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Adjust unit test
* Adjust tests
* Tweak requirements
* Tweak playwright tests
* More playwright fixes
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-20 19:14:29 +10:00
Oliver
31d4a88f90
[UI] Various fixes ( #10038 )
...
* Fix badge wrapping
* Move revision selector
- Simplify top header
* Remove "detail" attribute from <PageDetail>
* Implement "FORMS_CLOSE_USING_ESCAPE" option
* Implement "STICKY_HEADER" setting
* Remove unused setting
* Improved badge layout
* Sticky header fix
2025-07-18 11:36:04 +10:00