2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 11:10:54 +00:00
Commit Graph

665 Commits

Author SHA1 Message Date
f765f0f083 should not be reached 2022-02-13 23:52:50 +01:00
43a05dfcb4 return cov from feature only used for debug 2022-02-13 23:50:18 +01:00
25bcf2c438 make git log call simpler 2022-02-13 23:49:59 +01:00
32614e55b5 remove dead code 2022-02-13 23:49:43 +01:00
c5e9e933f0 remove cov from not used feature 2022-02-13 23:49:26 +01:00
241101cee6 remove coverage that is not reachable 2022-02-13 23:48:48 +01:00
ad41957127 database not ready events are hard to reproduce consistently 2022-02-13 17:39:17 +01:00
fe65f92df0 app not ready can not be simulated by tests 2022-02-13 17:34:05 +01:00
ca07c5f12c imports are not tested 2022-02-13 05:16:29 +01:00
aeb8967473 PEP fixes 2022-02-03 16:06:00 +11:00
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
ae667df14a add migration 2022-01-28 23:58:12 +01:00
116369bba1 fix indent 2022-01-21 00:31:03 +01:00
c44565f9e3 fix reused builtins 2022-01-21 00:17:52 +01:00
21125eb892 add docstring 2022-01-20 23:55:07 +01:00
3d2113d98b make simpler 2022-01-20 23:53:50 +01:00
db66546606 rename to not shadow builtin 2022-01-20 23:49:21 +01:00
eb21e1f844 Display "boolean" plugin setting values as checkboxes 2022-01-13 16:22:38 +11:00
3fb77f466c PEP fixes 2022-01-13 11:00:33 +11:00
ae016730f8 Fix - needs a global function to schedule 2022-01-13 10:53:33 +11:00
519a1009ab Fix: wrap args in quotes 2022-01-13 10:47:37 +11:00
934de1f772 Adds the ability for 'scheduled tasks' to be member functions of plugins 2022-01-13 10:24:47 +11:00
8690326a8f PEP fix 2022-01-12 01:04:25 +01:00
678b89e093 consolidate helpers 2022-01-12 00:59:09 +01:00
3dab1ab736 remove unneeded branches 2022-01-12 00:56:18 +01:00
4f74ae3fce readd import 2022-01-12 00:22:06 +01:00
62236474e2 Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2519 2022-01-12 00:12:32 +01:00
164ee5fa5c fix reference 2022-01-12 00:08:58 +01:00
2255619b40 Merge pull request #2534 from SchrodingersGat/plugin-enable
Plugin enable
2022-01-12 09:49:52 +11:00
4f79904fc8 Ignore events from 'webhook' tables 2022-01-11 15:02:32 +11:00
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
db197a98b6 PEP fix 2022-01-11 01:51:19 +01:00
cd9e9a367b PEP fix 2022-01-11 01:49:42 +01:00
a31ff85c89 rename to make clearer 2022-01-11 01:45:20 +01:00
7c51d0e399 PEP fix 2022-01-11 01:44:55 +01:00
2a7ad93173 move invenTreePlugin to new class
to enable depreceation
2022-01-11 01:41:33 +01:00
86142856f7 PEP fixes 2022-01-11 01:25:21 +01:00
0f7c277e69 docstrings 2022-01-11 01:19:03 +01:00
d215af45f1 simplify code 2022-01-11 01:18:51 +01:00
fa6a20712f docstring 2022-01-11 01:13:52 +01:00
9b02e3bdb7 reafactor 2022-01-11 01:13:36 +01:00
9bb6bb294c rename 2022-01-11 01:12:50 +01:00
67a501f438 rename 2022-01-11 01:12:19 +01:00
56772ccd02 docstring fix 2022-01-11 01:10:59 +01:00
5424ee38e7 rename to makr internal functions as internal so 2022-01-11 01:10:34 +01:00
0b9a6a1123 registry reanme fix 2022-01-11 01:09:04 +01:00
9601811827 docstrings 2022-01-11 01:08:51 +01:00
f612f57992 make registration simpler 2022-01-11 01:08:35 +01:00
3ff4ed67c3 docstrings 2022-01-11 01:08:09 +01:00
3ae84617d0 change default values for plugin hadler 2022-01-11 01:01:51 +01:00