summaryrefslogtreecommitdiff
path: root/app/finders/group_projects_finder.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@12-6-stable-eeGitLab Bot2019-12-201-0/+14
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-131-0/+2
|
* Update CE files for GSD projects filterVictor Zagorodny2019-08-281-5/+7
| | | | | | | | | 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
* Merge branch 'frozen-string-app-finders-graphql' into 'master'Stan Hu2018-09-131-0/+2
|\ | | | | | | | | Enable frozen string in app/graphql + app/finders See merge request gitlab-org/gitlab-ce!21681
| * Enable frozen string in app/graphql + app/findersgfyoung2018-09-111-0/+2
| | | | | | | | Partially addresses #47424.
* | Disable existing offenses for the CodeReuse copsYorick Peterse2018-09-111-0/+2
|/ | | | | This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
* Reduce queries in GroupProjectsFinderYorick Peterse2018-05-281-18/+8
| | | | | | | | | | | | | | 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.
* Include subgroup issuables on the group page30106-group-issuesJarka Kadlecová2018-02-011-1/+10
|
* Adds Rubocop rule for line break around conditionals🙈 jacopo beschi 🙉2018-01-111-0/+1
|
* Merge group hierarchies when parents are sharedBob Van Landuyt2017-10-041-1/+0
|
* Refactor GroupProjectsFinder#init_collectionYorick Peterse2017-06-191-20/+54
| | | | | | 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.
* ProjectsFinder should handle more optionsJacopo2017-04-061-19/+40
| | | | | | | | | | | | | | | | | | | 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.
* List all groups/projects for admins on explore pagesDouwe Maan2017-02-061-1/+1
|
* Fix groups API to list only user's accessible projectsStan Hu2016-05-241-1/+1
| | | | Closes #17496
* Add specs and add visibility level to admin groupsFelipe Artur2016-03-211-3/+2
|
* Fix "Shared projects" tabDouwe Maan2016-03-201-8/+8
|
* Tweaks, refactoring, and specsDouwe Maan2016-03-201-0/+43