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

15747 Commits

Author SHA1 Message Date
Oliver
e0756a7006
Fix requirements.txt (#8598)
* Fix requirements.txt

* Fix

* Adjust unit test

* Add link to ignore
0.16.9
2024-11-30 15:18:25 +11:00
Oliver Walters
14f35fef2b Update requirements files 2024-11-30 00:22:36 +00:00
Oliver Walters
44c1046a43 Remove regex import from helpers.py
Ref: https://github.com/inventree/InvenTree/pull/8547
2024-11-30 00:22:17 +00:00
github-actions[bot]
d0b87a1a12
Bug fix: record shipment date (#8580) (#8581)
* Bug fix: record shipment date

- Ref: https://github.com/inventree/InvenTree/pull/6449

* Update unit test

(cherry picked from commit db128f93221c1715b921960f0bf6b870dcec9edf)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-11-28 16:00:00 +11:00
github-actions[bot]
a4894d9f4a
after_save_stock_item (#8546) (#8548)
This pull request addresses the issue discussed in #8452

(cherry picked from commit ee9980e481382133efe3a79ff6c3e38c7f6e9f02)

Co-authored-by: Volker <skydiablo@gmx.net>
2024-11-25 22:04:12 +11:00
github-actions[bot]
884851733a
Add info on --skip-backup (#8541) (#8542)
(cherry picked from commit f6124fc4a13b35466342246ff06f8f3e8c80a4c5)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-11-24 15:52:25 +11:00
github-actions[bot]
847322e474
UI link fix (#8508) (#8509)
* Add tags to test if CUI or PUI are enabled

* Fix PUI redirect

(cherry picked from commit 6bf6733268566e9c8810dc60049e453b108f0c53)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-11-18 11:39:10 +11:00
Oliver
e56d013e2e
Update version.py
Bump version number to 0.16.9
2024-11-16 16:18:00 +11:00
github-actions[bot]
8c13ccf59e
Env var docs (#8499) (#8500)
- Add example for specifying a list value
- Closes https://github.com/inventree/InvenTree/issues/8410

(cherry picked from commit 88bb06e75aa080f3d221ada41c0c877c44cada8d)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-11-16 16:17:08 +11:00
github-actions[bot]
dca5fd69ec
Update faq.md (#8489) (#8490)
(cherry picked from commit ac63b101979bf93e9f6a16b68ff602c186a721f5)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-11-15 22:56:19 +11:00
github-actions[bot]
dce95d824a
Improve handling for raw github repo links (#8483) (#8484)
* Improve handling for raw github repo links

* Fix strict mode

(cherry picked from commit b1a5b1a3bb8ca6e9ee6ca047e73bf75d288a840f)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-11-14 16:10:27 +11:00
Oliver
f23d405392
Update version.py (#8443)
Bump version number to 0.16.8
0.16.8
2024-11-07 13:29:37 +11:00
Oliver
3fe04747d7
narrw scope of cleanup (#8441) (#8442)
Co-authored-by: Matthias Mair <code@mjmair.com>
2024-11-07 13:29:28 +11:00
github-actions[bot]
8ff4eddeb9
Update docker_install.md (#8387) (#8388)
(cherry picked from commit 178f939e42f42235be653d6df092eee4d0994409)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
0.16.7
2024-10-29 11:37:05 +11:00
Oliver
de2edc4ed6
Samesite fix (#8390)
* Fix for migratoin

* Fix for COOKIE_MODE

- Update to match master

* Fix default value in config template

- samesite = false, not none

* Remove conflicting migration

- Should not have back-ported this from master branch
- Will not cause any serious issues, was a "nice to have" data migration
2024-10-29 10:17:41 +11:00
github-actions[bot]
343f63c6ba
[Bug] Ensure links are prepended with base URL on receipt (#8367) (#8370)
* Ensure links are prepended with base URL on receipt

* Bug fix

(cherry picked from commit 3253a4a93c61c405da6c5d62ddd80bf74579e4c2)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-10-26 12:49:16 +11:00
Oliver
2bccbffe56
Update version.py (#8364)
Bump version number to 0.16.7
2024-10-26 12:19:40 +11:00
Oliver
5af0e50b79
Bug fix for attachment updating (#8362)
-  Closes https://github.com/inventree/InvenTree/issues/8354
0.16.6
2024-10-25 20:20:23 +11:00
github-actions[bot]
0ae9cdd39f
Notifications fix (#8360) (#8361)
* Fix for app loading

- Allow collection for background worker too

* Improved logging

* Refactor MethodStorageClass

- Cache methods more intelligently
- Re-collect if null

(cherry picked from commit 331692bb46ad52f0f862a465ca558ad1433a96be)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-10-25 18:02:43 +11:00
github-actions[bot]
7babef098a
Add "active" field to SupplierPart form (#8341) (#8342)
- Previously missing from legacy interface

(cherry picked from commit 295f733ed9060caf3f945a63efeb1056a8542339)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-10-23 13:07:08 +11:00
github-actions[bot]
fab846e3cc
Markdown link fix (#8328) (#8329)
* Improve cleaning of markdown content

* Update unit test with new check

(cherry picked from commit cb0248d15944544d66b5b047b905275d76954a00)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-10-22 13:17:04 +11:00
github-actions[bot]
d485c6796b
Add documentation about user management (#8321) (#8322)
(cherry picked from commit e219b7c914824c704c6e8de7487663c44c5db266)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-10-21 10:24:59 +11:00
github-actions[bot]
5c94366bb5
Clear allocations when manually returning an item into stock from a customer (#8298) (#8300)
(cherry picked from commit 181e1dd9ccfc393276152738354905ab2fdd5b6c)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-10-16 18:39:11 +11:00
github-actions[bot]
cebad3d142
[CUI] Fix rendering issues for barcodes (#8286) (#8288)
- Prevent barcode data from being "escaped"
- Run through bleach to brevent malicious data injection

(cherry picked from commit b1d9a2392884edc6135a247022d74792cb993b78)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-10-15 17:28:40 +11:00
github-actions[bot]
3659bbe389
Fix bug in merge_stock_items (#8284) (#8285)
- self() -> self

(cherry picked from commit 14d92b872733436b7e601c6f106f2dfaafacbc99)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-10-15 14:22:49 +11:00
Oliver
933a5a5595
Fix for COOKIE_MODE in settings.py (#8268)
- Backport of https://github.com/inventree/InvenTree/pull/8262
2024-10-10 09:51:48 +11:00
github-actions[bot]
6c0f6e38d0
fix part qr lable (#8255) (#8256)
(cherry picked from commit 560f57333c0aa20e82195252074a12d11b8ace40)

Co-authored-by: Volker <skydiablo@gmx.net>
2024-10-08 21:06:21 +11:00
Oliver
8c9a438e59
Update version.py (#8248) 2024-10-07 20:52:08 +11:00
Oliver
6e37f0cd8b
Markdown xss backport (#8244)
* Update helpers.py

* Update mixins.py

* format

* format

* Allow horizontal rule in markdown

* More instructive error msg

* Specify output_format to markdown.markdown

Ref: https://python-markdown.github.io/reference/markdown/serializers/

* Cleanup

* Adjust allowable markdown tags

* Add unit test for malicious markdown XSS

* Allow <pre> tag

---------

Co-authored-by: Matthias Mair <code@mjmair.com>
0.16.5
2024-10-07 20:03:39 +11:00
github-actions[bot]
1c6d25ce33
Fix build item over-allocation checks (#8235) (#8241)
(cherry picked from commit a1024f1a677391d70cc9227fdac6e523b9002425)

Co-authored-by: Dean <me@dgardiner.net>
2024-10-06 21:13:27 +11:00
Oliver
86111ad9b9
Merge commit from fork (#8229)
* Sanitize markdown when rendering notes fields

* Revert "Sanitize markdown when rendering notes fields"

This reverts commit 373ebfbef0ce25fa58cb4e635e99f35b5e4df07c.

* Mask error message when downloading image
2024-10-02 14:28:13 +10:00
Oliver
524e6ddf79
Update version.py (#8214)
Bump version number to 0.16.5
2024-09-30 10:36:24 +10:00
github-actions[bot]
83be1b8a0f
Path management improvements (#8210) (#8212)
- Improve path resolution for backup and restore commands
- Closes https://github.com/inventree/InvenTree/issues/8207

(cherry picked from commit 73a3e504a9821366a86f8c0cd521a94f283230bf)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
0.16.4
2024-09-30 10:34:38 +10:00
github-actions[bot]
974c2737af
Add exception handling for default template creatoin (#8209) (#8211)
(cherry picked from commit a71754b08623e17056a8415751aeb76da7deaf1e)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-09-30 10:19:36 +10:00
github-actions[bot]
0a0da7b65b
Exception handling for BulkDeleteMixin (#8205) (#8206)
* Exception handling for BulkDeleteMixin

* Fix unit test

(cherry picked from commit 33499d61bd522fb1fe24fb296fa09b361436574c)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-09-29 15:38:28 +10:00
Oliver
b12bd3bb4b
Ensure that stock item trees are rebuilt correctly after serialization (#8193)
- No idea how this has not been detected previously
2024-09-26 22:54:45 +10:00
Oliver
83be3cfa71
Increase timeout for report printing (#8187) 2024-09-26 09:48:37 +10:00
github-actions[bot]
fda47ff6ee
Fix typo (#8181) (#8182)
direction -> directory

(cherry picked from commit 0faa507a1430feb9ace45aba733d85d79c77e78f)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-09-25 12:07:45 +10:00
github-actions[bot]
69676f308b
Remove translation for logged warnings (#8173) (#8176)
(cherry picked from commit 8928bc127a4d9ed67baa1c68bb4eba9eccf9e8f9)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-09-24 21:52:31 +10:00
github-actions[bot]
178e3313f9
Enhance exception management (#8174) (#8175)
(cherry picked from commit 6d0353028fcfe17970772ae888a50c2e3980cd4b)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-09-24 21:52:03 +10:00
Oliver
b0353fafbf
Update version.py (#8158)
Bump version number to 0.16.4
2024-09-21 18:29:33 +10:00
github-actions[bot]
b0b05e479a
Ensure DBBACKUP_STORAGE_OPTIONS is a dict (#8153) (#8154)
(cherry picked from commit 0cd493e96e1bae4365d84959a6717dfce163363b)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
0.16.3
2024-09-21 07:34:55 +10:00
Oliver
003ea5de71
Improve logic for automatically updating part pricing (#8090) (#8122)
* Improve logic for automatically updating part pricing

* Simplify logic

* Update unit tests to ensure pricing flows upwards

* Unit test update

* Add unit tests for handling of "multi level" BOM pricing

* ADjust unit tests

* Improve efficiency of operation

* Adjust testing for pricing

- Only allow pricing updates in testing if TESTING_PRICING flag is set

* Tweak when pricing updates are performed

* More tweaks
2024-09-13 14:31:47 +10:00
github-actions[bot]
4e8c59cf2a
Fix image upload for company page (#8120) (#8123)
- Fixes https://github.com/inventree/InvenTree/issues/8111

(cherry picked from commit d4e67c0f0378cdf9730f68da8ceea1b091163d60)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-09-13 14:17:09 +10:00
Oliver
f42146bc0a
Update version.py (#8121)
Bump version to 0.16.3
2024-09-13 11:34:34 +10:00
Matthias Mair
065aca46cd
use uv for install (#8082) (#8095)
* use uv for install (#8082)

(cherry picked from commit 360171fac579904fc61fd34f40f0d886e878fd3f)

# Conflicts:
#	contrib/packager.io/functions.sh

* Update mlc_config.json
0.16.2
2024-09-10 10:17:42 +10:00
Matthias Mair
89be7f2699
[0.16.x] Packager: easier to parse debug messages (#8083) (#8096)
* Packager: easier to parse debug messages (#8083)

* Add new version to logging

* Add easier to search logging

* shorten appended string

* make migrations that run on fresh installs easier to read

(cherry picked from commit 3d9db2543db181f263db69746a91a7877ff00f9e)

# Conflicts:
#	contrib/packager.io/functions.sh
#	contrib/packager.io/preinstall.sh

* Update contributing.md
2024-09-09 20:17:13 +10:00
Oliver
d46505671f
Update version.py (#8036)
Bump version number to 0.16.2
2024-08-30 10:09:31 +10:00
github-actions[bot]
4c15e5c943
Fix package upgrade process (#8034) (#8035)
* ensure site_url is preserved

* check if clear-generated is available

(cherry picked from commit 3951b3f56ede34ae5fa0d46f21c4d8769275c2fd)

Co-authored-by: Matthias Mair <code@mjmair.com>
0.16.1
2024-08-30 09:15:40 +10:00
github-actions[bot]
e89cfd4958
Add extra undefined check for table filters (#8008) (#8014)
* Add extra undefined check for table filters

* Logic fix..

- Do not return early, this is mistake!
- Correctly handle empty activeFilter state

(cherry picked from commit 7d844e02be7af94a0e003113f0acaf448f2ec7bc)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-08-28 09:34:26 +10:00