Matthias
|
688cb7469c
|
fix usage of old html tags
|
2022-05-09 19:58:38 +02:00 |
|
Oliver Walters
|
6c0661a6f2
|
PEP style fixes
|
2022-05-09 23:52:19 +10:00 |
|
Oliver Walters
|
57f3efe758
|
Adds an endpoint for calling the plugin code to "locate" something
|
2022-05-09 23:42:28 +10:00 |
|
Oliver Walters
|
4704db5183
|
Adds 'locate item' and 'locate location' buttons
|
2022-05-09 22:48:26 +10:00 |
|
Oliver Walters
|
26f32a0ce8
|
Plugin list API filters
- Filter by "active" status
- Filter by "mixin" support
|
2022-05-09 22:33:33 +10:00 |
|
Oliver Walters
|
6aeb7d723d
|
Fix typo in mixin name
|
2022-05-09 22:25:09 +10:00 |
|
Oliver Walters
|
0a0a6a799a
|
Fix for sample plugin
|
2022-05-09 22:20:00 +10:00 |
|
Oliver Walters
|
172705cc3b
|
Adds sample plugin for locating items
|
2022-05-09 22:13:07 +10:00 |
|
Oliver Walters
|
59c747841c
|
Adds plugin mixin to "locate" items
|
2022-05-09 22:01:27 +10:00 |
|
Oliver Walters
|
b3c1d6b603
|
Fix plugin registry function so tests pass
|
2022-05-09 07:59:01 +10:00 |
|
Oliver Walters
|
aed02f6f0f
|
PEP fixes
|
2022-05-08 22:53:49 +10:00 |
|
Oliver Walters
|
3a9bacb27c
|
Implement new approach for plugin settings
- URL specifies plugin slug and setting key
|
2022-05-08 22:48:47 +10:00 |
|
Oliver Walters
|
f733e23b65
|
Update serializer for plugin settings API
- Use string key rather than pk for plugin
- Allow filtering by 'enabled' status of the plugin
- Allow filtering by the plugin key
|
2022-05-08 17:46:19 +10:00 |
|
Oliver Walters
|
ada1eeeb35
|
Remove 'no cover'
|
2022-05-08 07:53:21 +10:00 |
|
Oliver Walters
|
e57a3870c6
|
Fix build index template
|
2022-05-07 22:47:48 +10:00 |
|
Oliver Walters
|
06e79ee91b
|
Move view mixin to plugin.views
|
2022-05-07 22:34:03 +10:00 |
|
Oliver Walters
|
9f15dd8e2a
|
Custom panels can now be rendered from a template
|
2022-05-07 22:32:26 +10:00 |
|
Oliver Walters
|
103921f5c4
|
Rename plugin.loader to plugin.template
- Add helper function for rendering a template
|
2022-05-07 19:59:59 +10:00 |
|
Oliver Walters
|
44c4e88646
|
Add a configurable setting to the demo plugin
|
2022-05-07 02:17:20 +10:00 |
|
Oliver Walters
|
96f61dfcdb
|
Add plugin description
|
2022-05-06 23:48:24 +10:00 |
|
Oliver Walters
|
bcf6e41b48
|
Add some example docs
|
2022-05-06 23:43:54 +10:00 |
|
Oliver Walters
|
5ed0128435
|
PEP style fixes
|
2022-05-06 23:34:34 +10:00 |
|
Oliver Walters
|
12c58b14d6
|
Improvements for panel mixin sample
|
2022-05-06 23:19:47 +10:00 |
|
Oliver Walters
|
c80b36fc2f
|
Adds a new InvenTreePluginMixin mixin class for enabling custom plugin rendering on a page
- Any view which needs custom plugin code must implement this mixin
- Initially implement for the PartDetail page
|
2022-05-06 22:52:52 +10:00 |
|
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 |
|
Oliver
|
9e1d8e52f3
|
Merge pull request #2805 from matmair/matmair/issue2385
Plugins for notifications
|
2022-05-06 20:00:56 +10:00 |
|
Matthias
|
0d0b713f6e
|
Fix tests
|
2022-05-06 02:26:58 +02:00 |
|
Matthias
|
baf7e4505e
|
do not cover pacakge code - is not CI'd
|
2022-05-06 01:52:32 +02:00 |
|
Matthias
|
1a70829f5c
|
do not cover dev error catcher
|
2022-05-06 01:12:11 +02:00 |
|
Matthias
|
50b17d6ae8
|
add mixin test
|
2022-05-06 01:03:11 +02:00 |
|
Matthias
|
17127e914d
|
PEP fix
|
2022-05-04 17:44:27 +02:00 |
|
Matthias
|
05d1f9703e
|
Add nice repr for NotificationUserSetting
|
2022-05-04 17:42:45 +02:00 |
|
Matthias
|
a27f8a427a
|
Merge branch 'matmair/issue2385' of https://github.com/matmair/InvenTree into matmair/issue2385
|
2022-05-04 17:40:47 +02:00 |
|
Matthias
|
cf986e557c
|
make unloading safer
|
2022-05-04 17:40:44 +02:00 |
|
Matthias
|
0ff407348d
|
Add admin for NotificationUserSetting
|
2022-05-04 17:39:37 +02:00 |
|
Matthias
|
34855bbb37
|
add API endpoint for notifications
|
2022-05-04 17:38:50 +02:00 |
|
Matthias
|
c684e7d5e0
|
Add generic serializer
|
2022-05-04 16:57:39 +02:00 |
|
Matthias Mair
|
cf93ba7cf9
|
Merge branch 'inventree:master' into matmair/issue2385
|
2022-05-04 12:23:05 +02:00 |
|
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 |
|