Fixes #36160 - add display_name field to Host GraphQL type
Fixes #36509 - Fix totalCount handling for GraphQL queries with first parameter
Fixes #36370 - allow all providers in the graphql enum
Otherwise plugin-based providers are not allowed
Fixes #32685 - update graphql to 1.13.x
GrapQL 1.13.x is a large update and can break plugins, but it is Ruby 3compatible.
Co-authored-by: Oleh Fedorenko <ofedoren@redhat.com>
Fixes #34328 - GraphQL use directly SettingRegistry
GraphQL was reading the settings from DB, but now we have the registry, it needs to read it from there instead.
Mutation needs to set the value through the SettingRegistry as well.
Fixes #33647 - Return persisted attrs on edit mutation
Fixes #33123 - Add GraphQL type for permissions
Refs #31059 - cleanup Environment from tests
Removes Environment related notes from tests, mostly just Host beinguselessly provided an environment.
Refs Refactor #31059: Extract Environments models - drop environments from Taxonomy
Removes taxation of Environment.
Refs #31059 - drop environments Host extensions
Removes uses of environment from Host
Fixes #31766 - drop Puppetclass GraphQL
Extracted in https://github.com/theforeman/foreman_puppet_enc/pull/110
Fixes #31056 - drop SmartProxy Puppet feature
Drops testing with puppet feature, Puppet Proxy status.Puppet proxy multiple update on host.
Extracted in: https://github.com/theforeman/foreman_puppet_enc/pull/70
Fixes #32782 - Add types and queries for Lookup Values
Fixes #32825 - Add type for permissions on resource
Fixes #30387 - Remove `view_bookmarks` permission
Users should always be able to see public bookmarks and their ownbookmarks, a permission is not needed for this case.
Fixes #32645 - Add descendants field to hostgroup
Adds a field for descendants into graphql typefor hostgroup.
Refs #30519 - Add graphql types related to report
Adds types for Log, Message and Source that holdreport-related information.
Fixes #30519 - Add queries for config reports
Fixes #30107 - graphql powerStatus field
Refs #28920 - Add more tests
Fixes #28920 - Add queries and mutation for settings
Fixes #29524 - association preloading in testing
Fixes #29325 - Add queries, mutations for bookmarks
Fixes #28974 - Add mutations for operating systems
Fixes #19792 - Fix Layout/SpaceInsideBlockBraces cop
Fixes #28935 - Add mutations for media
Fixes #29010 - graphql: fix creating object by user with create permission
Fixes #28561 - Configure and fix Layout/AlignArguments cop
Fixes #26562 - Test smart proxy graphql on hosts with env
Due to a change in Rails (https://github.com/rails/rails/pull/33673/),when factory bot creates a smart proxy with child hosts it now triggersa save on the hosts, which in this test fails because hosts validate...
Fixes #28017 - graphql: fix creating host with puppetclasses
Fixes #28014 - graphql: add puppetclasses to Environment
Fixes #27249 - flip the comma cop
fixes #26489 - graphql: create host mutation
fixes #26887 - graphql login: count bruteforce attempts
fixes #26548 - graphql: support namespaced modules
fixes #26490 - graphql: add hostgroup queries
fixes #26487 - user login with graphql
fixes #26488 - graphql: add currentUser query
fixes #26528 - graphql: refactor AuthorizedModelQuery to resolver
fixes #24008 - add graphql mutations
fixes #26495 - graphql: properly auth resources
fixes #26492 - graphql: add media queries
fixes #26491 - graphql: add ptable queries
Fixes #26298 - graphql: add SshKey queries
Fixes #26387 - graphql: add network queries
Fixes #26297 - graphql: add Host queries
Fixes #26291 - graphql: add ComputeResource queries
Fixes #26270 - graphql: add PersonalAccessToken queries
Fixes #26296 - graphql: add Puppetclass queries (#6607)
Fixes #26457 - graphql: filter subnet domains
This commit allows filtering subnets in the graphql Domain query.
Fixes #26294 - graphql: add Environment queries
Fixes #26288 - graphql: add User queries
Fixes #26268,#26269 - graphql: add Fact queries
Adds FactName and FactValue queries for graphql
Fixes #26267 - graphql: add Domain queries
Fixes #26382 - graphql: add Organization queries
Fixes #26295 - graphql: add SmartProxy queries
Fixes #24050 - graphql: add connections with totalCount
Fixes #26292 - graphql: add Architecture queries
Fixes #26289 - graphql: add Usergroup queries
Fixes #26281 - graphql: add Subnet queries
Fixes #26265 - graphql: add Operatingsystem queries
Fixes #26266 - graphql: add Location queries
Fixes #26290 - graphql: query objects by global id
fixes #23880 - graphql: relay global id
fixes #23678 - add graphql scaffolding