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
|
60f799c90a
|
Add plugin view support for most of the remaining views
|
2022-05-06 23:32:42 +10:00 |
|
Oliver Walters
|
243e3ff37d
|
Fix calls to super()
|
2022-05-06 23:32:09 +10:00 |
|
Oliver Walters
|
12c58b14d6
|
Improvements for panel mixin sample
|
2022-05-06 23:19:47 +10:00 |
|
Oliver Walters
|
0797e9ebf0
|
Simplify the new template rendering
- No extra template code is required for any new page
- All loaded in base.html or page_base.html
- Oh, so clean!
|
2022-05-06 23:19:21 +10:00 |
|
Oliver Walters
|
71128a1c8e
|
Refactor the plugin javascript template
- Can appear in "base.html"
- Only renders anything if there are actually plugins available for the page
|
2022-05-06 22:57:15 +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 Walters
|
170cb54490
|
Sort urls.py
|
2022-05-06 21:30:27 +10:00 |
|
Oliver Walters
|
b80ff5e460
|
Tweak display of plugin badges
|
2022-05-06 21:03:30 +10:00 |
|
Oliver
|
9e1d8e52f3
|
Merge pull request #2805 from matmair/matmair/issue2385
Plugins for notifications
|
2022-05-06 20:00:56 +10:00 |
|
Oliver
|
1b7172b57e
|
Merge pull request #2936 from matmair/test_tags
Test more templatetags
|
2022-05-06 12:16:14 +10:00 |
|
Matthias
|
09ceada639
|
fix test assertation
|
2022-05-06 03:03:08 +02:00 |
|
Matthias
|
0d0b713f6e
|
Fix tests
|
2022-05-06 02:26:58 +02:00 |
|
Matthias
|
2261e7a615
|
PEP fix
|
2022-05-06 02:20:38 +02:00 |
|
Matthias
|
33e3385830
|
fix assertations
|
2022-05-06 02:17:53 +02:00 |
|
Matthias
|
20d552f809
|
extend tag tests
|
2022-05-06 02:13:25 +02:00 |
|
Matthias
|
0eff4a4526
|
can not be covered in testing
|
2022-05-06 02:07:59 +02:00 |
|
Matthias
|
baf7e4505e
|
do not cover pacakge code - is not CI'd
|
2022-05-06 01:52:32 +02:00 |
|
Matthias
|
9a9a7e0ff4
|
also cover list API
|
2022-05-06 01:31:23 +02:00 |
|
Matthias
|
a2331829c9
|
this can not happen with normal operation
|
2022-05-06 01:31:11 +02:00 |
|
Matthias
|
d5c95f2225
|
only safety test - api is not callable as non-user
|
2022-05-06 01:29:16 +02:00 |
|
Matthias
|
8f220837d0
|
only log messages about notification methods
|
2022-05-06 01:25:22 +02:00 |
|
Oliver
|
eb1aad71ea
|
Merge pull request #2935 from matmair/fix-anon-static
fix error with anon connections and language check
|
2022-05-06 09:16:57 +10:00 |
|
Matthias
|
2b1d4ba9c1
|
add test for plugin settings
|
2022-05-06 01:15:12 +02:00 |
|
Matthias
|
7f8d20da0f
|
test _str
|
2022-05-06 01:12:22 +02:00 |
|
Matthias
|
1a70829f5c
|
do not cover dev error catcher
|
2022-05-06 01:12:11 +02:00 |
|
Matthias
|
a77382d0b5
|
sadd test for notification user settings
|
2022-05-06 01:04:00 +02:00 |
|
Matthias
|
50b17d6ae8
|
add mixin test
|
2022-05-06 01:03:11 +02:00 |
|
Matthias
|
ccefaade92
|
Add args back in to serializer
|
2022-05-06 00:48:20 +02:00 |
|
Matthias
|
1676cb8eb8
|
fix error with anon connections and language check
|
2022-05-06 00:13:58 +02:00 |
|
Matthias
|
28b8e27698
|
Merge branch 'matmair/issue2385' of https://github.com/matmair/InvenTree into matmair/issue2385
|
2022-05-06 00:11:38 +02:00 |
|
Matthias
|
fe4b264ae1
|
Fix user check
|
2022-05-06 00:11:26 +02:00 |
|
Oliver
|
943dc7886e
|
Merge pull request #2932 from matmair/so_fix_clean
Use full names consistently
|
2022-05-05 23:01:33 +10:00 |
|
Matthias Mair
|
a1016c746c
|
Merge branch 'inventree:master' into so_fix_clean
|
2022-05-05 11:27:44 +02:00 |
|
Matthias Mair
|
6bd997ffad
|
Merge branch 'inventree:master' into matmair/issue2385
|
2022-05-05 11:26:25 +02:00 |
|
Matthias
|
164a8acf33
|
make genericref simpler
|
2022-05-05 01:31:19 +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
|
b16305afef
|
add html for notification setting
|
2022-05-04 17:40:04 +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 |
|