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

140 Commits

Author SHA1 Message Date
Oliver Walters
7b8a10173d Adds a new "Panel" mixin which can render custom panels on given pages
- Adds item to sidebar menu
- Adds panel content
- Runs custom javascript when the page is loaded
2022-05-06 22:49:51 +10:00
Oliver Walters
28e16616e5 Adds a PanelMixin plugin mixin class
Intended to allow rendering of custom panels on pages
2022-05-06 21:32:11 +10:00
Matthias Mair
cf93ba7cf9
Merge branch 'inventree:master' into matmair/issue2385 2022-05-04 12:23:05 +02:00
Matthias
5e277130fa
do not cover not implemented Mixin 2022-05-03 23:07:16 +02:00
Matthias
08e278232b
ignore db not ready in coverage 2022-05-03 22:12:34 +02:00
Matthias
b9cbc287f2
empty mixin schaffold - no tests 2022-05-03 22:10:26 +02:00
Matthias
0a012c3c58
only possible in test cases with plugin_tests off 2022-05-03 22:09:58 +02:00
Matthias
4663815cfa
this is just an extra safety check - should not trigger 2022-05-03 22:09:20 +02:00
Matthias
4e5015e742
do not cover unready db 2022-05-03 22:08:57 +02:00
Matthias
05d2d3664c
ignore defaults for coverage 2022-05-03 20:13:07 +02:00
Matthias Mair
4125803e6d
Merge branch 'inventree:master' into matmair/issue2385 2022-05-02 21:50:52 +02:00
Matthias
67ab45bdee
update depreciated paths 2022-05-01 22:00:18 +02:00
Matthias Mair
37e74074dd
Merge branch 'inventree:master' into matmair/issue2385 2022-04-27 17:46:57 +02:00
Matthias
1603bf4e60
fix api call 2022-04-26 01:32:31 +02:00
Matthias
4c1a0ea9ce
mkae user setting access simpler 2022-04-06 23:58:11 +02:00
Matthias Mair
547c51b81b
pep fix 2022-04-06 01:47:11 +02:00
Matthias Mair
b087422290
add import back in 2022-04-06 01:45:19 +02:00
Matthias Mair
b53bf6de9c
pep fix 2022-04-06 01:42:24 +02:00
Matthias
b4654a7c71
add tests for email notification 2022-04-06 01:22:52 +02:00
Matthias
5f4c8b3a3e
add icon support for user settings 2022-04-05 01:53:41 +02:00
Matthias
41ccacaa05
disable email by default 2022-04-05 00:56:13 +02:00
Matthias
e3ca478042
PEP fix 2022-04-04 23:51:51 +02:00
Matthias
1eb511e8a0
user notification settings 2022-04-04 23:46:19 +02:00
Matthias
926f56bb41
move plugins checks to method 2022-04-02 04:11:29 +02:00
Matthias
6a300ea24a
fix global settings check 2022-04-02 03:32:27 +02:00
Matthias
6124b1207d
make setting global 2022-04-02 03:16:14 +02:00
Matthias
c7329da7e0
move settings 2022-04-02 03:03:41 +02:00
Matthias
279be87448
Move email notification method into plugin
Fixes #2385
2022-04-02 02:46:41 +02:00
Oliver Walters
e18493a397 Supply label width and height to the label printing plugin 2022-03-26 13:43:48 +11:00
Oliver
fcdd1eb55b Remove old function call 2022-03-24 16:18:50 +11:00
Oliver
6c25a5805d Allow offloading of label printing to the configured plugin 2022-03-24 14:57:01 +11:00
Oliver
86b5655c5f Simplify new plugin class 2022-03-24 13:15:57 +11:00
Oliver
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
Matthias
ad41957127
database not ready events are hard to reproduce consistently 2022-02-13 17:39:17 +01:00
Matthias
db66546606
rename to not shadow builtin 2022-01-20 23:49:21 +01:00
Oliver
ae016730f8 Fix - needs a global function to schedule 2022-01-13 10:53:33 +11:00
Oliver
519a1009ab Fix: wrap args in quotes 2022-01-13 10:47:37 +11:00
Oliver
934de1f772 Adds the ability for 'scheduled tasks' to be member functions of plugins 2022-01-13 10:24:47 +11:00
Matthias
f612f57992
make registration simpler 2022-01-11 01:08:35 +01:00
Matthias
3ff4ed67c3
docstrings 2022-01-11 01:08:09 +01:00
Matthias
0283214034
add custom errors for plugin 2022-01-11 00:43:18 +01:00
Matthias
dd2547e117
readd spaces 2022-01-11 00:32:56 +01:00
Matthias
c3d7a26f5d
readd api call (dont know how that happened) 2022-01-11 00:30:17 +01:00
Matthias
588936f6f4
PEP fix 2022-01-10 23:53:34 +01:00
Matthias
e08c87e49f
Merge branch 'matmair/issue2519' of https://github.com/matmair/InvenTree into matmair/issue2519 2022-01-10 23:52:00 +01:00
Matthias
3b6e31cd35
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2519 2022-01-10 23:48:43 +01:00
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
7d160039b1
PEP fixes 2022-01-10 02:15:58 +01:00
Matthias
20e712a287
update barcodes to use mixin 2022-01-10 01:23:48 +01:00