Commit Graph

18 Commits

Author SHA1 Message Date
GitLab Bot 6b5f961bef Add latest changes from gitlab-org/gitlab@master 2020-09-11 09:08:44 +00:00
GitLab Bot 39a4ea6124 Add latest changes from gitlab-org/gitlab@master 2020-08-24 21:10:17 +00:00
GitLab Bot bfce95a4c5 Add latest changes from gitlab-org/gitlab@master 2020-08-18 21:09:57 +00:00
GitLab Bot 89eff770d2 Add latest changes from gitlab-org/gitlab@master 2020-08-18 09:10:05 +00:00
GitLab Bot c787c1559e Add latest changes from gitlab-org/gitlab@master 2020-08-13 18:10:36 +00:00
GitLab Bot 9dde272671 Add latest changes from gitlab-org/gitlab@master 2020-08-11 15:10:08 +00:00
GitLab Bot 3caf5a8a00 Add latest changes from gitlab-org/gitlab@master 2020-06-15 18:08:43 +00:00
GitLab Bot 8d4aaa4dd0 Add latest changes from gitlab-org/gitlab@master 2020-03-16 15:09:27 +00:00
GitLab Bot ce8a0b9084 Add latest changes from gitlab-org/gitlab@master 2020-03-12 18:09:28 +00:00
GitLab Bot 898e2cc1df Add latest changes from gitlab-org/gitlab@master 2019-12-20 09:24:38 +00:00
GitLab Bot 6287caa6fa Add latest changes from gitlab-org/gitlab@master 2019-12-19 06:08:05 +00:00
GitLab Bot b7dfe2ae40 Add latest changes from gitlab-org/gitlab@master 2019-09-13 13:26:31 +00:00
Bob Van Landuyt 703d0246ff Add authorize to LabelType and NamespaceType
This also disables the cop with a reasoning in types where appropriate
2019-06-21 13:00:50 +02:00
Bob Van Landuyt f16b13113f Fix incorrect instances of `GraphQL::ID_TYPE`
Since the `GraphQL::ID_TYPE` usages should represent globally unique
ids, this changes some fields for which this is not the case into
strings.

The `ID_TYPE` is a specialised, so this change should be backwards
compatible.

https://graphql-ruby.org/type_definitions/scalars.html
2019-06-03 21:59:33 +02:00
Luke Duncalfe 8207f7877f GraphQL Type authorization
Enables authorizations to be defined on GraphQL Types.

    module Types
      class ProjectType < BaseObject
        authorize :read_project
      end
    end

If a field has authorizations defined on it, and the return type of the
field also has authorizations defined on it. then all of the combined
permissions in the authorizations will be checked and must pass.

Connection fields are checked by "digging" to find the type class of the
"node" field in the expected location of edges->node.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54417
2019-04-03 14:36:33 +13:00
Sam Bigelow 1a14e5230e Add merge request popover with details
- Show pipeline status, title, MR Status and project path
- Popover attached to gitlab flavored markdown everywhere, including:
  + MR/Issue Title
  + MR/Issue description
  + MR/Issue comments
  + Rendered markdown files
2019-03-21 10:24:18 -04:00
gfyoung 47b3038434 Enable frozen string in app/graphql + app/finders
Partially addresses #47424.
2018-09-11 12:15:23 -07:00
Bob Van Landuyt 04b046587f Add pipeline lists to GraphQL
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-07-04 10:53:39 +02:00