Commit Graph
100 Commits
Author SHA1 Message Date
Matthias f8c4470d98 make simpler 2022-01-20 23:51:42 +01:00
Matthias db66546606 rename to not shadow builtin 2022-01-20 23:49:21 +01:00
Matthias ef22b9fc1b remove unneeded assingments 2022-01-20 23:47:59 +01: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
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 208bcb7707 and remove actions again 2022-01-11 01:41:56 +01:00
Matthias 2a7ad93173 move invenTreePlugin to new class
to enable depreceation
2022-01-11 01:41:33 +01:00
Matthias 52d90cef46 fix path 2022-01-11 01:29:57 +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 a3410a30d5 also load nuiltin actions 2022-01-11 00:35:01 +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 0fecf3c0bc fix assingment 2022-01-10 23:50: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
Matthias 18cb676ce3 another PEP fix 2022-01-10 02:17:50 +01:00
Matthias 7d160039b1 PEP fixes 2022-01-10 02:15:58 +01:00
Matthias e80a71eb46 load plugins too 2022-01-10 02:10:24 +01:00
Matthias d03c636067 fix plugin init sequence 2022-01-10 02:10:08 +01:00
Matthias 632632c8ad fix lookup function 2022-01-10 01:28:44 +01:00
Matthias 20e712a287 update barcodes to use mixin 2022-01-10 01:23:48 +01:00
Matthias 4fc3e85a53 use new loading mechanism for barcodes too 2022-01-10 01:06:05 +01:00
Matthias 13ff94b6b2 remove dead code 2022-01-10 01:05:32 +01:00
Matthias bb559deb5d add docstrings 2022-01-10 01:00:45 +01:00
Matthias 6affc7550b add depreciation TODO 2022-01-10 01:00:12 +01:00
Matthias bcb0f62e42 remove old loading mechanism 2022-01-10 00:59:24 +01:00
Matthias 8088bf28fe refactor ActionPlugin to use mixin 2022-01-10 00:40:19 +01:00
Matthias 6af2267e3d fix test 2022-01-09 23:05:51 +01:00
Matthias bf7af8f72a cover another missing setting 2022-01-09 23:01:38 +01:00
Matthias afada6b759 test the url arg building 2022-01-09 22:56:14 +01:00
Matthias 2c05b858a4 renmae var 2022-01-09 22:34:02 +01:00
Matthias c8599039a2 added test for wrong config 2022-01-09 22:33:14 +01:00
Matthias e889f487f0 added a check for the required constants 2022-01-09 22:27:50 +01:00
Matthias 31d587a9b1 unittests fdor ApiCallMixin 2022-01-09 22:19:01 +01:00
Matthias c699ced34a make general mixin tests multi mixin enabled 2022-01-09 22:16:19 +01:00
Matthias ad9a9da656 PEP fix 2022-01-09 03:35:29 +01:00
Matthias f9742ab41d add integration test for plugin 2022-01-09 03:34:27 +01:00
Matthias cc8948c708 fix sample url 2022-01-09 03:34:08 +01:00
Matthias b48e9bcac9 fix settings call 2022-01-09 03:33:47 +01:00
Matthias ea8fd21af0 pip fix 2022-01-09 03:10:23 +01:00
Matthias ed193e9e90 docstring for plugin base import class 2022-01-09 03:04:00 +01:00
Matthias 61b21d1ec1 add sample for api caller 2022-01-09 03:03:05 +01:00
Matthias 19f2c44c2a change mixin name 2022-01-09 03:02:19 +01:00
Matthias 33ee7e53db append docstring 2022-01-09 03:01:50 +01:00
Matthias d939107d36 add example 2022-01-09 03:01:31 +01:00
Matthias 3aea1bb7ba made docstring clearer 2022-01-08 21:59:02 +01:00
Matthias f59b59401f refactor setting 2022-01-08 21:58:44 +01:00
Matthias 62394c4a82 small reformat 2022-01-08 21:54:42 +01:00
Matthias 3bc3e98ed1 Merge branch 'master' of https://github.com/inventree/InvenTree into api-mixin 2022-01-08 21:50:37 +01:00
Matthias 220bf0db3a Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-install 2022-01-07 08:57:04 +01:00
Matthias 0974ebb5cd shield plugin package load 2022-01-07 01:10:44 +01:00
Matthias edc648d619 write installd plugins to plugins.txt 2022-01-07 01:09:44 +01:00
Matthias ceed90217b restructuring 2022-01-07 01:03:05 +01:00
Matthias 95ee4f908f Merge branch 'master' of https://github.com/inventree/InvenTree into sn-append 2021-12-29 23:45:19 +01:00
Matthias f2c1fe1f95 damm vscode intellisense adding stuff I do not need 2021-12-29 16:16:20 +01:00
Matthias ed09d5015a better group handeling 2021-12-29 16:13:44 +01:00
Matthias 410c190ddf more docs 2021-12-29 15:53:23 +01:00
Matthias 972f93f6d8 always return a number 2021-12-29 15:53:04 +01:00
Matthias 624b16a419 fix pep style 2021-12-29 15:51:44 +01:00
Matthias 1eb9b395bc more complicated tests 2021-12-29 15:43:34 +01:00
Matthias b1188be019 fix test assertations 2021-12-29 15:34:03 +01:00
Matthias a745aa500e replace must be str 2021-12-29 03:02:43 +01:00
Matthias 2ec41b02f8 append information about next serial numbe to fnc call
Fixes #2484
2021-12-29 03:01:52 +01:00
Matthias 1d0aa900e8 add helper fnc to get latest SN as int 2021-12-29 02:50:23 +01:00
Matthias 771f3d6b7b add fnc for new matcher 2021-12-29 02:38:32 +01:00
Matthias 7ef0e7941e expand tests
TDD for the win?
2021-12-29 02:24:57 +01:00
Matthias 750e3297cc expand docstring 2021-12-29 02:24:13 +01:00
Matthias c9f0528dfc append api call 2021-12-29 02:24:00 +01:00
Matthias f8ce23217e simplify call 2021-12-29 02:22:10 +01:00
Matthias 0ee36b360d Merge branch 'master' of https://github.com/inventree/InvenTree into api-mixin 2021-12-15 00:22:34 +01:00
Matthias a2871ccb45 update database images before running 2021-12-13 18:40:24 +01:00
Matthias 251fdeb69e PEP fixes 2021-12-13 18:01:20 +01:00
Matthias 8e962c0c59 add mixin to consum a single API 2021-12-13 08:03:19 +01:00
Matthias 41302398e9 managment and invoke commands to remove mfa 2021-12-11 23:07:37 +01:00
Matthias 67b3c339b9 add back button to setup screen 2021-12-11 22:10:05 +01:00
Matthias e6ad22ec15 fix plugin urlpattern patching 2021-12-10 01:34:47 +01:00