312291b010
Merge branch 'develop' into feature
2024-05-01 16:09:14 -04:00
11816b45e7
Fixes #15899 : Correct the view name for the tags column on L2VPNTerminationTable
2024-04-30 15:11:54 -04:00
46bd62fdc9
Merge branch 'develop' into feature
2024-04-22 13:23:42 -04:00
88facbafbb
15761 filter IKE Proposals on IKE Policy detail view ( #15766 )
...
* 15761 filter IKEAProposals on IKEAPolicy detail view
* Add test for ike_policy filter
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-04-19 17:09:55 -04:00
f7e4fe2a9c
Fixes #15640 : add identifier field to search index of l2vpn
2024-04-15 10:53:53 -04:00
54c6d95fbb
15654 check for no termination in TunnelTerminationSerializer
2024-04-15 09:22:58 -04:00
5b50920c61
Closes #14707 : Change 'Interface' to 'Tunnel interface' in VPN tunnel forms
2024-04-04 12:57:35 -04:00
8767577ecd
15553 change graphql sub-queries from functions to types ( #15557 )
...
* 15553 change graphql list to types
* 15553 review changes
2024-03-29 14:54:31 -04:00
3be3bbe534
Upgrade DRF to v3.15
2024-03-29 13:13:41 -04:00
45c99e4477
9856 Replace graphene with Strawberry ( #15141 )
...
* 9856 base strawberry integration
* 9856 user and group
* 9856 user and circuits base
* 9856 extras and mixins
* 9856 fk
* 9856 update strawberry version
* 9856 update imports
* 9856 compatability fixes
* 9856 compatability fixes
* 9856 update strawberry types
* 9856 update strawberry types
* 9856 core schema
* 9856 dcim schema
* 9856 extras schema
* 9856 ipam and tenant schema
* 9856 virtualization, vpn, wireless schema
* 9856 fix old decorator
* 9856 cleanup
* 9856 cleanup
* 9856 fixes to circuits type specifiers
* 9856 fixes to circuits type specifiers
* 9856 update types
* 9856 GFK working
* 9856 GFK working
* 9856 _name
* 9856 misc fixes
* 9856 type updates
* 9856 _name to types
* 9856 update types
* 9856 update types
* 9856 update types
* 9856 update types
* 9856 update types
* 9856 update types
* 9856 update types
* 9856 update types
* 9856 update types
* 9856 GraphQLView
* 9856 GraphQLView
* 9856 fix OrganizationalObjectType
* 9856 single item query for schema
* 9856 circuits graphql tests working
* 9856 test fixes
* 9856 test fixes
* 9856 test fixes
* 9856 test fix vpn
* 9856 test fixes
* 9856 test fixes
* 9856 test fixes
* 9856 circuits test sans DjangoModelType
* 9856 core test sans DjangoModelType
* 9856 temp checkin
* 9856 fix extas FK
* 9856 fix tenancy FK
* 9856 fix virtualization FK
* 9856 fix vpn FK
* 9856 fix wireless FK
* 9856 fix ipam FK
* 9856 fix partial dcim FK
* 9856 fix dcim FK
* 9856 fix virtualization FK
* 9856 fix tests / remove debug code
* 9856 fix test imagefield
* 9856 cleanup graphene
* 9856 fix plugin schema
* 9856 fix requirements
* 9856 fix requirements
* 9856 fix docs
* 9856 fix docs
* 9856 temp fix tests
* 9856 first filterset
* 9856 first filterset
* 9856 fix tests
* 9856 fix tests
* 9856 working auto filter generation
* 9856 filter types
* 9856 filter types
* 9856 filter types
* 9856 fix graphiql test
* 9856 fix counter fields and merge feature
* 9856 temp fix tests
* 9856 fix tests
* 9856 fix tenancy, ipam filter definitions
* 9856 cleanup
* 9856 cleanup
* 9856 cleanup
* 9856 review changes
* 9856 review changes
* 9856 review changes
* 9856 fix base-requirements
* 9856 add wrapper to graphiql
* 9856 remove old graphiql debug toolbar
* 9856 review changes
* 9856 update strawberry
* 9856 remove superfluous check
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-03-22 12:56:30 -04:00
ae8df77cc8
Move count_related() & dict_to_filter_params() to utilities.query
2024-03-22 08:59:52 -04:00
32edb8dfe6
Misc cleanup & documentation for FieldSets
2024-03-19 13:34:13 -04:00
72d3c17b48
Use FieldSet instances for all forms
2024-03-19 13:34:13 -04:00
3b28e8e615
Refactor form rendering components & add docstrings
2024-03-19 13:34:13 -04:00
2aaa552067
Replace custom form templates with TabbedFieldGroups
2024-03-19 13:34:13 -04:00
78bd7dec48
Merge branch 'develop' into feature
2024-03-15 12:32:54 -04:00
2d4295e2ed
Merge pull request #15369 from netbox-community/15237-audit-filtersets
...
Closes #15237 : Add tests for missing filters
2024-03-12 13:09:14 -04:00
bea32aef71
Declare FilterSet fields as a tuple
2024-03-12 12:08:11 -04:00
52bda9c0e6
Closes #15401 : Rename PostgreSQL tables & indexes for L2VPN models ( #15405 )
...
* Closes #15401 : Rename PostgreSQL tables & indexes for L2VPN models
* Account for alternate index name
2024-03-12 11:20:23 -04:00
313e63622b
Extend logic for validating filter class
2024-03-11 15:35:40 -04:00
b36a70d236
Add missing filters for reverse many-to-many relationships
2024-03-11 14:39:34 -04:00
6085e0bb0b
Test for missing ManyToManyField filters
2024-03-11 14:39:34 -04:00
16b422cbac
Add missing filters
2024-03-11 14:39:34 -04:00
6af12b1814
Add tests for missing FilterSet filters
2024-03-11 14:39:34 -04:00
6f6d483ca5
Merge branch 'feature' into 15277-object-types
2024-03-05 08:52:07 -05:00
0df68bf291
Rename ContentType proxy model to ObjectType
2024-03-04 08:33:44 -05:00
55ef24d56d
Fixes #15316 : Fix selection of 3DES encryption for IKE & IPSec proposals
2024-02-29 14:54:41 -05:00
78e284c14f
Initialize dynamically-resolved serializers with nested=True
2024-02-27 14:56:36 -05:00
ca56c8b9ef
Add dynamic nesting support to SerializedPKRelatedField
2024-02-27 14:00:42 -05:00
c382ba0ae0
Refactor REST API serializers to avoid circular imports
2024-02-27 13:26:43 -05:00
c146f5e1b5
Replace nested serializers with primary serializers where possible
2024-02-26 16:49:30 -05:00
d042e6f69d
Closes #15238 : Include description field in brief mode
2024-02-26 11:39:31 -05:00
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
c21ec2139d
Delete obsolete file
2024-02-23 10:15:14 -05:00
3ddacf4b88
Merge branch 'develop' into feature
2024-02-21 16:24:23 -05:00
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
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
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
7cc215437f
Fixes #15127 : Add missing group column on tunnels table
2024-02-14 09:27:01 -05:00
df910928f2
Fixes #15126 : group field should be optional when creating VPN tunnel via REST API
2024-02-13 09:55:33 -05:00
d63e1dacbf
Closes #14917 : Replace slim-select with tom-select ( #15080 )
...
* Experimenting
* Remove testing resources
* Replace ApiSelect with TomSelect
* Add color support
* Add clear button
* Clear cached options when searching dynamic selects
* Add support for static parameters
* Refactor TomSelect implementation
* Add dynamic parameter support
* Limit number of options to 100
* Remove redundant api_url definitions for user model
* Add support for disabled indicator
* Remove obsolete value-field attr on dynamic select widgets
* Remove obsolete fetch_trigger kwarg from dynamic model choice widgets
* Remove obsolete empty_label kwarg from dynamic model choice widgets
* Add support for API path variables
* Add support for setting a 'null' option
* Annotate depth for recursive hierarchies
* Misc cleanup
* Remove obsolete APISelect code
* Remove slim-select & just-debounce-it
* Clean up type validation
* Closes #14237 : Clear child selections on change to parent selection
* Use an MD icon for the clear button
* Use an MD icon for the clear button
* Explain why noUnusedParameters is disabled
2024-02-08 15:07:04 -05:00
1a9149d7d4
Fixes : #14839 - Check for tunnel termination type in data and instance in addition to intially passed data. ( #14995 )
...
* Fixes : #14839 - Check for tunnel termination type in additional instances
* Incorporate recommended changes
2024-02-05 09:59:24 -05:00
88e4559b5a
Fixes #14885 : Add missing 'group' field to tunnel creation form
2024-01-22 15:53:29 -05:00
79e0d3ae67
Fixes #14847 : Relax requirement for IKE policy ( #14878 )
...
* Fixes #14847 : Relax requirement for IKE policy
* Docs tweak
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-01-22 13:27:55 -05:00
621c3ccfa4
Fixes #14817 : Relax required fields for IKE & IPSec models on bulk import
2024-01-17 13:28:27 -05:00
c5cbb99bf0
fix: add missing DH group 15 (3072)
...
DH group 15 was not selectable in the UI, and I strongly suspect this
patch will fix that, as that particular choices was missing in
`choices.py`.
Signed-off-by: Jorik Jonker <jorik@kippendief.biz>
Fixes #14793
2024-01-16 11:05:21 -05:00
e1e198ec4f
Fixes #14706 : Relax one-to-one mapping of tunnel termination to IP address
2024-01-08 12:32:02 -05:00
5223486fd8
Fixes #14709 : Correct typo in TYPE_VIRTUALMACHINE
2024-01-08 12:31:31 -05:00
ea5d33f358
Fixes #14663 : Fix terminating to a VM interface when creating a new tunnel
2024-01-08 12:31:31 -05:00
d930c4e36e
Apply filterset & test changes for #14631 & #14629
2023-12-28 14:43:08 -05:00