2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-06 03:51:34 +00:00
Commit Graph

418 Commits

Author SHA1 Message Date
Oliver Walters
e18493a397 Supply label width and height to the label printing plugin 2022-03-26 13:43:48 +11:00
Oliver Walters
3e484317d2 Register notification against the plugin class, not the particular label 2022-03-25 23:49:15 +11:00
Oliver
6e30ec5603 PEP fix 2022-03-25 16:42:20 +11:00
Oliver
052d9770ce Override view permissions for plugin list API
- It is necessary for *any* logged in user to view this endpoint
- This is how the user determines which plugins are available (e.g. for label printing!)
2022-03-25 16:39:43 +11:00
Oliver
9046c74628 Only send printing failed as a UI notification 2022-03-25 16:05:35 +11:00
Oliver
c1b408f8a3 Send notification if printing fails
If label printing fails (due to a plugin error) then the user is notified.
2022-03-25 15:57:32 +11:00
Oliver
5ee9af7f0e Remove old "get_filters" function
- It was confusing!
- Manually filter where required
2022-03-25 14:10:05 +11:00
Oliver
fcdd1eb55b Remove old function call 2022-03-24 16:18:50 +11:00
Oliver
efc6af5f4c PEP fixes 2022-03-24 16:18:08 +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
4e041e97b9 Catch potential IntegrityError when importing plugins 2022-03-24 13:00:03 +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
Oliver
c082cec3ee Merge pull request #2748 from matmair/matmair/issue2524
Run plugin install on startup
2022-03-21 07:15:37 +11:00
Matthias
eef51600c5 do not write to db 2022-03-20 18:10:42 +01:00
Matthias
494c4ed03d only raise if integrity error 2022-03-18 23:58:17 +01:00
Matthias
e53e428a32 remove unneeded print 2022-03-18 23:50:13 +01:00
Matthias Mair
0cd8aae250 raise blocker again 2022-03-18 07:50:02 +01:00
Matthias Mair
a1791645fa just raise 2022-03-18 02:19:32 +01:00
Matthias
d32952fe23 add another debug message 2022-03-18 01:43:42 +01:00
Matthias
a06844d7e9 add additional debug messges 2022-03-18 00:46:37 +01:00
Matthias
3606bd8fe4 add try to settings test 2022-03-16 17:03:04 +01:00
Matthias Mair
57df39086c Merge branch 'inventree:master' into fix-set_user 2022-03-16 15:16:26 +01:00
Matthias Mair
91464ad3d0 Merge branch 'inventree:master' into matmair/issue2524 2022-03-16 15:15:27 +01:00
Matthias
8f10ef817c add setting for reload 2022-03-16 14:47:27 +01:00
Matthias
51860a4e7b run with u flag 2022-03-15 01:33:01 +01:00
Matthias
5f9a549918 docs 2022-03-15 01:27:14 +01:00
Matthias
e398d64885 just use the setting 2022-03-15 01:25:52 +01:00
Matthias
d9d2f39072 just run install 2022-03-15 01:24:58 +01:00
Matthias
38938e892b [FR] [Plugin] Check if all plugins are really installed
Fixes #2524
2022-03-14 23:50:09 +01:00
Matthias
ce9bbb4f2e add plug back in 2022-03-13 22:36:07 +01:00
Matthias
c5047e8779 remove new helper 2022-03-13 22:35:14 +01:00
Matthias
4e6c5f90f7 plug do_raise for enviroment var manipulating 2022-03-13 21:36:55 +01:00
Matthias
3b642695a8 PEP fix 2022-03-13 21:11:06 +01:00
Matthias
5f9f5555b6 ignore depreciated function in coverage 2022-03-13 21:01:16 +01:00
Matthias
080ee2ea50 remove dead code 2022-03-13 20:58:40 +01:00
Matthias
b1a3445338 ignore coverage for points that only gets reached by deadly broken plugins 2022-03-13 20:57:25 +01:00
Matthias
a3d0dcb5bb only applicable in mulithread enviroments 2022-03-13 20:56:36 +01:00
Matthias
aee8ca1c78 do not cover safety functions for wrongly conf swarms 2022-03-13 20:56:16 +01:00
Matthias
f2aeab09ec should never be reached 2022-03-13 20:55:25 +01:00
Matthias
08d2e74521 do not cover disabled / debugging plugins cases 2022-03-13 20:55:11 +01:00
Matthias
e0e87efb8c do not cover old import 2022-03-13 20:53:49 +01:00
Matthias
ba263187a5 optimise coverage 2022-02-28 00:35:36 +01:00
Matthias
f80f960923 translate error message 2022-02-28 00:34:28 +01:00
Matthias
f3f010c4be write error if too old git 2022-02-28 00:34:02 +01:00
Matthias
ca8df60d00 PEP fixes 2022-02-28 00:28:03 +01:00
Matthias
084f9d5444 make more readable 2022-02-28 00:23:55 +01:00
Matthias
1591597ef9 check if modern git is used 2022-02-28 00:23:46 +01:00
Matthias
8550915528 opimise coverage 2022-02-28 00:23:25 +01:00
Matthias
bae290d605 check git version and safe for runtime 2022-02-28 00:17:21 +01:00