Oliver
b65a969433
Merge pull request #2928 from matmair/coverage-adaption
...
Increase coverage
2022-05-04 09:39:24 +10:00
Matthias
8038cff874
ignore for coverage
2022-05-04 00:43:49 +02:00
Matthias
6504ef535a
fix test - len needs to be recalculated
2022-05-03 23:23:36 +02:00
Matthias
e1b395c9be
test is_active
2022-05-03 23:19:51 +02:00
Matthias
cf0cbff69a
we are not covering packages right now
2022-05-03 23:19:01 +02:00
Matthias
5e277130fa
do not cover not implemented Mixin
2022-05-03 23:07:16 +02:00
Matthias
c5acfaf541
do not coverage catch for load
2022-05-03 23:06:57 +02:00
Matthias
e95c3e0948
do not cover default returns
2022-05-03 23:06:38 +02:00
Matthias
1522d330fa
add test for is_sample
2022-05-03 23:06:11 +02:00
Matthias
096c0c876c
PEP fix
2022-05-03 22:58:24 +02:00
Matthias
d49f74746a
test that MixinImplementationErrors raise
2022-05-03 22:56:28 +02:00
Matthias
204b4fd527
rename test
2022-05-03 22:55:39 +02:00
Matthias
626e3838ae
also cover errors
2022-05-03 22:15:24 +02:00
Matthias
a357c4ef88
also cover unregistering
2022-05-03 22:13:29 +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
58a5eac66a
ignore outside sample code in coverage
2022-05-03 22:06:10 +02:00
Matthias
7c437a3cf2
adjust testing function to also check return
2022-05-03 21:59:17 +02:00
Matthias
70b108d813
add check for call function
2022-05-03 21:56:58 +02:00
Matthias
5ea6a325ee
fix smaple code
2022-05-03 21:48:49 +02:00
Matthias
5fa7b45d1d
Add tests for scheduling
...
Closes #2523
2022-05-03 21:39:45 +02:00
Matthias
05d2d3664c
ignore defaults for coverage
2022-05-03 20:13:07 +02:00
Oliver Walters
f1d8bf71b7
Use the tablename when generating automatic model events
2022-05-03 10:18:11 +10:00
Matthias
e7a0cf7342
fix old url() usage
2022-05-01 22:04:37 +02:00
Matthias
de6507e918
update translation commands
2022-05-01 22:03:49 +02:00
Matthias
67ab45bdee
update depreciated paths
2022-05-01 22:00:18 +02:00
Matthias
1603bf4e60
fix api call
2022-04-26 01:32:31 +02:00
Matthias
bdc62dfcc3
mark active sample code as a sample
2022-04-04 23:53:35 +02:00
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