Commit Graph
100 Commits
Author SHA1 Message Date
Matthias 01e8b5dce3 remove InvenTreePluginBase 2022-05-11 14:21:16 +02:00
Matthias 05839ca94c remove legacy action 2022-05-11 14:20:05 +02:00
Matthias 19cfa540d9 add export definition 2022-05-11 14:06:11 +02:00
Matthias 538e5e6c21 rename shim 2022-05-11 14:03:24 +02:00
Matthias 1636459ccd move to use shim 2022-05-11 14:02:45 +02:00
Matthias 066eaa119d fix import 2022-05-11 14:01:29 +02:00
Matthias 3503ca4b4e move import back too 2022-05-11 13:54:08 +02:00
Matthias ffe546d647 Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-app-refactor 2022-05-11 13:52:36 +02:00
Matthias 7361a9637a move event back 2022-05-11 13:49:49 +02:00
Matthias 182ffd880a init directories 2022-05-11 13:46:07 +02:00
Matthias dd5f53d2ef PEP fix 2022-05-11 13:42:15 +02:00
Matthias 887609cf2a move import 2022-05-11 13:38:24 +02:00
Matthias 1098327ba9 move out templete renderer into helper 2022-05-11 13:32:29 +02:00
Matthias 970503f424 refactor events 2022-05-11 13:28:59 +02:00
Matthias 5a139ec74b make import simpler
the minimum version is 3.9
2022-05-11 13:19:24 +02:00
Matthias 9788419b0c remove unneeded import 2022-05-11 13:13:34 +02:00
Matthias 6ec3ec19a2 move parts to conform to general style 2022-05-11 13:11:27 +02:00
Matthias 51cca7a13c move apis to their respective bases 2022-05-11 13:10:29 +02:00
Matthias 499f37a97a PEP fix 2022-05-11 12:55:52 +02:00
Matthias 16a2328702 move tests to their functions 2022-05-11 12:55:04 +02:00
Matthias 934b795f9b split tests to functions tests 2022-05-11 12:54:01 +02:00
Matthias 4ae5ed36a7 fix imports 2022-05-11 12:53:31 +02:00
Matthias 1da12fe5ff add import comment 2022-05-11 12:45:40 +02:00
Matthias 18ad87433e move plugin and integration together 2022-05-11 12:45:25 +02:00
Matthias 87ef2a3382 remove old code 2022-05-11 12:41:08 +02:00
Matthias 34467003ad fix bacodeMixin base 2022-05-11 12:38:37 +02:00
Matthias 0d89959d49 move action 2022-05-11 12:38:14 +02:00
Matthias 308dd53c35 rename tests 2022-05-11 12:37:22 +02:00
Matthias b030c42480 move inegration mixins 2022-05-11 12:36:54 +02:00
Matthias b28f71374e move barcodes 2022-05-11 12:35:42 +02:00
Matthias 87fa2d2067 pep fix 2022-05-11 12:28:15 +02:00
Matthias eae80f667d remove all functional code from /plugins 2022-05-11 12:25:17 +02:00
Matthias 3c9e4e7eab make imports easier 2022-05-11 12:17:46 +02:00
Matthias f0d2730ae6 rename file to fit structure 2022-05-11 12:16:06 +02:00
Matthias 462713ca61 pep fix 2022-05-11 04:22:42 +02:00
Matthias b7087b83b5 Merge branch 'master' of https://github.com/inventree/InvenTree into add-report-check 2022-05-11 04:19:18 +02:00
Matthias fa8a726399 activate barcode tests 2022-05-11 04:08:26 +02:00
Matthias 9a69f125a9 move barcodes to plugin 2022-05-11 04:08:13 +02:00
Matthias 352e718e68 remove digikey barcode plugin 2022-05-11 04:03:30 +02:00
Matthias f620491517 add test for rendering label 2022-05-11 03:15:20 +02:00
Matthias a65d747501 add additional template 2022-05-11 03:05:40 +02:00
Matthias 67966eba13 Add code128 template 2022-05-10 23:56:02 +02:00
Matthias 688cb7469c fix usage of old html tags 2022-05-09 19:58:38 +02:00
Matthias 09ceada639 fix test assertation 2022-05-06 03:03:08 +02:00
Matthias 0d0b713f6e Fix tests 2022-05-06 02:26:58 +02:00
Matthias 2261e7a615 PEP fix 2022-05-06 02:20:38 +02:00
Matthias 33e3385830 fix assertations 2022-05-06 02:17:53 +02:00
Matthias 20d552f809 extend tag tests 2022-05-06 02:13:25 +02:00
Matthias 0eff4a4526 can not be covered in testing 2022-05-06 02:07:59 +02:00
Matthias baf7e4505e do not cover pacakge code - is not CI'd 2022-05-06 01:52:32 +02:00
Matthias 9a9a7e0ff4 also cover list API 2022-05-06 01:31:23 +02:00
Matthias a2331829c9 this can not happen with normal operation 2022-05-06 01:31:11 +02:00
Matthias d5c95f2225 only safety test - api is not callable as non-user 2022-05-06 01:29:16 +02:00
Matthias 8f220837d0 only log messages about notification methods 2022-05-06 01:25:22 +02:00
Matthias 2b1d4ba9c1 add test for plugin settings 2022-05-06 01:15:12 +02:00
Matthias 7f8d20da0f test _str 2022-05-06 01:12:22 +02:00
Matthias 1a70829f5c do not cover dev error catcher 2022-05-06 01:12:11 +02:00
Matthias a77382d0b5 sadd test for notification user settings 2022-05-06 01:04:00 +02:00
Matthias 50b17d6ae8 add mixin test 2022-05-06 01:03:11 +02:00
Matthias ccefaade92 Add args back in to serializer 2022-05-06 00:48:20 +02:00
Matthias 1676cb8eb8 fix error with anon connections and language check 2022-05-06 00:13:58 +02:00
Matthias 28b8e27698 Merge branch 'matmair/issue2385' of https://github.com/matmair/InvenTree into matmair/issue2385 2022-05-06 00:11:38 +02:00
Matthias fe4b264ae1 Fix user check 2022-05-06 00:11:26 +02:00
Matthias MairandGitHub a1016c746c Merge branch 'inventree:master' into so_fix_clean 2022-05-05 11:27:44 +02:00
Matthias MairandGitHub 6bd997ffad Merge branch 'inventree:master' into matmair/issue2385 2022-05-05 11:26:25 +02:00
Matthias 164a8acf33 make genericref simpler 2022-05-05 01:31:19 +02:00
Matthias 17127e914d PEP fix 2022-05-04 17:44:27 +02:00
Matthias 05d1f9703e Add nice repr for NotificationUserSetting 2022-05-04 17:42:45 +02:00
Matthias a27f8a427a Merge branch 'matmair/issue2385' of https://github.com/matmair/InvenTree into matmair/issue2385 2022-05-04 17:40:47 +02:00
Matthias cf986e557c make unloading safer 2022-05-04 17:40:44 +02:00
Matthias b16305afef add html for notification setting 2022-05-04 17:40:04 +02:00
Matthias 0ff407348d Add admin for NotificationUserSetting 2022-05-04 17:39:37 +02:00
Matthias 34855bbb37 add API endpoint for notifications 2022-05-04 17:38:50 +02:00
Matthias c684e7d5e0 Add generic serializer 2022-05-04 16:57:39 +02:00
Matthias df9ca599a2 use full names consistently 2022-05-04 15:18:36 +02:00
Matthias MairandGitHub a6bede877a Merge branch 'inventree:master' into matmair/issue2385 2022-05-04 15:11:56 +02:00
Matthias 055b9c9a46 remove duplicate endif 2022-05-04 13:57:35 +02:00
Matthias 19d3b03280 fix double endif 2022-05-04 13:10:49 +02:00
Matthias 5435cd28c9 redirect to index if company was deleted 2022-05-04 12:39:56 +02:00
Matthias 00dffd953b add messages if company was deleted 2022-05-04 12:39:12 +02:00
Matthias 1a3d482e42 Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2788 2022-05-04 12:33:21 +02:00
Matthias MairandGitHub cf93ba7cf9 Merge branch 'inventree:master' into matmair/issue2385 2022-05-04 12:23:05 +02:00
Matthias 8038cff874 ignore for coverage 2022-05-04 00:43:49 +02:00
Matthias 6504ef535a fix test - len needs to be recalculated 2022-05-03 23:23:36 +02:00
Matthias e1b395c9be test is_active 2022-05-03 23:19:51 +02:00
Matthias cf0cbff69a we are not covering packages right now 2022-05-03 23:19:01 +02:00
Matthias 5e277130fa do not cover not implemented Mixin 2022-05-03 23:07:16 +02:00
Matthias c5acfaf541 do not coverage catch for load 2022-05-03 23:06:57 +02:00
Matthias e95c3e0948 do not cover default returns 2022-05-03 23:06:38 +02:00
Matthias 1522d330fa add test for is_sample 2022-05-03 23:06:11 +02:00
Matthias 096c0c876c PEP fix 2022-05-03 22:58:24 +02:00
Matthias d49f74746a test that MixinImplementationErrors raise 2022-05-03 22:56:28 +02:00
Matthias 204b4fd527 rename test 2022-05-03 22:55:39 +02:00
Matthias 626e3838ae also cover errors 2022-05-03 22:15:24 +02:00
Matthias a357c4ef88 also cover unregistering 2022-05-03 22:13:29 +02:00
Matthias 08e278232b ignore db not ready in coverage 2022-05-03 22:12:34 +02:00
Matthias b9cbc287f2 empty mixin schaffold - no tests 2022-05-03 22:10:26 +02:00
Matthias 0a012c3c58 only possible in test cases with plugin_tests off 2022-05-03 22:09:58 +02:00
Matthias 4663815cfa this is just an extra safety check - should not trigger 2022-05-03 22:09:20 +02:00
Matthias 4e5015e742 do not cover unready db 2022-05-03 22:08:57 +02:00