Skip to content
Snippets Groups Projects
  1. Sep 13, 2019
  2. Aug 28, 2019
    • Victor Zagorodny's avatar
      Update CE files for GSD projects filter · e4fbd94c
      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
      e4fbd94c
  3. Sep 11, 2018
  4. May 28, 2018
    • Yorick Peterse's avatar
      Reduce queries in GroupProjectsFinder · 77d4546e
      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.
      Unverified
      77d4546e
  5. Feb 01, 2018
  6. Jan 11, 2018
  7. Oct 04, 2017
  8. Jun 19, 2017
  9. Apr 06, 2017
    • Jacopo's avatar
      ProjectsFinder should handle more options · b996a82f
      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.
      b996a82f
  10. Feb 07, 2017
  11. Jun 03, 2016
  12. May 25, 2016
  13. Mar 21, 2016
  14. Mar 20, 2016
Loading