1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00
Commit Graph

3442 Commits

Author SHA1 Message Date
15cc50fc1d Fixes : Use internal ManyToManyColumn to ensure proper export behavior 2024-05-06 10:32:29 -04:00
56e0449ebc Fixes: - Fixes cable fanin/fanout when both are required ()
* Preliminary fix for 

* Tweaking of line height
2024-05-06 09:48:14 -04:00
4cc5079ecb 12127 enable cable add button 2024-05-06 08:37:22 -04:00
408e0c5a9b Fixes : Consider VC membership when assigning LAG interfaces via bulk edit 2024-05-03 10:55:41 -04:00
c8a9bc006d Fixes : Fix rendering of cable traces to circuit terminations 2024-05-03 10:54:34 -04:00
c08784da46 Fixes - Fix unterminated cable exception when editing cable ()
* Fix cable edit form with single unterminated cable

* Minor tweaks

* Instead of skipping HTMX, override the template & move form template to an "htmx" template

* Use HTMXSelect widget for A/B type selection

* Infer A/B termination types from POST data

* Fix saving cable which results in resetting of the termination type fields

* Condense view logic

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-05-01 14:24:50 -04:00
cad3e34d8f Merge pull request from Moehritz/13922-svg-uneven
Fixes , Fixes : Update the CableRender
2024-04-22 21:53:34 -05:00
07e2cf0ad2 Merge pull request from pv2b/choices-css-rewrite
Refactor row coloring logic and simplify mark planned/connected toggle implementation
2024-04-22 21:45:15 -05:00
1eca1c3d17 15803 localize help_text () 2024-04-22 11:42:20 -04:00
90d0104359 15541 Add component selector to InventoryItemTemplate ()
* 15541 make inventoryitemtemplateform match inventoryitemform

* 15541 set tab active
2024-04-22 08:22:53 -04:00
94c31622ac 15588 set readonly nullable fields as allow_null=True 2024-04-19 16:17:28 -04:00
f47b158863 15685 Allow decimal for cable length filter form ()
* 15685 allow decimal for cable length filter

* 15685 allow decimal for cable length filter

* 15685 remove minlenth

* 15685 remove minlenth
2024-04-15 11:24:32 -04:00
3b3511c43c Refactor 32264ac3 to re-separate bulk and single device creation. Fixes . 2024-04-04 14:01:55 -04:00
8bdbb49a27 Fixes : Add description field to YAML export for device & module types 2024-03-13 19:10:49 -04:00
7ac21690e5 Fixes : Fix assignment of front & rear images to device types via REST API 2024-03-13 19:10:30 -04:00
51b2bcf264 Closes : Add FC SFP types 2024-03-12 09:03:42 -04:00
6629c94148 Closes : Linkify platform column in device & virtual machine tables 2024-03-08 16:48:39 -05:00
8afbb4421b 15232 fix inventory item template permission 2024-02-29 15:30:51 -05:00
edb7d24b45 Added installed_module on NestedModuleBaySerializer ()
* added installed_module on NestedModuleBaySerializer 

* Update test

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-02-23 15:54:47 -05:00
8571f428b1 fixed location import 2024-02-21 14:10:10 -05:00
1780acc8a6 Fixes the rackelevation api schema ()
* fixes the rackelevation api schema 

* fixes the rackelevation api schema 
2024-02-21 13:39:32 -05:00
17a321a340 14405 render link_peer to CSV ()
* 14405 render link_peer to csv

* 14405 review changes
2024-02-20 16:24:14 -05:00
839609d101 Added allow_null for front and rear image on api ()
* added allow_null for front and rear image on api 

* added allow_null for front and rear image on api 
2024-02-20 13:53:56 -05:00
af27bf5eff 15094 Add missing gettext to error strings for internationalization ()
* 15049 add missing gettext to error strings

* 15049 add missing gettext to error strings

* 15094 review change

* 15094 review change

* Formatting cleanup

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-02-20 09:44:02 -05:00
29f029d480 Fixes: - Limits platform selection to manufacturer and platforms with no manufacturer ()
* Fixes:  - Limits platform selection to manufacturer and platforms with no manufacturer

* Apply suggestions from code review

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-02-20 09:28:15 -05:00
2d70b50286 Fixes : Correct IP address count link in VM interfaces table 2024-02-13 12:16:11 -05:00
01fa2710eb Fixes : Fix uncaught exception when attempting invalid device bay import 2024-02-13 12:15:15 -05:00
c7ae2db8e3 Fixes : Correct typo in error message 2024-02-12 08:44:22 -05:00
93edf74f7c Fixes : Fix "select all" button for device type components () 2024-02-05 13:05:25 -05:00
1b9e6bed55 Fixes : Correct typo in label 2024-01-29 08:48:02 -05:00
c8fb948a91 14511 Fix connected endpoints for GraphQL 2024-01-25 08:47:32 -05:00
f26ac3e7cb 14920 add help to status field in virtual device context import 2024-01-25 08:31:40 -05:00
8fadd6b744 Merge branch 'develop' into choices-css-rewrite 2024-01-23 21:50:06 +01:00
bf362f4679 Hardcode cable status colours 2024-01-23 20:58:10 +01:00
da7f67c359 Refactor noisy getter methods into neat lambdas 2024-01-23 20:49:10 +01:00
749fc31bc4 limits ip addresses on interface tables 2024-01-19 14:53:24 -05:00
2221a9d71f Fixes : Remove errant translation wrapper from DeviceBay installed_device 2024-01-10 14:18:46 -05:00
2c93dd03e1 account for swapped terminations in cable object
also remove out-of-scope changes to tooltips
2024-01-10 14:29:46 +01:00
ced44832f7 Remove dangling logging message used during development 2024-01-09 14:22:36 +01:00
6af3aad362 Fixes , Fixes : Update the CableRender
This commit updates the cable rendering logic to fix
both issue  and . Before, objects, terminations
and cables where drawn in the svg without context of each
other.
Now the following changes are applied:
- Hosts and Terminations are where possible sorted alphabetically
- Terminations and Cables are visually connected, and if necessary not in a vertical line
- Terminations and Hosts are visually aligning
- Cable Tooltips contain more information
2024-01-09 13:51:09 +01:00
224484ebb6 Closes : Add termination object filters for cables ()
* Add termination object filters for cables

* Add tests for new filters
2023-12-28 15:39:14 -05:00
d5c1cb0ef6 Merge branch 'develop' into feature 2023-12-28 14:20:04 -05:00
3ef2db81e8 Closes : Add filter tests for all q and description filters 2023-12-28 13:53:16 -05:00
3bacee16bd Closes : Ensure description filters are available on all relevant models 2023-12-28 13:53:16 -05:00
fedcbaf4c8 Fixes : Permit setting device type U height to 0 during bulk edit 2023-12-28 10:06:25 -05:00
359c0cf3a0 Fix typo in filtersets.py
fix typo which causing exception `Cannot resolve keyword 'description_icontains' into field`
2023-12-28 08:47:43 -05:00
1f2f0860fe Merge branch 'develop' into feature 2023-12-27 16:34:38 -05:00
8a237561ef Closes : Match against description field when searching for devices 2023-12-27 13:49:39 -05:00
b955751349 Fixes : Ensure reservations tab is always displayed under rack view 2023-12-27 13:42:26 -05:00
43909ee33f Fixes : Permit zero-length cables 2023-12-26 09:27:58 -05:00