Commit Graph

11217 Commits

Author SHA1 Message Date
Oliver
204f60405e
Merge pull request #2518 from matmair/api-mixin
[Plugin] API Call mixin
2022-01-10 20:33:17 +11:00
Oliver
f7925e2d80
Merge pull request #2522 from SchrodingersGat/hide-restart-message
Hide "restart required" message in demo mode
2022-01-10 14:53:24 +11:00
Oliver
a2b88dd0fa
Merge pull request #2521 from matmair/patch-1
small fix to language in readme
2022-01-10 09:10:52 +11:00
Matthias
6af2267e3d
fix test 2022-01-09 23:05:51 +01:00
Matthias
bf7af8f72a
cover another missing setting 2022-01-09 23:01:38 +01:00
Matthias
afada6b759
test the url arg building 2022-01-09 22:56:14 +01:00
Oliver
0002edc32c Hide "restart required" message in demo mode 2022-01-10 08:50:50 +11:00
Matthias Mair
f219a10b2f
small fix to language in readme
normally the kind of API we supply is called REST
2022-01-09 22:46:28 +01:00
Matthias
2c05b858a4
renmae var 2022-01-09 22:34:02 +01:00
Matthias
c8599039a2
added test for wrong config 2022-01-09 22:33:14 +01:00
Matthias
e889f487f0
added a check for the required constants 2022-01-09 22:27:50 +01:00
Matthias
31d587a9b1
unittests fdor ApiCallMixin 2022-01-09 22:19:01 +01:00
Matthias
c699ced34a
make general mixin tests multi mixin enabled 2022-01-09 22:16:19 +01:00
Oliver
be729d037e
Merge pull request #2520 from SchrodingersGat/build-comple-fix-2
Second bug fix for "build complete" form
2022-01-09 22:38:42 +11:00
Oliver
6aa83796ea PEP fixes 2022-01-09 22:15:59 +11:00
Oliver
da9fa1313c Increased unit testing 2022-01-09 22:14:48 +11:00
Oliver
3e2e9aaf9e Mark serializer fields as not required 2022-01-09 20:10:00 +11:00
Matthias
ad9a9da656
PEP fix 2022-01-09 03:35:29 +01:00
Matthias
f9742ab41d
add integration test for plugin 2022-01-09 03:34:27 +01:00
Matthias
cc8948c708
fix sample url 2022-01-09 03:34:08 +01:00
Matthias
b48e9bcac9
fix settings call 2022-01-09 03:33:47 +01:00
Matthias
ea8fd21af0
pip fix 2022-01-09 03:10:23 +01:00
Matthias
ed193e9e90
docstring for plugin base import class 2022-01-09 03:04:00 +01:00
Matthias
61b21d1ec1
add sample for api caller 2022-01-09 03:03:05 +01:00
Matthias
19f2c44c2a
change mixin name 2022-01-09 03:02:19 +01:00
Matthias
33ee7e53db
append docstring 2022-01-09 03:01:50 +01:00
Matthias
d939107d36
add example 2022-01-09 03:01:31 +01:00
Oliver
63ed59ebcf
Merge pull request #2517 from SchrodingersGat/build-complete-fix
Fix messaging in build complete dialog
2022-01-09 08:12:52 +11:00
Matthias
3aea1bb7ba
made docstring clearer 2022-01-08 21:59:02 +01:00
Matthias
f59b59401f
refactor setting 2022-01-08 21:58:44 +01:00
Matthias
62394c4a82
small reformat 2022-01-08 21:54:42 +01:00
Matthias
3bc3e98ed1
Merge branch 'master' of https://github.com/inventree/InvenTree into api-mixin 2022-01-08 21:50:37 +01:00
Oliver
d8057e88e7 Fix messaging in build complete dialg 2022-01-09 07:50:08 +11:00
Oliver
4a5e4a88ac
Merge pull request #2509 from matmair/plugin-install
Plugin install
2022-01-07 20:19:47 +11:00
Matthias
220bf0db3a
Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-install 2022-01-07 08:57:04 +01:00
Oliver
31ea7e2792
Merge pull request #2512 from SchrodingersGat/mixins
Adds "scheduled task" mixin for plugins
2022-01-07 18:25:47 +11:00
Oliver Walters
8efd45f0ad log warning message if db not ready 2022-01-07 18:00:38 +11:00
Oliver Walters
668e2bfcd5 Further error catching 2022-01-07 17:20:57 +11:00
Oliver Walters
103dfaa2a5 try/catch for operational error
- Database might not yet be ready to load models
2022-01-07 17:11:53 +11:00
Oliver Walters
c04e07c1fa Add a task which fails on purpose 2022-01-07 17:04:33 +11:00
Oliver Walters
36feef6558 Remove log message if not relevent 2022-01-07 16:53:51 +11:00
Oliver Walters
3eb1fa32f9 Scheduled tasks get registered for the background worker 2022-01-07 16:51:00 +11:00
Oliver Walters
ff598a22ff bug fix : correct setting name when changing a 'requires restart' setting 2022-01-07 16:20:16 +11:00
Oliver Walters
0ab9b2dbc7 Bug fix - always allow plugins to register settings 2022-01-07 15:42:20 +11:00
Oliver Walters
794a9e75e8 Add validation for scheduled tasks defined by a plugin 2022-01-07 15:37:43 +11:00
Oliver Walters
326b897d14 Revert "Move mixins.py into main plugin directory"
This reverts commit 8103b84268.
2022-01-07 14:54:12 +11:00
Oliver Walters
0773545615 Add "ScheduleMixin" for scheduling tasks 2022-01-07 14:54:04 +11:00
Oliver Walters
8103b84268 Move mixins.py into main plugin directory 2022-01-07 14:23:32 +11:00
Oliver
7967c0c0bd
Merge pull request #2492 from SchrodingersGat/plugin-settings-refactor
Plugin settings refactor
2022-01-07 14:12:22 +11:00
Oliver
a1f51a8e92
Merge pull request #2495 from matmair/stale
Mark stale PRs / issues
2022-01-07 13:56:18 +11:00