Commit Graph

385 Commits

Author SHA1 Message Date
Matthias 3b642695a8
PEP fix 2022-03-13 21:11:06 +01:00
Matthias 5f9f5555b6
ignore depreciated function in coverage 2022-03-13 21:01:16 +01:00
Matthias 080ee2ea50
remove dead code 2022-03-13 20:58:40 +01:00
Matthias b1a3445338
ignore coverage for points that only gets reached by deadly broken plugins 2022-03-13 20:57:25 +01:00
Matthias a3d0dcb5bb
only applicable in mulithread enviroments 2022-03-13 20:56:36 +01:00
Matthias aee8ca1c78
do not cover safety functions for wrongly conf swarms 2022-03-13 20:56:16 +01:00
Matthias f2aeab09ec
should never be reached 2022-03-13 20:55:25 +01:00
Matthias 08d2e74521
do not cover disabled / debugging plugins cases 2022-03-13 20:55:11 +01:00
Matthias e0e87efb8c
do not cover old import 2022-03-13 20:53:49 +01:00
Matthias ba263187a5
optimise coverage 2022-02-28 00:35:36 +01:00
Matthias f80f960923
translate error message 2022-02-28 00:34:28 +01:00
Matthias f3f010c4be
write error if too old git 2022-02-28 00:34:02 +01:00
Matthias ca8df60d00
PEP fixes 2022-02-28 00:28:03 +01:00
Matthias 084f9d5444
make more readable 2022-02-28 00:23:55 +01:00
Matthias 1591597ef9
check if modern git is used 2022-02-28 00:23:46 +01:00
Matthias 8550915528
opimise coverage 2022-02-28 00:23:25 +01:00
Matthias bae290d605
check git version and safe for runtime 2022-02-28 00:17:21 +01:00
Matthias beb3bb38d4
spellcheck 2022-02-13 23:59:37 +01:00
Matthias 955f389d66
PEP fixes 2022-02-13 23:59:23 +01:00
Matthias 2335a8c316
add more plugin coverage 2022-02-13 23:58:49 +01:00
Matthias f765f0f083
should not be reached 2022-02-13 23:52:50 +01:00
Matthias 43a05dfcb4
return cov from feature only used for debug 2022-02-13 23:50:18 +01:00
Matthias 25bcf2c438
make git log call simpler 2022-02-13 23:49:59 +01:00
Matthias 32614e55b5
remove dead code 2022-02-13 23:49:43 +01:00
Matthias c5e9e933f0
remove cov from not used feature 2022-02-13 23:49:26 +01:00
Matthias 241101cee6
remove coverage that is not reachable 2022-02-13 23:48:48 +01:00
Matthias ad41957127
database not ready events are hard to reproduce consistently 2022-02-13 17:39:17 +01:00
Matthias fe65f92df0
app not ready can not be simulated by tests 2022-02-13 17:34:05 +01:00
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