2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-27 19:16:44 +00:00

16201 Commits

Author SHA1 Message Date
github-actions[bot]
3b6b41976f
Fix for data import (#9060) (#9065)
- Prevent shadow overwrite of default_values dict
- Remove dead code

(cherry picked from commit 7049e84ac3bb07bb476a4307bb29d5edaee40dd3)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
0.17.6
2025-02-12 07:31:16 +11:00
Oliver
407ccb7bd2
[Backport] Update supported postgres-cli version to 15 (#9042)
* Update supported postgres-cli version to 15

* Update docs
2025-02-07 13:58:40 +11:00
Oliver
d7ed114e2c
Adjust playwright testing (#9043)
* Adjust playwright testing

- Backporting critical playwright changes

* Fix for test

* Remove problematic test
2025-02-07 12:49:00 +11:00
Matthias Mair
c7a0265794
feat(backend): Improve error with missing manifest (#8957) (#9036)
* 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

(cherry picked from commit bbeaf0e791dadcfdc77aef9ce1242d5043d1e680)

# Conflicts:
#	docs/docs/faq.md

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-02-05 13:55:04 +11:00
Oliver
5bc56c826a
Update version.py (#9019)
Bump version number

Co-authored-by: Matthias Mair <code@mjmair.com>
2025-02-05 12:52:56 +11:00
github-actions[bot]
1b42c00747
Enhance creation of default settings (#9028) (#9029)
- Remove cache requirement
- Replaces https://github.com/inventree/InvenTree/pull/9021

(cherry picked from commit 445fa45394ff843c638ebab474618735a564714f)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-02-04 23:04:01 +11:00
github-actions[bot]
0f9bddbcd2
Report bugfix (#9013) (#9014)
- Ensure default label templates exist
- Ensure default report templates exist

(cherry picked from commit 2a6434ead89443b075adf48d12afd21fbb47443b)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
0.17.5
2025-02-03 08:03:59 +11:00
github-actions[bot]
b0fc42d906
Debounce checkLoginState to prevent unexpected redirection during testing (#9012) (#9016)
(cherry picked from commit e93b9692a1c149f6caca84291dba5be067f5b539)

Co-authored-by: Dean <me@dgardiner.net>
2025-02-03 08:03:40 +11:00
github-actions[bot]
993849813f
Select first and only pending shipment for sales order barcode allocation (#8984) (#8986)
(cherry picked from commit ede30cec7a507aab9c063fc44ab5d9e70ec902d6)

Co-authored-by: Dean <me@dgardiner.net>
2025-01-29 22:35:51 +11:00
github-actions[bot]
453c726d1e
Fix for chart rendering (#8981) (#8982)
- Graphs like numbers, not strings, I guess...

(cherry picked from commit 0c56a3132ba7a739f2d8401fa472376ae622c7ea)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-01-29 17:43:33 +11:00
Oliver
b6ca9ec6a4
Update version.py
Bump version number to 0.17.5
2025-01-28 20:04:50 +11:00
Oliver
de431b8e3d
Update version.py (#8964)
Bump version number to 0.17.4
0.17.4
2025-01-28 19:52:48 +11:00
Oliver
918adfb67f
Update docker build workflow (#8971)
* Update docker build workflow

- Use depot action
- Much faster builds

* Remove # noqa strings
2025-01-28 19:05:49 +11:00
github-actions[bot]
c89fe44fea
SalesOrder migration unit test (#8814) (#8961)
* 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>
(cherry picked from commit a13f5681a1a65eec9a59892cd53fc6d929703996)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
0.17.3
2025-01-27 22:54:12 +11:00
github-actions[bot]
8baafed49f
Add check for minimum invoke version (#8952) (#8954)
(cherry picked from commit d5928f038dd00efb583bad5b38db945601517d32)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-01-26 11:49:50 +11:00
github-actions[bot]
abddfb0b04
Docs updates: (#8951) (#8953)
* Docs updates:

- Fix error related to key access
- Fix rendering of settings tables
- Add setting key as mouseover text

* Revert config

(cherry picked from commit 640d5852e479f411120c2ec876e7476d30bc8337)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-01-26 11:26:23 +11:00
github-actions[bot]
4a3035ec85
Plugin reload fix (#8922) (#8936)
* Add option to disable auto-reload of dev server

* Force plugin reload

* Add unit testing for plugin reload

- Requires modifications to registry.py

(cherry picked from commit 8e8b7158b7d59c02123c5f8391f6c8d851e8d478)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-01-22 17:01:34 +11:00
github-actions[bot]
0ebcff1a16
Include location detail in build output table (#8923) (#8927)
* Include location detail in build output table

* Raise validation error if trying to split an in-production item

(cherry picked from commit 68d3620bb2c0f6444d168ad3ee7779f21e9f4bc0)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-01-21 01:47:56 +11:00
github-actions[bot]
ee06e466ca
Import fix (#8924) (#8926)
* Exclude "tags" fields from data import

- May reintroduce at a later date
- Currently, no support for editing tags in frontend

* Refactor

(cherry picked from commit 2575c7276c8b00f02d9d231f4679b357dd7807ec)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-01-21 01:34:34 +11:00
github-actions[bot]
7140ea8f43
Allow CORS for /plugin/ URLs (#8898) (#8900)
- Ref: https://github.com/inventree/inventree-order-history/issues/17#issuecomment-2591275055

(cherry picked from commit 5de65891c387490f6c272e9a9ee71b078dc31e5d)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-01-15 18:03:30 +11:00
github-actions[bot]
a0d6ae2a54
fix(plugin): Ensure plugins are only installed if not deactivated (#8893) (#8901)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
(cherry picked from commit fbe2131fa51bb0f002a410881bed25225981c3c6)

Co-authored-by: Matthias Mair <code@mjmair.com>
2025-01-15 15:01:41 +11:00
github-actions[bot]
74d8fe688e
Upload timeout (#8895) (#8899)
* 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

(cherry picked from commit c7e960728d38c6929cd72a5c4e0c4e64344f1856)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-01-15 14:46:32 +11:00
Oliver
99f9a3271b
Ignore RTD version check (#8884)
* Ignore RTD version check

- Handled internally by readthedocs

* Add link ignore
2025-01-12 13:56:05 +11:00
github-actions[bot]
295318ad18
Add Serbian to LanguageContext.tsx (#8880) (#8881) is
(cherry picked from commit c75630d1bd74c524a16be5c074d1ed5e82d69a80)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-01-12 10:17:05 +11:00
Oliver
c26f5bd74f
Update version.py (#8859)
Bump version number to 0.17.3
2025-01-08 13:16:59 +11:00
Oliver
4b564929d2
Extended error handling for get_user_color_theme (#8854) 0.17.2 2025-01-07 23:53:10 +11:00
github-actions[bot]
8576fbbade
Ensure error is raised (#8849) (#8850)
(cherry picked from commit 3a62bdd2762e36bb22dd06edc3eacc626a4feff3)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-01-07 17:31:59 +11:00
github-actions[bot]
6045925ebe
Order creation fix (#8846) (#8847)
* Bug fix for PurchaseOrder

- Correctly record the user who created a PO
- Code refactoring

* Updated unit tests

(cherry picked from commit dcf0bb103e9181800baea229e3269ef76be871a0)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-01-07 15:03:18 +11:00
github-actions[bot]
3715c42fed
Fix for test results in stock item report context (#8843) (#8844)
- Allow for "cascade" installed items
- i.e. support multi-level installed items

(cherry picked from commit 94f7890a4150c3d8da0e53faa3ab938e05ff5943)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-01-07 10:40:08 +11:00
github-actions[bot]
4c6e3490c0
Navigate to index when deleting a company (#8831) (#8833)
(cherry picked from commit ae1f9bf2741f844d1efe1d602b76f86f486ed48d)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-01-05 22:51:55 +11:00
github-actions[bot]
91c095a011
Fix for buggy Caddyfile (#8830) (#8832)
(cherry picked from commit decccf8163102137a4b2074e27933e9068c5db9c)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-01-05 22:33:22 +11:00
github-actions[bot]
d42e3087a8
Fix package install in envs using python lower than 3.12 on debian like OSs (#8793) (#8813)
* do not install with uv for now - fixes #8789
#8742 #8495 #8494

* Ensure errors are raised if install / update fails

(cherry picked from commit d7939efaa907fc3a716e28c6e165eb062f603ca4)

Co-authored-by: Matthias Mair <code@mjmair.com>
2025-01-01 10:32:16 +11:00
github-actions[bot]
4f7a12bd70
Allow barcode linking for stock location (#8802) (#8810)
(cherry picked from commit 16e97293089d6926658904cd2255c0efc7137ef7)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-12-31 16:01:15 +11:00
github-actions[bot]
5048c1d667
Update .env file (#8799) (#8808)
* Update .env file

- No functional changes
- Improved file comments

* Update .env

Improved comment

(cherry picked from commit 74cd0b9aed1a6e8c381c7e5022b4b61869d9dae0)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-12-31 14:50:33 +11:00
github-actions[bot]
0a522709b1
Add FAQ on cookie setting change (#8805) (#8807)
(cherry picked from commit 741994430156ca34e4871b8510e07e2bb51b238e)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-12-31 14:44:10 +11:00
github-actions[bot]
c32362456b
Add documentation on transferring media files (#8803) (#8806)
(cherry picked from commit c917c64aa18f82ae20b4440c4fec664674eb900d)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-12-31 14:43:54 +11:00
github-actions[bot]
4d07a49dfd
Caddyfile documentation (#8798) (#8800)
* basic mixin file

* Add basic check for model type support

* Enhanced documentation for Caddyfile

* Additional documentation around proxy server

* Remove code from other PR

(cherry picked from commit ecc1c937ed5ea91058cb87c09dc2f8f58a77f84a)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-12-31 13:47:07 +11:00
github-actions[bot]
ef5fd93207
[Setup] Support X-Forwarded-Proto header (#8790) (#8797)
* 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

(cherry picked from commit 23e4f2f2a23ec0e17c392187ddc351711d434011)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-12-31 12:50:51 +11:00
github-actions[bot]
df7204a334
[Docs] Update FAQ (#8777) (#8778)
* Update FAQ

* Add links to FAQ

* Extra info

* Extend documentation for debug options

(cherry picked from commit b0ce67fcd7f20dbd5ba2a8369dda36d91d1d0436)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-12-27 19:13:56 +11:00
Oliver
a70382ac7a
Update version.py (#8776)
Bump version number to 0.17.2
2024-12-27 14:32:26 +11:00
github-actions[bot]
eed6223187
Fix default value for SESSION_COOKIE_SECURE (#8767) (#8769)
- Default value was previously 'True'
- Documentation indicated that it was 'False'
- Value in config_template.yaml was 'False' (but commented out)

(cherry picked from commit d4ee8c53b21143bdf151010ebb3d3e27e1c3fb09)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
0.17.1
2024-12-26 22:40:26 +11:00
github-actions[bot]
cab7a06146
Zero stock fix (#8766) (#8768)
* Change backend validation

- Allow stock adjustments with zero quantity

* Frontend changes

(cherry picked from commit ae7f4e33d52f671584e9e99fc2b486f55f831edc)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-12-26 11:26:04 +11:00
Matthias Mair
40245a6c4a
[0.17.x] Fix REST registration endpoint (#8738) (#8763)
* 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

* fix merge issues

* fix merge from https://github.com/inventree/InvenTree/pull/8724
2024-12-25 11:38:02 +11:00
github-actions[bot]
3cb806d20a
Handle error when loading icon pack (#8753) (#8755)
* Handle error when loading icon pack

* Update

(cherry picked from commit 8fcebefa0b26deb8c9d63b68d4f4a1b1b10e65fe)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-12-24 10:29:24 +11:00
github-actions[bot]
8f1bf95463
Add separate dialog for 'Ship Order' button (#8734) (#8735)
(cherry picked from commit 0bcad6b340fc393cd63bf29c13cfd2427685ccaa)

Co-authored-by: Joe Rogers <1337joe@users.noreply.github.com>
2024-12-22 16:12:57 +11:00
github-actions[bot]
4019dc9c9c
Forms fixes (#8722) (#8729)
* 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

(cherry picked from commit aabcf52cd26a15c8338d47c8337d2587d8c2d37e)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-12-20 15:52:06 +11:00
github-actions[bot]
70f17997eb
[UI] Link fix (#8726) (#8728)
- Fixes anchor issues in stock tracking table

(cherry picked from commit 68ac4118e97c73d21a93aad208f770da1e93a94f)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-12-20 12:28:49 +11:00
github-actions[bot]
2d773a7b3e
Badge fix (#8725) (#8727)
- Fix badge rendering for SalesOrderShipment

(cherry picked from commit 130bc84b4452db4e479477faf8b04b80a6b8e15c)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-12-20 12:21:42 +11:00
Oliver
39211ff4b6
Fix MFA auth flow (#8720) (#8724)
* Re-add html account base
Fixes #8690

* fix base template

Co-authored-by: Matthias Mair <code@mjmair.com>
2024-12-20 09:12:14 +11:00
github-actions[bot]
e37ff5c3d5
[UI] Enhanced null checks (#8706) (#8711)
* Extra null check in SettingList.tsx

* Null checks on error responses

(cherry picked from commit 378d69f0b36db3a35b65857a10cf9f56f64eda85)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-12-19 01:01:51 +11:00