1. 02 5月, 2019 1 次提交
    • J
      Add opentracing integration for graphql · 96750fac
      Jan Provaznik 提交于
      Extends existing graphql's tracer with opentracing measurements. Because
      it also adds Tracing::Graphql class (for opentracing), it also renames
      Graphql::Tracing class to Graphql::GenericTracing to minimize confusion
      with similar class names.
      96750fac
  2. 23 4月, 2019 1 次提交
  3. 18 4月, 2019 1 次提交
  4. 04 4月, 2019 3 次提交
  5. 03 4月, 2019 2 次提交
  6. 02 4月, 2019 1 次提交
    • J
      Monitor GraphQL with Prometheus · 0e66357a
      Jan Provaznik 提交于
      Extends graphql's platform tracing class to observe duration
      of graphql methods.
      
      In graphql 1.8.11 is added prometheus class but it's not very useful
      for us because it uses prometheus_exporter to export results.
      0e66357a
  7. 26 2月, 2019 1 次提交
    • L
      Improve GraphQL Authorization DSL · ccb4edbc
      Luke Duncalfe 提交于
      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
  8. 14 2月, 2019 2 次提交
  9. 27 11月, 2018 1 次提交
    • P
      Suggests issues when typing title · 50e21a89
      Phil Hughes 提交于
      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
  10. 14 11月, 2018 1 次提交
    • G
      Enable even more frozen string in lib/gitlab · ebf98f27
      gfyoung 提交于
      Enables frozen string for the following:
      
      * lib/gitlab/fogbugz_import/**/*.rb
      * lib/gitlab/gfm/**/*.rb
      * lib/gitlab/git/**/*.rb
      * lib/gitlab/gitaly_client/**/*.rb
      * lib/gitlab/gitlab_import/**/*.rb
      * lib/gitlab/google_code_import/**/*.rb
      * lib/gitlab/gpg/**/*.rb
      * lib/gitlab/grape_logging/**/*.rb
      * lib/gitlab/graphql/**/*.rb
      * lib/gitlab/graphs/**/*.rb
      * lib/gitlab/hashed_storage/**/*.rb
      * lib/gitlab/health_checks/**/*.rb
      
      Partially address gitlab-org/gitlab-ce#47424.
      ebf98f27
  11. 11 9月, 2018 1 次提交
  12. 29 8月, 2018 1 次提交
  13. 26 7月, 2018 1 次提交
  14. 04 7月, 2018 1 次提交
    • B
      Add pipeline lists to GraphQL · 04b04658
      Bob 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.
      04b04658
  15. 28 6月, 2018 1 次提交
  16. 06 6月, 2018 5 次提交