ded2fe9471
15809 Mark unions as nullable in GraphQL where appropriate ( #15824 )
...
* 15809 mark unions as nullable where appropriate
* 15809 fix tests
* 15809 fix tests
2024-04-25 09:19:19 -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
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
c8fb948a91
14511 Fix connected endpoints for GraphQL
2024-01-25 08:47:32 -05:00
2a0d76d564
Merge branch 'develop' into feature
2023-07-30 13:36:51 -04:00
0b10131564
Satisfy PEP8 E721 linter complaints
2023-07-30 13:34:08 -04:00
0f9fe96192
Adds rf_role to interface template ( #13199 )
...
* adds rf_role to interface template #13170
* fixed migration file conflict
* Misc cleanup
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-07-26 09:13:24 -04:00
c57d71a9db
11291 optimize GraphQL queries ( #11943 )
...
* 11291 initial optimize graphql queries
* 11291 add optimizer to schemas
* 11291 cleanup fields.py
* 11291 fix fragment query
2023-03-23 08:42:18 -04:00
67499cbf06
add conntected_enpoints property to graphql
2023-02-27 12:52:05 -05:00
b374351154
Closes : #7854 - Add VDC/Instances/etc ( #10787 )
...
* Work on #7854
* Move to new URL scheme.
* Fix PEP8 errors
* Fix PEP8 errors
* Add GraphQL and fix primary_ip missing
* Fix PEP8 on GQL Type
* Fix missing NestedSerializer.
* Fix missing NestedSerializer & rename VDC to VDCs
* Fix migration
* Change Validation for identifier
* Fix missing migration
* Rebase to feature
* Post-review changes
* Remove VDC Type
* Remove M2M Enforcement logic
* Interface related changes
* Add filter fields to filterset for Interface filter
* Add form field to filterset form for Interface filter
* Add VDC display to interface detail template
* Remove VirtualDeviceContextTypeChoices
* Accommodate recent changes in feature branch
* Add tests
Add missing search()
* Update tests, and fix model form
* Update test_api
* Update test_api.InterfaceTest create_data
* Fix issue with tests
* Update interface serializer
* Update serializer and tests
* Update status to be required
* Remove error message for constraint
* Remove extraneous import
* Re-ordered devices menu to place VDC below virtual chassis
* Add helptext for `identifier` field
* Fix breadcrumb link
* Remove add interface link
* Add missing tenant and status fields
* Changes to tests as per Jeremy
* Change for #9623
Co-authored-by: Jeremy Stretch <jstretch@ns1.com >
* Update filterset form for status field
* Remove Rename View
* Change tabs to spaces
* Update netbox/dcim/tables/devices.py
Co-authored-by: Jeremy Stretch <jstretch@ns1.com >
* Update netbox/dcim/tables/devices.py
Co-authored-by: Jeremy Stretch <jstretch@ns1.com >
* Fix tenant in bulk_edit
* Apply suggestions from code review
Co-authored-by: Jeremy Stretch <jstretch@ns1.com >
* Add status field to table.
* Re-order table fields.
Co-authored-by: Jeremy Stretch <jstretch@ns1.com >
2022-11-11 07:55:49 -05:00
9ca4c7315b
10595 extend graphql relationships ( #10603 )
...
* 9817 add graphql l2vpntermination assigned_object
* 9817 add graphql ipaddressassignment assigned_object
* 9817 ipan graphql gfk
* 9817 dcim graphql gfk
* 9817 dcim graphql gfk
* 9817 fix tests
* 10595 cable a_terminations to graphql
* 10595 add contacts to graphql
* 10595 move contacts to Provider
2022-10-11 12:26:18 -04:00
10bb8fa10a
9478 link peers to GraphQL ( #10574 )
...
* 9468 add link_peer to GraphQL
* 9478 add class_type
* 9478 fix tests
* 9478 fix tests
* 9478 fix tests
2022-10-06 16:50:53 -04:00
204c10c053
9654 device weight ( #10448 )
...
* 9654 add weight fields to devices
* 9654 changes from code review
* 9654 change _abs_weight to grams
* Resolve migrations conflict
* 9654 code-review changes
* 9654 total weight on devices
* Misc cleanup
Co-authored-by: Jeremy Stretch <jstretch@ns1.com >
2022-09-30 16:31:04 -04:00
2c43c8d077
Closes #9793 : Add PoE attributes to interface templates
2022-07-28 15:20:25 -04:00
9a7f3f8c1a
Cleanup for #9102
2022-07-07 12:48:44 -04:00
25ed3390cb
Merge branch 'feature' into 9102-cabling
2022-06-27 12:12:34 -04:00
4587b83d85
Closes #1099 : Add PoE mode & type for interfaces
2022-06-21 21:22:24 -04:00
50c872c47c
Clean up tests
2022-05-23 14:50:58 -04:00
dae5c94be0
Expose BaseObjectType and NetBoxObjectType for plugins
2022-02-04 15:07:35 -05:00
4c15f4a84f
Initial work on #8118
2021-12-29 15:37:01 -05:00
04fb5e544d
#3087 : Add InvetoryItemRole
2021-12-27 10:18:39 -05:00
7777922bef
Add Module model
2021-12-17 16:12:03 -05:00
7c60e3c0ff
Add Module model
2021-12-17 12:18:37 -05:00
e529d7fd3b
Add ModuleBay and ModuleBayTemplate models
2021-12-17 09:35:57 -05:00
3991115ae5
#6732 - Fix imports and other small items
2021-10-29 14:54:55 -05:00
033db83068
Merge branch 'feature' of https://github.com/netbox-community/netbox into 6732-asn-model
2021-10-28 11:55:20 -05:00
de5c9ef4b2
#6732 - Add graphql support for new ASN model and fix ASN overflow on longs
2021-10-28 11:49:59 -05:00
6af5a884cd
Merge branch 'feature' into 3979-wireless
2021-10-14 16:32:24 -04:00
33ea8763d5
3839: Add airflow field to Device
2021-10-14 16:15:08 -04:00
2c2c2e9060
3839: Add airflow field to DeviceType
2021-10-14 15:45:36 -04:00
438b4b4758
Add rf_role to Interface
2021-10-13 20:16:36 -04:00
1c73bd5079
Resolve test errors
2021-10-13 13:39:14 -04:00
57dc4c207f
Fixes #6832 : Support config context rendering under GraphQL API
2021-08-04 15:55:55 -04:00
88d2441ab3
Add changelog GraphQL relation for changelogged models
2021-08-03 14:51:56 -04:00
1518a460d5
Rename base Graphene types to match base models
2021-08-03 14:37:39 -04:00
ea86321da8
Add journal_entries to Graphene object types for all primary models
2021-08-03 13:58:08 -04:00
735286d3b0
Add vlan_groups to Region, SiteGroup, Site, Location, Rack, ClusterGroup, Cluster
2021-08-03 11:49:22 -04:00
8ad958708f
Add image_attachments to Device, Location, Rack, Site
2021-08-03 11:38:18 -04:00
0df67dbc12
Add ip_addresses relation on InterfaceType, VMInterfaceType
2021-08-03 11:27:14 -04:00
2fe734e6f9
Omit _path from CableTermination models
2021-06-30 10:20:20 -04:00
728b3bac67
Use _list appendix for GraphQL list queries
2021-06-30 09:57:33 -04:00
ef3cb9544a
Clean up GraphQL object types & tests
2021-06-29 12:55:17 -04:00
14e27363e0
Add GraphQL for DCIM
2021-06-25 16:17:36 -04:00