Commit Graph

2115 Commits

Author SHA1 Message Date
Jeremy Stretch
0d1eb15cfc Merge pull request #5522 from netbox-community/5311-site-rack-validation
Employ signals to update child objects when RackGroup/Rack site assignment changes
2020-12-23 14:24:56 -05:00
Jeremy Stretch
4afeee2471 Extend handle_rackgroup_site_change() receiver to update power panels 2020-12-23 14:02:05 -05:00
Jeremy Stretch
f626baec77 Clean up hierarchical table columns 2020-12-22 16:14:16 -05:00
Jeremy Stretch
77bb591a54 Employ signals to update child objects when RackGroup/Rack site assignment changes 2020-12-22 15:22:53 -05:00
Jeremy Stretch
de504a0f21 Fixes #5488: Fix caching error when viewing cable trace after toggling cable status 2020-12-21 15:30:34 -05:00
Jeremy Stretch
95c94b035c Fixes #5499: Fix filtering of displayed device/VM interfaces by regex 2020-12-18 15:02:52 -05:00
Jeremy Stretch
197e18c39a Fixes #5498: Fix filtering rack reservations by username 2020-12-18 12:18:59 -05:00
Jeremy Stretch
56fae2c10c Closes #5496: Add form field to filter rack reservation by user 2020-12-18 12:09:41 -05:00
Jeremy Stretch
6425aaa663 Closes #5489: Add filters for type and width to racks list 2020-12-17 15:55:22 -05:00
Jeremy Stretch
d49edd40a9 Fixes #5487: Support filtering rack type/width with multiple values 2020-12-17 15:50:47 -05:00
Jeremy Stretch
68eafb180a Rename get_subquery() to count_related() 2020-12-17 14:47:49 -05:00
Jeremy Stretch
cfbe7ec948 Call Coalesce() inside get_queryset() 2020-12-17 14:45:50 -05:00
Jeremy Stretch
bb69f9aee9 Fixes #5486: Optimize retrieval of config context data for device/VM REST API views 2020-12-17 14:03:10 -05:00
Jeremy Stretch
267f08a6b3 #5444: Also fix the enabled field' 2020-12-15 16:52:58 -05:00
Jeremy Stretch
d711a8b442 Fixes #5444: Don't force overwriting of mgmt_only when bulk editing interfaces 2020-12-15 16:17:52 -05:00
Daniel Sheppard
b3999381f9 Fixes: #5450 - Added Coalesce to viewsets for the _count functions 2020-12-15 12:50:28 -06:00
Jeremy Stretch
af67080410 Fixes #5453: Correct change log representation when creating a cable 2020-12-15 13:37:02 -05:00
Jeremy Stretch
a6248c0ba4 Add test for #5461 2020-12-15 12:01:53 -05:00
Jeremy Stretch
d4535bc5c5 Merge branch 'develop' into develop-2.10 2020-12-11 16:57:04 -05:00
Jeremy Stretch
edea25f32b Fixes #5433: Exclude SVG files from front/rear image upload for device types (currently unsupported) 2020-12-11 09:27:00 -05:00
Jeremy Stretch
f92386924f Closes #5439: Add CS and SN fiber port types 2020-12-11 08:56:02 -05:00
Jeremy Stretch
4f8d5824ee Fixes #5436: Show assigned IP addresses in interfaces list 2020-12-10 08:52:55 -05:00
Jeremy Stretch
23c764fdf3 Fixes #5410: Restore tags field on cable connection forms 2020-12-04 08:57:19 -05:00
Jeremy Stretch
1926a55cd6 Clean up breadcrumbs for device component views 2020-12-02 16:25:38 -05:00
Jeremy Stretch
8376acab81 Clean up tagged VLANs table column 2020-12-02 15:57:55 -05:00
Jeremy Stretch
89ec24caa2 Include nested representation of nodes within each CablePath 2020-12-02 14:30:05 -05:00
Jeremy Stretch
1037e78f18 Standardize validation of interface VLAN assignments 2020-12-02 14:19:02 -05:00
Jeremy Stretch
3ec85d5c3c Consolidate CableCSVForm validation logic 2020-12-02 13:17:30 -05:00
Jeremy Stretch
86d4b21c40 Fixes #5395: Fix cable tracing for rear ports with no corresponding front port 2020-12-02 12:03:25 -05:00
Jeremy Stretch
8796939454 Add a better progress indicator for trace_paths 2020-12-01 13:30:59 -05:00
Jeremy Stretch
84fe653306 Merge branch 'develop' into develop-2.10 2020-12-01 11:42:55 -05:00
Jeremy Stretch
92de4b5bb7 #5306: Introduce CSVContentTypeField for cable termination types 2020-12-01 11:03:05 -05:00
Jeremy Stretch
0b8eb6e329 Closes #4865: Replace all Count() annotations with subqueries (#5385)
* Convert circuits to use subqueries

* Convert dcim to use subqueries

* Convert extras to use subqueries

* Convert ipam to use subqueries

* Convert secrets to use subqueries

* Convert virtualization to use subqueries

* Update global search view to use subqueries where appropriate

* Remove extraneous order_by() calls
2020-11-25 15:49:18 -05:00
Jeremy Stretch
82231062c9 Fix view tests 2020-11-25 09:22:24 -05:00
Jeremy Stretch
0d1017f0c1 Merge branch 'develop' into develop-2.10 2020-11-24 16:50:21 -05:00
Jeremy Stretch
2593b06d9b Changelog for #5319 2020-11-24 16:29:09 -05:00
Jeremy Stretch
67844fc702 Merge pull request #5362 from ndom91/5319-usb-power-outlet
Add: USB power outlet/ports
2020-11-24 16:26:26 -05:00
ndom91
9aa38a0d57 chore: fix pep8 formatting fail 2020-11-24 16:07:22 +01:00
ndom91
e81f9be061 fix: typo 2020-11-24 15:50:10 +01:00
Jeremy Stretch
41b986d0f2 Merge branch 'develop-2.10' of https://github.com/netbox-community/netbox into develop-2.10 2020-11-24 09:44:54 -05:00
ndom91
ea057550c2 update: ordering / completeness of usb connectors 2020-11-24 15:44:51 +01:00
Jeremy Stretch
20b8c51cb3 Add tests for per-device component views 2020-11-24 09:44:03 -05:00
Daniel Sheppard
6d062ef42d Fixes: #5374 - Fix exception thrown when tracing mid-point 2020-11-24 08:41:48 -06:00
Jeremy Stretch
7be12816e1 Rename CustomFieldFilterSet 2020-11-23 14:47:54 -05:00
Jeremy Stretch
76325cb182 Fixes #5360: Clear VLAN assignments when setting interface mode to none 2020-11-20 14:40:21 -05:00
ndom91
23247707c9 add: USB power outlet/ports 2020-11-19 23:59:51 +01:00
Jeremy Stretch
1d24a7f5e6 Move device template 2020-11-19 16:19:08 -05:00
Jeremy Stretch
caf79dbacb Migrate all ObjectView subclasses to use get_extra_context() 2020-11-19 15:59:11 -05:00
Jeremy Stretch
e5817a926d Update templates to use "object" context var 2020-11-19 13:22:33 -05:00
Jeremy Stretch
ebaf5d5bca Update ObjectChangeLogView to use "object" context var 2020-11-19 11:49:37 -05:00