|
41ccacaa05
|
disable email by default
|
2022-04-05 00:56:13 +02:00 |
|
|
e3ca478042
|
PEP fix
|
2022-04-04 23:51:51 +02:00 |
|
|
1eb511e8a0
|
user notification settings
|
2022-04-04 23:46:19 +02:00 |
|
|
926f56bb41
|
move plugins checks to method
|
2022-04-02 04:11:29 +02:00 |
|
|
6a300ea24a
|
fix global settings check
|
2022-04-02 03:32:27 +02:00 |
|
|
6124b1207d
|
make setting global
|
2022-04-02 03:16:14 +02:00 |
|
|
c7329da7e0
|
move settings
|
2022-04-02 03:03:41 +02:00 |
|
|
279be87448
|
Move email notification method into plugin
Fixes #2385
|
2022-04-02 02:46:41 +02:00 |
|
|
e18493a397
|
Supply label width and height to the label printing plugin
|
2022-03-26 13:43:48 +11:00 |
|
|
fcdd1eb55b
|
Remove old function call
|
2022-03-24 16:18:50 +11:00 |
|
|
6c25a5805d
|
Allow offloading of label printing to the configured plugin
|
2022-03-24 14:57:01 +11:00 |
|
|
86b5655c5f
|
Simplify new plugin class
|
2022-03-24 13:15:57 +11:00 |
|
|
69e9d1625a
|
Adds a LabelPrintingMixin plugin class
- Enables the implementation of custom label printing plugins
- Will be available directly from the "print labels" dialog box
|
2022-03-24 12:51:27 +11:00 |
|
|
ad41957127
|
database not ready events are hard to reproduce consistently
|
2022-02-13 17:39:17 +01:00 |
|
|
db66546606
|
rename to not shadow builtin
|
2022-01-20 23:49:21 +01:00 |
|
|
ae016730f8
|
Fix - needs a global function to schedule
|
2022-01-13 10:53:33 +11:00 |
|
|
519a1009ab
|
Fix: wrap args in quotes
|
2022-01-13 10:47:37 +11:00 |
|
|
934de1f772
|
Adds the ability for 'scheduled tasks' to be member functions of plugins
|
2022-01-13 10:24:47 +11:00 |
|
|
f612f57992
|
make registration simpler
|
2022-01-11 01:08:35 +01:00 |
|
|
3ff4ed67c3
|
docstrings
|
2022-01-11 01:08:09 +01:00 |
|
|
0283214034
|
add custom errors for plugin
|
2022-01-11 00:43:18 +01:00 |
|
|
dd2547e117
|
readd spaces
|
2022-01-11 00:32:56 +01:00 |
|
|
c3d7a26f5d
|
readd api call (dont know how that happened)
|
2022-01-11 00:30:17 +01:00 |
|
|
588936f6f4
|
PEP fix
|
2022-01-10 23:53:34 +01:00 |
|
|
e08c87e49f
|
Merge branch 'matmair/issue2519' of https://github.com/matmair/InvenTree into matmair/issue2519
|
2022-01-10 23:52:00 +01:00 |
|
|
3b6e31cd35
|
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2519
|
2022-01-10 23:48:43 +01:00 |
|
|
fde2b03172
|
Merge remote-tracking branch 'inventree/master' into triggers
# Conflicts:
# InvenTree/plugin/mixins/__init__.py
|
2022-01-10 20:34:42 +11:00 |
|
|
2bc4d57ffa
|
remove double code
|
2022-01-10 02:49:34 +01:00 |
|
|
7d160039b1
|
PEP fixes
|
2022-01-10 02:15:58 +01:00 |
|
|
20e712a287
|
update barcodes to use mixin
|
2022-01-10 01:23:48 +01:00 |
|
|
8088bf28fe
|
refactor ActionPlugin to use mixin
|
2022-01-10 00:40:19 +01:00 |
|
|
e889f487f0
|
added a check for the required constants
|
2022-01-09 22:27:50 +01:00 |
|
|
d765be8c73
|
Iterate through plugins in a separate background task
|
2022-01-09 22:58:59 +11:00 |
|
|
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 |
|
|
cc8948c708
|
fix sample url
|
2022-01-09 03:34:08 +01:00 |
|
|
b48e9bcac9
|
fix settings call
|
2022-01-09 03:33:47 +01:00 |
|
|
19f2c44c2a
|
change mixin name
|
2022-01-09 03:02:19 +01:00 |
|
|
33ee7e53db
|
append docstring
|
2022-01-09 03:01:50 +01:00 |
|
|
d939107d36
|
add example
|
2022-01-09 03:01:31 +01:00 |
|
|
3aea1bb7ba
|
made docstring clearer
|
2022-01-08 21:59:02 +01:00 |
|
|
f59b59401f
|
refactor setting
|
2022-01-08 21:58:44 +01:00 |
|
|
62394c4a82
|
small reformat
|
2022-01-08 21:54:42 +01:00 |
|
|
3bc3e98ed1
|
Merge branch 'master' of https://github.com/inventree/InvenTree into api-mixin
|
2022-01-08 21:50:37 +01:00 |
|
|
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 |
|
|
63eb49777a
|
Add mixin class to respond to internal events
|
2022-01-07 22:29:19 +11:00 |
|
|
8efd45f0ad
|
log warning message if db not ready
|
2022-01-07 18:00:38 +11:00 |
|
|
668e2bfcd5
|
Further error catching
|
2022-01-07 17:20:57 +11:00 |
|
|
103dfaa2a5
|
try/catch for operational error
- Database might not yet be ready to load models
|
2022-01-07 17:11:53 +11:00 |
|
|
c04e07c1fa
|
Add a task which fails on purpose
|
2022-01-07 17:04:33 +11:00 |
|
|
3eb1fa32f9
|
Scheduled tasks get registered for the background worker
|
2022-01-07 16:51:00 +11:00 |
|