2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-03 12:10:59 +00:00
Commit Graph

373 Commits

Author SHA1 Message Date
b87f44dbfc skip css if not available 2022-05-20 00:10:41 +02:00
890a5cd1e6 rollback testing dsaveguards and add docs 2022-05-19 01:43:28 +02:00
51cd038f04 jump over if static dir does not exsist 2022-05-18 23:31:44 +02:00
276075ce05 PEP styling 2022-05-19 00:33:03 +10:00
2cf67ea0c9 Create default shipment in backend 2022-05-19 00:10:55 +10:00
c51f052f25 Merge pull request #3011 from matmair/matmair/issue2996
Remove python 2 code
2022-05-17 00:51:31 +10:00
ecccfbd546 Remove encoding header
Fixes #2996
2022-05-15 20:33:00 +02:00
8b9c80d2a4 remove todo that is not fitting any more 2022-05-15 17:55:05 +02:00
47673c293e Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-app-refactor 2022-05-12 23:45:12 +02:00
c4fa72e54c PEP style fixes 2022-05-12 17:30:52 +10:00
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
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
f17ef4585c fix wrong import 2022-05-11 16:18:32 +02:00
1571b99ed2 rename IntegrationPluginBase to InvenTreePlugin 2022-05-11 14:28:26 +02:00
01e8b5dce3 remove InvenTreePluginBase 2022-05-11 14:21:16 +02:00
037e057c53 Adds global setting to enable or disable webcam support for barcode scanning 2022-05-09 19:46:11 +10:00
fe4b264ae1 Fix user check 2022-05-06 00:11:26 +02:00
4125803e6d Merge branch 'inventree:master' into matmair/issue2385 2022-05-02 21:50:52 +02:00
de6507e918 update translation commands 2022-05-01 22:03:49 +02:00
526571c062 Prevent recursion 2022-05-01 22:50:56 +10:00
e3c3ed28da PEP fixes 2022-05-01 22:46:50 +10:00
d72efc3757 Small tweaks
- Factor out native_value property (not needed!)
- PEP fixes
2022-05-01 22:30:24 +10:00
0f8f9f3e5e Add unit test for integer settings with validator 2022-05-01 22:21:57 +10:00
eabe082f0a Add unit tests for boolean user settings (via the API) 2022-05-01 20:23:50 +10:00
75fa0bed26 Render "native value" in serializer 2022-05-01 20:13:58 +10:00
5d4972d981 Convert settings to 'native' values before running callable valiators 2022-05-01 19:46:17 +10:00
37e74074dd Merge branch 'inventree:master' into matmair/issue2385 2022-04-27 17:46:57 +02:00
6c23c94700 Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2301 2022-04-27 13:13:04 +02:00
3f92f009e4 Add configurable setting for batch code generation 2022-04-26 20:00:06 +10:00
f1f6c9ff66 remove InvenTree from settings texts 2022-04-24 15:25:34 +02:00
1127bf2497 make it possible to resitrict the about modal 2022-04-24 01:02:41 +02:00
01fcc728ad PEP fixes 2022-04-05 00:34:30 +02:00
dc7b88515e rename class to make it clearer 2022-04-05 00:27:13 +02:00
d634afad48 move to common/models 2022-04-05 00:24:55 +02:00
1eb511e8a0 user notification settings 2022-04-04 23:46:19 +02:00
c7329da7e0 move settings 2022-04-02 03:03:41 +02:00
4c6ad6facf Other changes as requested 2022-03-30 12:42:57 +11:00
a551bf1e81 Add options to control what is shown in search preview window 2022-03-29 23:27:25 +11:00
b62905d5c4 Add user setting to enable / disable label printing 2022-03-28 20:38:57 +11:00
bc48a95844 PEP fixes 2022-03-25 14:13:02 +11:00
5ee9af7f0e Remove old "get_filters" function
- It was confusing!
- Manually filter where required
2022-03-25 14:10:05 +11:00
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
27b55eb8f8 Merge pull request #2764 from SchrodingersGat/notification-settings
Notification settings
2022-03-21 09:29:38 +11:00
c082cec3ee Merge pull request #2748 from matmair/matmair/issue2524
Run plugin install on startup
2022-03-21 07:15:37 +11:00
d2969d0235 Adds a per-user setting to allow sending of emails for notification events 2022-03-20 19:19:42 +11:00
1e57bdcfba Merge branch 'inventree:master' into matmair/issue2279 2022-03-16 15:15:46 +01:00
91464ad3d0 Merge branch 'inventree:master' into matmair/issue2524 2022-03-16 15:15:27 +01:00
8f10ef817c add setting for reload 2022-03-16 14:47:27 +01:00
4100834ce9 Merge branch 'inventree:master' into matmair/issue2279 2022-03-14 23:14:29 +01:00
b88a6ccdb5 test default value with as_int and fix it 2022-03-12 03:35:20 +01:00