Jeremy Stretch
f4bbdf30e8
Implement get_subquery() for annotation of child object counts; Rename dcim.Site 'count_*' fields
2019-04-19 16:09:22 -04:00
John Anderson
2580b026fe
change cacheing to use cacheops
2019-04-17 12:29:21 -04:00
John Anderson
4723ddb5ce
move caching to views
2019-04-15 14:41:04 -04:00
John Anderson
f0505477b8
intial work on #2647 - caching
2019-04-15 03:55:33 -04:00
Jeremy Stretch
ad4d23fa20
Replace distinct annotations with subqueries for much better performance
2019-04-12 17:18:04 -04:00
Jeremy Stretch
a46b43bff6
Added child counts to API serializers (WIP)
2019-04-12 17:07:56 -04:00
Jeremy Stretch
e710ccb0e6
Enforce view permissions for UI views
2019-04-11 17:27:38 -04:00
dansheps
6e8e6809f3
Move Filter and Form to new file, update all files
2019-04-10 08:37:12 -05:00
dansheps
a91a79681f
Merge branch 'develop' of https://github.com/digitalocean/netbox into 2813-addtenantgroupfilter
2019-04-09 15:57:22 -05:00
Jeremy Stretch
f1d1e8b537
Update migrations
2019-04-09 14:22:45 -04:00
Jeremy Stretch
4f9b666eee
Merge branch 'develop' into develop-2.6
2019-04-09 14:11:26 -04:00
Jeremy Stretch
9a91bdbdb2
Fixes #2937 : Redirect to list view after editing an object from list view
2019-04-08 14:10:55 -04:00
Jeremy Stretch
c8cccc30d1
Merge branch 'develop' into develop-2.6
2019-04-02 13:12:34 -04:00
Jeremy Stretch
dff3165402
Fixes #3026 : Tweak prefix/IP filter forms to filter using VRF ID rather than route distinguisher
2019-03-28 10:06:25 -04:00
Jeremy Stretch
fc76c8eb0f
FieldChoicesViewSet should infer field choices from serializer, not model
2019-03-22 16:24:53 -04:00
Jeremy Stretch
0b95016e00
Merge branch 'develop' into develop-2.6
2019-03-11 21:01:18 -04:00
Jeremy Stretch
f4b85751bb
Fixes #2940 : Allow CSV import of prefixes/IPs to VRF without an RD assigned
2019-03-11 12:34:19 -04:00
Jeremy Stretch
7a8fc8dfd5
Changelog for #2944
2019-03-07 14:08:36 -05:00
Marc
1d904b1722
Fix IP address is not recorded in the associated interface's changelog
2019-03-07 10:57:26 +01:00
dansheps
c208d8fc2e
* Added CSS to:
...
* Hide URLs
* Hide elements with "noprint" class
* Added noprint to:
* Header Panel
* Search Panel, Tags Panel
* Buttons
* Various list elements
* Related elements
2019-03-05 15:42:47 -06:00
Jeremy Stretch
8a1d7fdb37
Updated migrations to account for extras/0017_exporttemplate_mime_type_length
2019-03-05 13:46:37 -05:00
dansheps
b4d7f9ea43
Fixes #2781 : Fixes filter by regions on site and device list
...
* Add Device filter
2019-03-05 08:10:10 -06:00
dansheps
8683efe54a
Fixes #2813 : Add Filter and List View for TenantGroup
...
Added Filter for TenantGroup to the following Forms and Filter classes
* circuit.Circuit
* dcim.Site
* dcim.Rack
* dcim.RackElevation
* dcim.RackReservation
* dcim.Device
* ipam.IPAddress
* ipam.Prefix
* ipam.VRF
* ipam.VLAN
* virtualization.VirtualMachine
Added List View to the following classes:
* circuit.Circuit
* dcim.Site
* dcim.Rack
* dcim.RackReservation
* dcim.Device
* ipam.IPAddress
* ipam.Prefix
* ipam.VRF
* ipam.VLAN
* virtualization.VirtualMachine
2019-02-23 11:09:02 -06:00
dansheps
f78c228c75
Fixes #2813 : Add Filter for TenantGroup to the following Forms and Filter classes:
...
* circuit.Circuit
* dcim.Site
* dcim.Rack
* dcim.RackElevation
* dcim.RackReservation
* dcim.Device
* ipam.IPAddress
* ipam.Prefix
* ipam.VRF
* ipam.VLAN
* virtualization.VirtualMachine
2019-02-23 10:37:30 -06:00
John Anderson
b9d11aa4ca
refactor tag migrations and add changelog fields to tag
2019-02-22 01:32:31 -05:00
John Anderson
fc2bb724fa
initial pass on migrating to custom tag model with color and comments fields
2019-02-20 03:52:47 -05:00
Jeremy Stretch
9d69f14faa
Implement basic view testing for all models ( #2909 )
2019-02-15 17:02:18 -05:00
Jeremy Stretch
375e66047d
Fixes #2864 : Correct display of VRF name when no RD is assigned
2019-02-08 09:04:43 -05:00
Jeremy Stretch
42d1d6e1b0
Fixes #2841 : Fix filtering by VRF for prefix and IP address lists
2019-02-06 10:48:14 -05:00
Jeremy Stretch
bcfa760cf9
Closes #2805 : Allow null route distinguisher for VRFs
2019-01-31 13:47:24 -05:00
John Anderson
613e8f05c2
fixes #2835 - certain model filters did not support the q query param
2019-01-31 13:36:30 -05:00
Jeremy Stretch
ae0c8deec2
Closes #2809 : Remove VRF child prefixes table; link to main prefixes view
2019-01-31 10:06:08 -05:00
Jeremy Stretch
bd74e2f30b
Closes #2782 : Add is_pool field for prefix filtering
2019-01-17 16:02:16 -05:00
Jeremy Stretch
b6737aff59
Remove invalid kwarg (conflict w/ #2779 )
2019-01-15 15:47:47 -05:00
Jeremy Stretch
c5f2cbf9fa
Syntax fix
2019-01-15 15:44:21 -05:00
John Anderson
d6d8b078b9
Merge branch 'develop' into select2-ui
2019-01-15 10:26:39 -08:00
Jeremy Stretch
1d7a7e2d1d
Fixes #2779 : Include "none" option when filter IP addresses by role
2019-01-15 11:26:41 -05:00
John Anderson
ad4fb3ce8b
IPAM Select2 forms and changelog
2019-01-10 21:19:13 -05:00
Jeremy Stretch
0d415d94a5
Fixes #2757 : Always treat first/last IPs within a /31 or /127 as usable
2019-01-08 12:04:32 -05:00
Jeremy Stretch
209a9f0ffc
Closes #1630 : Enable bulk editing of prefix/IP mask length
2019-01-03 16:21:21 -05:00
Jeremy Stretch
68cb8b6895
Closes #2701 : Enable filtering of prefixes by exact prefix value
2018-12-19 10:02:18 -05:00
Jeremy Stretch
2418fed65b
Fixes #2663 : Prevent duplicate interfaces from appearing under VLAN members view
2018-12-12 13:18:42 -05:00
Jeremy Stretch
4da755e75f
Formatting cleanup
2018-11-27 11:57:29 -05:00
Jeremy Stretch
bd7aee7c1f
Closes #2614 : Simplify calls of super() for Python 3
2018-11-27 10:52:24 -05:00
Jeremy Stretch
89622f1ddf
Fixes #2602 : Return HTTP 204 when no new IPs/prefixes are available for provisioning
2018-11-20 13:03:59 -05:00
Jeremy Stretch
bc8dbfde7c
Merge branch 'develop' into develop-2.5
2018-11-12 16:03:52 -05:00
Jeremy Stretch
0c33af2140
Fixes #2558 : Filter on all tags when multiple are passed
2018-11-12 15:48:58 -05:00
Jeremy Stretch
75f0d8ee90
Closes #2578 : Reorganized nested serializers
2018-11-12 11:36:44 -05:00
Jeremy Stretch
ce00226bc6
Merge release v2.4.7 into develop-2.5
2018-11-06 11:19:38 -05:00
knobix
0c86fd89ca
Update models.py ( #2502 )
...
Fix the handling of shared IPs (VIP, VRRF, etc.) when unique IP space enforcement is set.
Add parentheses for the logical OR-statement to make the evaluation valid.
Fixes : #2501
2018-11-05 15:33:10 -05:00