Commit Graph

20 Commits

Author SHA1 Message Date
GitLab Bot 9abffa14d6 Add latest changes from gitlab-org/gitlab@master 2022-02-10 21:15:20 +00:00
GitLab Bot 6e734c809b Add latest changes from gitlab-org/gitlab@master 2021-01-08 15:10:26 +00:00
GitLab Bot 20de59fb35 Add latest changes from gitlab-org/gitlab@master 2020-08-04 21:09:56 +00:00
GitLab Bot b1c4066c6b Add latest changes from gitlab-org/gitlab@master 2020-06-30 21:09:47 +00:00
GitLab Bot 4f5c8572e9 Add latest changes from gitlab-org/gitlab@master 2020-06-16 18:09:01 +00:00
GitLab Bot e723867717 Add latest changes from gitlab-org/gitlab@master 2019-12-17 18:07:48 +00:00
GitLab Bot ec169c6384 Add latest changes from gitlab-org/gitlab@master 2019-12-07 18:07:50 +00:00
GitLab Bot 914ea32e0e Add latest changes from gitlab-org/gitlab@master 2019-10-16 09:07:51 +00:00
Heinrich Lee Yu 1ce5bcacdb Remove code related to object hierarchy in MySQL
These are not required because MySQL is not
supported anymore
2019-07-25 15:35:06 +08:00
Rémy Coutable 30a4e5532d
[CE] Reduce differences with EE in group_projects_finder_spec.rb
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-03-21 17:31:41 +01:00
Mark Chao a63bce1a4b Resolve "Rename the `Master` role to `Maintainer`" Backend 2018-07-11 14:36:08 +00:00
Lin Jen-Shin 4ee08b77bc Updates from `rubocop -a` 2018-07-09 21:13:08 +08:00
Jarka Kadlecová 7f0ebeff1a Include subgroup issuables on the group page 2018-02-01 07:04:37 +01:00
blackst0ne 27c95364b5 Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
Robert Speicher 72a7b30c9f Change all `:empty_project` to `:project` 2017-08-02 17:47:31 -04:00
Jacopo b996a82ff4 ProjectsFinder should handle more options
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.
2017-04-06 07:11:37 +02:00
Robert Speicher 0fa1c545b8 Use `:empty_project` where possible in finder specs 2017-01-25 22:31:24 -05:00
Ahmad Sherif fd05e26618 Precalculate user's authorized projects in database
Closes #23150
2016-11-18 20:25:45 +02:00
Grzegorz Bizon 9e211091a8 Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
Felipe Artur 8d544645f0 Add specs and add visibility level to admin groups 2016-03-21 19:11:24 -03:00