Jeremy Stretch
22bb700f94
Fixes #5396 : Fix uniqueness constraint for virtual machine names
2020-12-03 13:40:42 -05:00
Jeremy Stretch
f55e966c8f
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
3dd2e4c84c
Fixes #5360 : Clear VLAN assignments when setting interface mode to none
2020-11-20 14:40:21 -05:00
Jeremy Stretch
c53990c739
Closes #5307 : Add a region selector for every site form field
2020-11-04 15:27:41 -05:00
Jeremy Stretch
7598b891c1
Add initial_params to all forms
2020-11-04 11:09:13 -05:00
John Anderson
28c17f33ab
move get_queryset() to common mixin
2020-10-30 02:56:43 -04:00
John Anderson
22d2289ed2
add support for regions and vms
2020-10-23 01:18:04 -04:00
Jeremy Stretch
b5a65bc66c
Fixes #5211 : Add missing has_primary_ip filter for virtual machines
2020-10-09 11:46:16 -04:00
Jeremy Stretch
c891f43b14
Fixes #5050 : Fix potential failure on 0016_replicate_interfaces schema migration from old release
2020-09-09 10:29:17 -04:00
Jeremy Stretch
523c32b8af
Fixes #5061 : Allow adding/removing tags when bulk editing virtual machine interfaces
2020-08-27 13:26:41 -04:00
Jeremy Stretch
fa73bf8e87
Closes #5505 : Add tags column to device/VM component list tables
2020-08-27 09:43:20 -04:00
Jeremy Stretch
6e28490b84
Fixes #5038 : Fix validation of primary IPs assigned to virtual machines
2020-08-24 09:41:04 -04:00
Jeremy Stretch
fd139a77f5
Closes #4997 : Introduce OrderedDefaultRouter; move root API views to views.py
2020-08-13 12:49:49 -04:00
Jeremy Stretch
6d8cb6dac3
Merge pull request #4978 from netbox-community/4922-optimize-interface-replication
...
Closes #4922 : Optimize schema migration for VM interface replication
2020-08-13 09:34:24 -04:00
Jeremy Stretch
53f9f82317
Set display_field where needed
2020-08-13 09:27:21 -04:00
Jeremy Stretch
b891b407d4
Add brief_mode to DynamicModelChoiceMixin
2020-08-12 14:15:34 -04:00
Jeremy Stretch
c40df97ffa
Rename add_additional_query_param()
2020-08-12 13:59:11 -04:00
Jeremy Stretch
100c8fef20
Add support for referencing peer field values in query_params
2020-08-12 12:37:17 -04:00
Jeremy Stretch
d8d752b623
Fix form for adding devices to a cluster
2020-08-12 10:14:21 -04:00
Jeremy Stretch
b917403c93
Replace 'nullable' attribute with null_option
2020-08-12 10:05:12 -04:00
Jeremy Stretch
8a8b4e728a
Move null_option to DynamicModelChoiceMixin
2020-08-12 09:47:13 -04:00
Jeremy Stretch
f3fb85933f
Add query_params attribute to DynamicModelChoiceMixin
2020-08-12 09:28:24 -04:00
Jeremy Stretch
a831e525da
Remove value_field from APISelect; reference to_field_name on field
2020-08-11 17:19:40 -04:00
Jeremy Stretch
fdc43f8279
Add display_field kwarg to DynamicModelChoiceMixin
2020-08-11 17:00:28 -04:00
Jeremy Stretch
d7e2acd0ad
Optimize schema migration for VM interface replication
2020-08-10 13:53:28 -04:00
Jeremy Stretch
65b42c93b0
Merge branch 'develop' into develop-2.9
2020-08-05 09:15:10 -04:00
Jeremy Stretch
76c2fd3414
Fixes #4926 : Fix ordering of VM interfaces in REST API endpoint
2020-07-30 09:10:06 -04:00
Jeremy Stretch
78bb2e12fe
Clean up migration output
2020-07-23 14:03:19 -04:00
Jeremy Stretch
cb36f9fdb3
Remove restriction enforcement from RestrictedQuerySet
2020-07-23 12:48:03 -04:00
Jeremy Stretch
1714902f88
Merge branch 'develop' into develop-2.9
2020-07-21 12:57:02 -04:00
Jeremy Stretch
136d3118d2
Fixes #4872 : Enable filtering virtual machine interfaces by tag
2020-07-21 09:41:00 -04:00
Jeremy Stretch
8514a5427c
Update related object counts to use dunders in accessor
2020-07-20 13:00:33 -04:00
Jeremy Stretch
0f679e1f03
Closes #4871 : Specify ordering for querysets using annotate() to count related objects
2020-07-20 12:07:19 -04:00
Jeremy Stretch
39dc1f882a
Merge branch 'develop-2.9' into django-31
2020-07-20 11:15:01 -04:00
Jeremy Stretch
ba50bfa939
Address some of the django_tables2 deprecation warnings
2020-07-16 16:52:45 -04:00
Jeremy Stretch
21a750e8ec
Change Postgres-specific JSONField to stock Django field
2020-07-16 12:02:49 -04:00
Jeremy Stretch
19d0d6ff10
Closes #4857 : Drop support for legacy numeric choice field values
2020-07-15 16:54:33 -04:00
Jeremy Stretch
9f7ed25e74
Add assigned IP addresses and VLANs to interface tables
2020-07-13 16:18:17 -04:00
Jeremy Stretch
013a2a35e0
Add cluster and virtual machine filters to VM interfaces list
2020-07-13 15:43:54 -04:00
Jeremy Stretch
9cece39ee9
Remove incorrect bulk edit test data
2020-07-13 15:26:06 -04:00
Jeremy Stretch
e53839ca2a
Add progress counter to VM interface replication migration
2020-07-13 13:13:37 -04:00
Jeremy Stretch
a260019a7f
#4843 : Use subqueries when counting multiple types of related objects
2020-07-10 15:38:54 -04:00
Jeremy Stretch
96b3de7916
Remove extraneous queryset filter
2020-07-10 10:27:07 -04:00
Jeremy Stretch
b1686c2db9
Fix bulk editing, deletion of VM interfaces
2020-07-10 10:26:43 -04:00
Jeremy Stretch
8d7001fe56
Move abstract ChangeLoggedModel under extras
2020-07-09 17:07:25 -04:00
Jeremy Stretch
25e1319864
Update filter tests to use unrestricted querysets
2020-07-07 14:26:14 -04:00
Jeremy Stretch
924f319343
Closes #4806 : Add a url field to all API serializers
2020-07-06 16:41:08 -04:00
Jeremy Stretch
6abb7e8f4d
#4721 : Tweak migrations to ensure Interface.device cannot be null
2020-07-02 13:12:37 -04:00
Jeremy Stretch
d03d302eef
Closes #4817 : Standardize device/VM component name field to 64 characters
2020-07-02 12:08:19 -04:00
Jeremy Stretch
c5362f5931
Fix permissions evaluation for nonstandard tests
2020-07-02 11:43:03 -04:00