Commit Graph
36 Commits
Author SHA1 Message Date
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 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
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
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
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
mattieserver 318b8495b7 Netbox v3.3 Support (#145)
* init

* added circuit (or at least part of)

* refactor circuits + fix js

* small changes

* small changes

* added power + rework settings

* small changes
2022-09-01 18:44:03 +02:00
mattieserver 3e5b28f208 Update to support netbox v3.1 (#82)
* init for v3.1

* added coords + bump version

* fix filter + added preselected roles

* added draw_default_layout

* upgraded packages

* fixed edge/node labels

* fixed enable_circuit_terminations

* added filter for unconnected devices

* added ignore_cable_type

* fixed old settings using a string instead of array

* removed distutils

* fixed coords check

* added coor saving

* added doc img

* updated docs

* bump version

* bump version
2022-03-08 17:03:47 +01:00
mattieserver 91a690f1c8 add filter by locations (#63)
* frontend for locations

* locations filter backend
2021-05-01 19:22:28 +02:00
mattieserver 5f498f9ce2 Hide unconnected (#61)
* #57 hide unconnected devices
2021-05-01 18:34:50 +02:00
mattieserverandmattieserver a314d2b307 netbox v2.10 (#52)
* small changes

* removed print

* fix coords

* fix saving coords

* update readme

* fixed icons

* bump version

Co-authored-by: mattieserver <mattijs@DESKTOP-618OSU1.localdomain>
2021-02-11 19:22:41 +01:00
Mattijs Vanhaverbeke 5bfc47775b #37 2020-07-20 12:36:38 +02:00
Mattijs Vanhaverbeke de5707ff06 PATCH instead of POST 2020-05-22 12:57:58 +02:00
Mattijs Vanhaverbeke 371c5c3502 added download button, fixed perms 2020-05-22 12:07:46 +02:00
Mattijs Vanhaverbeke 40ae715eb5 more NoneType checks 2020-05-19 22:35:55 +02:00
Mattijs Vanhaverbeke 204098a143 #23 check for nonetype in cable.termination 2020-05-19 22:17:13 +02:00
Mattijs Vanhaverbeke 370eff6b67 #14, added circuit terminations 2020-05-19 17:18:20 +02:00
Johannes Kreuzer 7f0dcd97f7 color the edges
When a cable has a color set, use this color for the edge which
repesents the cable, so that a cabling type or maybe a purpose of the cable
could be seen in the topology graph.
2020-05-18 19:03:18 +02:00
Mattijs Vanhaverbeke 0d7052d83d small cleanup and v0.4.5 2020-05-18 18:52:56 +02:00
Johannes Kreuzer 987aab772f move device type name to title and add more device details to title 2020-05-18 18:14:23 +02:00
Mattijs Vanhaverbeke 2025bba6a1 fixed spelling of the word 'unknown' 2020-05-17 17:05:14 +02:00
Mattijs Vanhaverbeke 85b27895e2 v0.4.3 2020-05-17 16:45:19 +02:00
Mattijs Vanhaverbeke 940b37428c #15 check for NoneType in cables & devices 2020-05-17 16:41:51 +02:00
Mattijs Vanhaverbeke e0624effc2 exclude "circuit termination" type for now 2020-05-17 14:14:53 +02:00
Mattijs Vanhaverbeke ffd91e2cf5 CustomFieldValue & CustomField 2020-05-16 20:00:25 +02:00
Mattijs Vanhaverbeke 33d7157b12 added search by tag (#8) 2020-05-16 14:24:38 +02:00
Mattijs Vanhaverbeke 5e53066ba7 fixed auth, added save-coords 2020-05-14 22:20:01 +02:00
Johannes Kreuzer 8a6f1660f0 Update for support of netbox deployments, which are not in the webserver root (e.g. /netbox/) 2020-05-14 15:52:47 +02:00
mattijs vanhaverbeke ac76d70c57 added base functions and api 2020-04-16 14:22:42 +02:00
mattijs vanhaverbeke a4807b306b structure and basic setup 2020-04-15 16:41:13 +02:00
mattijs vanhaverbeke 2543f63f7f initial structure 2020-04-15 11:35:42 +02:00