Commit Graph
14 Commits
Author SHA1 Message Date
mattieserver 374a88266a used EventRulesMixin (#437) 2024-01-02 11:42:47 +01:00
Mario 987c7ef34c Fixes #377: Non-devices do not save coordinates (#387)
* corrected nodeId handling

* add models

* import models, migrate db

* correct migration deps

* load coordinates from db

* add serializers, correct imports

* add views and templates

* fix X-Y swap in help text

* add non-devices to coordinate group view
2023-09-27 09:13:17 +02:00
Mario 8b1d2b56f3 Add save_coords to individual options (#311) 2023-05-30 15:05:22 +02:00
dreng 3b1e69f2a5 Add missing newlines 2023-05-14 22:30:31 +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 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
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
Jeremy Stretchandmattieserver 62c0dbddb2 Initial work on NetBox v3.2 support (#88)
Co-authored-by: mattieserver <3049868+mattieserver@users.noreply.github.com>
2022-03-25 13:13:33 +01:00
mattijs vanhaverbeke a4807b306b structure and basic setup 2020-04-15 16:41:13 +02:00