Commit Graph

1178 Commits

Author SHA1 Message Date
Matthias Mair d94a521e5c
simplify urls 2025-01-12 15:43:19 +01:00
Matthias Mair cf6eb26c1d
re-add settings 2025-01-12 15:43:05 +01:00
Matthias Mair b6c4b9923a
fix api version 2025-01-12 15:33:18 +01:00
Matthias Mair 95d3a954c2
add type 2025-01-12 15:05:18 +01:00
Matthias Mair d6ef1d9c04
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue6281 2025-01-12 14:47:40 +01: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
Matthias Mair 77bcaeb068
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue6281 2025-01-12 04:58:35 +01:00
Matthias Mair 6fe06b536f
add mfa add and remove screens 2025-01-12 04:58:22 +01: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
Matthias Mair 72f89eaf15
clean up urls even more 2025-01-10 03:31:37 +01:00
Matthias Mair 56137d268b
fix nesting issue 2025-01-10 03:16:16 +01:00
Matthias Mair fc09af58b1
refactor and rephrasing 2025-01-10 03:09:47 +01:00
Matthias Mair bf82c4c269
simplify 2025-01-10 02:52:28 +01:00
Matthias Mair 5661b93910
align names with allauth 2025-01-10 02:52:05 +01:00
Matthias Mair ec6ee2cbed
fix asserts 2025-01-09 20:06:56 +01:00
Matthias Mair 6f6829d650
adjust tests 2025-01-09 01:49:19 +01:00
Matthias Mair d619cc1135
re-implement password change 2025-01-09 01:43:08 +01:00
Matthias Mair 1a876a7f6b
enable registration for now 2025-01-09 00:52:33 +01:00
Matthias Mair 8ad07c49d5
re-implement registrations 2025-01-09 00:52:14 +01:00
Matthias Mair 31e25eb50b
re-enable registration tests 2025-01-09 00:10:17 +01:00
Matthias Mair af4f0a48ed
move buildin token test 2025-01-08 23:09:38 +01:00
Matthias Mair 6fad126e21
rewrite url structure 2025-01-08 22:58:28 +01:00
Matthias Mair b5223dedf1
more exclusions 2025-01-08 22:46:04 +01:00
Matthias Mair f0dc4a030e
fix tests 2025-01-08 22:44:56 +01:00
Matthias Mair 6624dbf6c0
reduce templates to the raw basics 2025-01-08 22:25:52 +01:00
Matthias Mair da918b7f18
fix remove sso provider account action; provider (user) admin stuff is done 2025-01-08 21:58:25 +01:00
Matthias Mair 4b6ab95b4c
add mfa table 2025-01-08 21:03:31 +01:00
Matthias Mair 29694d27c8
change name to ensure 1p can detect field 2025-01-08 20:50:37 +01:00
Matthias Mair cb8779a082
fix login redirect logic 2025-01-08 20:41:53 +01:00
Matthias Mair f84ce83e8f
remove ui preference - there is no decision anymore 2025-01-08 20:07:28 +01:00
Matthias Mair 1191d1cd82
remove old urls 2025-01-08 20:04:55 +01:00
Matthias Mair a00f090a87
remove x-session, not needed anymore 2025-01-08 20:03:42 +01:00
Matthias Mair 7ef84c87a2
update api version 2025-01-08 19:56:33 +01:00
Matthias Mair 2eea51a9f1
add todo's 2025-01-08 19:55:19 +01:00
Matthias Mair d482b3677f
switch to browser based sessions 2025-01-08 13:55:20 +01:00
Matthias Mair ea940e8c58
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue6281 2025-01-08 08:03:18 +01: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
Matthias Mair 18fdfc9b22
make calls more robust 2025-01-08 00:10:28 +01: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
Matthias Mair e19c2e1c62
simplify calls 2025-01-07 23:34:45 +01: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
Matthias Mair 2e6ba4de91
implement more provider stuff 2025-01-07 16:56:43 +01: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