An error occurred fetching the project authors.
  1. 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
  2. 29 Apr, 2019 4 commits
  3. 26 Apr, 2019 1 commit
  4. 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
  5. 24 Apr, 2019 1 commit
  6. 23 Apr, 2019 6 commits
  7. 22 Apr, 2019 2 commits
  8. 18 Apr, 2019 2 commits
  9. 17 Apr, 2019 1 commit
  10. 12 Apr, 2019 4 commits
  11. 10 Apr, 2019 2 commits
  12. 05 Apr, 2019 2 commits
  13. 04 Apr, 2019 2 commits
  14. 02 Apr, 2019 1 commit
    • Patrick Bajao's avatar
      Download a folder from repository · 6766a0a1
      Patrick Bajao authored
      Add `GetArchiveRequest` to git-archive params.
      
      Modifies `Git::Repository#archive_metadata` to append `path`
      to `ArchivePrefix` so it'll not hit the cache of repository archive
      when it already exists.
      6766a0a1
  15. 01 Apr, 2019 1 commit
  16. 27 Mar, 2019 2 commits
    • Gabriel Mazetto's avatar
      Upgrade `gitlab-markup` to 1.7.0 · ed5ed2a0
      Gabriel Mazetto authored
      The new version requires `python3` to be available. In omnibus
      installation this is already a reality as we are currently pathing
      previous `gitlab-markup` version to use `python3` instead of `python2`.
      
      We are now requiring `python3` with the gem without having to patch it.
      
      As a consequence to also make it easy to use it in development, we've
      introduced a `Pipfile` and `Pipfile.lock`, working similarly to
      `Gemfile` and `Gemfile.lock`, and added documentation on how to use
      them.
      ed5ed2a0
    • Gabriel Mazetto's avatar
      Upgrade `gitlab-markup` to 1.7.0 · e5af7d83
      Gabriel Mazetto authored
      The new version requires `python3` to be available. In omnibus
      installation this is already a reality as we are currently pathing
      previous `gitlab-markup` version to use `python3` instead of `python2`.
      
      We are now requiring `python3` with the gem without having to patch it.
      
      As a consequence to also make it easy to use it in development, we've
      introduced a `Pipfile` and `Pipfile.lock`, working similarly to
      `Gemfile` and `Gemfile.lock`, and added documentation on how to use
      them.
      e5af7d83
  17. 26 Mar, 2019 2 commits
  18. 25 Mar, 2019 1 commit
  19. 22 Mar, 2019 1 commit
  20. 20 Mar, 2019 1 commit