Commit Graph

49 Commits

Author SHA1 Message Date
jeremystretch
c407710488 Closes #10695: Rename forms/models.py to forms/model_forms.py 2022-10-25 16:26:05 -04:00
Arthur Hanson
081911df00 10643 add fieldset to device role for improved add/edit form display (#10680)
* 10643 add fieldset to device role for improved add/edit form display

* 10643 update other forms

* 10643 update other forms

* Specify fieldsets for additional models

Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-10-19 08:35:23 -04:00
Jeremy Stretch
cd0f4028cd Fixes #10247: Allow changing selected device/VM when creating a new component (#10312)
* Initial work on #10247

* Continued work on #10247

* Clean up component creation tests

* Move valdiation of replicated field to form

* Clean up ordering of fields in component creation forms

* Omit fieldset header if none

* Clean up ordering of fields in component template creation forms

* View tests should not move component templates to new device type

* Define replication_fields on VMInterfaceCreateForm

* Clean up expandable field help texts

* Update comments

* Update component bulk update forms & views to support new replication fields

* Fix ModularDeviceComponentForm parent class

* Fix bulk creation of VM interfaces (thanks @kkthxbye-code!)
2022-09-15 10:10:32 -04:00
jeremystretch
8231a8b353 Fixes #10177: Correct display of custom fields when editing VM interfaces 2022-08-29 15:10:14 -04:00
jeremystretch
23bbdeeda1 Merge branch 'develop' into feature 2022-08-12 10:18:57 -04:00
gildarov
8448571ae5 fix typo in virtualization/forms/filtersets.py 2022-08-09 11:56:19 +03:00
jeremystretch
ca75362630 Fixes #9728: Fix validation when assigning a virtual machine to a device 2022-07-15 10:19:56 -04:00
jeremystretch
2e909b231d Misc cleanup 2022-07-12 16:29:26 -04:00
jeremystretch
57021b02cb Merge branch 'develop' into feature 2022-06-20 11:50:23 -04:00
jeremystretch
b2fddb5261 Closes #9534: Add VLAN group selector to interface bulk edit forms 2022-06-17 14:51:45 -04:00
Jeremy Stretch
844cf22f6b Fixes #9524: Correct order of VLAN fields under VM interface creation form 2022-06-13 19:14:29 -04:00
jeremystretch
898a362f0d Merge branch 'develop' into feature 2022-05-31 15:50:23 -04:00
jeremystretch
8a08e11edc Closes #5303: A virtual machine may be assigned to a site and/or cluster 2022-05-26 14:59:49 -04:00
jeremystretch
3a0fad3491 Closes #8222: Enable the assignment of a VM to a specific host device within a cluster 2022-05-25 16:01:10 -04:00
jeremystretch
2d933314af Closes #8471: Add status field to Cluster 2022-05-19 16:13:22 -04:00
jeremystretch
22f3662352 #9239: Organize contact form fields 2022-05-16 09:55:17 -04:00
kkthxbye-code
be7e7de8aa Add contact_group to ContactModelFilterSet 2022-05-14 17:48:37 +02:00
jeremystretch
0f6c72d52f Fixes #9118: Fix validation error when importing VM child interfaces 2022-04-13 13:43:18 -04:00
jeremystretch
59d50f26a6 Introduce local ChoiceField and MultipleChoiceField classes 2022-03-21 15:08:05 -04:00
jeremystretch
fdc44c65ee Merge branch 'develop' into feature 2022-03-18 13:17:11 -04:00
jeremystretch
23e1cb9c59 Add tags field to NetBoxModelForm 2022-03-10 15:08:23 -05:00
Alex Gittings
2f787cb3eb Fixes #8645; Allow filtering on core models in the UI 2022-03-09 16:35:47 +00:00
jeremystretch
6e8ca650a5 Merge v3.1.8 2022-02-15 10:05:07 -05:00
jeremystretch
15bae6fb04 Fixes #8622: Correct help text of status field on VM import form 2022-02-14 08:54:36 -05:00
jeremystretch
9159ac2ab2 #7852: Extend VRF assignment to VM interfaces 2022-02-07 09:54:00 -05:00
jeremystretch
998496a25d Enable the use of fieldsets on bulk edit forms 2022-02-04 09:59:53 -05:00
jeremystretch
c364bb6efb Move pk field declaration under NetBoxModelBulkEditForm 2022-02-01 11:40:23 -05:00
jeremystretch
52c2f07804 Set model as attribute on bulk edit forms 2022-02-01 11:00:18 -05:00
jeremystretch
a2d0b75d25 Move nullable_fields out of Meta for bulk edit forms 2022-01-31 16:15:40 -05:00
jeremystretch
5ff4a32705 Replace filter_groups with fieldsets on filter forms 2022-01-31 16:03:26 -05:00
jeremystretch
b0d5078136 Move fieldsets out of Meta for model forms 2022-01-31 15:52:36 -05:00
jeremystretch
3b0617aad4 Clean up nullable fields declaration for bulk edit forms 2022-01-28 16:47:54 -05:00
jeremystretch
ab6f19cf0c Establish 4 core forms in netbox.forms.base 2022-01-28 15:48:15 -05:00
jeremystretch
630da49b92 Merge v3.1.3 2021-12-29 12:41:56 -05:00
jeremystretch
b94c5e807f Fixes #7290: Defer loading API-backed form fields 2021-12-29 09:30:43 -05:00
jeremystretch
5fe17ba382 Show parent device/VM when creating new components 2021-12-28 15:19:41 -05:00
jeremystretch
fae148bb7b Update component model forms to use DynamicModelChoiceField query_params for related objects 2021-12-27 21:25:47 -05:00
jeremystretch
7f1ab461c3 Refactor ComponentCreateView to use separate forms for names/labels and model creation 2021-12-27 21:04:29 -05:00
jeremystretch
2a774f2906 Closes #7691: Remove field_order from filterset forms 2021-12-10 08:57:19 -05:00
jeremystretch
182e061cf6 Closes #7886: Introduce a base FilterForm class 2021-11-19 15:12:45 -05:00
jeremystretch
605ec608f8 Clean up imports 2021-11-18 16:48:29 -05:00
jeremystretch
d6c98d1a00 Apply BootstrapMixin to CustomFieldModelFilterForm 2021-11-18 16:27:06 -05:00
jeremystretch
df7ae3ebf3 Apply BootstrapMixin to BulkEditForm 2021-11-18 16:23:26 -05:00
jeremystretch
f2c4ca514b Apply BootstrapMixin to CustomFieldModelForm 2021-11-18 16:19:25 -05:00
jeremystretch
2de9099bb6 Add bridge field to Interface, VMInterface models 2021-10-21 16:30:18 -04:00
jeremystretch
c321e963fa #6497: Add missing tag fields to filter forms 2021-10-21 15:29:52 -04:00
jeremystretch
bfc52b15bb Add tags to organizational & nested group models 2021-10-21 10:51:02 -04:00
jeremystretch
48f1d2e2a1 Fixes #7304: Require explicit values for all required choice fields during CSV import 2021-09-28 12:04:54 -04:00
jeremystretch
390cd17bf2 Refactor virtualization forms 2021-09-28 10:25:07 -04:00