Oliver
|
fde2b03172
|
Merge remote-tracking branch 'inventree/master' into triggers
# Conflicts:
# InvenTree/plugin/mixins/__init__.py
|
2022-01-10 20:34:42 +11:00 |
|
Matthias Mair
|
2bc4d57ffa
|
remove double code
|
2022-01-10 02:49:34 +01:00 |
|
Matthias
|
8088bf28fe
|
refactor ActionPlugin to use mixin
|
2022-01-10 00:40:19 +01:00 |
|
Matthias
|
e889f487f0
|
added a check for the required constants
|
2022-01-09 22:27:50 +01:00 |
|
Oliver
|
d765be8c73
|
Iterate through plugins in a separate background task
|
2022-01-09 22:58:59 +11: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 |
|
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
|
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 |
|
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 |
|
Oliver
|
63eb49777a
|
Add mixin class to respond to internal events
|
2022-01-07 22:29:19 +11: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
|
3eb1fa32f9
|
Scheduled tasks get registered for the background worker
|
2022-01-07 16:51:00 +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
|
8103b84268
|
Move mixins.py into main plugin directory
|
2022-01-07 14:23:32 +11: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
|
737467a1fd
|
Rename "has_globalsettings" -> "has_settings"
|
2022-01-01 23:14:34 +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
|
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 |
|
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
|
8a2a06955f
|
small fixes
|
2021-11-20 15:49:02 +01:00 |
|
Matthias
|
e5d0380356
|
PEP fixes
finishes work for #2318
|
2021-11-18 16:35:16 +01:00 |
|
Matthias
|
000adb357d
|
refactor plugin urls into plugin dir
|
2021-11-18 12:50:22 +01:00 |
|
Matthias
|
40cf7869d3
|
refactor mixin locations
|
2021-11-16 00:40:49 +01:00 |
|
Matthias
|
cf0c8ec2ea
|
remove builtin integrations
|
2021-11-04 03:44:48 +01:00 |
|
Matthias
|
8a56e70dfd
|
create empty integration builtin
|
2021-10-09 00:22:55 +02:00 |
|