1. 19 Dec, 2017 1 commit
    • Zeger-Jan van de Weg's avatar
      Load commit in batches for pipelines#index · c6edae38
      Zeger-Jan van de Weg authored
      Uses `list_commits_by_oid` on the CommitService, to request the needed
      commits for pipelines. These commits are needed to display the user that
      created the commit and the commit title.
      
      This includes fixes for tests failing that depended on the commit
      being `nil`. However, now these are batch loaded, this doesn't happen
      anymore and the commits are an instance of BatchLoader.
      c6edae38
  2. 13 Dec, 2017 1 commit
    • Jacopo's avatar
      Adds ordering to projects contributors in API · 55f32208
      Jacopo authored
      Allows ordering in GET api/v4/projects/:project_id/repository/contributors
      through `order_by` and `sort` params.
      The available `order_by` options are: name|email|commits.
      The available `sort` options are: asc|desc.
      55f32208
  3. 07 Dec, 2017 1 commit
  4. 23 Nov, 2017 1 commit
  5. 21 Nov, 2017 1 commit
  6. 16 Nov, 2017 2 commits
  7. 15 Nov, 2017 2 commits
  8. 25 Sep, 2017 2 commits
  9. 06 Sep, 2017 1 commit
  10. 05 Sep, 2017 1 commit
  11. 21 Aug, 2017 2 commits
  12. 17 Aug, 2017 1 commit
  13. 16 Aug, 2017 1 commit
  14. 15 Aug, 2017 3 commits
  15. 14 Aug, 2017 1 commit
  16. 10 Aug, 2017 1 commit
  17. 08 Aug, 2017 2 commits
  18. 27 Jul, 2017 8 commits
  19. 18 Jul, 2017 3 commits
  20. 17 Jul, 2017 1 commit
    • Lin Jen-Shin's avatar
      Use RequestStoreWrap for Commit#author · aada5273
      Lin Jen-Shin authored
      We also try to use instance variable to cache the result if
      RequestStore is not available, so we could keep the same logic,
      using the same cache key. Also introduce a way to specify method
      specific cache key
      aada5273
  21. 06 Jul, 2017 1 commit
    • Sean McGivern's avatar
      Add table for merge request commits · aff5c9f3
      Sean McGivern authored
      This is an ID-less table with just three columns: an association to the merge
      request diff the commit belongs to, the relative order of the commit within the
      merge request diff, and the commit SHA itself.
      
      Previously we stored much more information about the commits, so that we could
      display them even when they were deleted from the repo. Since 8.0, we ensure
      that those commits are kept around for as long as the target repo itself is, so
      we don't need to duplicate that data in the database.
      aff5c9f3
  22. 15 Jun, 2017 2 commits
  23. 07 Jun, 2017 1 commit