Commit Graph
119 Commits
Author SHA1 Message Date
dreng 25380c0618 correct physics 2023-05-09 10:19:29 +02:00
dreng bef5e8479f Removed saving coords for custom field 2023-05-07 09:51:15 +02:00
dreng d478c92fc8 Housekeeping 2023-05-07 09:01:14 +02:00
dreng 334409ffa8 re-run npm bundle 2023-05-06 23:07:54 +02:00
dreng fdcaeee8ee moved default group check to model function 2023-05-06 23:01:08 +02:00
dreng dbf2d23905 rework load/save of coords; add group coords save 2023-05-06 23:01:08 +02:00
dreng 9cc1607811 add load/save values, fix filterset 2023-05-06 22:57:12 +02:00
dreng 7e2ffc575f plural to singular 2023-05-06 22:57:12 +02:00
dreng 60c272acb7 Add Coordinate models, forms, views, templates,... 2023-05-06 22:57:12 +02:00
mattieserver 4dd962f002 Prepare release v3.5.0 (#288)
* bump version

* bump version
2023-04-30 20:13:20 +02:00
Mario 5c58f2a9c2 Closes #64: Show neighbors option (#286)
* Add option to show neighbors

* Updated documentation and help text

* Added newlines at end of files where they where missing

* Updated options screenshot

* fix function vars

---------
2023-04-30 19:09:36 +02:00
Marioandmattieserver 5e9aaecf9c Closes #189, Closes #158: Add draw.io XML export (#277)
* Added export to draw.io XML

* Corrected missing newline at end of file

* init

* moved to api call

---------

Co-authored-by: mattieserver <3049868+mattieserver@users.noreply.github.com>
2023-04-30 15:22:38 +02:00
mattieserver 8edea468e9 bump version (#283) 2023-04-28 16:07:36 +02:00
mattieserver 2aa3317a9b fix imports for netbox v3.5 (#282) 2023-04-28 13:56:55 +02:00
Victor Gorchilov 3671bbbc78 Fixes #276: Delete RoleImages when their DeviceRole is deleted (#279)
* [fix] get only valid role images

* [up] add post delete signals for device roles

* [fix] move signal registration in `apps.py`

* [fix] register signals in plugin config & filter valid role images

* [fix] undo role image filter as it is wrong and unnecessary

* [up] revert formatting with black
2023-04-20 20:55:58 +02:00
dreng f0c1a855a1 Changed naming of circuits, power panles, power fees and devices 2023-04-16 17:14:55 +02:00
Mario 86cb967d70 Merge pull request #273 from dreng/253_remove_arrows
Fixes #253: Display device labels on top of logical connections
2023-04-02 21:38:38 +02:00
dreng 825a90a5ad Removed arrows for logical connections because they covered the text 2023-04-02 19:37:34 +02:00
dreng 79edb94adb Removed PNGs in favor of SVGs 2023-04-02 17:05:09 +02:00
dreng b72d572594 Merge branch '240_overhaul_icons' of github.com:dreng/netbox-topology-views into 240_overhaul_icons 2023-04-02 17:00:09 +02:00
dreng 7c08d2d517 Removed PNGs in favor of SVGs 2023-04-02 14:28:38 +02:00
Mario d12d20e9a0 Create LICENSE 2023-04-01 01:33:08 +02:00
dreng 2dec5af7f4 Removed remaining old icons 2023-03-31 23:52:02 +02:00
Mario 714fdfa054 Replaced and added icons 2023-03-31 23:41:30 +02:00
mattieserver 0004f0a6d3 bump version (#269) 2023-03-23 10:08:34 +01:00
MarioandMattijs Vanhaverbeke 5d20a7ad15 Closes #252,#78,#177,#265: Move options from config file to GUI (#262)
* Added some individual options

* Added general options

* Added show_single_cable_logical_conns and draw_default_layout

* Added ignore_cable_type to IndividualOptions

* Corrected permission, tiny improvements

* Add preselected_device_roles to IndividualOptions

* Add preselected_tags

* Updated documentation

* Update README.md

* Corrected queryset for preselected_tags

* Update README.md

* move supported_termination_types to inside the function to prevent migration issues

* removed general options

* added new migration script

---------

Co-authored-by: Mattijs Vanhaverbeke <mattijs.vanhaverbeke@ebo-enterprises.com>
2023-03-23 09:57:51 +01:00
Jan Krupa c4ee38c0c9 Change menu navigation icon (#266) 2023-03-10 09:29:33 +01:00
Roy Vegard OvesenandMario 7ecd29bb5d Avoid rendering double slash
Co-authored-by: Mario <github@franzbonenkamp.de>
2023-01-29 18:57:09 +01:00
Roy Vegard Ovesen b3b94f63d9 Add a url to cable trace for logical connections
Fixes #254
2023-01-29 11:52:50 +00:00
mattieserver 6fafbeb7c3 bump version (#246) 2023-01-09 13:37:06 +01:00
Mario 6f2ac1684a Added show_cables=on to HTMX-GET parameters (#242) 2023-01-08 22:08:04 +01:00
Mario 89b04ff0c5 Merge branch 'mattieserver:master' into 241_bigger_site_topology_window 2023-01-06 23:50:07 +01:00
dreng 47079cf27f Raised max-width 2023-01-06 23:47:24 +01:00
mattieserver 2e34f7435a Release v3.2.0 (#234)
* bump version

* bump version
2023-01-05 13:12:32 +01:00
Marioandmattieserver 0cb0c10dbb Closes #181: Open cable on double-click (#225)
* Closes #181: Open cable on double-click

* build js

Co-authored-by: mattieserver <3049868+mattieserver@users.noreply.github.com>
2022-12-27 14:57:32 +01:00
dfb0b532b9 Closes #151: Implement interface end to end connection view (#188)
* Added end to end interface connections, made showing cables and wireless optional

* Fixed 'Hide Unconnected' and other bugs

* rename var + extra check

* Add filter selection image for readme

* Added guidance on using the selection options

* Renaming to selection_options

* Renamed filter_selection to selection_options

* Update README.md

* Bug fix

* fix parameter order

* differentiate line type for interface connections

* allow both cables and logical connections

* Change logical connection line type

Co-authored-by: Mario <github@franzbonenkamp.de>

* Hide redundant connections, configurable options

* updated readme + removed visjs setting from settings

* Update README.md

Co-authored-by: Mario <github@franzbonenkamp.de>

* updated readme for 'Show Logical Connections'

Co-authored-by: tagrusendorf <tagrusendorf@dev-netbox.tag.kbproductions.ca>
Co-authored-by: mattieserver <3049868+mattieserver@users.noreply.github.com>
Co-authored-by: Mario <github@franzbonenkamp.de>
Co-authored-by: Mattijs Vanhaverbeke <mattijs.vanhaverbeke@ebo-enterprises.com>
2022-12-27 14:49:34 +01:00
mattieserver e0bd1d4e86 Closes #160: feature save filters (#227)
* initial saved filter support

* add filter field

* fixed model

* changed margin
2022-12-26 12:07:01 +01:00
mattieserver 2befe94f5d menu layout: use new class from netbox 3.4 (#215)
* new layout

* used new PluginMenu class
2022-12-21 17:03:47 +01:00
mattieserver 41d6afc336 bump version (#222) 2022-12-18 18:50:58 +01:00
mattieserver 2901dbb5c7 add check for python3.9 (#221) 2022-12-18 18:45:49 +01:00
Renato Almeida de OliveiraandMattijs Vanhaverbeke 7173564ea9 Topology button in Site View (#220)
* Topology button in Site View

* Add mdi icons to Topology and Close Buttons

* Fix buttons tag and class

* fixed drag & site filter

Co-authored-by: Mattijs Vanhaverbeke <mattijs.vanhaverbeke@ebo-enterprises.com>
2022-12-18 18:15:48 +01:00
mattieserver f187e75fff bump version (#200) 2022-12-09 13:52:44 +01:00
mattieserver c6df846bde changed api call path (#198) 2022-12-09 13:46:30 +01:00
Victor Gorchilov 52c2611e9d Feature: Add customisable icons in topology (#193)
* [up] add config for custom images, better js

* [up] use bundler to bundle js

* [fix] remove domcontentloaded since defer is used

* [fix] formatting with black

* [fix] images drf api

* [up] add support for custom icons on additional roles: power panel, power feed, circuit

* [up] optimize topology generation by using `_id` when trying to access pk of related object

* [fix] kebab case instead of slugification

* [fix] use empty queryset in api views & change coord save logic
2022-12-09 13:40:39 +01:00
Roy Vegard Ovesen 94f5314649 Filter by rack (#175)
Fixes #174
2022-10-09 19:12:59 +02:00
mattieserver 32042ff2cc added multiselect (#171) 2022-10-04 10:16:20 +02:00
Mattijs Vanhaverbeke 9ce13cd1d2 bump version 2022-09-16 16:14:42 +02:00
mattieserver b4e2f2418e added extra checks (#166) 2022-09-16 16:13:32 +02:00
mattieserver 5563e3c084 added device filter option (#165) 2022-09-16 16:07:14 +02:00
mattieserver 77a8a2c0d6 Removed print 2022-09-16 14:52:00 +02:00