Commit Graph

40 Commits

Author SHA1 Message Date
Jeremy Stretch
e1f7f009e8 Closes #3145: Add 'decommissioning' status for cables 2020-02-24 14:09:36 -05:00
Jeremy Stretch
1876003cf9 Fixes #4221: Fix exception when deleting a device with interface connections when an interfaces webhook is defined 2020-02-24 12:41:55 -05:00
Jeremy Stretch
0fc3d693e9 Add ability to toggle the inclusion of device images when rendering a rack elevation SVG 2020-02-20 13:09:43 -05:00
Jeremy Stretch
6542963ea4 Refactor rack elevation mixin to RackElevationSVG 2020-02-20 12:48:44 -05:00
Jeremy Stretch
159bac016f Add front/rear images for device types; include in rack elevations 2020-02-20 12:11:59 -05:00
Jeremy Stretch
9a6a1e9966 Closes #4170: Improve color contrast in rack elevation drawings 2020-02-14 13:09:01 -05:00
Jeremy Stretch
59327e7dce Merge pull request #4154 from netbox-community/4138-device_bays_in_rack_elevations
Fixes: #4138 - Add Device Bay count to rack elevation
2020-02-12 16:19:57 -05:00
Daniel Sheppard
505e25eded Modify _draw_elevations
* Add legend_width argument, variable & constant
* Applied legend_width variable where required
* Removed U prefix
2020-02-12 13:15:29 -06:00
Daniel Sheppard
9ae36f884d Add Device Bay count to rack elevation names 2020-02-12 12:48:13 -06:00
Dan Sheppard
1e6494145d Convert rack units to part of SVG rendered document 2020-02-11 23:31:51 -06:00
Jeremy Stretch
cbb9e58455 Fixes #4134: Device power ports and outlets should inherit type from the parent device type 2020-02-11 14:18:45 -05:00
Jeremy Stretch
14b3d74903 Convert interface models to use NaturalOrderingField 2020-02-07 15:58:03 -05:00
Jeremy Stretch
15747d4b49 Store empty names as null 2020-02-07 12:24:38 -05:00
Jeremy Stretch
d3596932f6 Convert remaining DCIM models to use NaturalOrderingField 2020-02-07 11:59:16 -05:00
Jeremy Stretch
c3aa21a92e Convert device component templates to use NaturalOrderingField 2020-02-07 11:42:12 -05:00
Jeremy Stretch
0dea297b3c Convert device components to use NaturalOrderingField 2020-02-07 11:36:58 -05:00
Jeremy Stretch
cbcccc7377 Introduce InventoryItemCreateView to bring inventory items up to par with other components 2020-02-06 10:59:13 -05:00
Jeremy Stretch
99a35b9128 Removed obsolete CSV headers from DeviceType (export is now YAML-based) 2020-01-31 17:08:38 -05:00
Jeremy Stretch
3846416492 Fixes #4030: Fix exception when bulk editing interfaces (revised) 2020-01-30 15:12:10 -05:00
hellerve
8fb8cc01bf dcim: add borders on the rear of devices as well 2020-01-27 13:13:07 +01:00
Jeremy Stretch
7784435aa9 #3880: Define constants for arbitrary values 2020-01-24 14:42:57 -05:00
hellerve
7c0952e4e6 dcim: fix #3982 by readding reserved tooltip 2020-01-24 08:45:55 +01:00
Jeremy Stretch
2bfd60eea1 Fixes #3983: Permit the creation of multiple unnamed devices 2020-01-22 09:26:49 -05:00
Jeremy Stretch
cb04c10744 Merge pull request #3971 from hellerve/veit/fix-3965
Display occupied rack units correctly
2020-01-21 13:53:21 -05:00
Jeremy Stretch
cd7560248f Merge branch 'develop' into veit/fix-3964 2020-01-21 11:39:45 -05:00
hellerve
490ebb6304 dcim: make pep happy 2020-01-21 17:01:48 +01:00
hellerve
c6113fce39 dcim: merge elevations as necessary 2020-01-21 16:56:06 +01:00
hellerve
5324a0bb64 dcim: fix tooltips in svg rack display 2020-01-21 16:23:59 +01:00
hellerve
e78516ebc7 dcim: fix #3964 by moving away from properties to inline styles 2020-01-21 16:06:15 +01:00
hellerve
91407d2f9a dcim: fix #3965 by adding an option to get_rack_units 2020-01-21 15:50:38 +01:00
hellerve
5c7f5715c3 dcim: fix #3962 by moving away from device.name 2020-01-21 15:33:17 +01:00
Jeremy Stretch
cea4dffc02 Fixes #3953: Fix validation error when creating child devices 2020-01-17 14:22:58 -05:00
Jeremy Stretch
45d5baef0b Fixes #3943: Prevent rack elevation links from opening new tabs/windows 2020-01-16 23:41:52 -05:00
Jeremy Stretch
1f476eee69 Merge branch 'develop' into develop-2.7 2020-01-16 09:38:23 -05:00
Jeremy Stretch
4909a8b672 #3892: Convert CABLE_TERMINATION_TYPES to a Q object 2020-01-15 15:51:51 -05:00
Jeremy Stretch
2858284946 Move rack elevation CSS to project-static/rack_elevation.css 2020-01-15 14:05:44 -05:00
Jeremy Stretch
91cf7410e4 Update model ordering parameters to ensure deterministic ordering 2020-01-15 13:20:44 -05:00
Jeremy Stretch
a3bb57f130 Change DeviceType export from CSV to YAML 2020-01-13 15:10:16 -05:00
Jeremy Stretch
ac859954ca Merge branch 'develop' into develop-2.7 2020-01-13 13:49:22 -05:00
Jeremy Stretch
7def26acde Closes #3092: Split DCIM models into separate files for easier management 2020-01-10 14:22:22 -05:00