1. 13 Jun, 2016 1 commit
  2. 10 Jun, 2016 2 commits
    • Paco Guzman's avatar
      Cache the presence of an issue_tracker at project level · 224a9e3917df
      Paco Guzman authored
      Using update_column to store the boolean flag to avoid
      any side effects with the current state of the project
      instance
      224a9e3917df
    • Yorick Peterse's avatar
      Add Project.where_paths_in · d80adaa274f4
      Yorick Peterse authored
      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.
      d80adaa274f4
  3. 03 Jun, 2016 2 commits
  4. 02 Jun, 2016 4 commits
  5. 01 Jun, 2016 2 commits
  6. 30 May, 2016 1 commit
  7. 25 May, 2016 1 commit
  8. 24 May, 2016 1 commit
    • Phil Hughes's avatar
      Updated erorr message when project limit is zero · cee1020e226f
      Phil Hughes authored
      When the project limit is zero & the user tries to create a project, the error displayed is now 'Personal project creation is not allowed. Please contact your administrator with questions'
      
      Closes #17691
      cee1020e226f
  9. 20 May, 2016 1 commit
  10. 19 May, 2016 1 commit
  11. 18 May, 2016 2 commits
  12. 17 May, 2016 1 commit
  13. 16 May, 2016 2 commits
  14. 14 May, 2016 1 commit
  15. 13 May, 2016 1 commit
  16. 12 May, 2016 2 commits
  17. 11 May, 2016 1 commit
  18. 09 May, 2016 6 commits
  19. 08 May, 2016 2 commits
  20. 07 May, 2016 1 commit
  21. 06 May, 2016 1 commit
  22. 04 May, 2016 3 commits
  23. 29 Apr, 2016 1 commit
    • Yorick Peterse's avatar
      Tweak checking branches in Project#open_branches · d59a599d4948
      Yorick Peterse authored
      This changes 4 things:
      
      1. Project#protected_branches_names has been renamed to
         Project#protected_branch_names.
      
      2. Project#open_branches uses a Set for the branch names as checking
         values in a Set is faster than checking values in a (large) Array.
      
      3. Some redundant code in Project#open_branches has been removed.
      
      4. Project#protected_branch_names now uses #pluck instead of #map,
         removing the need for loading entire DB records into memory.
      d59a599d4948