Oliver
|
934de1f772
|
Adds the ability for 'scheduled tasks' to be member functions of plugins
|
2022-01-13 10:24:47 +11: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 |
|
Oliver
|
8aec055e6c
|
Only load plugins if PLUGINS_ENABLED is true
- Hide plugin settings
- Add plugin support status to "stats" dialog
|
2022-01-11 13:39:47 +11:00 |
|
Matthias
|
9bb6bb294c
|
rename
|
2022-01-11 01:12:50 +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
|
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
|
632632c8ad
|
fix lookup function
|
2022-01-10 01:28:44 +01:00 |
|
Matthias
|
bb559deb5d
|
add docstrings
|
2022-01-10 01:00:45 +01:00 |
|
Matthias
|
bcb0f62e42
|
remove old loading mechanism
|
2022-01-10 00:59:24 +01:00 |
|
Oliver
|
3731d688c9
|
Refactor behaviour of "event" mixin:
- Trigger a new background task for each plugin
- Call plugin.process_event
- Plugin class can then decide what to do with the particular event
|
2022-01-09 22:52:28 +11:00 |
|
Oliver
|
04d25a60b0
|
Adds sample plugin which responds to triggered events
- Adds some example trigger events for the "Part" model
|
2022-01-08 09:07:27 +11: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 |
|
Matthias
|
0974ebb5cd
|
shield plugin package load
|
2022-01-07 01:10:44 +01:00 |
|
Oliver
|
ac849c1566
|
Fixes for unit tests
|
2022-01-04 21:36:27 +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
|
7cb029e7c3
|
Refactor: Rename "GLOBAL_SETTINGS" to "SETTINGS"
|
2022-01-01 22:43:35 +11:00 |
|
Oliver
|
4b4d4be13e
|
Registry name fixes
|
2021-12-31 14:28:16 +11:00 |
|
Matthias
|
e6ad22ec15
|
fix plugin urlpattern patching
|
2021-12-10 01:34:47 +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
|
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
|
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
|
be5289ba0f
|
break on database error
|
2021-11-21 00:53:04 +01:00 |
|
Matthias
|
ad76812622
|
PEP fix
|
2021-11-20 23:24:03 +01:00 |
|