1. 23 2月, 2019 1 次提交
  2. 18 2月, 2019 1 次提交
    • R
      Fix Projects::MergeRequests::DiffsController specs · 45ce5ff7
      Rémy Coutable 提交于
      These specs were flaky and only passing after a retry due to how
      rspec-retry works.
      
      1. The test with paths that don't exist was returning 200 on the first
        try, then 404 on the second, not because the paths don't exist, but
        because the MR IID didn't change, thus the MR couldn't be found.
        I decided to remove the test entirely since we don't seem to return
        404 for paths that don't exist.
      2. The test with a user that cannot view the merge request was failing
        the first time because the project owner wasn't removed with
        `project.team.truncate`.
        Changing the `let(:user)` to `create(:user)` and calling
        `project.add_maintainer(user)` in the `before` block fix the test.
      Signed-off-by: NRémy Coutable <remy@rymai.me>
      45ce5ff7
  3. 07 2月, 2019 1 次提交
  4. 31 1月, 2019 1 次提交
  5. 28 1月, 2019 1 次提交
  6. 20 12月, 2018 1 次提交
  7. 19 12月, 2018 1 次提交
  8. 04 12月, 2018 1 次提交
  9. 10 11月, 2018 1 次提交
  10. 08 11月, 2018 1 次提交
  11. 07 11月, 2018 2 次提交
  12. 23 10月, 2018 1 次提交
  13. 04 10月, 2018 1 次提交
  14. 26 9月, 2018 2 次提交
  15. 24 9月, 2018 2 次提交
  16. 11 9月, 2018 1 次提交
  17. 07 9月, 2018 1 次提交
  18. 22 8月, 2018 1 次提交
  19. 30 7月, 2018 1 次提交
    • B
      Show the status of a user in interactions · f1d3ea63
      Bob Van Landuyt 提交于
      The status is shown for
      - The author of a commit when viewing a commit
      - Notes on a commit (regular/diff)
      - The user that triggered a pipeline when viewing a pipeline
      - The author of a merge request when viewing a merge request
      - The author of notes on a merge request (regular/diff)
      - The author of an issue when viewing an issue
      - The author of notes on an issue
      - The author of a snippet when viewing a snippet
      - The author of notes on a snippet
      - A user's profile page
      - The list of members of a group/user
      f1d3ea63
  20. 21 6月, 2018 1 次提交
  21. 01 6月, 2018 1 次提交
  22. 29 5月, 2018 1 次提交
  23. 03 5月, 2018 1 次提交
  24. 11 4月, 2018 1 次提交
    • B
      Rename `create_merge_request` permissions · 8ad9c4e8
      Bob Van Landuyt 提交于
      So we can distinguish between the permissions on the source and the
      target project.
      
      - `create_merge_request_from` indicates a user can create a merge
        request with the project as a source_project
      - `create_merge_request_in` indicates a user can create a merge
        request with the project as a target_project
      8ad9c4e8
  25. 07 3月, 2018 1 次提交
  26. 23 2月, 2018 1 次提交
  27. 02 2月, 2018 1 次提交
    • Y
      Track and act upon the number of executed queries · cca61980
      Yorick Peterse 提交于
      This ensures that we have more visibility in the number of SQL queries
      that are executed in web requests. The current threshold is hardcoded to
      100 as we will rarely (maybe once or twice) change it.
      
      In production and development we use Sentry if enabled, in the test
      environment we raise an error. This feature is also only enabled in
      production/staging when running on GitLab.com as it's not very useful to
      other users.
      cca61980
  28. 15 1月, 2018 1 次提交
  29. 12 1月, 2018 1 次提交
  30. 14 12月, 2017 1 次提交
  31. 07 12月, 2017 4 次提交
  32. 29 11月, 2017 2 次提交
    • S
      Ensure MRs always use branch refs for comparison · 3c6a4d63
      Sean McGivern 提交于
      If a merge request was created with a branch name that also matched a tag name,
      we'd generate a comparison to or from the tag respectively, rather than the
      branch. Merging would still use the branch, of course.
      
      To avoid this, ensure that when we get the branch heads, we prepend the
      reference prefix for branches, which will ensure that we generate the correct
      comparison.
      3c6a4d63
    • S
      Remove serialised diff and commit columns · 4ebbfe5d
      Sean McGivern 提交于
      The st_commits and st_diffs columns on merge_request_diffs historically held the
      YAML-serialised data for a merge request diff, in a variety of formats.
      
      Since 9.5, these have been migrated in the background to two new tables:
      merge_request_diff_commits and merge_request_diff_files. That has the advantage
      that we can actually query the data (for instance, to find out how many commits
      we've stored), and that it can't be in a variety of formats, but must match the
      new schema.
      
      This is the final step of that journey, where we drop those columns and remove
      all references to them. This is a breaking change to the importer, because we
      can no longer import diffs created in the old format, and we cannot guarantee
      the export will be in the new format unless it was generated after this commit.
      4ebbfe5d
  33. 21 11月, 2017 1 次提交