2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-12 18:15:40 +00:00
Commit Graph

16202 Commits

Author SHA1 Message Date
eef1aad464 Update version.py (#9067)
Bump version number to 0.17.7
2025-02-12 17:14:45 +11:00
3b6b41976f Fix for data import (#9060) (#9065)
- Prevent shadow overwrite of default_values dict
- Remove dead code

(cherry picked from commit 7049e84ac3)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
0.17.6
2025-02-12 07:31:16 +11:00
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
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
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 bbeaf0e791)

# Conflicts:
#	docs/docs/faq.md

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

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

(cherry picked from commit 445fa45394)

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

(cherry picked from commit 2a6434ead8)

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

Co-authored-by: Dean <me@dgardiner.net>
2025-02-03 08:03:40 +11:00
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
453c726d1e Fix for chart rendering (#8981) (#8982)
- Graphs like numbers, not strings, I guess...

(cherry picked from commit 0c56a3132b)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-01-29 17:43:33 +11:00
b6ca9ec6a4 Update version.py
Bump version number to 0.17.5
2025-01-28 20:04:50 +11:00
de431b8e3d Update version.py (#8964)
Bump version number to 0.17.4
0.17.4
2025-01-28 19:52:48 +11:00
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
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 a13f5681a1)

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

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-01-26 11:49:50 +11:00
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 640d5852e4)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-01-26 11:26:23 +11:00
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 8e8b7158b7)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-01-22 17:01:34 +11:00
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 68d3620bb2)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-01-21 01:47:56 +11:00
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 2575c7276c)

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

(cherry picked from commit 5de65891c3)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-01-15 18:03:30 +11:00
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 fbe2131fa5)

Co-authored-by: Matthias Mair <code@mjmair.com>
2025-01-15 15:01:41 +11:00
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 c7e960728d)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-01-15 14:46:32 +11:00
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
295318ad18 Add Serbian to LanguageContext.tsx (#8880) (#8881) is
(cherry picked from commit c75630d1bd)

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

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-01-07 17:31:59 +11:00
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 dcf0bb103e)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-01-07 15:03:18 +11:00
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 94f7890a41)

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

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

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-01-05 22:33:22 +11:00
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 d7939efaa9)

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

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

- No functional changes
- Improved file comments

* Update .env

Improved comment

(cherry picked from commit 74cd0b9aed)

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

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

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-12-31 14:43:54 +11:00
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 ecc1c937ed)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-12-31 13:47:07 +11:00
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 23e4f2f2a2)

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

* Add links to FAQ

* Extra info

* Extend documentation for debug options

(cherry picked from commit b0ce67fcd7)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-12-27 19:13:56 +11:00
a70382ac7a Update version.py (#8776)
Bump version number to 0.17.2
2024-12-27 14:32:26 +11:00
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 d4ee8c53b2)

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

- Allow stock adjustments with zero quantity

* Frontend changes

(cherry picked from commit ae7f4e33d5)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-12-26 11:26:04 +11:00
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
3cb806d20a Handle error when loading icon pack (#8753) (#8755)
* Handle error when loading icon pack

* Update

(cherry picked from commit 8fcebefa0b)

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

Co-authored-by: Joe Rogers <1337joe@users.noreply.github.com>
2024-12-22 16:12:57 +11:00
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 aabcf52cd2)

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

(cherry picked from commit 68ac4118e9)

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

(cherry picked from commit 130bc84b44)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-12-20 12:21:42 +11:00
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