Read about our upcoming Code of Conduct on this issue

  1. 07 Dec, 2019 1 commit
  2. 13 Sep, 2019 1 commit
  3. 28 Aug, 2019 1 commit
    • Victor Zagorodny's avatar
      Update CE files for GSD projects filter · 39182fb3be18
      Victor Zagorodny authored
      A new param with_security_reports was added to
      GET /groups/:id/projects API and the code to
      support this logic in GroupProjectsFinder and
      Project model. Also, a DB index was added to
      ci_job_artifacts table to speed up the search
      of security reports artifacts for projects
      39182fb3be18
  4. 11 Sep, 2018 2 commits
  5. 28 May, 2018 1 commit
    • Yorick Peterse's avatar
      Reduce queries in GroupProjectsFinder · b6ceaf809a61
      Yorick Peterse authored
      GroupProjectsFinder#collection_with_user would run the following code:
      
          if group.users.include?(current_user)
      
      When running this code for multiple groups this would result in one
      query being executed for every group.
      
      This commit simple removes the entire "if" statement with the code of
      the "else" statement. This ensures both paths use the same code, and
      removes the need for explicitly checking if a user is a member of the
      group.
      b6ceaf809a61
  6. 01 Feb, 2018 1 commit
  7. 11 Jan, 2018 1 commit
  8. 04 Oct, 2017 1 commit
  9. 19 Jun, 2017 1 commit
    • Yorick Peterse's avatar
      Refactor GroupProjectsFinder#init_collection · 8ab693fa5bec
      Yorick Peterse authored
      This optimises how GroupProjectsFinder builds it collection, producing
      simpler and faster queries in the process. It also cleans up the code a
      bit to make it easier to understand.
      8ab693fa5bec
  10. 06 Apr, 2017 1 commit
    • Jacopo's avatar
      ProjectsFinder should handle more options · 05d2c6345fa2
      Jacopo authored
      Extended ProjectFinder in order to handle the following options:
       - current_user - which user use
       - project_ids_relation: int[] - project ids to use
       - params:
         -  trending: boolean
         -  non_public: boolean
         -  starred: boolean
         -  sort: string
         -  visibility_level: int
         -  tags: string[]
         -  personal: boolean
         -  search: string
         -  non_archived: boolean
      
      GroupProjectsFinder now inherits from ProjectsFinder.
      Changed the code in order to use the new available options.
      05d2c6345fa2
  11. 07 Feb, 2017 1 commit
  12. 03 Jun, 2016 2 commits
  13. 25 May, 2016 1 commit
  14. 21 Mar, 2016 1 commit
  15. 20 Mar, 2016 2 commits