2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-12 14:50:54 +00:00
Commit Graph

641 Commits

Author SHA1 Message Date
Matthias
640242eca3 Add tests for plugin installs form url with pkgn 2022-05-15 01:32:52 +02:00
Matthias
1cb51d1782 Do not cover custom install dirs 2022-05-15 01:29:50 +02:00
Matthias
76f92003fd Fix assertation 2022-05-15 01:15:00 +02:00
Matthias
6660069f45 add docs 2022-05-15 01:10:46 +02:00
Matthias
39543555af Add test for call_funciton 2022-05-15 01:10:23 +02:00
Matthias
43179bbfd5 remove coverage where it does not make sense 2022-05-15 01:07:50 +02:00
Matthias
47673c293e Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-app-refactor 2022-05-12 23:45:12 +02:00
Oliver
a81ea01e8e Model introspection
- Find the class registered to the model (or log an error)
- Pass the api_url through to the frontend
2022-05-12 17:28:55 +10:00
Oliver
e112d555d4 Simplify the various settings objects, to improve retrieval of 'parameters' from the base class
- Remove the GenericReferencedSettingsClass mixin
- Each subclass defines a very simple get_kwargs() method
- Now, at object level *and* class level we can perform lookup of settings and actually get proper data back
- Adds "model" option to setting (precursor of things to come)
2022-05-12 16:45:27 +10:00
Matthias
3d580e732f change test to slug 2022-05-12 00:51:02 +02:00
Matthias
eaab905bfd reset plugin name default 2022-05-12 00:50:29 +02:00
Matthias
bd42fea5fa another pep check 2022-05-12 00:07:19 +02:00
Matthias
699db12b24 make test more precise 2022-05-12 00:04:37 +02:00
Matthias
a6e889b25e pep fix 2022-05-12 00:04:29 +02:00
Matthias
c809398bda Add check for IntegrationPluginBase depreciation 2022-05-12 00:01:23 +02:00
Matthias
da3b7ae7d0 fix assertation typ 2022-05-11 23:57:21 +02:00
Matthias
c274228806 fix test 2022-05-11 23:46:41 +02:00
Matthias
8becad3c0a reset zero behaviour 2022-05-11 23:45:45 +02:00
Matthias
c462399fef check if depreciation fires 2022-05-11 23:45:17 +02:00
Matthias
2c83728f71 also check message 2022-05-11 23:27:42 +02:00
Matthias
f8e51c0873 fix test 2022-05-11 23:21:42 +02:00
Matthias
912d0625f0 PEP fix 2022-05-11 23:12:27 +02:00
Matthias
432a9b2e4d add warning if plugin testing - is need to probe for 2022-05-11 23:12:21 +02:00
Matthias
4397f57acc test that a save() action on a plugin is reloading 2022-05-11 23:11:54 +02:00
Matthias
baca0dc268 do not cover error 2022-05-11 23:05:22 +02:00
Matthias
8a91fc362b test plugin model more 2022-05-11 23:05:08 +02:00
Matthias
da885456b7 tests for template 2022-05-11 22:47:41 +02:00
Matthias
50156466db fix title asks 2022-05-11 17:51:23 +02:00
Matthias
d794890264 fix assertations 2022-05-11 17:38:42 +02:00
Matthias
5cb4f0e73d PEP fix 2022-05-11 16:57:23 +02:00
Matthias
272d2f79cc patch mixin 2022-05-11 16:55:38 +02:00
Matthias
175066ba19 rename functions 2022-05-11 16:51:50 +02:00
Matthias
37f72e9652 remove integration naming from docs 2022-05-11 16:50:36 +02:00
Matthias
1782974df8 replace depreceated values everywhere 2022-05-11 16:46:03 +02:00
Matthias
81deb8201e new references for Meta values in plugin
depreceate old values - add depreeation warning
2022-05-11 16:35:38 +02:00
Matthias
5de6cc0d11 remove double def 2022-05-11 14:58:29 +02:00
Matthias
e8c9d71360 Adapt docs 2022-05-11 14:55:45 +02:00
Matthias
b1b1db29b9 restructure 2022-05-11 14:54:11 +02:00
Matthias
9eadcce0eb move mixins 2022-05-11 14:48:36 +02:00
Matthias
355695c679 make MixinBase betterfor init 2022-05-11 14:47:00 +02:00
Matthias
f76dcdeb82 move properties to meta 2022-05-11 14:45:45 +02:00
Matthias
dfb11cca1d Add legacy 2022-05-11 14:40:00 +02:00
Matthias
1571b99ed2 rename IntegrationPluginBase to InvenTreePlugin 2022-05-11 14:28:26 +02:00
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