Commit Graph

151 Commits

Author SHA1 Message Date
Jeremy Stretch
169b4a93b5 #5401: Add custom field support for VMInterface 2021-03-10 13:49:10 -05:00
Jeremy Stretch
a4944f2b97 Closes #5892: Introduce SiteGroup model (#5937)
* Initial work on #5892

* Add site group selection to object edit forms

* Add documentation for site groups

* Changelog for #5892

* Finish application of site groups to config context
2021-03-08 13:28:53 -05:00
Jeremy Stretch
1bf7d7e293 Closes #5894: Use primary keys when filtering object lists by related objects in the UI 2021-03-01 17:24:30 -05:00
Jeremy Stretch
f28eda1d24 Update organizational models to use custom field forms 2021-02-26 11:25:23 -05:00
Jeremy Stretch
ca97f69a8e Merge tags fields with primary object fields in form display 2021-02-25 14:03:14 -05:00
Jeremy Stretch
1faf3cadf7 Update object edit template to use fieldsets where possible 2021-02-25 13:51:48 -05:00
Jeremy Stretch
1037e78f18 Standardize validation of interface VLAN assignments 2020-12-02 14:19:02 -05:00
Jeremy Stretch
f9913725be Closes #5307: Add a region selector for every site form field 2020-11-04 15:27:41 -05:00
Jeremy Stretch
85d16cf0a6 Add initial_params to all forms 2020-11-04 11:09:13 -05:00
Jeremy Stretch
87abc6bc75 Fixes #5211: Add missing has_primary_ip filter for virtual machines 2020-10-09 11:46:16 -04:00
Jeremy Stretch
60b7d1c2e5 Fixes #5061: Allow adding/removing tags when bulk editing virtual machine interfaces 2020-08-27 13:26:41 -04:00
Jeremy Stretch
9f18617627 Fixes #5038: Fix validation of primary IPs assigned to virtual machines 2020-08-24 09:41:04 -04:00
Jeremy Stretch
8f5b955d48 Set display_field where needed 2020-08-13 09:27:21 -04:00
Jeremy Stretch
0f57b244c4 Add brief_mode to DynamicModelChoiceMixin 2020-08-12 14:15:34 -04:00
Jeremy Stretch
93757df97d Rename add_additional_query_param() 2020-08-12 13:59:11 -04:00
Jeremy Stretch
320edff57b Add support for referencing peer field values in query_params 2020-08-12 12:37:17 -04:00
Jeremy Stretch
7df0f956d4 Fix form for adding devices to a cluster 2020-08-12 10:14:21 -04:00
Jeremy Stretch
ba37ec0e33 Replace 'nullable' attribute with null_option 2020-08-12 10:05:12 -04:00
Jeremy Stretch
693fd1cb9b Move null_option to DynamicModelChoiceMixin 2020-08-12 09:47:13 -04:00
Jeremy Stretch
02f5cc3d18 Add query_params attribute to DynamicModelChoiceMixin 2020-08-12 09:28:24 -04:00
Jeremy Stretch
35038f1c44 Remove value_field from APISelect; reference to_field_name on field 2020-08-11 17:19:40 -04:00
Jeremy Stretch
62e63200c8 Add display_field kwarg to DynamicModelChoiceMixin 2020-08-11 17:00:28 -04:00
Jeremy Stretch
1ae4db8ea7 Add cluster and virtual machine filters to VM interfaces list 2020-07-13 15:43:54 -04:00
Jeremy Stretch
907550edbe Fix bulk editing, deletion of VM interfaces 2020-07-10 10:26:43 -04:00
Jeremy Stretch
a38b1521e9 Add bulk renaming function for VM interfaces 2020-06-24 10:02:40 -04:00
Jeremy Stretch
4744532489 Rename 'vm_interface' to 'vminterface'; misc cleanup 2020-06-24 09:27:30 -04:00
Jeremy Stretch
72325b2ef1 Fix VMInterface bulk creation 2020-06-23 17:28:34 -04:00
Jeremy Stretch
445f6d4b06 Add VMInterface CSV import view 2020-06-23 17:09:21 -04:00
Jeremy Stretch
381e7cd4e3 Misc cleanup, renaming 2020-06-23 16:39:43 -04:00
Jeremy Stretch
69d9329489 Rename Interface to VMInterface 2020-06-23 13:21:44 -04:00
Jeremy Stretch
b634d4e2ba Set related_query_name for GenericRelations to IPAddress 2020-06-22 16:27:13 -04:00
Jeremy Stretch
f880f75dd7 Disable VM interface bulk creation testing 2020-06-22 15:09:16 -04:00
Jeremy Stretch
d2fc8e0466 Initial work on #4721 (WIP) 2020-06-22 13:10:56 -04:00
Jeremy Stretch
0b288fb7a9 Remove TagField 2020-06-12 10:01:39 -04:00
Jeremy Stretch
e0b1a2cfb9 Fixes #4613: Fix tag assignment on config contexts (regression from #4527) 2020-05-13 10:28:48 -04:00
Jeremy Stretch
f3d019af48 Remove boilerplate error messages from CSV model choice fields 2020-05-06 09:58:12 -04:00
Jeremy Stretch
3b12b9ce37 Introduce CSVModelChoiceField to provide better validation for CSV model choices 2020-05-06 09:43:10 -04:00
Jeremy Stretch
f11d52b95d Introduce CSVModelForm for dynamic CSV imports 2020-05-05 16:15:09 -04:00
Jeremy Stretch
1cc2659557 Update help_texts for models, import forms 2020-05-01 15:40:34 -04:00
Jeremy Stretch
be96e57539 Fix tag assignment when bulk creating components 2020-04-22 14:05:27 -04:00
Jeremy Stretch
4a28d6d01c Update InterfaceBulkCreateForm for VMs 2020-04-22 12:09:40 -04:00
John Anderson
0ad47b4574 Merge branch 'develop' into develop-2.8 2020-03-18 14:44:18 -04:00
Jeremy Stretch
0ffdb411f9 Remove APISelect widget/api_url argument from dynamic fields 2020-03-16 14:08:48 -04:00
Jeremy Stretch
97ecfee3d1 Add a description field to all organizational models 2020-03-13 16:33:28 -04:00
Jeremy Stretch
0bf9d92834 Update family filters in querysets 2020-02-14 15:11:12 -05:00
Jeremy Stretch
4c6e113eb1 Merge pull request #3925 from hSaria/3840-limit-vlan-choices
Fixes #3840: Only show valid interface VLAN choices
2020-02-14 11:48:29 -05:00
Saria Hajjar
ae73c5f051 Added back clean 2020-02-14 16:43:42 +00:00
Jeremy Stretch
98a59b9116 Fixes #4168: Role is not required when creating a virtual machine 2020-02-14 09:13:05 -05:00
Jeremy Stretch
023735cf10 Use DynamicModelChoiceField for all fields using APISelect 2020-02-11 12:25:40 -05:00
Jeremy Stretch
7acb77c06f Replace FilterChoiceField with DynamicModelMultipleChoiceField 2020-02-11 09:33:41 -05:00