2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-02 13:28:49 +00:00

353 Commits

Author SHA1 Message Date
Oliver Walters
8103b84268 Move mixins.py into main plugin directory 2022-01-07 14:23:32 +11: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
Oliver
ac849c1566 Fixes for unit tests 2022-01-04 21:36:27 +11:00
Oliver
928b90a833 Edit plugin settings via the "settings" display 2022-01-04 21:03:01 +11:00
Oliver
dc9e25ebad Adds API endpoints for viewing and updating plugin settings
A lot of code updates / refactoring here to get this to work as expected
2022-01-04 20:27:35 +11:00
Oliver
f3bfe6e7ca More refactoring:
- Rename "mixins_globalsettings" to "mixing_settings"
- Fix translation on settings page template
2022-01-02 11:22:05 +11:00
Oliver
737467a1fd Rename "has_globalsettings" -> "has_settings" 2022-01-01 23:14:34 +11:00
Oliver
7cb029e7c3 Refactor: Rename "GLOBAL_SETTINGS" to "SETTINGS" 2022-01-01 22:43:35 +11:00
Oliver
7f08c75a08 Add missing migration file 2022-01-01 22:00:58 +11:00
Oliver
547db3322f Adds new "PluginSetting" class
- Adds settings which are unique to a particular plugin
2022-01-01 22:00:43 +11:00
Oliver
9b468ba92e Second fix for the first fix 2021-12-31 15:20:32 +11:00
Oliver
78120bb020 Fixes for unit tests 2021-12-31 14:54:19 +11:00
Oliver
4b4d4be13e Registry name fixes 2021-12-31 14:28:16 +11:00
Oliver
02e0ea6e3a Rename "GlobalSettingsPlugin" -> "SettingsPlugin" 2021-12-31 14:25:22 +11:00
Oliver
e02a2cef1b Fixes unit test 2021-12-31 14:18:27 +11:00
Oliver
be3bb05edd Improve docstrings 2021-12-30 23:06:28 +11:00
Oliver
04820c894b getattr should look for "SETTINGS" and not "GLOBALSETTINGS" 2021-12-30 23:04:08 +11:00
Oliver
67d9d9413f Plugin code bug fix
- handle case where self.plugin is None
2021-12-30 22:58:11 +11: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
e6ad22ec15
fix plugin urlpattern patching 2021-12-10 01:34:47 +01:00
Matthias
529987bb17
remove unneeded Todo 2021-12-04 19:52:56 +01:00
Matthias
8fddf66618
remove unneeded TODO 2021-11-23 23:40:52 +01:00
Matthias
8236c51827
PEP fix 2021-11-23 18:42:41 +01:00
Matthias
aae0018a72
stop CI failing 2021-11-22 03:02:03 +01:00
Matthias
3050bb0703
higher retry threshold + better logging 2021-11-22 02:46:03 +01:00
Matthias
395573ca5b
do not trigger reload 2021-11-22 01:55:21 +01:00
Matthias
40dafb7fda
PEP fix 2021-11-22 01:36:37 +01:00
Matthias
1efdf16f92
only reload one 2021-11-22 01:30:04 +01:00
Matthias
3920108d83
do not reload whe currently loading 2021-11-22 01:28:36 +01:00
Matthias
d54bbf562b
remove redundant loggin 2021-11-22 01:06:12 +01:00
Matthias
4b98ea27ce
better format 2021-11-22 00:52:51 +01:00
Matthias
c496076505
check if file plugin was disabled 2021-11-22 00:52:42 +01:00
Matthias
38eaca1104
fix path prefixes 2021-11-22 00:48:46 +01:00
Matthias
e5d474fa0b
always set flag 2021-11-22 00:17:35 +01:00
Matthias
adc058c8b4
only reload once - even if forced 2021-11-22 00:17:04 +01:00
Matthias
a1b821bf78
just use the default failing mechanism 2021-11-22 00:16:43 +01:00
Matthias
c3e4a56021
always reset plugin modules on collection 2021-11-22 00:16:09 +01:00
Matthias
8e7c96626f
that statement is quite important 2021-11-21 23:57:45 +01:00
Matthias
f71b40e031
also handle errors on internal plugins 2021-11-21 23:51:36 +01:00
Matthias
2e28bb225f
fix broken integration plugin def 2021-11-21 23:50:54 +01:00
Matthias
87947c582d
always log error 2021-11-21 23:48:33 +01:00
Matthias
7782a22f38
make plugin init safe 2021-11-21 23:46:54 +01:00
Matthias
bd67285314
PEP fixes 2021-11-21 22:11:18 +01:00
Matthias
c828da284c
fix tests to really hit admin actions 2021-11-21 22:04:22 +01:00
Matthias
03e5279ec0
PEP fixes 2021-11-21 20:23:43 +01:00
Matthias
bafbebb634
test plugin save action 2021-11-21 20:22:44 +01:00
Matthias
75a8b88a92
now it should test 2021-11-21 20:14:17 +01:00