Matthias
890a5cd1e6
rollback testing dsaveguards and add docs
2022-05-19 01:43:28 +02:00
Matthias
51cd038f04
jump over if static dir does not exsist
2022-05-18 23:31:44 +02:00
Oliver
c51f052f25
Merge pull request #3011 from matmair/matmair/issue2996
...
Remove python 2 code
2022-05-17 00:51:31 +10:00
Matthias
ecccfbd546
Remove encoding header
...
Fixes #2996
2022-05-15 20:33:00 +02:00
Matthias
8b9c80d2a4
remove todo that is not fitting any more
2022-05-15 17:55:05 +02:00
Matthias
47673c293e
Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-app-refactor
2022-05-12 23:45:12 +02:00
Oliver
c4fa72e54c
PEP style fixes
2022-05-12 17:30:52 +10:00
Oliver
a81ea01e8e
Model introspection
...
- Find the class registered to the model (or log an error)
- Pass the api_url through to the frontend
2022-05-12 17:28:55 +10:00
Oliver
e112d555d4
Simplify the various settings objects, to improve retrieval of 'parameters' from the base class
...
- Remove the GenericReferencedSettingsClass mixin
- Each subclass defines a very simple get_kwargs() method
- Now, at object level *and* class level we can perform lookup of settings and actually get proper data back
- Adds "model" option to setting (precursor of things to come)
2022-05-12 16:45:27 +10:00
Matthias
f17ef4585c
fix wrong import
2022-05-11 16:18:32 +02:00
Matthias
1571b99ed2
rename IntegrationPluginBase to InvenTreePlugin
2022-05-11 14:28:26 +02:00
Matthias
01e8b5dce3
remove InvenTreePluginBase
2022-05-11 14:21:16 +02:00
Oliver Walters
037e057c53
Adds global setting to enable or disable webcam support for barcode scanning
2022-05-09 19:46:11 +10:00
Matthias
fe4b264ae1
Fix user check
2022-05-06 00:11:26 +02:00
Matthias Mair
4125803e6d
Merge branch 'inventree:master' into matmair/issue2385
2022-05-02 21:50:52 +02:00
Matthias
de6507e918
update translation commands
2022-05-01 22:03:49 +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
0f8f9f3e5e
Add unit test for integer settings with validator
2022-05-01 22:21:57 +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
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
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
c7329da7e0
move settings
2022-04-02 03:03: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
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
Oliver
c082cec3ee
Merge pull request #2748 from matmair/matmair/issue2524
...
Run plugin install on startup
2022-03-21 07:15:37 +11:00
Oliver Walters
d2969d0235
Adds a per-user setting to allow sending of emails for notification events
2022-03-20 19:19:42 +11:00
Matthias Mair
1e57bdcfba
Merge branch 'inventree:master' into matmair/issue2279
2022-03-16 15:15:46 +01:00
Matthias Mair
91464ad3d0
Merge branch 'inventree:master' into matmair/issue2524
2022-03-16 15:15:27 +01:00
Matthias
8f10ef817c
add setting for reload
2022-03-16 14:47:27 +01:00
Matthias Mair
4100834ce9
Merge branch 'inventree:master' into matmair/issue2279
2022-03-14 23:14:29 +01:00
Matthias
b88a6ccdb5
test default value with as_int and fix it
2022-03-12 03:35:20 +01:00
Oliver
dd5cda281e
Merge pull request #2727 from SchrodingersGat/build-allocation-load-speed
...
Bug fixes for build output creation
2022-03-09 13:46:56 +11:00
Oliver
39e8b2af0f
Allow setting to be checked without being created
...
- Prevents crash when trying to load exported dataset
2022-03-09 12:43:27 +11:00
Matthias Mair
56e6783556
Merge branch 'inventree:master' into matmair/issue2279
2022-03-01 20:14:25 +01:00