Jeremy Stretch
17898a4c57
Merge branch 'develop-2.7' into 3569-api-choice-slugs
2019-12-05 17:43:11 -05:00
Jeremy Stretch
edbf562803
Annotate all migration operation lists
2019-12-05 17:42:33 -05:00
Sander Steffann
adb25fd7d7
822 bulk import of device components ( #3711 )
...
Closes #822 : CSV import for device components
* Implement CSV import for netbox-community#822
* Comment out default_return_url until there is a proper target
* Fix the default value of `enabled` when not included in the import
* rear_port is definitely required here
* Power Ports don't have a type (yet)
* Add import for console-ports and console-server-ports
* Add import for device-bays
2019-12-05 15:36:11 -05:00
Jeremy Stretch
4ecbfc4e5e
Service.protocol to slug ( #3569 )
2019-11-27 22:27:06 -05:00
Jeremy Stretch
213bd1555a
VLAN.status to slug ( #3569 )
2019-11-27 22:15:59 -05:00
Jeremy Stretch
14a7a33cc2
IPAddress.role to slug ( #3569 )
2019-11-27 22:09:16 -05:00
Jeremy Stretch
ba8f324b12
IPAddress.status to slug ( #3569 )
2019-11-27 21:54:01 -05:00
Jeremy Stretch
929c0648d0
Prefix.status to slug ( #3569 )
2019-11-27 21:46:53 -05:00
chambersh1129
52e9369af4
PEP 8 E121 continuation line under-indented for hanging indent fix
2019-10-09 20:11:02 -04:00
chambersh1129
bdb3838d71
Replace all instances of .extra() in QuerySets with annotations, including references in docstrings
2019-10-09 20:11:02 -04:00
Jeremy Stretch
896d58fc3f
Fixes #3458 : Prevent primary IP address for a device/VM from being reassigned
2019-10-09 16:22:06 -04:00
Jeremy Stretch
a3b9bdaff1
Miscellaneous cleanup
2019-10-04 12:59:10 -04:00
Jeremy Stretch
86cef1c502
Fixes #3435 : Change IP/prefix CSV export to reference VRF name instead of RD
2019-09-25 09:39:03 -04:00
Jeremy Stretch
6e66f8d68a
Fixes #3452 : Queue deletion ObjectChanges until after response is sent
2019-08-26 16:52:05 -04:00
John Anderson
ade844f7a7
fixes #3428 - caching invalidation issues
...
Mitgate invalidation issues by using prefetch_related instead of select_related.
Also use invalidated_update instead of just update.
2019-08-19 01:53:39 -04:00
Jeremy Stretch
3bb3b85fa2
Merged v2.5.13
2019-05-31 21:37:41 -04:00
Jeremy Stretch
0804c1acbd
Fixed test from #3211 follow-up work
2019-05-29 10:51:49 -04:00
Jeremy Stretch
a7ca49c44d
Merge pull request #3222 from hellerve/tmp
...
Fix error message on trying to delete protected models
2019-05-29 10:24:28 -04:00
hellerve
2c7bad9fff
utilities: move protectederror handling to modelviewset
2019-05-28 21:11:23 +02:00
hellerve
cc87d99017
all: fix error message on trying to delete protected models (references #3211 )
2019-05-28 17:31:02 +02:00
hellerve
f9cd89a4a4
urls: fix 3168 by changing url to path
2019-05-26 14:56:00 +02:00
Jeremy Stretch
62d497dd0b
Closes #3186 : Add interface name filter for IP addresses
2019-05-14 19:03:03 -04:00
Jeremy Stretch
e19feb92ea
Move TenancyFilterForm to tenancy.forms
2019-05-09 14:36:18 -04:00
Jeremy Stretch
fbde6282b2
Cleanup from #2931
2019-05-09 14:32:49 -04:00
Jeremy Stretch
dfffd1ea94
Restore id__in filters to retain backward compatability until v2.7
2019-05-08 21:08:35 -04:00
Jeremy Stretch
205adeb2e9
Remove NullableCharFieldFilter; add missing filter fields
2019-05-07 13:59:21 -04:00
Jeremy Stretch
3d616baf75
Remove NumericInFilter and id__in filters
2019-05-07 13:07:18 -04:00
Jeremy Stretch
6cb5173e27
Update query filters to OR multiple values
2019-05-07 12:25:33 -04:00
dansheps
22e5834d8b
Remove tenant group from ipam table
2019-04-30 10:06:27 -05:00
Jeremy Stretch
e1bca52d57
Fix regex for IPAddress.dns_name (but see #3106 )
2019-04-25 14:49:52 -04:00
Jeremy Stretch
a026ec45b8
Closes #166 : Add dns_name to IPAddress
2019-04-22 18:10:28 -04:00
Jeremy Stretch
c2d0e8fd95
Cleanup from earlier work on caching
2019-04-22 14:49:31 -04:00
Jeremy Stretch
e4c06700bb
Closes #3094 : Remove NullsFirstQuerySet
2019-04-19 20:59:07 -04:00
Jeremy Stretch
46b3512c45
Remove extraneous imports
2019-04-19 16:58:39 -04:00
Jeremy Stretch
017a5011ec
Added '*_count' fields for child objects
2019-04-19 16:50:42 -04:00
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