2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-01 04:56:45 +00:00

270 Commits

Author SHA1 Message Date
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
220bf0db3a
Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-install 2022-01-07 08:57:04 +01:00
Oliver Walters
8efd45f0ad log warning message if db not ready 2022-01-07 18:00:38 +11:00
Oliver Walters
668e2bfcd5 Further error catching 2022-01-07 17:20:57 +11:00
Oliver Walters
103dfaa2a5 try/catch for operational error
- Database might not yet be ready to load models
2022-01-07 17:11:53 +11:00
Oliver Walters
c04e07c1fa Add a task which fails on purpose 2022-01-07 17:04:33 +11:00
Oliver Walters
36feef6558 Remove log message if not relevent 2022-01-07 16:53:51 +11:00
Oliver Walters
3eb1fa32f9 Scheduled tasks get registered for the background worker 2022-01-07 16:51:00 +11:00
Oliver Walters
0ab9b2dbc7 Bug fix - always allow plugins to register settings 2022-01-07 15:42:20 +11:00
Oliver Walters
794a9e75e8 Add validation for scheduled tasks defined by a plugin 2022-01-07 15:37:43 +11:00
Oliver Walters
326b897d14 Revert "Move mixins.py into main plugin directory"
This reverts commit 8103b842689c7430dcde809a3ecdd238d3ea4f6e.
2022-01-07 14:54:12 +11:00
Oliver Walters
0773545615 Add "ScheduleMixin" for scheduling tasks 2022-01-07 14:54:04 +11:00
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
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