An error occurred fetching the project authors.
  1. 05 May, 2019 5 commits
  2. 02 May, 2019 3 commits
    • Luke Duncalfe's avatar
      Add support for two-step Gitaly Rebase RPC · 49cb4b3d
      Luke Duncalfe authored
      The new two-step Gitaly `Rebase` RPC yields the rebase commit SHA to the
      client before proceeding with the rebase.
      
      This avoids an issue where the rebase commit SHA was returned when the
      RPC had fully completed, and in some cases this would be after the Rails
      `post_receive` worker services had already run. In these situations,
      the merge request did not yet have its rebase_commit_sha attribute set
      introducing the possibility for bugs (such as previous approvals being
      reset).
      
      https://gitlab.com/gitlab-org/gitlab-ee/issues/5966
      49cb4b3d
    • Jan Provaznik's avatar
      Add opentracing integration for graphql · ffdc55c0
      Jan Provaznik authored
      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.
      ffdc55c0
    • Jan Provaznik's avatar
      Add opentracing integration for graphql · 96750fac
      Jan Provaznik authored
      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
  3. 30 Apr, 2019 3 commits
    • John Cai's avatar
      Add client methods for FetchIntoObjectPool RPC · 5ee78765
      John Cai authored
      Gitaly's FetchIntoObjectPool RPC will idempotently fetch objects into an
      object pool. If the pool doesn't exist, it will create an empty pool
      before attempting the fetch. This change adds client code as well as
      specs to cover this behavior.
      5ee78765
    • Bob Van Landuyt's avatar
      Upload Versioned designs through GraphQL · 45f3aa99
      Bob Van Landuyt authored
      This allows uploading designs through GraphQL.
      
      The mutation requires these arguments:
      
      - `fullPath`: The path in which we can find the issue for creating
        designs
      - `iid`: The iid of the issue in which to upload designs
      - `files`: An array of files. We expect these to be in the format
        used by apollo-upload-client[0] which uses this spec[1] for
        multipart fileupload.
      
      The middleware used for handling the multipart upload an translating
      the variables is apollo_upload_server[2]
      
      When a file is uploaded, the basename is used for creating a design,
      when a design for the specified issue did not exist for the filename,
      a new one is created. Otherwise the existing one is used.
      
      When uploading a new file, a new version is created an linked to the
      design being updated or created.
      
      The files are stored in a repository that lives next to the project
      repository with the path `@hashed/[hash]/[to]/[repo].design.git. The
      files are not yet stored in LFS, but they should be.
      
      0: https://github.com/jaydenseric/apollo-upload-client
      1: https://github.com/jaydenseric/graphql-multipart-request-spec
      2: https://github.com/jetruby/apollo_upload_server-ruby
      45f3aa99
    • Stan Hu's avatar
      Disable method replacement in avatar loading · 25818bd7
      Stan Hu authored
      We've seen a significant performance penalty when using
      `BatchLoader#__replace_with!`. This defines methods on the batch loader
      that proxy to the 'real' object using send. The alternative is
      `method_missing`, which is slower.  However, we've noticed that
      `method_missing` can be faster if:
      
      1. The objects being loaded have a large interface.
      2. We don't call too many methods on the loaded object.
      
      Avatar uploads meet both criteria above, so let's use the newly-released
      feature in https://github.com/exAspArk/batch-loader/pull/45.
      
      Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/60903
      25818bd7
  4. 29 Apr, 2019 4 commits
  5. 27 Apr, 2019 1 commit
  6. 26 Apr, 2019 1 commit
  7. 25 Apr, 2019 1 commit
    • Francisco Javier López's avatar
      Added list_pages method to avoid loading all wiki pages content · dde69bfb
      Francisco Javier López authored
      Inside a wiki, when we show the sidebar or browse to the `pages`,
      all page contents are retrieved from Gitaly and that is a waste
      of resources, since no content from that pages are going to be
      showed.
      
      This MR introduces the method `ProjectWiki#list_pages`,
      which uses new wiki_list_pages RPC call to retrieve
      pages without content
      
      Also in the `WikisController` we're using the method to show
      pages in the sidebar and also on the `pages` page.
      dde69bfb
  8. 24 Apr, 2019 1 commit
  9. 23 Apr, 2019 6 commits
  10. 22 Apr, 2019 2 commits
  11. 18 Apr, 2019 2 commits
  12. 17 Apr, 2019 1 commit
  13. 12 Apr, 2019 4 commits
  14. 10 Apr, 2019 2 commits
  15. 05 Apr, 2019 2 commits
  16. 04 Apr, 2019 2 commits