1. 05 Mar, 2019 2 commits
  2. 25 Feb, 2019 1 commit
    • Luke Duncalfe's avatar
      Improve GraphQL Authorization DSL · ccb4edbc
      Luke Duncalfe authored
      Previously GraphQL field authorization happened like this:
      
          class ProjectType
            field :my_field, MyFieldType do
              authorize :permission
            end
          end
      
      This change allowed us to authorize like this instead:
      
          class ProjectType
            field :my_field, MyFieldType, authorize: :permission
          end
      
      A new initializer registers the `authorize` metadata keyword on GraphQL
      Schema Objects and Fields, and we can collect this data within the
      context of Instrumentation like this:
      
          field.metadata[:authorize]
      
      The previous functionality of authorize is still being used for
      mutations, as the #authorize method here is called at during the code
      that executes during the mutation, rather than when a field resolves.
      
      https://gitlab.com/gitlab-org/gitlab-ce/issues/57828
      ccb4edbc
  3. 21 Feb, 2019 1 commit
  4. 14 Feb, 2019 4 commits
  5. 01 Feb, 2019 1 commit
  6. 24 Jan, 2019 1 commit
  7. 27 Nov, 2018 1 commit
    • Phil Hughes's avatar
      Suggests issues when typing title · 50e21a89
      Phil Hughes authored
      This suggests possibly related issues when the user types a title.
      
      This uses GraphQL to allow the frontend to request the exact
      data that is requires. We also get free caching through the Vue Apollo
      plugin.
      
      With this we can include the ability to import .graphql files in JS
      and Vue files.
      Also we now have the Vue test utils library to make testing
      Vue components easier.
      
      Closes #22071
      50e21a89
  8. 05 Oct, 2018 1 commit
  9. 25 Jul, 2018 1 commit
  10. 04 Jul, 2018 1 commit
    • Bob Van Landuyt's avatar
      Add pipeline lists to GraphQL · 04b04658
      Bob Van Landuyt authored
      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.
      04b04658
  11. 28 Jun, 2018 1 commit
  12. 15 Jun, 2018 1 commit
    • Bob Van Landuyt's avatar
      Allow querying a single MR within a project · 9403b1d9
      Bob Van Landuyt authored
      This allows the user to get a single MR nested in a GraphQL project
      query.
      
      Since we need the full path and the iid anyway, this makes more sense
      than having a root query that needs the full path as well.
      9403b1d9
  13. 06 Jun, 2018 1 commit
  14. 05 Jun, 2018 3 commits