2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 20:45:44 +00:00
Commit Graph

589 Commits

Author SHA1 Message Date
001ddf2cee adjust urls 2025-01-20 21:58:06 +01:00
510361f30c Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue6281 2025-01-20 21:16:14 +01:00
f602c439ca Fix docstring for Build model (#8928) 2025-01-21 01:56:57 +11:00
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
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
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
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
67d89b549f change settings order 2025-01-19 23:57:25 +01:00
2e8b1e7fd1 Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue6281 2025-01-19 21:56:54 +01:00
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
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
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
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
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
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
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
d413d11428 bump api version 2025-01-13 23:08:53 +01:00
4b412f5716 add setting for configuring types 2025-01-13 23:08:24 +01:00
5a07f48c14 Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue6281 2025-01-13 08:16:42 +01:00
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
d94a521e5c simplify urls 2025-01-12 15:43:19 +01:00
cf6eb26c1d re-add settings 2025-01-12 15:43:05 +01:00
b6c4b9923a fix api version 2025-01-12 15:33:18 +01:00
77bcaeb068 Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue6281 2025-01-12 04:58:35 +01:00
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
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
c99aae5a28 Updated docstring (#8868) 2025-01-10 18:10:42 +11:00
72f89eaf15 clean up urls even more 2025-01-10 03:31:37 +01:00
31e25eb50b re-enable registration tests 2025-01-09 00:10:17 +01:00
af4f0a48ed move buildin token test 2025-01-08 23:09:38 +01:00
6fad126e21 rewrite url structure 2025-01-08 22:58:28 +01:00
6624dbf6c0 reduce templates to the raw basics 2025-01-08 22:25:52 +01:00
cb8779a082 fix login redirect logic 2025-01-08 20:41:53 +01:00
f84ce83e8f remove ui preference - there is no decision anymore 2025-01-08 20:07:28 +01:00
1191d1cd82 remove old urls 2025-01-08 20:04:55 +01:00
a00f090a87 remove x-session, not needed anymore 2025-01-08 20:03:42 +01:00
7ef84c87a2 update api version 2025-01-08 19:56:33 +01:00
d482b3677f switch to browser based sessions 2025-01-08 13:55:20 +01:00
ea940e8c58 Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue6281 2025-01-08 08:03:18 +01:00
dcff7a5ccd Simplify translated string (#8860) 2025-01-08 12:55:56 +11:00
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
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
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
2e6ba4de91 implement more provider stuff 2025-01-07 16:56:43 +01:00
3a62bdd276 Ensure error is raised (#8849) 2025-01-07 17:07:07 +11:00
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
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
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
40cff05864 Tasks cleanup (#8838)
* Pretty print and typo fix

* Improved output

* Improve logging
2025-01-06 10:06:38 +11:00
6b5e0dbb29 remove structlog from internal paths (#8836) 2025-01-06 07:28:28 +11:00