An error occurred fetching the project authors.
  1. 01 Feb, 2022 1 commit
  2. 15 Jul, 2021 1 commit
    • Nick Thomas's avatar
      Use flushdb, not flushall, in specs · 4531afda
      Nick Thomas authored
      Some specs need a clean Redis state to run successfully. We want to add
      per-environment isolation using redis databases, but to do that, we
      need to use flushdb instead of flushall.
      4531afda
  3. 02 Jul, 2021 2 commits
    • Vasilii Iakliushin's avatar
      Fix caching for pagination headers · 3f4b3514
      Vasilii Iakliushin authored
      Contributes to https://gitlab.com/gitlab-org/gitlab/-/issues/331297
      
      **Problem**
      
       We set pagination headers during the request time(see
       Gitlab::Pagination:::OffsetHeaderBuilder).
      
      But when the request is cached, then we skip the headers' setup.
      
      **Solution**
      
      Save headers in the cache and restore them if necessary
      
      Changelog: fixed
      3f4b3514
    • Will Chandler's avatar
      Expand branch creation error message · 727a0716
      Will Chandler authored
      Currently when `repository#add_branch` returns `false` in
      `Branches::CreateService` we return error message that the source
      reference was invalid. This is the most likely cause of this error, but
      not the only one.
      
      Another cause is creating a branch with a subcomponent that matches the
      full name of an existing branch, e.g. `feature/widget` and `feature`. In
      this scenario it is the new branch name that is the problem, not the
      source ref, but our error message gives no clues to this.
      
      This is a particular problem for pull mirroring, where the SHA1 of the
      source branch is used rather than a human-readable name. This requires
      the user to copy down the SHA and go to the source repo to attempt to
      understand which branch is causing the failure.
      
      Ideally we would have separate errors for invalid source refs and
      invalid branch names, but `repository#add_branch` hides the information
      we need to distinguish between them.
      
      This commit expands the error message to mention which branch we failed
      to create, making it easier for users to find out they were creating
      invalid branch names.
      727a0716
  4. 29 Jun, 2021 1 commit
  5. 24 May, 2021 1 commit
  6. 19 May, 2021 1 commit
  7. 13 May, 2021 1 commit
  8. 12 May, 2021 1 commit
  9. 03 Sep, 2020 1 commit
  10. 31 Jul, 2020 1 commit
  11. 17 Jul, 2020 1 commit
    • David Kim's avatar
      Use gitaly pagination to improve performance · e596e619
      David Kim authored
      Pagination by Kaminari is slow because it requests all branches and
      paginate after receiving results from Gitaly. It's a first iteration to
      implement native pagination with Gitaly.
      e596e619
  12. 23 Jun, 2020 1 commit
  13. 11 May, 2020 2 commits
  14. 21 Feb, 2020 1 commit
  15. 12 Feb, 2020 1 commit
  16. 28 Jan, 2020 1 commit
  17. 13 Dec, 2019 1 commit
  18. 02 Dec, 2019 1 commit
  19. 11 Nov, 2019 1 commit
    • Oswaldo Ferreira's avatar
      Remove N+1 calls from branches API · 12090792
      Oswaldo Ferreira authored
      This commit handles N+1 calls being
      submited at 'GET /projects/:id/repository/branches'
      endpoint for protected branches.
      
      It does so by using properly eagerloaded protected branches
      relations, which also avoids N+1 ActiveRecord cached
      calls.
      12090792
  20. 28 Oct, 2019 1 commit
  21. 21 Oct, 2019 1 commit
  22. 18 Oct, 2019 1 commit
  23. 24 Jun, 2019 1 commit
  24. 15 Apr, 2019 1 commit
  25. 30 Mar, 2019 2 commits
  26. 05 Jan, 2019 1 commit
  27. 27 Dec, 2018 1 commit
  28. 18 Dec, 2018 2 commits
    • blackst0ne's avatar
      Update specs to rails5 format · 77b85029
      blackst0ne authored
      Updates specs to use new rails5 format.
      
      The old format:
      `get :show, { some: params }, { some: headers }`
      
      The new format:
      `get :show, params: { some: params }, headers: { some: headers }`
      77b85029
    • blackst0ne's avatar
      Update specs to rails5 format · b44a2c80
      blackst0ne authored
      Updates specs to use new rails5 format.
      
      The old format:
      `get :show, { some: params }, { some: headers }`
      
      The new format:
      `get :show, params: { some: params }, headers: { some: headers }`
      b44a2c80
  29. 11 Jul, 2018 2 commits
  30. 26 Jun, 2018 1 commit
  31. 25 Jun, 2018 1 commit
  32. 05 Mar, 2018 1 commit
  33. 18 Oct, 2017 1 commit
  34. 19 Sep, 2017 1 commit
  35. 05 Sep, 2017 1 commit