Arthur
b75b9e01eb
9856 review changes
2024-03-19 10:04:33 -07:00
Jeremy Stretch
9c29f45c1a
Merge branch 'feature' into 9856-strawberry-2
2024-03-18 10:12:06 -04:00
Jeremy Stretch
78bd7dec48
Merge branch 'develop' into feature
2024-03-15 12:32:54 -04:00
Jeremy Stretch
7350950e88
Fixes #15347 : Fix querying virtual machine contacts via GraphQL
2024-03-13 19:09:52 -04:00
Arthur
1da5219563
9856 fix counter fields and merge feature
2024-03-13 11:37:13 -07:00
Arthur
2b7c1d1845
Merge branch 'feature' into 9856-strawberry-2
2024-03-13 11:20:33 -07:00
Arthur
21b585e5e3
9856 filter types
2024-03-13 10:39:08 -07:00
Arthur
a36cc0abb6
9856 first filterset
2024-03-12 09:35:53 -07:00
Jeremy Stretch
bea32aef71
Declare FilterSet fields as a tuple
2024-03-12 12:08:11 -04:00
Jeremy Stretch
f8744a6659
Clean up exemption logic
2024-03-11 15:54:35 -04:00
Jeremy Stretch
16b422cbac
Add missing filters
2024-03-11 14:39:34 -04:00
Jeremy Stretch
6af12b1814
Add tests for missing FilterSet filters
2024-03-11 14:39:34 -04:00
Arthur
ccc81e73d1
9856 cleanup graphene
2024-03-11 07:31:38 -07:00
Jeremy Stretch
8bb49d2296
Closes #15291 : Add tunnel termination buttons to VM interfaces table
2024-03-08 16:58:04 -05:00
Jeremy Stretch
6629c94148
Closes #15297 : Linkify platform column in device & virtual machine tables
2024-03-08 16:48:39 -05:00
Arthur
133d6bfcb3
9856 fix virtualization FK
2024-03-07 11:55:35 -08:00
Arthur
676764a661
9856 fix partial dcim FK
2024-03-07 10:48:50 -08:00
Arthur
26c8ee36fa
9856 fix virtualization FK
2024-03-07 09:42:52 -08:00
Arthur
77eb1018e8
9856 test fixes
2024-03-06 15:00:48 -08:00
Arthur
5ff2c1806d
9856 test fixes
2024-03-06 14:34:51 -08:00
Arthur
2f719269e8
9856 single item query for schema
2024-03-06 09:53:46 -08:00
Arthur
0312ec3249
Merge branch 'feature' into 9856-strawberry-2
2024-03-06 07:43:16 -08:00
Arthur
13bf2c1940
9856 merge feature
2024-03-04 14:18:58 -08:00
Jeremy Stretch
ca56c8b9ef
Add dynamic nesting support to SerializedPKRelatedField
2024-02-27 14:00:42 -05:00
Jeremy Stretch
c382ba0ae0
Refactor REST API serializers to avoid circular imports
2024-02-27 13:26:43 -05:00
Arthur
497de46ad9
9856 update types
2024-02-26 14:13:44 -08:00
Jeremy Stretch
c146f5e1b5
Replace nested serializers with primary serializers where possible
2024-02-26 16:49:30 -05:00
Jeremy Stretch
d042e6f69d
Closes #15238 : Include description field in brief mode
2024-02-26 11:39:31 -05:00
Abhimanyu Saharan
17ec264f3a
added display on virtual disk api #15241
2024-02-23 15:33:35 -05:00
Jeremy Stretch
3f3bcc5eb5
Closes #15235 : Use primary serializers for REST API "brief" mode ( #15246 )
...
* Use primary serializers for brief mode
* Remove BriefModeMixin
* Correct ModuleBayTest brief_fields (see #15243 )
2024-02-23 14:21:25 -05:00
Arthur
a5445bb61a
9856 _name to types
2024-02-22 16:56:54 -08:00
Arthur
d4812b28fd
9856 type updates
2024-02-22 16:35:24 -08:00
Jeremy Stretch
3ddacf4b88
Merge branch 'develop' into feature
2024-02-21 16:24:23 -05:00
Jeremy Stretch
5f159795dd
Closes #15042 : Move model registration logic to AppConfigs ( #15203 )
...
* Closes #15042 : Move model registration logic to AppConfigs
* Refactor register_model() to accept multiple models
2024-02-21 14:22:13 -05:00
Arthur
3c24cf97b6
Merge branch 'feature' into 9856-strawberry-2
2024-02-15 16:04:45 -08:00
Jeremy Stretch
7abb2b2ab5
Closes #15131 : Dynamic queryset annotations for REST API endpoints ( #15152 )
...
* Introduce RelatedObjectCountField
* Introduce get_annotations_for_serializer() and enable dynamic annotations
* Add RelatedObjectCountFields to serializers; remove static annotations from querysets
* Remove annotations cleanup logic from BriefModeMixin
* Annotate type for RelatedObjectCountField
* Remove redundant field on TagSerializer
* Add missing reverse relationship for power feeds to rack
* Refactor RelatedObjectCountField to take a single relationship name
2024-02-15 14:49:27 -05:00
Arthur
cc5703c9dd
Merge branch 'feature' into 9856-strawberry-2
2024-02-14 10:43:21 -08:00
Jeremy Stretch
b3f25a400b
Closes #15087 : Support for specifying a subset of API serializer fields ( #15122 )
...
* Enable dynamic field inclusion for REST API serializers
* Recurse through nested serializer when resolving prefetches
* Remove obsolete calls to prefetch_related() for API views
* Remove support for brief_prefetch_fields viewset attribute
* Rename query parameter
* Fixes #15133 : Fix FHRP group representation on assignments endpoint under brief mode (#15134 )
* Fixes #15133 : Fix FHRP group representation on assignments endpoint under brief mode
* Update API test
* Restore get_queryset() on BriefModeMixin, minus prefetch logic
* get_prefetches_for_serializer() should reference serializer field source if set
2024-02-14 09:28:37 -05:00
Jeremy Stretch
040dbcc875
Fixes #15070 : Fix inclusion of config_template field on REST API serializer for virtual machines
2024-02-08 09:10:24 -05:00
Arthur
48b0cdd04a
9856 virtualization, vpn, wireless schema
2024-02-07 16:07:15 -08:00
Arthur
663af64ec1
9856 update strawberry types
2024-02-06 13:52:41 -08:00
Jeremy Stretch
74e67afa41
Merge branch 'develop' into feature
2024-02-05 14:38:26 -05:00
Arthur Hanson
8e8d302850
15020 Update assigned VMs site when move cluster ( #15031 )
...
* 15020 Update assigned VMs site when move cluster
* 15020 call super
* 15020 change to use denormalized
2024-02-05 11:41:33 -05:00
Abhimanyu Saharan
3dc43861c5
fixed typo in cluster bulk edit #14936
2024-01-25 17:24:58 -05:00
Jeremy Stretch
b554e70eda
Squash migrations
2024-01-25 12:35:04 -05:00
Jeremy Stretch
222388b988
Revert "Closes #13647 : Squash all migrations prior to v3.7 ( #14853 )"
...
This reverts commit 874685fd6f .
2024-01-22 13:15:43 -05:00
Jeremy Stretch
da085e60c2
Closes #14740 : Remove BootstrapMixin ( #14841 )
...
* Introduce custom form widget templates to apply CSS classes
* Apply both mandatory and optional CSS classes to form widgets
* Omit required & placeholder attrs
* Move annotation of field validation failures to CSS
* Remove BootstrapMixin class
* Remove obsolete ComponentTemplateImportForm class
* Remove obsolete custom forms for login & password change
* Clean up obsolete accommodations for 'required' widget attr
2024-01-19 14:02:33 -05:00
Jeremy Stretch
874685fd6f
Closes #13647 : Squash all migrations prior to v3.7 ( #14853 )
...
* Regenerate pre-v3.7 migrations
* Annotate replaced migrations
* Rename dependencies; remove FeatureQuery references
* Add missed replacement
2024-01-19 13:55:22 -05:00
Jeremy Stretch
d930c4e36e
Apply filterset & test changes for #14631 & #14629
2023-12-28 14:43:08 -05:00
Jeremy Stretch
d5c1cb0ef6
Merge branch 'develop' into feature
2023-12-28 14:20:04 -05:00