8025260961
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue6281
2024-12-28 12:54:55 +01:00
c003084690
fix: email endpoints (to be cleaned TODO@matmair)
2024-12-28 12:05:24 +01:00
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
61e0fae7a3
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue6281
2024-12-28 02:52:34 +01:00
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
b0ce67fcd7
[Docs] Update FAQ ( #8777 )
...
* Update FAQ
* Add links to FAQ
* Extra info
* Extend documentation for debug options
2024-12-27 15:46:17 +11:00
189f2303b8
[PUI] Set password ( #8770 )
...
* Add <ChangePassword> page
* Rename Set-Password to ResetPassword
* Add unit testing
* Ensure user is properly logged into page
* Update playwright tests
* Small tweaks
2024-12-27 11:01:48 +11:00
5499884553
Bump jinja2 from 3.1.4 to 3.1.5 in /docs ( #8771 )
...
* Bump jinja2 from 3.1.4 to 3.1.5 in /docs
Bumps [jinja2](https://github.com/pallets/jinja ) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/pallets/jinja/releases )
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/jinja/compare/3.1.4...3.1.5 )
---
updated-dependencies:
- dependency-name: jinja2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix req
---------
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 >
2024-12-27 08:14:46 +11:00
04d7a96dde
split up python updates and assign to @matmair for manual fixes where necessary ( #8772 )
2024-12-27 08:14:32 +11:00
01d416dad8
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue6281
2024-12-26 18:13:05 +01:00
2a77e0b0f9
remove jwt mention
2024-12-26 18:13:01 +01:00
7bfdc86799
stop failure message from appearing when in MFA flow
2024-12-26 18:10:52 +01:00
d701182d52
re-implement logoff
2024-12-26 18:10:01 +01:00
e3c8b89b67
Re-implement auth flow using new APIs; adds MFA to PUI
2024-12-26 17:42:36 +01:00
7334dc446a
disable tests temporarly
2024-12-26 14:58:19 +01:00
1d22b89ed6
DB CI Checks ( #8773 )
...
* Update test databases in CI
* Add new target
2024-12-26 23:43:49 +11:00
da21e39e84
Turn off debug by default ( #8743 )
...
* turn off debug by default
* fix log level / debug settings for workflows
* fix typo
2024-12-26 20:16:53 +11:00
d4ee8c53b2
Fix default value for SESSION_COOKIE_SECURE ( #8767 )
...
- Default value was previously 'True'
- Documentation indicated that it was 'False'
- Value in config_template.yaml was 'False' (but commented out)
2024-12-26 11:25:58 +11:00
ae7f4e33d5
Zero stock fix ( #8766 )
...
* Change backend validation
- Allow stock adjustments with zero quantity
* Frontend changes
2024-12-26 10:42:07 +11:00
e9cd910c51
fix migration check
2024-12-25 13:38:15 +01:00
97522d971f
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue6281
2024-12-25 01:25:23 +01:00
c79fc281fd
Fix typo ( #8757 )
...
- registraton -> registration
2024-12-25 07:38:39 +11:00
fe68dc7318
Refactor fix formatting exclusion ( #8746 )
...
* fix ruff exclusions
* aut-format
* Fix docstrings
* more fixes
* ignore error(s)
* fix imports
* adjust descriptions for build
2024-12-25 07:16:24 +11:00
1fec41cb71
Update qc_checks.yaml ( #8759 )
2024-12-24 21:42:39 +11:00
02e43061b2
Bump jinja2 from 3.1.4 to 3.1.5 in /src/backend ( #8751 )
...
* Bump jinja2 from 3.1.4 to 3.1.5 in /src/backend
Bumps [jinja2](https://github.com/pallets/jinja ) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/pallets/jinja/releases )
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/jinja/compare/3.1.4...3.1.5 )
---
updated-dependencies:
- dependency-name: jinja2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix req
---------
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 >
2024-12-24 11:54:10 +11:00
7f1cc4658b
Fix REST registration endpoint ( #8738 )
...
* Re-add html account base
Fixes #8690
* fix base template
* override dj-rest-auth pattern to fix fixed token model reference
* pin req
* fix urls.py
* move definition out to separate file
* fix possible issues where email is not enabled but UI shows that registration is enabled
* fix import order
* fix token recovery
* make sure registration redirects
* fix name change
* fix import name
* adjust description
* cleanup
* bum api version
* add test for registration
* add test for registration requirements
2024-12-24 11:53:25 +11:00
8fcebefa0b
Handle error when loading icon pack ( #8753 )
...
* Handle error when loading icon pack
* Update
2024-12-24 10:18:00 +11:00
4e927bf697
Bump the dependencies group with 3 updates ( #8748 )
...
Bumps the dependencies group with 3 updates: [actions/upload-artifact](https://github.com/actions/upload-artifact ), [codecov/codecov-action](https://github.com/codecov/codecov-action ) and [github/codeql-action](https://github.com/github/codeql-action ).
Updates `actions/upload-artifact` from 4.4.3 to 4.5.0
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](b4b15b8c7c...6f51ac03b9
)
Updates `codecov/codecov-action` from 5.1.1 to 5.1.2
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](7f8b4b4bde...1e68e06f1d
)
Updates `github/codeql-action` from 3.27.9 to 3.28.0
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](df409f7d92...48ab28a6f5
)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-24 07:23:52 +11:00
ec6280dacd
MFA add better logging ( #8745 )
...
* add better logging
* use structlog
2024-12-24 07:22:28 +11:00
728e0894aa
Factor out helper ( #8744 )
...
* facour out helper
* fix import path
2024-12-24 07:20:27 +11:00
71eb2814d4
Remove django-import-export ( #8685 )
...
* Remove django-import-export requirement
* Update settings.py
* Clean up admin files
* Remove much of the old BOM exporter framework
* Add note for future self
* Remove dead unit test files
* Remove defunct AjaxView classes
* Remove InvenTreeRoleMixin
* Update docs for data import
* Export docs
2024-12-24 07:19:36 +11:00
f31ba657cc
API error handling ( #8739 )
...
* API error handling
- Add error handlers to various API calls
* Fix return type
2024-12-24 07:18:56 +11:00
15c19a69ac
disable test temporarly
2024-12-23 20:35:25 +01:00
b1a549acb8
clean allauth_2fa reference
2024-12-23 01:33:36 +01:00
d23cc870b6
lower cryptography version
2024-12-23 00:42:21 +01:00
0072dedd39
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue6281
2024-12-23 00:39:27 +01:00
8e95ad8434
upgrade reqs
2024-12-23 00:39:16 +01:00
933330fa51
New Crowdin translations by GitHub Action ( #8683 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-23 10:36:39 +11:00
e9c20a454b
fix merge
2024-12-23 00:31:06 +01:00
043bc88086
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue6281
2024-12-22 23:42:44 +01:00
aa905166c5
Switch to zoneinfo from pytz ( #7645 )
...
* switch to zoneinfo from pytz
* fix lookup
* fix assert
* fix another round of assertions
2024-12-23 08:46:31 +11:00
0bcad6b340
Add separate dialog for 'Ship Order' button ( #8734 )
2024-12-22 16:08:45 +11:00
d8207c88f0
Remove unused setting ( #8731 )
2024-12-21 08:33:31 +11:00
aabcf52cd2
Forms fixes ( #8722 )
...
* Refactor form fields
- Allow error message to be passed through via field definition
- Return error information to onFormError
* Fix debounce issue for text fields
* Fix for useForm hook
* Badge fix
- Fix badge rendering for SalesOrderShipment
* Cleanup unit test
2024-12-20 14:53:39 +11:00
68ac4118e9
[UI] Link fix ( #8726 )
...
- Fixes anchor issues in stock tracking table
2024-12-20 12:21:21 +11:00
130bc84b44
Badge fix ( #8725 )
...
- Fix badge rendering for SalesOrderShipment
2024-12-20 12:13:00 +11:00
aad5575cd2
Fix MFA auth flow ( #8720 )
...
* Re-add html account base
Fixes #8690
* fix base template
2024-12-20 07:21:22 +11:00
53792693f5
Allow backup_value to be specified to the 'getkey' report helper ( #8719 )
2024-12-19 09:24:01 +11:00
17fd7f32a4
consider INVENTREE_RESTRICT_ABOUT setting ( #8717 )
2024-12-19 08:37:39 +11:00
6634bc54bd
Remove javascript rendering ( #8713 )
2024-12-19 07:34:01 +11:00