Commit Graph

48 Commits

Author SHA1 Message Date
jeremystretch
222ee23c00 Add documentation for PluginMenu 2022-09-28 16:44:16 -04:00
jeremystretch
0ed28ab36c Enable plugins to create root-level navigation menus 2022-09-28 16:08:03 -04:00
Arthur
b3e4665483 9071 add header to plugin menu 2022-09-22 10:01:19 -07:00
jeremystretch
9cbb399e19 Fix plugin name resolution 2022-02-09 12:55:10 -05:00
jeremystretch
41b804d350 Initial work on GraphQL 2022-02-04 15:06:58 -05:00
jeremystretch
5b3d3bd6c1 Refactor plugins registry 2022-02-04 14:37:29 -05:00
jeremystretch
74af96c2c0 Enable plugins to define user preferences 2021-12-22 09:10:50 -05:00
Jeremy Stretch
78c45e23b1 Merge branch 'feature' into 6651-plugins-rq-queues 2021-07-09 08:43:39 -04:00
jeremystretch
9e96f2c633 Drop caching_config from plugin configuration 2021-07-07 17:04:21 -04:00
maximumG
d9d4d15254 feat: Netbox plugin can defined their own RQ queues 2021-07-07 15:26:33 +02:00
Thomas
1ed493406f Update views.py
Fixing typo in 'version'
2021-05-14 18:22:01 +02:00
Jeremy Stretch
458aeb9cce Fixes #5446: Fix validation for plugin version and required settings 2020-12-11 16:05:50 -05:00
Jeremy Stretch
3f19165db2 Fixes #5285: Include plugin API endpoints in root view without needing app_name set 2020-10-29 12:30:10 -04:00
Glenn Matthews
1fcf13ad29 Refactor repeated import code 2020-07-14 17:15:17 -04:00
Glenn Matthews
a62702df79 Don't ignore ImportErrors raised when loading a plugin. Fixes #4805 2020-07-07 09:14:33 -04:00
Jeremy Stretch
3b9fe64105 Use packaging.version.parse directly 2020-04-10 11:18:01 -04:00
Jeremy Stretch
90f374d24c Add tests for plugin configuration, min/max version 2020-04-06 11:44:38 -04:00
Jeremy Stretch
3ada8feeb5 Naming tweaks 2020-04-02 15:43:23 -04:00
Jeremy Stretch
cb38efbc1f Initial implementation of tests for plugins framework 2020-04-01 17:08:47 -04:00
Jeremy Stretch
e863ea8cb8 Move default caching_config to PluginConfig class 2020-04-01 12:10:19 -04:00
Jeremy Stretch
d1ece9f6fa Convert installed_plugins_admin_view to a class-based view 2020-03-27 13:35:25 -04:00
Jeremy Stretch
21341b576a Clean up plugin URL registration 2020-03-27 13:26:53 -04:00
Jeremy Stretch
a6b0249393 Expose regsitry in templates using existing context processor for settings 2020-03-27 13:18:51 -04:00
Jeremy Stretch
e861cd87bf Improved menu item/button validation 2020-03-27 13:12:58 -04:00
Jeremy Stretch
b27b3d5175 Rename obj to object; clean up docstrings 2020-03-26 21:46:56 -04:00
Jeremy Stretch
56fde3f5b2 Restrict context data available to PluginTemplateExtensions 2020-03-26 16:50:55 -04:00
Jeremy Stretch
a9421e453b Extend menu items and buttons to accept a list of required permissions 2020-03-26 16:04:12 -04:00
Jeremy Stretch
849598cb8e Remove unused PluginSignal class 2020-03-26 12:26:58 -04:00
Jeremy Stretch
82d98073ae Standardize naming of menu items 2020-03-26 12:25:36 -04:00
Jeremy Stretch
d315eda4fa Rename PluginTemplateContent to PluginTemplateExtension 2020-03-26 12:18:58 -04:00
Jeremy Stretch
4f93c524e0 Rename PluginNavMenuButton to PluginMenuButton 2020-03-26 11:30:42 -04:00
Jeremy Stretch
5952f5f25d Rename PluginNavMenuLink to PluginMenuItem 2020-03-26 11:29:05 -04:00
Jeremy Stretch
77b1d11d27 Add a default button color 2020-03-26 11:26:11 -04:00
Jeremy Stretch
8c6380dfa7 Add documentation for PluginTemplateContent 2020-03-25 16:32:16 -04:00
Jeremy Stretch
f2bf5b5d07 Rework template content registration to work like menu items 2020-03-25 16:06:00 -04:00
Jeremy Stretch
c401c25a91 Update documentation for #4401 2020-03-25 14:33:32 -04:00
Jeremy Stretch
5210d17856 Replace get_menu_items() with static attribute 2020-03-25 13:51:37 -04:00
Jeremy Stretch
884b3fd046 Simplify the mechanism for plugins to register navigation menu items 2020-03-25 11:32:50 -04:00
Jeremy Stretch
7c81d67b0d Rename url_slug to base_url 2020-03-24 16:20:47 -04:00
Jeremy Stretch
2ef8e3d501 Get menu header via apps.get_config 2020-03-24 15:24:14 -04:00
Jeremy Stretch
20e95f2059 Derive API URLs app_name for plugins from url_slug 2020-03-23 14:03:04 -04:00
John Anderson
b616758a34 added admin and api views for listing all plugins, and refactored urls import 2020-03-20 20:10:02 -04:00
Jeremy Stretch
7e1b2d06fc Introduce PluginConfig 2020-03-20 15:50:47 -04:00
John Anderson
f21eef5191 add version contraints and cacheops config 2020-03-18 18:28:27 -04:00
John Anderson
9698344d69 added support for plugin nav bar links 2020-03-17 02:35:12 -04:00
John Anderson
1a3b813eff inject origional context as obj_context 2020-03-17 00:03:58 -04:00
John Anderson
43283d228c added plugin template content injection to primary model detail views 2020-03-15 23:45:18 -04:00
John Anderson
aaf5a1b6ac add api urls and signals interface for detail route buttons 2020-03-01 03:24:17 -05:00