Commit Graph

5291 Commits

Author SHA1 Message Date
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
90b7e0c003 Tweak variable naming 2020-03-26 13:37:52 -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
ce5a0414a0 Convert PluginConfig attrs list to a table 2020-03-26 12:03:10 -04:00
Jeremy Stretch
4a6f82a2fd Fix up styling of tables in documentation 2020-03-26 11:54: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
19bc8e70fa Revised plugins documentation 2020-03-26 11:09:20 -04:00
Jeremy Stretch
af7c6a51b3 Merge pull request #4407 from netbox-community/4402-plugins-template-content
Closes #4402: Rework template content registration for plugins
2020-03-26 09:05:07 -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
e9528070a1 Merge pull request #4403 from netbox-community/4401-plugins-navlinks
Closes #4401: Simplify registration process for pluin menu items
2020-03-25 14:55:21 -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
a12420666a Merge pull request #4397 from netbox-community/plugins-docs
Add documentation for the plugins framework
2020-03-24 15:55:14 -04:00
Jeremy Stretch
2ef8e3d501 Get menu header via apps.get_config 2020-03-24 15:24:14 -04:00
Jeremy Stretch
56d55d481b Extend plugins docs to include nav menu links 2020-03-24 15:22:57 -04:00
Jeremy Stretch
8e289ab265 Tweak plugin template docs 2020-03-24 14:21:08 -04:00
Jeremy Stretch
cd540c43fe Incorporate John's feedback 2020-03-24 09:42:24 -04:00
Jeremy Stretch
418c971662 Add disclaimer/warning to PLUGINS_ENABLED 2020-03-24 09:41:46 -04:00
Jeremy Stretch
edf32590c5 Merge branch '3351-plugins' into plugins-docs 2020-03-23 14:03:35 -04:00
Jeremy Stretch
20e95f2059 Derive API URLs app_name for plugins from url_slug 2020-03-23 14:03:04 -04:00
Jeremy Stretch
7ceb20ab2b Add docs for plugin API endpoints 2020-03-23 13:58:45 -04:00
Jeremy Stretch
efb92b21d9 Add docs for plugin models, views 2020-03-23 13:28:56 -04:00
Jeremy Stretch
049a4638ce Merge branch '3351-plugins' into plugins-docs 2020-03-23 12:02:18 -04:00
Jeremy Stretch
5222458d86 Specify path to PluginConfig in INSTALLED_APPS 2020-03-23 12:01:24 -04:00
Jeremy Stretch
22a7d03986 More work on plugins development docs 2020-03-23 12:00:10 -04:00
Jeremy Stretch
a2119b1975 Merge branch '3351-plugins' into plugins-docs 2020-03-23 10:20:53 -04:00
John Anderson
9a06211883 remove duplicate import 2020-03-20 22:21:00 -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
John Anderson
83605cf4e7 Merge pull request #4392 from netbox-community/refactor-plugins-import
Refactor plugins import
2020-03-20 17:04:33 -04:00
Jeremy Stretch
4f1bf0190f Update plugin URL loading logic 2020-03-20 15:51:14 -04:00
Jeremy Stretch
7e1b2d06fc Introduce PluginConfig 2020-03-20 15:50:47 -04:00
Jeremy Stretch
bb4fef1b8c Rename entry point group; simplify import 2020-03-20 14:35:54 -04:00
Jeremy Stretch
82503e3d69 Initial documentation for plugins framework 2020-03-20 14:21:49 -04:00
Jeremy Stretch
742d5c7e4e Closes #4389: Add a bulk edit view for device bays 2020-03-19 16:32:08 -04:00
Jeremy Stretch
d5ac290a5d Closes #4386: Update admin links for Django RQ to reflect multiple queues 2020-03-19 13:54:49 -04:00
Jeremy Stretch
e32b98665d Changelog for #4255 2020-03-19 11:03:35 -04:00
Jeremy Stretch
cb43c9c648 Merge pull request #4258 from netbox-community/4255-dynamic_object_vars
Fixes: #4255 - Modify script ObjectVars to utilize DynamicModelChoiceField
2020-03-19 11:02:07 -04:00
Jeremy Stretch
88fc2f88d3 Changelog for #3193 2020-03-19 10:56:42 -04:00
Jeremy Stretch
d858df1bba Merge pull request #4387 from netbox-community/3193-cable-tracing
Fixes #3193: Fix cable tracing across multiple rear ports
2020-03-19 10:55:24 -04:00
Jeremy Stretch
5755691b05 Rewrite and extend cabling logic tests 2020-03-19 10:43:51 -04:00
Jeremy Stretch
56b6f299cd Tweak tracing logic to ensure consistent behavior 2020-03-19 10:42:53 -04:00
dansheps
7b3a91004b Remove extraneous import 2020-03-19 08:11:14 -05:00