Matthias
|
62236474e2
|
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2519
|
2022-01-12 00:12:32 +01:00 |
|
Oliver
|
2255619b40
|
Merge pull request #2534 from SchrodingersGat/plugin-enable
Plugin enable
|
2022-01-12 09:49:52 +11:00 |
|
Oliver
|
4f79904fc8
|
Ignore events from 'webhook' tables
|
2022-01-11 15:02:32 +11: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
|
f53e66d4c3
|
Rename registry to make it clearer
|
2022-01-11 01:00:41 +01:00 |
|
Oliver
|
4ae86c8c14
|
Reject triggered events when running special commands
|
2022-01-10 20:12:43 +11:00 |
|
Oliver
|
0a40c253a5
|
Do not fire events for some tables
|
2022-01-10 19:56:43 +11:00 |
|
Oliver
|
1243923944
|
Event refactoring
|
2022-01-10 17:28:44 +11:00 |
|
Oliver
|
886b1f1d72
|
Simplify event triggering
- add generic receivers for database actions
- exclude django_q tables, otherwise we get an infinite loop!
Ref: https://stackoverflow.com/questions/17507784/consolidating-multiple-post-save-signals-with-one-receiver/32230933#32230933
|
2022-01-10 17:24:53 +11:00 |
|
Oliver
|
e891e0a2b9
|
typo fix
|
2022-01-09 23:02:24 +11: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 |
|
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
|
a604d85f0f
|
Move events.py to the plugin app
|
2022-01-07 22:35:54 +11:00 |
|