Jeremy Stretch
84fe653306
Merge branch 'develop' into develop-2.10
2020-12-01 11:42:55 -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
e77d851426
Merge branch 'develop' into develop-2.10
2020-11-09 20:58:59 -05:00
Jeremy Stretch
d45f06fde4
Closes #5327 : Be more strict when capturing anticipated ImportError exceptions
2020-11-09 16:49:05 -05:00
Jeremy Stretch
124a43b63f
Merge branch 'develop' into develop-2.10
2020-10-30 10:38:05 -04:00
John Anderson
ffe01cb42b
move get_queryset() to common mixin
2020-10-30 02:56:43 -04:00
John Anderson
152fe800c7
add support for regions and vms
2020-10-23 01:18:04 -04:00
John Anderson
cdd1948721
initial work on config context performance improvements
2020-10-20 01:07:22 -04:00
Jeremy Stretch
219d07f997
Reorganize REST API components under netbox app
2020-10-13 15:57:21 -04:00
Jeremy Stretch
11cd595f23
Handle split paths
2020-10-08 14:01:47 -04:00
Jeremy Stretch
a52cf93b2f
Add /trace API endpoints for CircuitTermination and PowerFeed
2020-10-08 13:55:29 -04:00
Jeremy Stretch
318d3bf81b
Add cable paths API detail view for pass-through ports
2020-10-08 10:32:17 -04:00
Jeremy Stretch
056285dcd2
Include cable_peer on CableTermination serializers
2020-10-06 14:30:46 -04:00
Jeremy Stretch
3fee32ef6e
Prefetch path & destination for API views
2020-10-06 10:41:52 -04:00
Jeremy Stretch
865a2d5c77
Remove legacy connected endpoint fields
2020-10-05 09:56:46 -04:00
Jeremy Stretch
4c4a09ae1b
Replace legacy trace() method
2020-10-02 14:54:16 -04:00
Jeremy Stretch
dd06bbcaf6
Closes #4349 : Drop support for embedded graphs
2020-08-21 11:57:46 -04:00
Jeremy Stretch
61d2692029
Closes #4997 : Introduce OrderedDefaultRouter; move root API views to views.py
2020-08-13 12:49:49 -04:00
Jeremy Stretch
29c77acf87
Fixes #4903 : Fix member count when searching for virtual chassis
2020-08-07 08:54:02 -04:00
Jeremy Stretch
fdf2dc8912
Closes #4940 : Added an occupied field to rack unit representations for rack elevation views
2020-08-03 13:37:32 -04:00
Jeremy Stretch
3ad3e9146f
Fixes #4921 : Render non-viewable devices as unavailable space in rack elevations
2020-07-29 09:43:13 -04:00
Jeremy Stretch
05e7af702b
Remove restriction enforcement from RestrictedQuerySet
2020-07-23 12:48:03 -04:00
Jeremy Stretch
96d058c231
Merge branch 'develop' into develop-2.9
2020-07-21 12:57:02 -04:00
Jeremy Stretch
43a4590014
Closes #4871 : Specify ordering for querysets using annotate() to count related objects
2020-07-20 12:07:19 -04:00
Josh VanDeraa
754ff4a599
Moves location of the IP address / hostname check and assignment
2020-07-13 08:36:15 -05:00
Josh VanDeraa
ee4e5ad525
Adds verification of device.name configured
2020-07-10 16:18:58 -05:00
Josh VanDeraa
b8169778be
Adds to NAPALM, name lookup if no primary IP address for device
2020-07-10 15:12:25 -05:00
Jeremy Stretch
7b94ea92ef
Merge branch 'develop' into develop-2.9
2020-07-09 16:38:37 -04:00
Sander Steffann
3affd467e1
Fix typo in format string
2020-07-08 22:20:20 +02:00
Jeremy Stretch
779dc8be86
Merge branch 'develop' into develop-2.9
2020-07-02 10:01:01 -04:00
Jeremy Stretch
c4040a517d
Fix evaluation of RestrictedQuerySet
2020-06-29 14:41:43 -04:00
Jeremy Stretch
3445147773
Fix unrestricted evaluations of RestrictedQuerySet
2020-06-29 13:31:26 -04:00
Jeremy Stretch
487013fd25
Call restrict() when retrieving related Graphs
2020-06-29 10:14:43 -04:00
Daniel Sheppard
79942d7242
#4695 - Rename LimitedMetaData to ContentTypeMetadata
2020-06-26 11:09:27 -05:00
Daniel Sheppard
e40f9444f0
#4695 - Add Metadata class that returns content type choices
2020-06-26 10:59:21 -05:00
Sander Steffann
e04a7cdbd0
Revert "Bumping version just to test the GitHub Action"
...
This reverts commit 203f5204
2020-06-24 13:09:11 +02:00
Sander Steffann
203f52046d
Bumping version just to test the GitHub Action
2020-06-24 13:07:54 +02:00
Jeremy Stretch
59c5d1e57e
Merge branch 'develop' into develop-2.9
2020-06-15 16:04:32 -04:00
Jeremy Stretch
cf78f3d3a1
Fixes #4736 : Add cable trace endpoints for pass-through ports
2020-06-09 15:12:10 -04:00
Jeremy Stretch
115fbecb44
Update custom napalm_read, napalm_write permissions
2020-06-02 09:46:32 -04:00
Jeremy Stretch
05def79739
Adapt tracing view to account for split ends (WIP)
2020-04-15 17:09:04 -04:00
Jeremy Stretch
8ba6dad2bb
Merge branch 'develop' into develop-2.8
2020-04-06 13:51:05 -04:00
Jeremy Stretch
7af91e2409
Closes #4147 : Use absolute URLs in rack elevation SVG renderings
2020-04-03 13:16:35 -04:00
Jeremy Stretch
e836fe3378
Merge branch 'develop' into develop-2.8
2020-03-27 12:53:55 -04:00
Jeremy Stretch
62f2da45c1
Remove unused follow_circuits arg for cable tracing
2020-03-18 21:14:53 -04:00
Jeremy Stretch
4bda842fae
Remove FieldChoicesViewSet
2020-03-12 10:48:17 -04:00
Jeremy Stretch
ed2f997c9c
Merge branch 'develop' into develop-2.8
2020-03-03 13:20:00 -05:00
Dan Sheppard
28b8952299
Fixes : #4230 - Fixes filtering by position on elevation endpoint
...
* Add tests for rack elevation filtering
* Add q variable to serializers for RackElevationDetailFilterSerializer
* Add code to allow filtering of position on the rack elevation
2020-02-22 08:24:26 -06:00
Jeremy Stretch
fc0e3ba6ef
Merge branch 'develop' into develop-2.8
2020-02-21 15:26: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