github-actions[bot]
fc34bd0a5e
New Crowdin translations by GitHub Action ( #9288 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-16 09:40:18 +11:00
Matthias Mair
516755db97
refactor(frontend): Do not request token in frontend ( #9217 )
...
* remove calls that reference tokens
* remove call to token endpoint
* ensure CSRFToken is always send
* bump axios
* lower axios
* reset axios change
* bump reslution down
2025-03-16 08:36:58 +11:00
Oliver
4eaa5880c1
Fix currency rendering ( #9308 )
...
- Closes https://github.com/inventree/InvenTree/issues/9300
2025-03-16 07:42:34 +11:00
Oliver
3dfd1ed146
Static Asset Management ( #9292 )
...
* Caddyfile: Redirect asset requests
- Ensure the static asset files are served by the proxy
- Reduce gunicorn / python load
- Significant server performance increase
* Allow CORS requests to 'assets' path
* Update static assets path for vite build
* Remove RedirectAssetView
* Specify relative base path
Ref: https://vite.dev/guide/build.html#relative-base
* Revert settings.py
* Revert caddyfile
* Remove defunct unit test
* Add timeout to test
2025-03-14 08:20:51 +11:00
Oliver
b25bf5e669
Dynamic filters ( #9290 )
...
* Add attributes to TableFilter type def
* Refactoring
* Refactor ProjectCodeFilter
* Provide simple string rendering of a dynamic filter
* Refactor ResponsibleFilter
* Further refactoring
* More refactoring
* Fix placeholder value
2025-03-13 13:09:37 +11:00
Oliver
7a43c3a83e
Auto-fill currency for new supplier part ( #9286 )
...
- Closes https://github.com/inventree/InvenTree/issues/9284
2025-03-13 01:35:29 +11:00
dependabot[bot]
0049544305
Bump @babel/runtime from 7.25.6 to 7.26.10 in /src/frontend ( #9285 )
...
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime ) from 7.25.6 to 7.26.10.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.26.10/packages/babel-runtime )
---
updated-dependencies:
- dependency-name: "@babel/runtime"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-13 00:46:09 +11:00
github-actions[bot]
f7536a9f89
New Crowdin translations by GitHub Action ( #9175 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-11 19:21:21 +11:00
dependabot[bot]
1cd7baabb1
Bump axios from 1.7.9 to 1.8.2 in /src/frontend ( #9270 )
...
Bumps [axios](https://github.com/axios/axios ) from 1.7.9 to 1.8.2.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v1.7.9...v1.8.2 )
---
updated-dependencies:
- dependency-name: axios
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-03-11 08:04:04 +11:00
Oliver
06961c6a24
Add error handling to API queries ( #9253 )
2025-03-07 14:30:51 +11:00
Oliver
d822b9b574
[WIP] Background reports ( #9199 )
...
* Update report generation progress
* Add shim task for offloading report printing
* Cleanup
* Add detail endpoints for label and report outputs
* Display report printing progress in UI
* Implement similar for label printing
* Reduce output for CI
* Add plugin slug
* Bump API version
* Ensure it works with machine printing
* Fix null comparison
* Fix SKU link
* Update playwright tests
* Massively reduce log output when printing
2025-03-04 23:40:54 +11:00
Oliver
d5a176c121
Fix font size in location column ( #9230 )
2025-03-04 23:27:34 +11:00
Matthias Mair
0d1ab4e75a
feat(backend): Add user profile ( #9116 )
...
* Add user profile
* fix choice set
* ensure primary_group is valid
* add missing migrations
* fix tests
* merge migrations
* add migration test
* add new model to ruleset
* ensure changed to the m2m conenction also validate primary grups
* move signals
* fix import?
* patch user language through
* use set methods correctly
* bump api
* refactoring to make debugging and extending easier
* fix dum recurrsion problem
* fix user pk lookup
* rename migration
* add user and group page
* cleanup
* add hoverCard for user / owner / group render
* include owner_model in owner responses
* move user serializers to users
* add profile to list
* add brief serializer for profiles
* ensure profile is present in most apis
* extend rendered data
* store and observe langauge in profile
* reduce unneeded complexity
* enable access to full profle (including internal fields) in me serializer
* move theme to a single object
* persist theme settings
* fix radius lookup
* remove debug message
* fix filter
* remove unused field
* remove image fields
* add setting to control showing profiles
* fix settings
* update test
* fix theme reload
* Add contact UI
* Add profile edit screen
* fix test
* Add testing for user theme panel
* fix var name
* complete coverage of theme
* Add test for new pages
* make test more reliable in strict mode
* remove step
* fix ref
* add verbose names
* fix used setting
* extend tests
* fix permissions
* fix lookup
* use lookup to enuse ursls stay valid
* update migrations
* Add position field
* fix permissions
2025-03-04 22:57:20 +11:00
Oliver
8bca48dbdd
Remove quick actions ( #9222 )
...
* Remove placeholder components
- No function
- Cleanup for 1.0.0
* Remove Placeholder.tsx
2025-03-04 17:54:36 +11:00
Oliver
8cee2e36ca
[UI] Table Update ( #9220 )
...
- Retain user selection for pageSize
2025-03-03 19:09:42 +11:00
Oliver
6c52f00c16
Call machine func ( #9191 )
...
* Force label printing to background worker
* Refactor "check_reload" state of machine registry
- In line with plugin registry
- More work can be done here (i.e. session caching)
* Better handling of call_plugin_function
* Wrapper for calling machine function
* Use AttributeError instead
* Simplify function offloading
* Check plugin registry hash when reloading machine registry
* Cleanup
* Fixes
* Adjust unit test
* Cleanup
* Allow running in foreground if background worker not running
* Simplify call structure
2025-02-28 21:07:56 +11:00
Oliver
92a9423c21
Remove restriction on row action ( #9201 )
2025-02-28 16:43:25 +11:00
Michael
0da9391568
Add part full name to supplier part table ( #9197 )
2025-02-27 23:17:43 +11:00
Oliver
28259a1ad6
Add loading indicator for custom panels ( #9194 )
2025-02-27 15:25:56 +11:00
Oliver
92edbf41ab
Add 'note' field to form ( #9186 )
2025-02-26 13:56:28 +11:00
Oliver
94c2157d3c
Handle case of null stock location ( #9183 )
2025-02-26 09:26:11 +11:00
Oliver
df60b1bc22
Allow reload of stock table if multiple new items are created ( #9178 )
2025-02-25 21:37:43 +11:00
Matthias Mair
89c5148873
Revert "remove need for hard coded token ( #9136 )" ( #9177 )
...
This reverts commit 9f236f5ce9866513354a9e5e138507a9d7151b09.
2025-02-25 09:44:14 +00:00
Matthias Mair
9f236f5ce9
remove need for hard coded token ( #9136 )
2025-02-25 09:22:35 +11:00
Matthias Mair
991b578c30
refactor(frontend): Auth component refactor ( #9121 )
...
* https://github.com/inventree/InvenTree/pull/6293
* refactor to a shared component
* refactoring container stuff to a wrapper
* move title to wrapper
* move logoff and loader to wrapper
* mvoe functions to general auth
* seperate login and register into seperate pages
* unify auth styling
* rename component
* adapt to new look
* check if registration is enabled
* reduce diff
* reduce diff
* fix import
* add aria label to make more reliable
* make cap match
* ensure that confirm only works with valid inputs
* leave error for non-matching pwd to API
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-02-25 07:04:16 +11:00
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
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
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 00bb6c5274ee673948280ec084831edfa40ec3de.
* 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
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
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
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
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
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