1. 23 6月, 2016 1 次提交
  2. 14 6月, 2016 3 次提交
  3. 10 6月, 2016 2 次提交
    • P
      Cache the presence of an issue_tracker at project level · 136a4ea3
      Paco Guzman 提交于
      Using update_column to store the boolean flag to avoid
      any side effects with the current state of the project
      instance
      136a4ea3
    • Y
      Add Project.where_paths_in · 24920bc5
      Yorick Peterse 提交于
      This method can be used to find multiple projects for multiple paths.
      For example, take this snippet:
      
          Project.where_paths_in(%w{gitlab-org/gitlab-ce gitlab-org/gitlab-ee})
      
      This will return an ActiveRecord::Relation containing the GitLab CE and
      GitLab EE projects.
      
      This method takes care of matching rows both case-sensitively and
      case-insensitively where needed.
      
      Project.find_with_namespace in turn has been modified to use
      Project.where_paths_in without nuking any scoping (instead it uses
      reorder(nil)). This means that any default scopes (e.g. those used for
      "pending_delete" stay intact).
      
      The method Project.where_paths_in was added so the various Markdown
      filters can use a single query to grab all the projects referenced in a
      set of documents, something Project.find_with_namespace didn't allow.
      24920bc5
  4. 03 6月, 2016 2 次提交
  5. 02 6月, 2016 6 次提交
  6. 30 5月, 2016 1 次提交
  7. 25 5月, 2016 2 次提交
  8. 20 5月, 2016 1 次提交
  9. 19 5月, 2016 4 次提交
  10. 18 5月, 2016 1 次提交
  11. 17 5月, 2016 1 次提交
  12. 16 5月, 2016 1 次提交
  13. 15 5月, 2016 1 次提交
  14. 14 5月, 2016 1 次提交
  15. 13 5月, 2016 2 次提交
  16. 11 5月, 2016 1 次提交
  17. 10 5月, 2016 5 次提交
  18. 09 5月, 2016 3 次提交
    • S
      Improve multiple branch push performance by memoizing permission checking · 4be77d0b
      Stan Hu 提交于
      If you attempt to push thousands of branches at once, the 60-second timeout
      will occur because GitAccess checking does a lot of work to check if the
      user has permission to push to a branch. This changes does two things:
      
      1. Instead of making 1 DB query per branch push, use a memoized list of protected branches to check
      2. Memoize what permissions the user has to perform on this project
      
      On a test of 10,000 branch pushes, this prevents gitlab-shell from hitting the 60-second
      timeout.
      
      Closes #17225
      4be77d0b
    • K
      WIP · 5196f8e9
      Kamil Trzcinski 提交于
      5196f8e9
    • R
      Remove `wall_enabled` field from Project · 0e29653f
      Robert Speicher 提交于
      0e29653f
  19. 07 5月, 2016 1 次提交
  20. 06 5月, 2016 1 次提交