Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-19Add latest changes from gitlab-org/gitlab@13-4-stable-eeGitLab Bot
2020-09-01Add latest changes from gitlab-org/security/gitlab@13-3-stable-eeGitLab Bot
2020-06-18Add latest changes from gitlab-org/gitlab@13-1-stable-eeGitLab Bot
2020-05-20Add latest changes from gitlab-org/gitlab@13-0-stable-eeGitLab Bot
2020-04-08Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-04-05Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-03-19Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-03-18Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-03-02Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-01-09Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-29Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-04Upgrade GraphQL gem to 1.8.17Brett Walker
- Due to https://github.com/exAspArk/batch-loader/pull/32, we changed BatchLoader.for into BatchLoader::GraphQL.for - since our results are wrapped in a BatchLoader::GraphQL, calling `sync` during authorization is required to get real object - `graphql` now has it's own authorization system. Our `authorized?` method conflicted and required renaming
2019-07-10GraphQL support for Notes created in discussionsLuke Duncalfe
A new `discussion_id` argument on the `createNote` mutation allows people to create a note within that discussion. The ability to lazy-load Discussions has been added, so GraphQL.object_from_id can treat Discussions the same as AR objects and batch load them. https://gitlab.com/gitlab-org/gitlab-ce/issues/62826 https://gitlab.com/gitlab-org/gitlab-ee/issues/9489
2019-07-03Alert if `calls_gitaly` declaration missingcharlieablett
- Move `calls_gitaly_check` to public - Add instrumentation for flagging missing CallsGitaly declarations - Wrap resolver proc in before-and-after Gitaly counts to get the net Gitaly call count for the resolver.
2019-06-28Added commit type to tree GraphQL typePhil Hughes
2019-06-03Expose IDs in GraphQL as a GlobalIDBob Van Landuyt
This exposes all fields named `id` as GlobalIDs so they can be used across our entire GraphQL implementation. When the objects loaded are `ApplicationRecord`s. We'll use our existing batchloading to find them. Otherwise, we'll fall back to the default implementation of `GlobalID`: Calling the `.find` method on the class.
2019-05-28Enables GraphQL batch requestsPhil Hughes
Enabling GraphQL batch requests allows for multiple queries to be sent in 1 request reducing the amount of requests we send to the server. Responses come come back in the same order as the queries were provided.
2019-05-0658404 - setup max depth for graphqlKen Ding
58404 - add change log 58404 - add spec 58404 - add more spec to test depth 2 58404 - fix spec 58404 - fix rubocop 58404 - refactor the code by Bob's advice 58404 - revert changes of all_graphql_fields_for 58404 - change text only 58404 - fix rspec according to gitlab's standard 58404 - revert previous spec 58404 - fix rubocop
2019-04-18Only check abilities on rendered GraphQL nodesBob Van Landuyt
With this we only check abilities on the rendered edges of a GraphQL connection instead of all the nodes in it.
2019-04-04Fix a KeyError in GitlabSchemaNick Thomas
2019-04-04Initial field and query complexity limitsBrett Walker
It makes all Types::BaseField default to a complexity of 1. Queries themselves now have limited complexity, scaled to the type of user: no user, authenticated user, or an admin user.
2018-07-25Add mutation toggling WIP state of merge requestsBob Van Landuyt
This is mainly the setup of mutations for GraphQL. Including authorization and basic return type-structure.
2018-07-04Add pipeline lists to GraphQLBob Van Landuyt
This adds Keyset pagination to GraphQL lists. PoC for that is pipelines on merge requests and projects. When paginating a list, the base-64 encoded id of the ordering field (in most cases the primary key) can be passed in the `before` or `after` GraphQL argument.
2018-06-06Initial setup GraphQL using graphql-ruby 1.8Bob Van Landuyt
- All definitions have been replaced by classes: http://graphql-ruby.org/schema/class_based_api.html - Authorization & Presentation have been refactored to work in the class based system - Loaders have been replaced by resolvers - Times are now coersed as ISO 8601
2018-06-05Add `present_using` to typesBob Van Landuyt
By specifying a presenter for the object type, we can keep the logic out of `GitlabSchema`. The presenter gets initialized using the object being presented, and the context (including the `current_user`).
2018-06-05Convert from GraphQL::Batch to BatchLoaderNick Thomas
2018-06-05Add a minimal GraphQL APINick Thomas