b9cbc287f2
empty mixin schaffold - no tests
2022-05-03 22:10:26 +02:00
0a012c3c58
only possible in test cases with plugin_tests off
2022-05-03 22:09:58 +02:00
4663815cfa
this is just an extra safety check - should not trigger
2022-05-03 22:09:20 +02:00
4e5015e742
do not cover unready db
2022-05-03 22:08:57 +02:00
58a5eac66a
ignore outside sample code in coverage
2022-05-03 22:06:10 +02:00
7c437a3cf2
adjust testing function to also check return
2022-05-03 21:59:17 +02:00
70b108d813
add check for call function
2022-05-03 21:56:58 +02:00
5ea6a325ee
fix smaple code
2022-05-03 21:48:49 +02:00
5fa7b45d1d
Add tests for scheduling
...
Closes #2523
2022-05-03 21:39:45 +02:00
05d2d3664c
ignore defaults for coverage
2022-05-03 20:13:07 +02:00
f1d8bf71b7
Use the tablename when generating automatic model events
2022-05-03 10:18:11 +10:00
4125803e6d
Merge branch 'inventree:master' into matmair/issue2385
2022-05-02 21:50:52 +02:00
e7a0cf7342
fix old url() usage
2022-05-01 22:04:37 +02:00
de6507e918
update translation commands
2022-05-01 22:03:49 +02:00
67ab45bdee
update depreciated paths
2022-05-01 22:00:18 +02:00
37e74074dd
Merge branch 'inventree:master' into matmair/issue2385
2022-04-27 17:46:57 +02:00
1603bf4e60
fix api call
2022-04-26 01:32:31 +02:00
2f0291864f
Merge branch 'inventree:master' into matmair/issue2385
2022-04-23 21:29:37 +02:00
4c1a0ea9ce
mkae user setting access simpler
2022-04-06 23:58:11 +02:00
547c51b81b
pep fix
2022-04-06 01:47:11 +02:00
b087422290
add import back in
2022-04-06 01:45:19 +02:00
b53bf6de9c
pep fix
2022-04-06 01:42:24 +02:00
b4654a7c71
add tests for email notification
2022-04-06 01:22:52 +02:00
5f4c8b3a3e
add icon support for user settings
2022-04-05 01:53:41 +02:00
41ccacaa05
disable email by default
2022-04-05 00:56:13 +02:00
01fcc728ad
PEP fixes
2022-04-05 00:34:30 +02:00
dc7b88515e
rename class to make it clearer
2022-04-05 00:27:13 +02:00
2728bfab37
fix: add genericSettingClassMixin back in
2022-04-05 00:25:39 +02:00
d634afad48
move to common/models
2022-04-05 00:24:55 +02:00
352ab34eda
remove struc docstring
2022-04-05 00:23:30 +02:00
586812e5c6
add doc for generic mixin
2022-04-05 00:23:09 +02:00
23f57bec19
some docs for future users :-)
2022-04-05 00:15:22 +02:00
205916e0b2
refactor clean method to reduce duplication
2022-04-05 00:14:39 +02:00
8d01df0b5e
refactor settings to reduce duplication
2022-04-05 00:08:07 +02:00
bdc62dfcc3
mark active sample code as a sample
2022-04-04 23:53:35 +02:00
138aebdb08
and another one
2022-04-04 23:52:00 +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
3e484317d2
Register notification against the plugin class, not the particular label
2022-03-25 23:49:15 +11:00
6e30ec5603
PEP fix
2022-03-25 16:42:20 +11:00
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
9046c74628
Only send printing failed as a UI notification
2022-03-25 16:05:35 +11:00
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
5ee9af7f0e
Remove old "get_filters" function
...
- It was confusing!
- Manually filter where required
2022-03-25 14:10:05 +11:00