Commit Graph

5067 Commits

Author SHA1 Message Date
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
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
John Anderson
2585adf15a Merge branch 'develop-2.8' into 3351-plugins 2020-03-18 18:30:47 -04:00
John Anderson
f21eef5191 add version contraints and cacheops config 2020-03-18 18:28:27 -04:00
Jeremy Stretch
90de323a0a Fix RackGroupForm field 2020-03-18 15:41:23 -04:00
John Anderson
98a99f23e8 Merge branch 'develop-2.8' into 3351-plugins 2020-03-18 14:48:11 -04:00
John Anderson
0ad47b4574 Merge branch 'develop' into develop-2.8 2020-03-18 14:44:18 -04:00
Jeremy Stretch
21d915d687 Merge pull request #4366 from netbox-community/738-detect-new-releases
Closes #738: Automatically detect new releases
2020-03-18 14:00:01 -04:00
Jeremy Stretch
1d7e2b69ac Move releases.py to netbox/ 2020-03-18 13:54:41 -04:00
Jeremy Stretch
23296adf23 Tweaked logging; renamed release config parameters 2020-03-18 13:46:47 -04:00
Jeremy Stretch
ee0c63bfe5 Merge pull request #4379 from netbox-community/refactor-registry
Refactor registry to behave as a dictionary
2020-03-18 13:21:55 -04:00
Jeremy Stretch
2ff503663f Raise specific exceptions 2020-03-18 13:15:22 -04:00
Jeremy Stretch
2dc301b0a6 Refactor the registry into a dictionary object 2020-03-18 12:00:31 -04:00
Jeremy Stretch
b1e6184872 Fix Python 3.5 compatability for tests 2020-03-17 15:07:45 -04:00
Jeremy Stretch
1c7763399d Fix Python 3.5 compatability for tests 2020-03-17 15:00:39 -04:00