2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-02 05:26:45 +00:00

768 Commits

Author SHA1 Message Date
Matthias Mair
e418a54c25 PEP fix 2022-05-01 21:48:45 +00:00
Matthias Mair
8490589fa9 check for only unique methods to be added 2022-05-01 21:46:31 +00:00
Matthias
de6507e918
update translation commands 2022-05-01 22:03:49 +02:00
Matthias
67ab45bdee
update depreciated paths 2022-05-01 22:00:18 +02:00
Matthias
d05472b30c
upgrade to pyhton 3.9 syntax
using pyupgrade
2022-05-01 21:53:12 +02:00
Oliver Walters
526571c062 Prevent recursion 2022-05-01 22:50:56 +10:00
Oliver Walters
e3c3ed28da PEP fixes 2022-05-01 22:46:50 +10:00
Oliver Walters
d72efc3757 Small tweaks
- Factor out native_value property (not needed!)
- PEP fixes
2022-05-01 22:30:24 +10:00
Oliver Walters
f794d91e5c Adds more unit tests for global settings objects 2022-05-01 22:26:51 +10:00
Oliver Walters
0f8f9f3e5e Add unit test for integer settings with validator 2022-05-01 22:21:57 +10:00
Oliver Walters
f972551246 Add unit test for multiple-choice setting type 2022-05-01 22:07:16 +10:00
Oliver Walters
eabe082f0a Add unit tests for boolean user settings (via the API) 2022-05-01 20:23:50 +10:00
Oliver Walters
75fa0bed26 Render "native value" in serializer 2022-05-01 20:13:58 +10:00
Oliver Walters
5d4972d981 Convert settings to 'native' values before running callable valiators 2022-05-01 19:46:17 +10:00
Matthias Mair
37e74074dd
Merge branch 'inventree:master' into matmair/issue2385 2022-04-27 17:46:57 +02:00
Matthias
6c23c94700
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2301 2022-04-27 13:13:04 +02:00
Oliver Walters
3f92f009e4 Add configurable setting for batch code generation 2022-04-26 20:00:06 +10:00
Matthias
f06a11e206
fix test 2022-04-24 16:17:47 +02:00
Matthias
f1f6c9ff66
remove InvenTree from settings texts 2022-04-24 15:25:34 +02:00
Matthias
1127bf2497
make it possible to resitrict the about modal 2022-04-24 01:02:41 +02:00
Matthias
ddcaecb11f
How did I miss this? 2022-04-07 23:39:05 +02:00
Matthias
4c1a0ea9ce
mkae user setting access simpler 2022-04-06 23:58:11 +02:00
Matthias
e1d261f989
pep fix 2022-04-05 23:47:26 +02:00
Matthias
77f5fa9360
pep fix 2022-04-05 23:45:35 +02:00
Matthias
f3aab952de
remove empty class 2022-04-05 23:43:50 +02:00
Matthias
47f9bd911a
add tests for notifications 2022-04-05 23:41:37 +02:00
Matthias
5f4c8b3a3e
add icon support for user settings 2022-04-05 01:53:41 +02:00
Matthias
5b9f84a90f
fix test 2022-04-05 01:30:12 +02:00
Matthias
785cdc5267
patch loading methods for selective loading 2022-04-05 01:29:19 +02:00
Matthias
32918348b9
fix docstrings 2022-04-05 00:55:53 +02:00
Matthias
01fcc728ad
PEP fixes 2022-04-05 00:34:30 +02:00
Matthias
dc7b88515e
rename class to make it clearer 2022-04-05 00:27:13 +02:00
Matthias
d634afad48
move to common/models 2022-04-05 00:24:55 +02:00
Matthias
1eb511e8a0
user notification settings 2022-04-04 23:46:19 +02:00
Matthias
2fee6b02db
structure comment 2022-04-03 03:48:27 +02:00
Matthias
905b164ecb
store methods on load 2022-04-03 03:47:48 +02:00
Matthias
926f56bb41
move plugins checks to method 2022-04-02 04:11:29 +02:00
Matthias
c7329da7e0
move settings 2022-04-02 03:03:41 +02:00
Matthias
e95cc7c699
only calculate excluded classes once 2022-04-02 02:57:40 +02:00
Matthias
40ff2f61aa
make comperator simpler to read 2022-04-02 02:52:35 +02:00
Matthias
f6aa9e4719
remove dead code 2022-04-02 02:46:55 +02:00
Matthias
279be87448
Move email notification method into plugin
Fixes #2385
2022-04-02 02:46:41 +02:00
Oliver Walters
4c6ad6facf Other changes as requested 2022-03-30 12:42:57 +11:00
Oliver Walters
a551bf1e81 Add options to control what is shown in search preview window 2022-03-29 23:27:25 +11:00
Oliver Walters
b62905d5c4 Add user setting to enable / disable label printing 2022-03-28 20:38:57 +11:00
Oliver
9046c74628 Only send printing failed as a UI notification 2022-03-25 16:05:35 +11:00
Oliver
bc48a95844 PEP fixes 2022-03-25 14:13:02 +11:00
Oliver
5ee9af7f0e Remove old "get_filters" function
- It was confusing!
- Manually filter where required
2022-03-25 14:10:05 +11:00
Oliver
63b5b95610 Ensure that kwargs are correctly passed through the settings chain
Problem: validate_unique fails

- Otherwise, the <plugin> object is not correctly passed
- Then, validate_unique fails
2022-03-25 13:43:19 +11:00
Oliver
27b55eb8f8
Merge pull request #2764 from SchrodingersGat/notification-settings
Notification settings
2022-03-21 09:29:38 +11:00