Oliver
38b27271ac
[bug] Handle TransactionManagementError ( #10942 )
...
In the case where we try to call refresh_from_db within an atomic transaction block, it will throw a TransactionManagementError
2025-12-02 17:21:24 +11:00
github-actions[bot]
bc5c306b6d
New Crowdin translations by GitHub Action ( #10871 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Oliver <oliver.henry.walters@gmail.com >
2025-11-30 21:03:53 +11:00
Matthias Mair
be5814112d
refactor(backend): port typo fixes from #10699 ( #10926 )
...
* typo fxes from #10699
* bump api version
2025-11-29 07:03:02 +11:00
Oliver
5713cff1cb
[bug] Stock adjust ( #10914 )
...
* Extra checks on backend
* Bug fix for adjustment forms
- Set default quantity of zero
* Additional unit testing (to ensure no regression)
2025-11-26 22:32:57 +11:00
dependabot[bot]
bb5bd85716
chore(deps): bump pypdf from 6.3.0 to 6.4.0 in /src/backend ( #10905 )
...
* chore(deps): bump pypdf from 6.3.0 to 6.4.0 in /src/backend
Bumps [pypdf](https://github.com/py-pdf/pypdf ) from 6.3.0 to 6.4.0.
- [Release notes](https://github.com/py-pdf/pypdf/releases )
- [Changelog](https://github.com/py-pdf/pypdf/blob/main/CHANGELOG.md )
- [Commits](https://github.com/py-pdf/pypdf/compare/6.3.0...6.4.0 )
---
updated-dependencies:
- dependency-name: pypdf
dependency-version: 6.4.0
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix style
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Mair <code@mjmair.com >
2025-11-25 22:01:50 +11:00
dependabot[bot]
74e368b85b
chore(deps): bump the dependencies group across 1 directory with 5 updates ( #10879 )
...
* chore(deps): bump the dependencies group across 1 directory with 5 updates
Bumps the dependencies group with 5 updates in the /src/backend directory:
| Package | From | To |
| --- | --- | --- |
| [blessed](https://github.com/jquast/blessed ) | `1.23.0` | `1.25.0` |
| [django-flags](https://github.com/cfpb/django-flags ) | `5.0.14` | `5.1.0` |
| [pypdf](https://github.com/py-pdf/pypdf ) | `6.2.0` | `6.3.0` |
| [sentry-sdk](https://github.com/getsentry/sentry-python ) | `2.44.0` | `2.45.0` |
| [coverage[toml]](https://github.com/coveragepy/coveragepy ) | `7.11.3` | `7.12.0` |
Updates `blessed` from 1.23.0 to 1.25.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.23...1.25 )
Updates `django-flags` from 5.0.14 to 5.1.0
- [Release notes](https://github.com/cfpb/django-flags/releases )
- [Changelog](https://github.com/cfpb/django-flags/blob/main/docs/releasenotes.md )
- [Commits](https://github.com/cfpb/django-flags/compare/5.0.14...5.1.0 )
Updates `pypdf` from 6.2.0 to 6.3.0
- [Release notes](https://github.com/py-pdf/pypdf/releases )
- [Changelog](https://github.com/py-pdf/pypdf/blob/main/CHANGELOG.md )
- [Commits](https://github.com/py-pdf/pypdf/compare/6.2.0...6.3.0 )
Updates `sentry-sdk` from 2.44.0 to 2.45.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.44.0...2.45.0 )
Updates `coverage[toml]` from 7.11.3 to 7.12.0
- [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.11.3...7.12.0 )
---
updated-dependencies:
- dependency-name: blessed
dependency-version: 1.25.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: django-flags
dependency-version: 5.1.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: pypdf
dependency-version: 6.3.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: sentry-sdk
dependency-version: 2.45.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: coverage[toml]
dependency-version: 7.12.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-11-24 23:36:39 +11:00
Oliver
7c7d7b6a21
Spelling fix ( #10896 )
...
* spwan -> spawn
* Prioriy -> Priority
* Bump API version
* Fix spelling in migration file
2025-11-24 17:49:13 +11:00
Oliver
276041ae54
[bug] Migration test fix ( #10899 )
...
* Pop instead of get
* Better error handling for unit registry
* Prevent caching during database migrations
* Remove debug msg
* Revert changes
2025-11-24 14:52:13 +11:00
Oliver
7d5429303e
Error messages ( #10894 )
...
* Add INVE-E14 - Error in config file
* Add INVE-E14
* Fix duplicate code
* Fix numbering
2025-11-23 23:11:12 +11:00
Oliver
a7ff1250ba
[bug] Serialize location ( #10882 )
...
* Properly set location id when serializing stock
* Add correct tracking entries
* Add unit test
2025-11-22 12:56:31 +11:00
Oliver
f50d568b23
[plugin] Add printing delay to sample machines ( #10873 )
...
* [plugin] Add printing delay to sample machines
- Useful for testing
- Default is zero
* Add backup_value to MachineSetting.get_setting
* Fix call to machine.get_setting
* Fix for printing logic
* Simplify code
2025-11-21 14:56:23 +11:00
Oliver
a76ec0a7b8
[UI] Suggested pricing ( #10867 )
...
* Refactor NumberField into separate component
* Add helper func to ensure a number is a number
* Use placeholder value for suggested sale price
* Fix for auto-fill
* Tweak price calculation
* Add UI testing for sales order price breaks
* Fix aria label name
* Annotate price breaks to supplier part
* Fetch price break data
* Support price breaks for purchase order pricing
* Fix required to prevent circular imports
* Add playwright tests for purchase order price breaks
* Bump API version
* Re-add output options for SupplierPriceBreakList
* Revert change
* Simplify unit test
2025-11-20 22:51:27 +11:00
Oliver
835c7784f9
Implement caching for unit registry: ( #10870 )
...
* Implement caching for unit registry:
- Registry could become out of sync across sessions
- Implement a simple caching system
* Simplify code
2025-11-20 22:31:33 +11:00
github-actions[bot]
f72efb804e
New Crowdin translations by GitHub Action ( #10736 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-20 21:39:11 +11:00
Oliver
18c2a934b8
Better handling of an invalid config file ( #10857 )
...
* Better handling of an invalid config file
* Remove dud line
2025-11-19 16:21:17 +11:00
Oliver
a8f2a02d69
[bug] Media url fix ( #10855 )
...
* Bug fix for getMediaUrl
- Proper check for file type
- Fix "fully_qualified_url" for Attachment model
* Add unit test
* Fix typo
* Fix unit test
---------
Co-authored-by: Matthias Mair <code@mjmair.com >
2025-11-19 15:50:05 +11:00
Oliver
7b38fa30bb
Fix for shipping virtual parts ( #10853 )
...
* Additional checks for virtual parts in sales order process
* Prevent allocation against virtual parts
* Fix order of operations
* Adjust part form fields based on selections
* Prevent order locking
* Updated playwright tests
* Add unit test
2025-11-19 15:40:41 +11:00
Oliver
40fbb4d810
Offload stock consume operations ( #10856 )
...
- These can be expensive if there are a lot of allocated items
- Offload to the background worker
2025-11-19 15:40:24 +11:00
dependabot[bot]
2c508feeec
chore(deps): bump the dependencies group across 2 directories with 7 updates ( #10838 )
...
* chore(deps): bump the dependencies group across 2 directories with 7 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 5 updates in the /src/backend directory:
| Package | From | To |
| --- | --- | --- |
| [dulwich](https://github.com/dulwich/dulwich ) | `0.24.8` | `0.24.10` |
| [sentry-sdk](https://github.com/getsentry/sentry-python ) | `2.43.0` | `2.44.0` |
| [xmlsec](https://github.com/mehcode/python-xmlsec ) | `1.3.14` | `1.3.17` |
| [coverage[toml]](https://github.com/coveragepy/coveragepy ) | `7.11.2` | `7.11.3` |
| [pip-tools](https://github.com/jazzband/pip-tools ) | `7.5.1` | `7.5.2` |
Updates `mkdocs-macros-plugin` from 1.4.1 to 1.5.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.4.1...v1.5.0 )
Updates `mkdocs-material` from 9.6.22 to 9.7.0
- [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.22...9.7.0 )
Updates `dulwich` from 0.24.8 to 0.24.10
- [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.24.8...dulwich-0.24.10 )
Updates `sentry-sdk` from 2.43.0 to 2.44.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.43.0...2.44.0 )
Updates `xmlsec` from 1.3.14 to 1.3.17
- [Release notes](https://github.com/mehcode/python-xmlsec/releases )
- [Commits](https://github.com/mehcode/python-xmlsec/compare/1.3.14...1.3.17 )
Updates `coverage[toml]` from 7.11.2 to 7.11.3
- [Release notes](https://github.com/coveragepy/coveragepy/releases )
- [Changelog](https://github.com/coveragepy/coveragepy/blob/main/CHANGES.rst )
- [Commits](https://github.com/coveragepy/coveragepy/compare/7.11.2...7.11.3 )
Updates `pip-tools` from 7.5.1 to 7.5.2
- [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/v7.5.1...v7.5.2 )
---
updated-dependencies:
- dependency-name: mkdocs-macros-plugin
dependency-version: 1.5.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: mkdocs-material
dependency-version: 9.7.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: dulwich
dependency-version: 0.24.10
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: sentry-sdk
dependency-version: 2.44.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: xmlsec
dependency-version: 1.3.17
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: coverage[toml]
dependency-version: 7.11.3
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: pip-tools
dependency-version: 7.5.2
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix style
* remove old pin message
---------
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-11-16 07:32:03 +11:00
Oliver
aa9958bf11
[bug] State change fixes ( #10832 )
...
* Fix for setting custom status
* Fix for setting custom status when receiving stock items
* Allow caching for set_status
* Updated code and unit tests
2025-11-15 07:42:48 +11:00
Oliver
8cb808f613
Bug fix for loading boolean settings ( #10826 )
...
- Do not just cast to bool
- The string "False" casts to True in this case
- Use the function that supports strings
2025-11-14 08:26:24 +11:00
Oliver
d829d3a548
[UI] Order form improvements ( #10802 )
...
* Auto-fill supplier parts in order wizard
* Copy supplier part SKU from order parts wizard
* Add "on_order" filter to BuildLine table
* Allow ordering by production and ordering quantities
* Allow specification of purchase price
* Bump API version
* Adjust UI testings
2025-11-11 17:29:18 +11:00
Oliver
f3c1cc12af
PO receive fix ( #10807 )
...
* Extract note field when receiving stock items against PO
* Fix tracking entry when receiving item
2025-11-11 17:29:09 +11:00
Oliver
246c084e6e
Reduce log output for Pint library ( #10803 )
...
- Reduce clutter in app startup due to unit redefinition
2025-11-11 13:33:43 +11:00
Matthias Mair
5d21bf2679
feat(backend)!: bump to dj 5.2 lts / py 3.11 ( #10730 )
...
* feat(backend): bump to 5.2 lts / python 3.11
This will give us support till 2027-10 (PEP 664)
* bump dependencies
* fix dflt version
* remove 3.9 precaution
* changes for 5.2
* changes for py 3.10
* debug command
* lower crypto again
* another lowering
* fix version string
* lower minimum version to 3.11
* update refs
* fix text
* reaking: remove now unsupported OS
* disable break
* remove temp changes
* fix ruff call
* fix remaining ruff warnings
* remove old arg
* lower allauth reqs
* replace old method
* fix issue with args passing beeing depreceated
* add changelog entries
* bump dependencies a bit further
* fix broken image init for now
might need a refactor
* fix another test
* refactor image name lookup
* mroe refactoring
* ensure str does not cause an issue
* update referenced function
* fix cal sig
* simplify method and add test
* refactor
* ignore wrong typings
* fix deprecated feature
* simplify
* ensure image tests do their job
* simplify
* re-add type check
* fix test
* fix assertations - wonder how long this was broken
* bump to newer versions
* bump deps
* fix assertation
2025-11-11 11:45:25 +11:00
Matthias Mair
f3e8482469
fix(backend): auth check middleware for specific media access ( #10784 )
...
* simplify
* fix return type
* handle token (app access)
* reduce lookup amount
* add positive test again
* add poisitive test
* move out settings
* add tests for Check2FAMiddleware
* add test for auth_request
* add a reverse name for auth_request
* auth tests refactors
* move test
* disable check for things that do not trigger
* fix typing for python 3.9
* make names clearer and add comments
* finish tests
* fix call
* re-enable mfa test without the timing component
* cleanup helper
* ignore easy out
* ignore scenario that can not happen
2025-11-10 08:58:58 +11:00
dependabot[bot]
726e852b7b
chore(deps): bump django from 4.2.25 to 4.2.26 in /src/backend ( #10781 )
...
* chore(deps): bump django from 4.2.25 to 4.2.26 in /src/backend
Bumps [django](https://github.com/django/django ) from 4.2.25 to 4.2.26.
- [Commits](https://github.com/django/django/compare/4.2.25...4.2.26 )
---
updated-dependencies:
- dependency-name: django
dependency-version: 4.2.26
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix style
* also bump docker version
---------
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-11-08 22:08:11 +01:00
Matthias Mair
2fc7c7eb54
improve docker dx with empty migration set ( #10774 )
...
* if we are in docker and empty - init db
* use structlog
* remove logging change
* reduce diff
* ignore in test mode
* add changes from review
2025-11-06 10:42:34 +11:00
Oliver
dbb799a0e0
[UI] BOM part category ( #10772 )
...
* Add "Category" column to BOM Table
* Enable sorting by category in BOM table
* Add Category column to Buildline table
* Add Category filter to BuildLineTable
* Adjust queryset prefetch
* Bump API version and update CHANGELOG
2025-11-05 10:04:28 +11:00
Oliver
fc3d130888
Refactor settings.py ( #10766 )
...
- Move drf-spectacular settings into separate file
- Cleanup settings.py core file
2025-11-05 07:00:58 +11:00
Oliver
7e943293c7
MFA middleware tweaks ( #10768 )
...
* MFA middleware tweaks
- Remove Check2FAMiddleware if MFA not enabled
- Refactor into middleware.py
* Update settings.py
- Disable MFA_SUPPORTED_TYPES if MFA_ENABLED is False
* Update docs
2025-11-05 07:00:42 +11:00
Oliver
901846272b
Auth Improvements ( #10752 )
...
* Return more detail in MFA failure response
* Reject auth requests for users who are inactive
* Move markdown config out of settings.py
2025-11-04 10:08:04 +11:00
Lê Hoàng Nam
39f0054cd5
code ( #10751 )
...
Co-authored-by: Le Hoang Nam <lehoangnam040>
2025-11-03 21:14:38 +11:00
Oliver
153bcc1d5c
Search stock items by supplier data ( #10750 )
...
* Search stock items by supplier data
* Search by MPN or Manufacturer
* Update API version
2025-11-03 15:03:50 +11:00
Oliver
551da5a51f
Bump version number to 1.2.0 dev ( #10734 )
...
* Bump version number to 1.2.0 dev
* Add release tag to CHANGELOG.md
* Add entry for upcoming 1.2.0
* Cleanup
* Remove links
2025-11-02 10:01:16 +11:00
github-actions[bot]
9d6f30b802
New Crowdin translations by GitHub Action ( #10685 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-01 14:54:42 +11:00
dependabot[bot]
67723ce142
chore(deps): bump the dependencies group across 2 directories with 14 updates ( #10728 )
...
* chore(deps): bump the dependencies group across 2 directories with 14 updates
Bumps the dependencies group with 2 updates in the /docs directory: [mkdocs-git-revision-date-localized-plugin](https://github.com/timvink/mkdocs-git-revision-date-localized-plugin ) and [mkdocs-macros-plugin](https://github.com/fralau/mkdocs_macros_plugin ).
Bumps the dependencies group with 11 updates in the /src/backend directory:
| Package | From | To |
| --- | --- | --- |
| [django](https://github.com/django/django ) | `4.2.25` | `5.2.7` |
| [django-filter](https://github.com/carltongibson/django-filter ) | `25.1` | `25.2` |
| [django-structlog](https://github.com/jrobichaud/django-structlog ) | `9.1.1` | `10.0.0` |
| [dulwich](https://github.com/dulwich/dulwich ) | `0.24.1` | `0.24.8` |
| [pint](https://github.com/hgrecco/pint ) | `0.24.4` | `0.25` |
| [python-dotenv](https://github.com/theskumar/python-dotenv ) | `1.1.1` | `1.2.1` |
| [sentry-sdk](https://github.com/getsentry/sentry-python ) | `2.42.1` | `2.43.0` |
| [django-stubs](https://github.com/sponsors/typeddjango ) | `5.1.3` | `5.2.7` |
| [django-test-migrations](https://github.com/wemake-services/django-test-migrations ) | `1.4.0` | `1.5.0` |
| [django-types](https://github.com/sbdchd/django-types ) | `0.20.0` | `0.22.0` |
| [isort](https://github.com/PyCQA/isort ) | `6.1.0` | `7.0.0` |
Updates `mkdocs-git-revision-date-localized-plugin` from 1.4.7 to 1.5.0
- [Release notes](https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/releases )
- [Commits](https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/compare/v1.4.7...v1.5.0 )
Updates `mkdocs-macros-plugin` from 1.4.0 to 1.4.1
- [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.4.0...v1.4.1 )
Updates `django` from 4.2.25 to 5.2.7
- [Commits](https://github.com/django/django/compare/4.2.25...5.2.7 )
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 )
Updates `django-filter` from 25.1 to 25.2
- [Release notes](https://github.com/carltongibson/django-filter/releases )
- [Changelog](https://github.com/carltongibson/django-filter/blob/main/CHANGES.rst )
- [Commits](https://github.com/carltongibson/django-filter/compare/25.1...25.2 )
Updates `django-structlog` from 9.1.1 to 10.0.0
- [Changelog](https://github.com/jrobichaud/django-structlog/blob/main/docs/changelog.rst )
- [Commits](https://github.com/jrobichaud/django-structlog/compare/9.1.1...10.0.0 )
Updates `dulwich` from 0.24.1 to 0.24.8
- [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.24.1...dulwich-0.24.8 )
Updates `pint` from 0.24.4 to 0.25
- [Changelog](https://github.com/hgrecco/pint/blob/master/CHANGES )
- [Commits](https://github.com/hgrecco/pint/compare/0.24.4...0.25 )
Updates `python-dotenv` from 1.1.1 to 1.2.1
- [Release notes](https://github.com/theskumar/python-dotenv/releases )
- [Changelog](https://github.com/theskumar/python-dotenv/blob/main/CHANGELOG.md )
- [Commits](https://github.com/theskumar/python-dotenv/compare/v1.1.1...v1.2.1 )
Updates `sentry-sdk` from 2.42.1 to 2.43.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.42.1...2.43.0 )
Updates `django-stubs` from 5.1.3 to 5.2.7
- [Commits](https://github.com/sponsors/typeddjango/commits )
Updates `django-test-migrations` from 1.4.0 to 1.5.0
- [Release notes](https://github.com/wemake-services/django-test-migrations/releases )
- [Changelog](https://github.com/wemake-services/django-test-migrations/blob/master/CHANGELOG.md )
- [Commits](https://github.com/wemake-services/django-test-migrations/compare/1.4.0...1.5.0 )
Updates `django-types` from 0.20.0 to 0.22.0
- [Changelog](https://github.com/sbdchd/django-types/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sbdchd/django-types/commits )
Updates `isort` from 6.1.0 to 7.0.0
- [Release notes](https://github.com/PyCQA/isort/releases )
- [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md )
- [Commits](https://github.com/PyCQA/isort/compare/6.1.0...7.0.0 )
---
updated-dependencies:
- dependency-name: mkdocs-git-revision-date-localized-plugin
dependency-version: 1.5.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: mkdocs-macros-plugin
dependency-version: 1.4.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: django
dependency-version: 5.2.7
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: setuptools
dependency-version:
dependency-type: direct:production
dependency-group: dependencies
- dependency-name: django-filter
dependency-version: '25.2'
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: django-structlog
dependency-version: 10.0.0
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: dulwich
dependency-version: 0.24.8
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: pint
dependency-version: '0.25'
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: python-dotenv
dependency-version: 1.2.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: sentry-sdk
dependency-version: 2.43.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: django-stubs
dependency-version: 5.2.7
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: django-test-migrations
dependency-version: 1.5.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: django-types
dependency-version: 0.22.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: isort
dependency-version: 7.0.0
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: dependencies
...
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 >
2025-11-01 12:08:37 +11:00
Oliver
442a616432
Support attachments against SupplierPart ( #10724 )
...
* Support attachments against SupplierPart
* Update CHANGELOG.md
* API update
2025-10-31 21:23:23 +11:00
Oliver
0527d78ae6
Report helpers ( #10726 )
...
* New report functions:
- create_currency: Create a new Money object
- convert_currency: Convert from one currency to another
* docs
* More checking on report tags
* Better formatting of report errors
* Add unit tests
* Remove error message
* Fix pathing for docs
* Add type hints
* Adjust unit tests
2025-10-31 21:23:10 +11:00
Oliver
46ea541bc4
Push BOM validation to background worker ( #10727 )
...
- Can take a significant amount of time
- Closes https://github.com/inventree/InvenTree/issues/10725
2025-10-31 20:41:31 +11:00
Oliver
16a753bf59
[UI] Plugin actions ( #10720 )
...
* Add backend code for custom actions
* docs
* Add sample action code
* Fetch plugin features
* Load plugins and call function
* Support icons
* Alert message
* Update CHANGELOG.md
* Rename action type
* Update docs
* pdated playwright tests
2025-10-31 09:41:32 +11:00
Oliver
ec9b6e7f84
Fix default storage target value ( #10718 )
...
* Fix default storage target value
* Use enum values for comparison
* Fix typo
2025-10-30 14:45:45 +11:00
Matthias Mair
edd920e594
fix(backend): disable MFA test for now ( #10717 )
2025-10-30 11:34:02 +11:00
Matthias Mair
6581af7165
feat(backend): add storages to make usage of s3/sftp easier ( #10140 )
...
* feat(backend): add storages to make usage of S3 easy
* add S3/SFTP settings
* add changelog entry
* also configure static
* get it running on hetzner / exo
* doc additional settings
* fix style
* adress various review comments
* move setting files
* use enum for backends
* revert change
* split up storage settings
* fix comparison
2025-10-30 07:57:22 +11:00
Oliver
c1bbef1a4d
Format number fix ( #10710 )
...
* Improvements for format_number func
- Prevent accidental rendering in scientific notation
* Add multiplier argument to format_number
2025-10-29 16:02:08 +11:00
Matthias Mair
5c556a2a80
use config ( #10704 )
2025-10-29 07:15:08 +11:00
Matthias Mair
2e4b1d65f7
feat(frontend): add passkey/webauthn for secondary MFA ( #9729 )
...
* bump allauth
* add trust
* add device trust handling
* fix style
* [FR] Add passkey as a factor
Fixes #4002
* add registration
* allow better testing
* add mfa context
* fix login
* add changelog entry
* fix registration
* remove multi device packages
* move to helper
* handle mfa trust
* simplify page fnc
2025-10-28 18:52:39 +11:00
Oliver
548f05e61c
Enhancement for metadata OPTIONS checks ( #10693 )
...
* Enhancement for metadata OPTIONS checks
- Handle case where custom `role_required` attribute is set
- Allows integration for plugin views not associated with an internal model
* Cleanup logic
2025-10-28 11:23:24 +11:00
dependabot[bot]
ceb055d61a
chore(deps): bump pip from 25.2 to 25.3 in /src/backend ( #10690 )
...
* chore(deps): bump pip from 25.2 to 25.3 in /src/backend
Bumps [pip](https://github.com/pypa/pip ) from 25.2 to 25.3.
- [Changelog](https://github.com/pypa/pip/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/pip/compare/25.2...25.3 )
---
updated-dependencies:
- dependency-name: pip
dependency-version: '25.3'
dependency-type: indirect
...
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-10-28 10:09:59 +11:00
dependabot[bot]
ac5909f943
chore(deps): bump the dependencies group across 3 directories with 5 updates ( #10667 )
...
* chore(deps): bump the dependencies group across 3 directories with 5 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-material](https://github.com/squidfunk/mkdocs-material ) and [mkdocs-mermaid2-plugin](https://github.com/fralau/mkdocs-mermaid2-plugin ).
Bumps the dependencies group with 2 updates in the /src/backend directory: [grpcio](https://github.com/grpc/grpc ) and [sentry-sdk](https://github.com/getsentry/sentry-python ).
Updates `jc` from 1.25.5 to 1.25.6
- [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.5...v1.25.6 )
Updates `mkdocs-material` from 9.6.21 to 9.6.22
- [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.21...9.6.22 )
Updates `mkdocs-mermaid2-plugin` from 1.2.2 to 1.2.3
- [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.2...v1.2.3 )
Updates `grpcio` from 1.75.1 to 1.76.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.75.1...v1.76.0 )
Updates `sentry-sdk` from 2.42.0 to 2.42.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.42.0...2.42.1 )
---
updated-dependencies:
- dependency-name: jc
dependency-version: 1.25.6
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: mkdocs-material
dependency-version: 9.6.22
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: mkdocs-mermaid2-plugin
dependency-version: 1.2.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: grpcio
dependency-version: 1.76.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: sentry-sdk
dependency-version: 2.42.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix style
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Mair <code@mjmair.com >
2025-10-27 18:58:31 +11:00