Commit Graph

357 Commits

Author SHA1 Message Date
Matthias ca07c5f12c
imports are not tested 2022-02-13 05:16:29 +01:00
Oliver aeb8967473 PEP fixes 2022-02-03 16:06:00 +11:00
Oliver 78b1c7a22b Skips some specific steps when importing data
- We need to prevent certain operations from running when we are importing data
- This is to prevent unique database constraints from being violated

- Do not register plugins during data import
- Do not launch notification events
2022-02-03 16:03:46 +11:00
Matthias ae667df14a
add migration 2022-01-28 23:58:12 +01:00
Matthias 116369bba1
fix indent 2022-01-21 00:31:03 +01:00
Matthias c44565f9e3
fix reused builtins 2022-01-21 00:17:52 +01:00
Matthias 21125eb892
add docstring 2022-01-20 23:55:07 +01:00
Matthias 3d2113d98b
make simpler 2022-01-20 23:53:50 +01:00
Matthias db66546606
rename to not shadow builtin 2022-01-20 23:49:21 +01:00
Oliver eb21e1f844 Display "boolean" plugin setting values as checkboxes 2022-01-13 16:22:38 +11:00
Oliver 3fb77f466c PEP fixes 2022-01-13 11:00:33 +11:00
Oliver ae016730f8 Fix - needs a global function to schedule 2022-01-13 10:53:33 +11:00
Oliver 519a1009ab Fix: wrap args in quotes 2022-01-13 10:47:37 +11:00
Oliver 934de1f772 Adds the ability for 'scheduled tasks' to be member functions of plugins 2022-01-13 10:24:47 +11:00
Matthias 8690326a8f
PEP fix 2022-01-12 01:04:25 +01:00
Matthias 678b89e093
consolidate helpers 2022-01-12 00:59:09 +01:00
Matthias 3dab1ab736
remove unneeded branches 2022-01-12 00:56:18 +01:00
Matthias 4f74ae3fce
readd import 2022-01-12 00:22:06 +01:00
Matthias 62236474e2
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2519 2022-01-12 00:12:32 +01:00
Matthias 164ee5fa5c
fix reference 2022-01-12 00:08:58 +01:00
Oliver 2255619b40
Merge pull request #2534 from SchrodingersGat/plugin-enable
Plugin enable
2022-01-12 09:49:52 +11:00
Oliver 4f79904fc8 Ignore events from 'webhook' tables 2022-01-11 15:02:32 +11:00
Oliver 8aec055e6c Only load plugins if PLUGINS_ENABLED is true
- Hide plugin settings
- Add plugin support status to "stats" dialog
2022-01-11 13:39:47 +11:00
Matthias db197a98b6
PEP fix 2022-01-11 01:51:19 +01:00
Matthias cd9e9a367b
PEP fix 2022-01-11 01:49:42 +01:00
Matthias a31ff85c89
rename to make clearer 2022-01-11 01:45:20 +01:00
Matthias 7c51d0e399
PEP fix 2022-01-11 01:44:55 +01:00
Matthias 2a7ad93173
move invenTreePlugin to new class
to enable depreceation
2022-01-11 01:41:33 +01:00
Matthias 86142856f7
PEP fixes 2022-01-11 01:25:21 +01:00
Matthias 0f7c277e69
docstrings 2022-01-11 01:19:03 +01:00
Matthias d215af45f1
simplify code 2022-01-11 01:18:51 +01:00
Matthias fa6a20712f
docstring 2022-01-11 01:13:52 +01:00
Matthias 9b02e3bdb7
reafactor 2022-01-11 01:13:36 +01:00
Matthias 9bb6bb294c
rename 2022-01-11 01:12:50 +01:00
Matthias 67a501f438
rename 2022-01-11 01:12:19 +01:00
Matthias 56772ccd02
docstring fix 2022-01-11 01:10:59 +01:00
Matthias 5424ee38e7
rename to makr internal functions as internal so 2022-01-11 01:10:34 +01:00
Matthias 0b9a6a1123
registry reanme fix 2022-01-11 01:09:04 +01:00
Matthias 9601811827
docstrings 2022-01-11 01:08:51 +01:00
Matthias f612f57992
make registration simpler 2022-01-11 01:08:35 +01:00
Matthias 3ff4ed67c3
docstrings 2022-01-11 01:08:09 +01:00
Matthias 3ae84617d0
change default values for plugin hadler 2022-01-11 01:01:51 +01:00
Matthias f53e66d4c3
Rename registry to make it clearer 2022-01-11 01:00:41 +01:00
Matthias 0283214034
add custom errors for plugin 2022-01-11 00:43:18 +01:00
Matthias dd2547e117
readd spaces 2022-01-11 00:32:56 +01:00
Matthias c3d7a26f5d
readd api call (dont know how that happened) 2022-01-11 00:30:17 +01:00
Matthias 588936f6f4
PEP fix 2022-01-10 23:53:34 +01:00
Matthias e08c87e49f
Merge branch 'matmair/issue2519' of https://github.com/matmair/InvenTree into matmair/issue2519 2022-01-10 23:52:00 +01:00
Matthias 3b6e31cd35
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2519 2022-01-10 23:48:43 +01:00
Oliver fde2b03172 Merge remote-tracking branch 'inventree/master' into triggers
# Conflicts:
#	InvenTree/plugin/mixins/__init__.py
2022-01-10 20:34:42 +11:00