1. 01 6月, 2018 1 次提交
  2. 29 5月, 2018 1 次提交
  3. 03 5月, 2018 1 次提交
  4. 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
  5. 07 3月, 2018 1 次提交
  6. 23 2月, 2018 1 次提交
  7. 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
  8. 15 1月, 2018 1 次提交
  9. 12 1月, 2018 1 次提交
  10. 14 12月, 2017 1 次提交
  11. 07 12月, 2017 4 次提交
  12. 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
  13. 21 11月, 2017 1 次提交
  14. 08 11月, 2017 1 次提交
  15. 03 11月, 2017 1 次提交
    • M
      removed the #ensure_ref_fetched from all controllers · cd88fa8f
      micael.bergeron 提交于
      also, I refactored the MergeRequest#fetch_ref method to express
      the side-effect that this method has.
      
        MergeRequest#fetch_ref -> MergeRequest#fetch_ref!
        Repository#fetch_source_branch -> Repository#fetch_source_branch!
      cd88fa8f
  16. 13 10月, 2017 2 次提交
  17. 07 10月, 2017 2 次提交
    • B
      Find branches in all projects in the fork network · 7c00b538
      Bob Van Landuyt 提交于
      7c00b538
    • T
      Create idea of read-only database · d1366971
      Toon Claes 提交于
      In GitLab EE, a GitLab instance can be read-only (e.g. when it's a Geo
      secondary node). But in GitLab CE it also might be useful to have the
      "read-only" idea around. So port it back to GitLab CE.
      
      Also having the principle of read-only in GitLab CE would hopefully
      lead to less errors introduced, doing write operations when there
      aren't allowed for read-only calls.
      
      Closes gitlab-org/gitlab-ce#37534.
      d1366971
  18. 19 9月, 2017 1 次提交
  19. 14 9月, 2017 1 次提交
  20. 07 9月, 2017 1 次提交
  21. 06 9月, 2017 2 次提交
  22. 14 7月, 2017 1 次提交
  23. 07 7月, 2017 2 次提交
  24. 06 7月, 2017 1 次提交
  25. 29 6月, 2017 1 次提交