Oliver
58a03d960a
Refactor API token display ( #9168 )
...
* Refactor API token display
* Tweaks
- Fix accessor ID
- Add filtering
* Revert ordering fields
2025-02-25 07:03:22 +11:00
github-actions[bot]
49eaedaca6
New Crowdin translations by GitHub Action ( #9161 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-24 11:14:52 +11:00
Oliver
cfdafcd791
Dashboard item rendering fixes ( #9163 )
2025-02-23 21:39:22 +11:00
Oliver
c9666ff8ec
Remove 'url' field from serializers ( #9150 )
...
* Remove 'url' field from serializers
- Not used in any official client
- Inconsistent use across models
* Bump API version
* Adjust unit tests
* Fix API version
2025-02-23 21:07:34 +11:00
Oliver
9d1d0fa66b
Cleanup backend code ( #9158 )
...
* Cleanup backend code
* Re-add # TODO
2025-02-23 17:51:51 +11:00
Oliver
05fa36df72
TODO Cleanup ( #9152 )
2025-02-23 09:31:02 +11:00
Matthias Mair
c3f737b320
fix(frontend): header nesting warning when using navbar_message ( #9154 )
2025-02-23 08:16:03 +11:00
Oliver
07423ff247
Slight tweaks to forms ( #9149 ) use
2025-02-22 23:33:35 +11:00
Oliver
347f7ea050
[UI] Barcode scanner update ( #9151 )
...
Use BARCODE_WEBCAM_SUPPORT setting
2025-02-22 23:33:17 +11:00
Oliver
8df34cefd6
[UI] Settings render ( #9148 )
...
* Update sample plugin
* Inline rendering of model based settings
* Spelling fix
* Add playwright testing
2025-02-22 21:59:06 +11:00
Jacob Felknor
2cabd02c6b
Use ref pattern on PO duplicate ( #9100 )
...
* use ref pattern on PO duplicate
* use ref patterns on duplicate for other types of orders
* revert unintentional change to pre-commit
* add playwright tests
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-02-22 20:40:01 +11:00
Oliver
84d3a716e0
[UI] Reduce test sensitivity ( #9146 )
2025-02-22 20:06:34 +11:00
Oliver
7098ac74d2
[UI] Stock batch codes ( #9145 )
...
* Display batch code in stock item preview
* Show batch code in stock operations modal
* Refactor StockForms
* More table refactoring
2025-02-22 19:52:18 +11:00
Oliver
bd7e515856
Harden playwright tests ( #9141 )
2025-02-22 17:14:14 +11:00
Oliver
74e3122581
Mixin cleanup ( #9142 )
...
* Remove legacy SettingsContentMixin
- Only used for rendering into old UI
- No longer useful
* Refactor path for NavigationMixin
* Fix typos
* Fix borked import
2025-02-22 17:13:29 +11:00
Oliver
e447e4037b
UI cleanup ( #9140 )
...
* Refactor SecurityContext page:
- Add Accordion to separate different groups
- Fix "make primary" button (requires PATCH)
- Responsive grid design
* Add splash screen background to more pages
* Adds playwright testing for email setup
* Refactoring
* Fix playwright tests
2025-02-22 17:13:12 +11:00
Oliver
44cca7ddf2
[UI] Search Improvements ( #9137 )
...
* Harden playwright tests
* Refactor search drawer
- Allow result groups to collapse
* Add tooltip
* Fix menu position
* Navigate through to complete list of results
* Refactor table headers
* Add index pages for SupplierPart and ManufacturerPart models
* backend: allow split search by company type
* Fix panel naming bug
* Fix model URLs
* Split company results by company type
- Allows better routing to results list
* Remove debug msg
* Fix 'button within button' issue
* Additional playwright tests
2025-02-22 15:00:25 +11:00
Oliver
09cdf72bda
Handle undefined values ( #9139 )
2025-02-22 11:52:11 +11:00
Matthias Mair
03278c56c9
Remove django-allauth-2fa, dj-rest-auth and django-user-sessions ( #6293 )
...
* Remove django-allauth-2fa
Fixes #6281
* fix req
* fix file again
* remove allauth_2fa flows
* reintroduce otp
* fix rq
* remove old ref
* remove otp things from settings
* reintroduce otp codes
* remove totp section
* bump version
* fix reqs
* add missing model
* ignore TOTP migration if the model is not laoded
* add model deps
* add extra migrations step for easier testing
* add migration testing
* remove old catch
* cover static devies too
* remove more old stuff
* fix import
* mrege migrations
* bump API version
* switch to allauth.usersessions
* add headless
* re-add saml/openid
* user sessions cleanup
* turn off normal allauth urls if CUI is not active
* disable tests that rely on old endpoints - to be replaced
* always track session changes
* remove old allauth templates
* remove old ref
* add missing model
* fix session lookup
* always logout when pwd is changed
* reimplement session ending
* fix merge
* upgrade reqs
* lower cryptography version
* clean allauth_2fa reference
* disable test temporarly
* fix migration check
* disable tests temporarly
* Re-implement auth flow using new APIs; adds MFA to PUI
* re-implement logoff
* stop failure message from appearing when in MFA flow
* remove jwt mention
* fix: email endpoints (to be cleaned TODO@matmair)
* remove unused endpoints
* ignore the now often-used 410 error
* fix auth for email actions in MFA scenarios
* add mfa listing use build-in forms
* add dummy entry for missing frontend urls; see TODO@matmair
* remove unneeded change of confirm url
* add mfa reg endpoint (not fully implemented)
* implement more provider stuff
* simplify calls
* make calls more robust
* switch to browser based sessions
* add todo's
* update api version
* remove x-session, not needed anymore
* remove old urls
* remove ui preference - there is no decision anymore
* fix login redirect logic
* change name to ensure 1p can detect field
* add mfa table
* fix remove sso provider account action; provider (user) admin stuff is done
* reduce templates to the raw basics
* fix tests
* more exclusions
* rewrite url structure
* move buildin token test
* re-enable registration tests
* re-implement registrations
* enable registration for now
* re-implement password change
* adjust tests
* fix asserts
* align names with allauth
* simplify
* refactor and rephrasing
* fix nesting issue
* clean up urls even more
* add mfa add and remove screens
* add type
* revert dep change
* fix api version
* re-add settings
* simplify urls
* Add timeout to login wait for
* fix url assertation
* remove unneded mfa_enabled
* add setting for configuring types
* bump api version
* fix password reset flow
* change settings order
* save auth context
* rename var to remove confusion
* make login/register seperate paths
* make info text better
* adjust urls
* add error message
* disable buttons if no email is set
* add custom adapters for MFA and headless authentication to use upstreamed features
* move auth settings to status
* respect more settings
* update settings
* bump api version
* remove depreceated docs part
* remove dj_rest_auth stuff
* fix api_version bump
* remove temp fix
* fix provider login
* remove unsupported option
* remove hash requirement for now
* simplify customisation
* implement email-verification
* remove auth from api docs
* fix override of get_frontend_url
details in https://codeberg.org/allauth/django-allauth/pulls/4248
* bump api again
* fix req
* Revert "remove hash requirement for now"
This reverts commit 00bb6c5274 .
* remove usage of git repo
* fix doc string
* extend schema generation to just patch in allauth
* patch allauth OAI ref names
* reduce types
* refactor code structure
* fix ref patching a bit more
* add param cleanup
* ensure strings, number, bools are handled correctly in cleanup
* move fnc
* shorten names
* bump allauth
* re-add auth doc section
* fix doc structure
* revert playwrigth change
* ckean up browser only path
* clean up parameters that we do not use
* re-add 2fa required middleware
* fix mail sending hook
* fix password set texts
* Add forced mfa setup
* remove type
* adjust api_version
* Remove debug prints
* Add error message for TOTP creation
* Handle failed TOTP login
* fix reqs
* Add error on 409 during login
* fix tested url
* fix api_version
* fix allauth version
* minimize req diff
* further minimize diff
---------
Co-authored-by: Oliver Walters <oliver.henry.walters@gmail.com>
2025-02-22 11:11:04 +11:00
Oliver
1f84f24514
Batch code fix ( #9123 )
...
* Fix batch code assignment when receiving items
* Add playwright tests
* Harden playwright tests
* Refactoring
2025-02-22 08:34:45 +11:00
dependabot[bot]
2521862b1a
Bump the dependencies group across 1 directory with 9 updates ( #9134 ) use
...
* Bump the dependencies group across 1 directory with 9 updates
Bumps the dependencies group with 9 updates in the /src/backend directory:
| Package | From | To |
| --- | --- | --- |
| [coverage[toml]](https://github.com/nedbat/coveragepy ) | `7.6.11` | `7.6.12` |
| [dj-rest-auth](https://github.com/iMerica/dj-rest-auth ) | `7.0.0` | `7.0.1` |
| [django-allauth-2fa](https://github.com/valohai/django-allauth-2fa ) | `0.11.1` | `0.12.0` |
| [django-filter](https://github.com/carltongibson/django-filter ) | `24.3` | `25.1` |
| [django-money](https://github.com/django-money/django-money ) | `3.2.0` | `3.5.3` |
| [djangorestframework](https://github.com/encode/django-rest-framework ) | `3.14.0` | `3.15.2` |
| [pydyf](https://github.com/CourtBouillon/pydyf ) | `0.10.0` | `0.11.0` |
| [sentry-sdk](https://github.com/getsentry/sentry-python ) | `2.20.0` | `2.22.0` |
| [weasyprint](https://github.com/Kozea/WeasyPrint ) | `62.3` | `64.1` |
Updates `coverage[toml]` from 7.6.11 to 7.6.12
- [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.6.11...7.6.12 )
Updates `dj-rest-auth` from 7.0.0 to 7.0.1
- [Release notes](https://github.com/iMerica/dj-rest-auth/releases )
- [Commits](https://github.com/iMerica/dj-rest-auth/compare/7.0.0...7.0.1 )
Updates `django-allauth-2fa` from 0.11.1 to 0.12.0
- [Release notes](https://github.com/valohai/django-allauth-2fa/releases )
- [Changelog](https://github.com/valohai/django-allauth-2fa/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/valohai/django-allauth-2fa/compare/v0.11.1...v0.12.0 )
Updates `django-filter` from 24.3 to 25.1
- [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/24.3...25.1 )
Updates `django-money` from 3.2.0 to 3.5.3
- [Release notes](https://github.com/django-money/django-money/releases )
- [Changelog](https://github.com/django-money/django-money/blob/main/docs/changes.rst )
- [Commits](https://github.com/django-money/django-money/compare/3.2...3.5.3 )
Updates `djangorestframework` from 3.14.0 to 3.15.2
- [Release notes](https://github.com/encode/django-rest-framework/releases )
- [Commits](https://github.com/encode/django-rest-framework/compare/3.14.0...3.15.2 )
Updates `pydyf` from 0.10.0 to 0.11.0
- [Release notes](https://github.com/CourtBouillon/pydyf/releases )
- [Changelog](https://github.com/CourtBouillon/pydyf/blob/main/docs/changelog.rst )
- [Commits](https://github.com/CourtBouillon/pydyf/compare/v0.10.0...v0.11.0 )
Updates `sentry-sdk` from 2.20.0 to 2.22.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.20.0...2.22.0 )
Updates `weasyprint` from 62.3 to 64.1
- [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/v62.3...v64.1 )
---
updated-dependencies:
- dependency-name: coverage[toml]
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: dj-rest-auth
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: django-allauth-2fa
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: django-filter
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: django-money
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: djangorestframework
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: pydyf
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: sentry-sdk
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: weasyprint
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix req
* clean up req file
* lower drf again
---------
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-02-22 08:02:53 +11:00
Oliver
bc9dbf7df4
Barcode validation fix ( #9127 )
...
* Fix logic for adding items to SalesOrder
* Same thing for purchase orders
* Update serializers.py
Revert typo fix
- Otherwise, we need to do an API bump and the PR can't be back-ported!
2025-02-21 22:17:55 +11:00
Oliver
6930ae7122
Ignore inactive parts ( #9125 )
2025-02-21 20:55:22 +11:00
Oliver
ab4eff19d3
[UI] Pricing chart fixes ( #9119 )
...
* Fix default values for pricing override
* Fix broken calculation for sale pricing
- Was previously excluding COMPLETED orders
* Fix for PricingOverviewPanel
* Fix for InvenTreeMoneySerializer
- Numbers should be represented as numbers!
* Front-end wrangling too
* Fix unit test
2025-02-21 19:09:57 +11:00
Oliver
15ad62494f
[Docker] Alpine image fix ( #9118 )
...
* Revert to alpine3:20 / postgres:16
* Remove old hack
- No longer needed as we are using python 3.11
* Update package requirements for devcontainer
Also fixes some docker warnings from the alpine Dockerfile
* Specify SITE_URL
* Reduce log output during docker image testing
2025-02-21 18:02:39 +11:00
Oliver
96bca652c4
Logic fix for label printing plugin ( #9117 )
2025-02-21 16:06:04 +11:00
dependabot[bot]
19f772bd6e
Bump @octokit/request from 8.4.0 to 8.4.1 in /src/frontend ( #9105 )
...
Bumps [@octokit/request](https://github.com/octokit/request.js ) from 8.4.0 to 8.4.1.
- [Release notes](https://github.com/octokit/request.js/releases )
- [Commits](https://github.com/octokit/request.js/compare/v8.4.0...v8.4.1 )
---
updated-dependencies:
- dependency-name: "@octokit/request"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-20 08:20:40 +11:00
Oliver
e492774808
Use postgres for playwright testing ( #9104 )
...
* Use postgres for playwright testing
- Should reduce issues with parallel tests
* Fix deps
* Harden playwright tests
2025-02-19 20:33:54 +11:00
Oliver
7e7f745c89
Updates to admin interface ( #9103 )
2025-02-19 15:09:34 +11:00
dependabot[bot]
2d0f4e50bb
Bump @octokit/plugin-paginate-rest from 9.2.1 to 9.2.2 in /src/frontend ( #9102 )
...
Bumps [@octokit/plugin-paginate-rest](https://github.com/octokit/plugin-paginate-rest.js ) from 9.2.1 to 9.2.2.
- [Release notes](https://github.com/octokit/plugin-paginate-rest.js/releases )
- [Commits](https://github.com/octokit/plugin-paginate-rest.js/compare/v9.2.1...v9.2.2 )
---
updated-dependencies:
- dependency-name: "@octokit/plugin-paginate-rest"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-19 14:51:08 +11:00
Matthias Mair
c314a4575d
feat(backend): Add instance id for linked data plugins ( #9087 )
...
* feat(backend): Add instance id for linked data plugins
* add to settings ui
* fix ref name
* add test
* fix default
* remove wrong key
* fix serializer
* fix patching
2025-02-18 18:58:46 +11:00
Matthias Mair
1d0540948f
chore(backend): bump devtools ( #9088 )
...
* chore(backend):Bump devtools
* fix typos that are now detected
2025-02-18 18:57:48 +11:00
Oliver
480536a023
PartThumbTable updates ( #9094 )
...
- Change columns based on viewport width
- Use debounced value
- Enable pagination
- Fix pagination on backend API
2025-02-18 13:48:44 +11:00
Oliver
a3ffc01d88
Remove 'is_ajax' helper ( #9095 )
...
- Old, dead code
- No longer needed
2025-02-18 13:48:35 +11:00
Matthias Mair
4a9138cc3b
chore(backend): increase coverage ( #9039 )
...
* move version tests
* factor out read_license_file
* add testing for license file
* ignore special case when we create the schema
* extent no found api tests
* extend info view tests
* try fixing test?
* fix?
* test user create api
* measure impact of removing bom import
* remove dead code
* Revert "measure impact of removing bom import"
This reverts commit bb31db05e3 .
* remove dead code
* remove plugin tags that were made for CUI
* add testing for filters
* add test for config delete
* add more api tests
* adjust tests
* fix test
* use superuser
* adapt error code
* Add test for https://github.com/inventree/InvenTree/pull/9077
* add mixin_available mixin
* make check_reload more observable
* test check_reload too
* test clean_barcode
* reset after testing
* extend datamatrix testing
* debug print
* fix assertation
2025-02-17 11:21:58 +11:00
dependabot[bot]
ed4240a54c
Bump dompurify from 3.1.7 to 3.2.4 in /src/frontend ( #9083 )
...
Bumps [dompurify](https://github.com/cure53/DOMPurify ) from 3.1.7 to 3.2.4.
- [Release notes](https://github.com/cure53/DOMPurify/releases )
- [Commits](https://github.com/cure53/DOMPurify/compare/3.1.7...3.2.4 )
---
updated-dependencies:
- dependency-name: dompurify
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-17 09:05:03 +11:00
dependabot[bot]
8912f0db56
Bump @octokit/endpoint from 9.0.5 to 9.0.6 in /src/frontend ( #9084 )
...
Bumps [@octokit/endpoint](https://github.com/octokit/endpoint.js ) from 9.0.5 to 9.0.6.
- [Release notes](https://github.com/octokit/endpoint.js/releases )
- [Commits](https://github.com/octokit/endpoint.js/compare/v9.0.5...v9.0.6 )
---
updated-dependencies:
- dependency-name: "@octokit/endpoint"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-17 09:04:36 +11:00
dependabot[bot]
7362305296
Bump @octokit/request-error from 5.1.0 to 5.1.1 in /src/frontend ( #9082 )
...
Bumps [@octokit/request-error](https://github.com/octokit/request-error.js ) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/octokit/request-error.js/releases )
- [Commits](https://github.com/octokit/request-error.js/compare/v5.1.0...v5.1.1 )
---
updated-dependencies:
- dependency-name: "@octokit/request-error"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-16 12:36:01 +11:00
Oliver
8367c32e84
Remove dead code related to BOM import ( #9079 )
...
* Remove dead code related to BOM import
- Now handled by generic import tool
- Replaces https://github.com/inventree/InvenTree/pull/8756
* Bump API version
2025-02-15 07:59:43 +11:00
github-actions[bot]
4ece2fa6dd
New Crowdin translations by GitHub Action ( #9069 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-14 23:53:30 +11:00
Oliver
944a4f28be
Setting filter ( #9076 )
...
* Expose "model_filters" to settings API
* Enable settings filters in the front-end
* Fix return types
* Bump API version
2025-02-14 19:15:42 +11:00
Oliver
cca1912220
Adds "is_variant" filter for Part API ( #9077 )
...
* Adds "is_variant" filter for Part API
* Bump API version
2025-02-14 17:08:27 +11:00
Oliver
caa0498aa3
[UI] Test Result Table Tweak ( #9075 )
...
Control row expansion property for StockItemTestResultTable
2025-02-14 10:00:46 +11:00
Matthias Mair
301347f1d0
[UI] Settings to control editing of "completed" orders ( #9070 )
...
* [UI] Settings to contrl editing of "completed" orders
Fixes #8976
* only check for completness if locking is enabled
* also lock lines
* allow editing of status to get an order "free" again
2025-02-14 09:30:19 +11:00
Oliver
f27a84a7e5
Bug fix for receiving line item event ( #9071 )
...
- Use StockItem ID correctly
- Provide line ID
2025-02-13 14:39:05 +11:00
dependabot[bot]
40c1dc704f
Bump cryptography from 43.0.3 to 44.0.1 in /src/backend ( #9064 )
...
* Bump cryptography from 43.0.3 to 44.0.1 in /src/backend
Bumps [cryptography](https://github.com/pyca/cryptography ) from 43.0.3 to 44.0.1.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pyca/cryptography/compare/43.0.3...44.0.1 )
---
updated-dependencies:
- dependency-name: cryptography
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix req
* set upper limit
* use highest version available on bullseye
* remove lower limit
---------
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-02-12 17:14:37 +11:00
Oliver
7049e84ac3
Fix for data import ( #9060 )
...
- Prevent shadow overwrite of default_values dict
- Remove dead code
2025-02-12 07:24:24 +11:00
github-actions[bot]
8493e5adb2
New Crowdin translations by GitHub Action ( #9015 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-11 15:29:13 +11:00
Matthias Mair
3b7bda1e4f
chore(backend): bump deps ( #9055 )
2025-02-11 11:37:18 +11:00
Matthias Mair
d569dbec49
[PUI] Make breadcrumbs adjustable ( #8027 )
...
* adjust breadcrumbs to include current item
* Add last breacdrumb to various pages
* Add user settings for last breadcrumb
* add breacrumbs to company subpages
* use getDetailUrl instead
* set default
* change description
* fix styles
* fix merge
* rename to camelCase
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-02-11 11:36:59 +11:00
Matthias Mair
047431d67f
fix(backend): determine active branch on startup ( #9056 )
...
* fix(backend): Determine active branch on startup
* add more warnings and document them
* extend expected errors
* fix typos
2025-02-11 09:19:49 +11:00
Matthias Mair
33d0449460
fix(contrib): move imports to ensure task startup without django is possible ( #9057 )
2025-02-10 12:21:43 +11:00
Oliver
3a423c3e40
[Setup] Enhance version information output ( #9049 )
...
* Improve output of 'invoke version'
- Display backup path
- Handle undefined paths without error
* Provide colorized output
2025-02-08 12:12:11 +11:00
Oliver
49824ddf31
Fix typos in settings.py ( #9048 )
2025-02-08 10:45:47 +11:00
Matthias Mair
a3be8e986b
chore(contrib): include pkg source in pkg logging ( #9035 )
...
* fix(backend): wrong path for version was used
* chore(contrib): Include Pkg source in pkg logging
2025-02-06 09:17:42 +11:00
Matthias Mair
8bea3caec4
feat(frontend): Hide empty args in about dialog ( #9033 )
...
* clean up version info text
* feat(frontend): Hide empty args in about dialog
* simplify
* simplify more
2025-02-05 09:45:48 +11:00
Matthias Mair
73b46c1c15
bump python deps ( #9032 )
2025-02-05 09:20:29 +11:00
Oliver
e1f25a03d4
Tweak playwright tests ( #9027 )
2025-02-04 22:52:01 +11:00
Oliver
445fa45394
Enhance creation of default settings ( #9028 )
...
- Remove cache requirement
- Replaces https://github.com/inventree/InvenTree/pull/9021
2025-02-04 22:51:51 +11:00
Dean
138aa01d7e
Support for searching sales order shipments ( #8992 )
...
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-02-03 23:13:52 +11:00
Oliver
d363c408f8
[Pricing] Add option to convert received items currency ( #8970 )
...
* Add new global setting
* Convert to base currency on receipt
* Fix total price rendering in PO table
* Fix for tasks.py
* Update .gitignore
- Ignore auto-generated files
* Update docs
Improved documentation for pricing/currency support
* Updates
* Fix caching for default currency
- Now managed better by session caching
* Add unit test for new feature
* Playwright test fixes
* Validate copying of media files
* Validate media files
* Adjust playwright setup
* Allow multiple attempts to fetch release information
* Tweak unit tests
* Revert changes to .gitignore file
- Just trying stuff at this point
* Add debug msg
* Try hard-coded paths
* Remove debug prints
* Abs path for database
* More debug
* Fix typos
* Revert change to db name
* Remove debug statements (again)
* Cleanup playwright tests
* More test tweaks
---------
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-02-03 18:34:15 +11:00
Oliver
a760d00c96
Cleanup BomItemSerializer ( #9017 )
...
- Consolidate functions
- Code cleanup
2025-02-03 13:50:17 +11:00
dependabot[bot]
4e074ff711
Bump vite from 5.4.7 to 6.0.11 in /src/frontend ( #8938 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 5.4.7 to 6.0.11.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v6.0.11/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: indirect
...
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-02-03 07:38:54 +11:00
Dean
e93b9692a1
Debounce `checkLoginState` to prevent unexpected redirection during testing ( #9012 )
2025-02-03 07:37:15 +11:00
Oliver
2a6434ead8
Report bugfix ( #9013 )
...
- Ensure default label templates exist
- Ensure default report templates exist
2025-02-02 23:28:28 +11:00
github-actions[bot]
1b5019ba52
New Crowdin translations by GitHub Action ( #9007 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-02 14:17:19 +11:00
Joe Rogers
1912e754b4
Clean up deprecated module removed in python 3.13 ( #9004 )
...
* Remove deprecated module removed in python 3.13
* Update validate to use helper function
* Add translation wrapper to error message
2025-02-02 13:23:24 +11:00
Oliver
56bfbfb1b4
Tweak for data import ( #9010 )
...
- Do not override specified default values
2025-02-02 09:25:28 +11:00
Oliver
c077e2b605
[Bug] mport fix ( #9008 )
...
* Better handling of request object in serializers
* Pass request object through
- Required to extract user information
* Strip column header during import
- Prevent mismatch due to whitespace
* Fix for "minimum stock" field
* Fix for part serializer
* Extract default values on import
* Remove outdated migration message
* Bump API version
2025-02-02 07:57:06 +11:00
Oliver
eba004d835
[UI] Report ouputs ( #9003 )
...
* Typo fixes
* Display table of generated reports
* Display generated label outputs
* Translation
* Allow sorting of API Endpoints
* Add template detail to output serializers
* Add extra table column
2025-02-01 22:44:52 +11:00
Oliver
bef6270ff6
Login form tweaks ( #9005 )
...
* Login form tweaks
- Improve consistency
- Add tooltips
* Cleanup ServerInfo list
* Slight layout tweaks
2025-02-01 17:39:18 +11:00
Oliver
855afde4e5
Report print update ( #9002 )
...
* Refactor label printing
- Move "print" method to template
- Allows for internal calls to printing (e.g. plugins)
* Generate dummy request
- Required to trick WeasyPrint
* Refactor reportprinting
* Add timeout for unit test
* More unit tests
* Tweak unit test
* Updated comment
2025-02-01 17:08:33 +11:00
Oliver
821b311d73
[CI] Playwright testing improvements ( #8985 )
...
* Run playwright tests in headless mode
* Add navigation helper
* Validate files
* test fix
* Remove 'headless'
* Fixes
* Fix for 'navigate' helper
* Further updates
2025-02-01 16:29:13 +11:00
Lukas
66496fb669
fix missing template tag ( #9000 )
2025-02-01 08:27:27 +11:00
Matthias Mair
ce16dac102
feat: increase coverage ( #8897 )
...
* remove preference-view
* bump api
* move tag test to seperate file
* extend tests
* make tags more robust
* Revert "remove preference-view"
This reverts commit b95aaaff3c .
* Revert "bump api"
This reverts commit 8fc29186cf .
* more coverage
* re-enable test
* even more tests
* just ignore it
* moa test
* crude debugging
* more debugging
* adapt test
* reduce debugging
* fix test_part_image
* remove TemplatePrintBase
* fix style
* fix code
* fix check
* ensure none exsisting image to not cause issue
2025-01-31 13:59:07 +11:00
Matthias Mair
fff0b99b08
refactor(backend): reduce tags ( #8932 )
...
* reduce tags more
* remove splashscreen usage
* fix test
* reintroduce inventree_logo
* re-add splashscreen fnct
* re-add needed tag
* re-add date renderer
* simplify away user specific stuff - there are no users in reports
* and simplify a bit more
* increase coverage
* fix format
* and more coverage
* fix render_date
* more coverage
2025-01-31 13:58:04 +11:00
Matthias Mair
cfa248aad9
feat: Re-Implement customize options ( #8969 )
...
* Extend api to also include customize functions
* [FR] Re-Implement customize options
Fixes #8818
* re-implement header
* add splashscreen customisation
* make simpler
* fix rendering
* bump api
2025-01-31 13:10:31 +11:00
Matthias Mair
edc97b1afd
fix(backend): api version style ( #8989 )
...
* fix api version style
* set base path
2025-01-29 21:30:09 +00:00
Oliver
eee4916350
Order start dates ( #8966 )
...
* Add 'start_date' field to orders
- PurchaseOrder
- SalesOrder
- ReturnOrder
* Add serializer field
* Add API filters
* Add table columns
* Add fields to forms
* Table filters
* Add validation check
* Refactor BuildOrderTable
* Update detail page
* Bump API version
* Allow sorting by start_date
* Fix for purchase order field
* Update detail pages
* Update playwright tests
* Updated playwright tests
* Documentation updates
* Updated playwright tests
2025-01-29 22:45:39 +11:00
Oliver
0c56a3132b
Fix for chart rendering ( #8981 )
...
- Graphs like numbers, not strings, I guess...
2025-01-29 17:38:12 +11:00
Oliver
01b74da255
[UI] Part pricing breaks ( #8975 )
...
* Un-hide pricing panels
* Change positioning
* Enhanced playwrigh testing
2025-01-29 15:52:25 +11:00
Oliver
c67e80b50e
Fix user role caching issues ( #8973 )
...
* Fix user role caching issues
* Handle null user case
* Fix typo
* More spelling fixes
2025-01-28 20:39:05 +11:00
Matthias Mair
f7f6e27c6e
feat(backend): improve tag docs ( #8960 )
...
* add admindocs
* add tag export command
* add filter export
* switch to yaml
* upload meta info to artifacts
* format workflow file
* fix creation command
* keep all artifacts in schema repo
* fix namespace
* use one command for export
* include tags and filters in docs
* change default filename
* fix call
* fix itteration syntax
* clean up rendering
* fix formatting
* simple escape
2025-01-28 09:42:13 +11:00
Oliver
16b03a7371
Fix for 'issued_by' field on BuildDetail page ( #8962 )
2025-01-27 23:45:48 +11:00
Oliver
a13f5681a1
SalesOrder migration unit test ( #8814 )
...
* Unit test for SalesOrder data migration
* make field checks more stable
* Adjust migration strategy
* Fix for data migration
* Simplify login test for playwright
---------
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-01-27 21:01:02 +11:00
Matthias Mair
bbeaf0e791
feat(backend): Improve error with missing manifest ( #8957 )
...
* package tag results better
* Add docs for missing frontend
* better error indication
Fixes #8875
* fix test assertations
* fix test exception
* group setup admin stuff
* add operations supgourp
* add basic structure
* move error code
* fix link
* fix grammar issues
2025-01-27 19:52:05 +11:00
Oliver
630d165c22
[Enhancement] Request cache ( #8956 )
...
* Middleware for caching against request
* Create helpers for setting / getting session cache
* Settings objects check session cache first
* Ensure setting is removed from session cache when updated
* Cleaner implementation
* Fix cache cleanup
- ONLY allow access if there is a request object
- Ensure cache is deleted once session is over
* Skip plugin registry reload check
2025-01-27 14:45:11 +11:00
Oliver
ddcb7980ff
[Refactoring] Data Export ( #8950 )
...
* Allow extraction of "child" fields when exporting serialized data
* Update StockItemSerializer
* Add missing default attribute
* Cleanup export for BuildItemSerializer
* Refactor BuildLineSerializer
* Refactor BomItemSerializer
* Auto-exclude tags from export (for now)
* Cleanup SupplierPartSerializer
* Updated unit test
* Cleanup
* Bump API version
* Reduce serializer complexity
* Refactor StockLocation API endpoints
* Cleanup API
* Enhanced docstrings
2025-01-27 14:03:40 +11:00
Matthias Mair
5968f5670f
refactor(backend): remove contrib.messages ( #8959 )
...
* remove django.contrib.messages
* re-add messages as admin needs it
2025-01-27 13:03:15 +11:00
dependabot[bot]
98d2dd7930
Bump undici from 5.28.4 to 5.28.5 in /src/frontend ( #8935 )
...
Bumps [undici](https://github.com/nodejs/undici ) from 5.28.4 to 5.28.5.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v5.28.4...v5.28.5 )
---
updated-dependencies:
- dependency-name: undici
dependency-type: indirect
...
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-01-27 00:31:26 +11:00
Oliver
ab7e6385c2
Notification cleanup ( #8945 )
...
- Prevent spamming of duplicate notifications
2025-01-26 07:18:38 +11:00
Oliver
e9bc4645ca
Build category filter ( #8940 )
...
* Add 'category' filter to BuildList
- Allows filtering by part category
* Add filter element to build table
* Bump API version
2025-01-22 22:22:03 +11:00
Oliver
19d7825fa6
Cleanup dead code ( #8939 )
...
- Used for old UI plugins
- No longer referenced
2025-01-22 21:04:39 +11:00
dependabot[bot]
6d758e8e9f
Bump vite from 6.0.7 to 6.0.9 in /src/frontend ( #8934 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 6.0.7 to 6.0.9.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v6.0.9/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-22 17:18:33 +11:00
Oliver
8e8b7158b7
Plugin reload fix ( #8922 )
...
* Add option to disable auto-reload of dev server
* Force plugin reload
* Add unit testing for plugin reload
- Requires modifications to registry.py
2025-01-22 16:34:13 +11:00
github-actions[bot]
4a9785d5e9
New Crowdin translations by GitHub Action ( #8916 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-21 16:00:40 +11:00
Oliver
fddaaf9844
Code cleanup ( #8931 )
...
- Remove TemplatePrintBase class
- Not referenced in code
2025-01-21 09:55:44 +11:00
Oliver
f602c439ca
Fix docstring for Build model ( #8928 )
2025-01-21 01:56:57 +11:00
Oliver
68d3620bb2
Include location detail in build output table ( #8923 )
...
* Include location detail in build output table
* Raise validation error if trying to split an in-production item
2025-01-21 01:41:13 +11:00
Oliver
2575c7276c
Import fix ( #8924 )
...
* Exclude "tags" fields from data import
- May reintroduce at a later date
- Currently, no support for editing tags in frontend
* Refactor
2025-01-21 01:24:36 +11:00
Oliver
95874d9097
Update SalesOrderAllocationTable ( #8911 )
...
* Update SalesOrderAllocationTable
- Add 'description' column for part
- Add 'IPN' column for part
* Fix unit test
2025-01-21 00:37:36 +11:00
Oliver
7ad49949c8
Build start date ( #8915 )
...
* Add 'start_date' to Build model
* Add to serializer
* Add filtering and ordering
* Update BuildOrderTable
- Add new column
- Add new filtering options
* Add sanity check for start_date
* Add 'start_date' field to BuildOrder form
* Update docs
* Bump API version
* Tweak unit testing
* Display 'start_date' on build page
* Refactor UI tests
* Fix for 'date' field in forms
* Add additional unit tests
* Fix helper func
* Remove debug msg
2025-01-21 00:37:23 +11:00
Oliver
87ccf52562
Reintroduce setting for project codes ( #8920 )
...
* Re-introducde old setting
* Optionally hide project code column
* Control visibility of table filters
* Hide fields from forms
2025-01-20 23:29:20 +11:00
Oliver
37c8418f0e
Pass locale information through to plugins ( #8917 )
2025-01-20 15:40:32 +11:00
Oliver
40c5910311
Cleanup UserManagementPanel ( #8914 )
...
- Split items using <Accordion />
2025-01-20 13:18:31 +11:00
Matthias Mair
b1c9fcb0a7
chore(frontend): bump frontend deps ( #8906 )
...
* bump codemirror
* bump mantine and deps
* a few small bumps
* lover react-grid-layout
* lower lingui
* lower react-window
* revert versions down
* fix resolution
* fix resolution
2025-01-20 09:40:02 +11:00
github-actions[bot]
46ebe81304
New Crowdin translations by GitHub Action ( #8882 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-19 21:58:50 +11:00
Matthias Mair
c57b51cb0e
chore(backend): bump deps ( #8905 )
...
* bump backend reqs
* raq down cryptography
* fix req
* bump api version
2025-01-19 17:50:22 +11:00
Matthias Mair
64b9365947
chore: bump pre commit ( #8904 )
...
* bump pre-commit
* auto-fixes
* ignore error
* fix a few more issues
* fix pattern
2025-01-18 09:38:00 +11:00
Matthias Mair
3d2f800c73
feat: Add setting for controling console logs ( #8903 )
...
* Add setting for controling console logs
* respect console_log setting
* use var for defualt handler
2025-01-17 09:21:38 +11:00
Matthias Mair
89dfa0f6f9
refactor: remove preference-view ( #8894 )
...
* remove preference-view
* bump api
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-01-15 14:46:23 +11:00
Matthias Mair
fbe2131fa5
fix(plugin): Ensure plugins are only installed if not deactivated ( #8893 )
...
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-01-15 14:46:10 +11:00
Oliver
5de65891c3
Allow CORS for /plugin/ URLs ( #8898 )
...
- Ref: https://github.com/inventree/inventree-order-history/issues/17#issuecomment-2591275055
2025-01-15 14:45:58 +11:00
Oliver
c7e960728d
Upload timeout ( #8895 )
...
* Increase upload timeout for attachments
* Increase default API timeout
- To account for distant connections
* Use longer timeout when uploading files
* Debug for RTD testing
* Adjust commit extraction
* Cleanup debug output
* Include more vars in output
* Move debug output to top of file
* Add useful link
2025-01-15 14:02:43 +11:00
Oliver
412bba50ba
Slight tweak to <DetailsTable> ( #8890 )
...
* Slight tweak to <DetailsTable>
* Responsive layout for user settings
* Make menu links responsive
* Update <FactCollection />
* Update part pricing panels
2025-01-14 13:42:03 +11:00
Oliver
46f6450ee1
[UI] Responsiveness Improvements ( #8885 )
...
* Shorten string in page title
* Style fixes
* Adjust cell width props
* Refactor <PageDetail> component
- Improve responsiveness
* Simplify <ItemDetailsGrid />
* Refactor <DetailsImage>
2025-01-14 10:38:48 +11:00
Oliver
dd5aa5f4e4
Allow null value for expiry_date field ( #8886 )
...
* Allow null value for expiry_date field
* Bump API version
2025-01-13 14:31:03 +11:00
Oliver
b06b762895
[UI] Reactive Details Columns ( #8883 )
...
* Adapt details column count
- Based on element width
* Pin minimum size of thumbnail
* Cleaner implementation
* Revert again
- Use element size, not screen size
2025-01-12 14:58:52 +11:00
Jacob Felknor
e8c1417b15
Add Expiry Date on Receive Line Item ( #8867 )
...
* Add expiry on line item receive from PO
* add backend test
* reset pre-commit
* increment inventree api version
* use None as default expiry date
* check global setting STOCK_ENABLE_EXPIRY
* check for default expiry in line item receive
* use dayjs
---------
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-01-12 13:56:30 +11:00
Oliver
c75630d1bd
Add Serbian to LanguageContext.tsx ( #8880 )
2025-01-12 09:06:44 +11:00
github-actions[bot]
4390c01cc1
New Crowdin translations by GitHub Action ( #8857 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-12 09:06:29 +11:00
Oliver
7eac3d7d42
Forms refactor ( #8876 )
...
- Use dayjs for cleaner code
2025-01-12 08:18:42 +11:00
Oliver
000419255a
Adjust StockItem form ( #8869 )
...
- Auto-set expiry date
2025-01-11 09:22:53 +11:00
Oliver
c99aae5a28
Updated docstring ( #8868 )
2025-01-10 18:10:42 +11:00
Oliver
dcff7a5ccd
Simplify translated string ( #8860 )
2025-01-08 12:55:56 +11:00
Oliver
c815455461
Datamatrix ( #8853 )
...
* Implement datamatrix barcode generation
* Update documentation
* Update package requirements
* Add unit test
* Raise error on empty barcode data
* Update docs/hooks.py
2025-01-08 12:06:00 +11:00
Oliver
9138e31e58
Created by ( #8848 )
...
* Add 'created_by' field to order API endpoints
* Add 'created_by' filter
* Allow ordering by 'created_by' field
* Update UI tables
- Show "Created By" column
- Column sorting
- Column filtering
* Cleanup order detail pages
* Bump API version
* Refactor table filters
* Fix BuildOrderTable filters
2025-01-08 10:07:38 +11:00
Oliver
296c54a1d7
[UI] API Context ( #8851 )
...
* Create ApiContext provider
* Utilize new context
* Remove api from global context
* Refactor <InvenTreeTable>
- No longer need hard-coded API constant
* Refactor useInstance hook
* Refactoring
- QueryCountDatshboardWidget
- NotesEditor
- RenderInstance
* Refactor multiple tables
* Fix typos
* Refactor useFilters hook
- Allow plugins to use this hook!
* Further refactoring
* Refactor API forms
* Cleanup context routing
* Fix provision order
2025-01-08 07:34:06 +11:00
Oliver
3a62bdd276
Ensure error is raised ( #8849 )
2025-01-07 17:07:07 +11:00
Oliver
b42edbf2ab
Fix for notification ( #8840 )
...
label -> title
2025-01-07 15:00:48 +11:00
Oliver
dcf0bb103e
Order creation fix ( #8846 )
...
* Bug fix for PurchaseOrder
- Correctly record the user who created a PO
- Code refactoring
* Updated unit tests
2025-01-07 14:59:22 +11:00
Oliver
94f7890a41
Fix for test results in stock item report context ( #8843 )
...
- Allow for "cascade" installed items
- i.e. support multi-level installed items
2025-01-07 10:34:47 +11:00
Oliver
ce617b7792
[Documentation] Remove package credits ( #8811 )
...
* Remove hard-coded credits from docs
- Extract *actual* package credits
- Auto-build into docs
* Include URLs when generating python license data
* Update readthedocs process
* Better URL extraction
* Adjust build process for RTD
* Spelling fixes
* Install node and yarn
* Command fix
* Improved library sorting
* Improved error message
* Remove credits.md
* Cleanup
* Further cleanup
* Tweak playwright test
* Handle uncaught exception in fetchIcons
* Fix for CORS settings in playwright testing
* Enhance login check
* Fix for barcode test
---------
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-01-06 14:14:38 +11:00
Oliver
40cff05864
Tasks cleanup ( #8838 )
...
* Pretty print and typo fix
* Improved output
* Improve logging
2025-01-06 10:06:38 +11:00
Matthias Mair
6b5e0dbb29
remove structlog from internal paths ( #8836 )
2025-01-06 07:28:28 +11:00
Oliver
ae1f9bf274
Navigate to index when deleting a company ( #8831 )
2025-01-05 22:43:20 +11:00
github-actions[bot]
8b343e570e
New Crowdin translations by GitHub Action ( #8826 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-05 20:21:50 +11:00
Oliver
b2a3f6d311
Remove old PanelMixin class ( #8828 )
...
- Custom panels for legacy UI
- No longer needed
2025-01-05 14:58:07 +11:00
Matthias Mair
7125261bbc
Remove admin shell ( #8816 )
2025-01-05 12:57:20 +11:00
Matthias Mair
ea9e3fb992
Refactor to use structlog ( #8747 )
...
* use structlog instead of normal logging
* more fixes
* more fixes
* fix test asserts
* use static name
* fix logger
* fix assert
* fix asserts
2025-01-05 12:48:57 +11:00
github-actions[bot]
5eeb150828
New Crowdin translations by GitHub Action ( #8786 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-01 10:41:30 +11:00
Oliver
16e9729308
Allow barcode linking for stock location ( #8802 )
2024-12-31 15:48:41 +11:00
Oliver
23e4f2f2a2
[Setup] Support X-Forwarded-Proto header ( #8790 )
...
* Remove use_x_forwarded_port setting
- As per the docs, this is ignored in favour of use_x_forwarded_host
- So, is not being used anyway
* Add note on x_forwarded_host option
* Add warning message if SITE_URL not provided
* Add support for SECURE_PROXY_SSL_HEADER
* Update configuration template file
* Update SITE_URL docs
* Remove line
* Re-add use_x_forwarded_port
* Docs tweak
* Improve wording
* Fix broken link
2024-12-31 12:33:17 +11:00
Oliver
1c2ad94bb7
Remove old script for calculating translation stats ( #8787 )
...
* Remove old script for calculating translation stats
* Update tasks.py
* Adjust unit test call
2024-12-29 20:41:14 +11:00
Oliver
5e79c6906c
[UI] Permission Enhancements ( #8785 )
...
* Update page permissions
- Add permission check to <InstanceDetail>
- HIde breadcrumbs and tree for part
- Hide breadcrumbs and tree for stock
* Additional permissions checks
2024-12-29 17:00:27 +11:00
Oliver
cd0ee7dbab
Url refactor ( #8784 )
...
* Cleanup config template
* Small refactor
- Fix for frontend_base_url setting
* Revert base url
* Fix reverse URL lookup
2024-12-29 14:54:02 +11:00
Oliver
964984ccac
[Refactor] Custom states ( #8438 )
...
* Enhancements for "custom state" form
- More intuitive form actions
* Improve back-end validation
* Improve table rendering
* Fix lookup for useStatusCodes
* Fix status display for SockDetail page
* Fix SalesOrder status display
* Refactor get_custom_classes
- Add StatusCode.custom_values method
* Fix for status table filters
* Cleanup (and note to self)
* Include custom state values in specific API endpoints
* Add serializer class definition
* Use same serializer for AllStatusView
* Fix API to match existing frontend type StatusCodeListInterface
* Enable filtering by reference status type
* Add option to duplicate an existing custom state
* Improved validation for the InvenTreeCustomUserStateModel class
* Code cleanup
* Fix default value in StockOperationsRow
* Use custom status values in stock operations
* Allow custom values
* Fix migration
* Bump API version
* Fix filtering of stock items by "status"
* Enhance status filter for orders
* Fix status code rendering
* Build Order API filter
* Update playwright tests for build filters
* Additional playwright tests for stock table filters
* Add 'custom' attribute
* Fix unit tests
* Add custom state field validation
* Implement StatusCodeMixin for setting status code values
* Clear out 'custom key' if the base key does not match
* Updated playwright testing
* Remove timeout
* Refactor detail pages which display status
* Update old migrations - add field validator
* Remove dead code
* Simplify API query filtering
* Revert "Simplify API query filtering"
This reverts commit 06c858ae7c .
* Fix save method
* Unit test fixes
* Fix for ReturnOrderLineItem
* Reorganize code
* Adjust unit test
2024-12-29 08:45:23 +11:00
Matthias Mair
c582ca0afd
Add scan to action menu ( #8781 )
...
* small style fixes
* refactor: split scanning and dialog logic
* feat: Add modal and quick action to scan a barcode from anywhere
2024-12-29 01:12:42 +11:00
Oliver
3e73162368
Barcode scanning ( #8732 )
...
* Implement new "general purpose" barcode scan dialog
- Separated widgets for camera / keyboard / wedge scanner
- UI / UX improvements
* Handle scan results
* Fix missing imports
* Handle successful global scan
* Handle error when linking barcode
* Backend fix for InvenTreeInternalBarcodePlugin
* Error handling
* Working on scanner input
* Refactor scan page
* Callback from scanner input
* Refactoring <Scan> page
* Allow InvenTreeTable to be used with supplied data
* Refactor optionalparams
* Refactoring table of scan results
* Implement callbacks
* Navigate from barcode table
* Fix delete callback
* Refactor callbacks
* Refactor idAccessor
- Access as part of useTable hook
- No longer hard-coded to 'pk'
* prevent duplicate scans
* Fix for deleting items from table
* Cleanup
* Bump API version
* Adjust playwright tests
* Update playwright tests
* Update barcode screenshots
* Fix links
* Add quick links to barcode formats
* Updated screenshots
* Fix for BuildLineSubTable
* Specify idAccessor values
* Clear barcode input after timeout period
* Move items
* Fix for playwright test
* Remove debug print
* Additional error ignores
* Cleanup scanner input
- Simplify
- Prevent errant keycodes from closing the scanner dialog
* Playwright test adjustments
2024-12-28 20:38:53 +11:00
github-actions[bot]
0765b00520
New Crowdin translations by GitHub Action ( #8752 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-27 19:43:52 +11:00