Skip to content

Commit

Permalink
477 prepare for netbox 4.0 (#495)
Browse files Browse the repository at this point in the history
* Change extras.plugins to netbox.plugins (#487)

* Remove ButtonColorChoices (#491)

* remove is_htmx

* fieldset update

* Additions to 477 prepare for netbox 4.0 (#504)

* Re-add overriding of default_renderer

Signed-off-by: Iain Buclaw <[email protected]>

* Restore i18n of field names

Signed-off-by: Iain Buclaw <[email protected]>

* Remove unnecessary FieldSets

Signed-off-by: Iain Buclaw <[email protected]>

* Remove trailing whitespaces in forms.py

Signed-off-by: Iain Buclaw <[email protected]>

* Fix error in resizeCanvas

Signed-off-by: Iain Buclaw <[email protected]>

* Remove btn-sm class from buttons

Signed-off-by: Iain Buclaw <[email protected]>

* Use htmx_partial instead of request.htmx

Signed-off-by: Iain Buclaw <[email protected]>

---------

Signed-off-by: Iain Buclaw <[email protected]>

* fix choises

* fix color switcher (use new attribute)

* fix htmx filter

* 4.0.0-beta.1 release

---------

Signed-off-by: Iain Buclaw <[email protected]>
Co-authored-by: Mario <[email protected]>
Co-authored-by: Iain Buclaw <[email protected]>
  • Loading branch information
3 people authored Jun 5, 2024
1 parent 8368ffa commit 2895294
Show file tree
Hide file tree
Showing 17 changed files with 259 additions and 671 deletions.
4 changes: 2 additions & 2 deletions netbox_topology_views/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
from extras.plugins import PluginConfig
from netbox.plugins import PluginConfig


class TopologyViewsConfig(PluginConfig):
name = "netbox_topology_views"
verbose_name = "Topology views"
description = "An plugin to render topology maps"
version = "3.9.1"
version = "4.0.0-beta.1"
author = "Mattijs Vanhaverbeke"
author_email = "[email protected]"
base_url = "netbox_topology_views"
Expand Down
2 changes: 1 addition & 1 deletion netbox_topology_views/api/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@

router.register("save-coords", views.SaveCoordsViewSet)
router.register("images", views.SaveRoleImageViewSet)
router.register("xml-export", views.ExportTopoToXML)
#router.register("xml-export", views.ExportTopoToXML)

urlpatterns = router.urls
Loading

0 comments on commit 2895294

Please sign in to comment.