Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-05-28Reduce queries in GroupProjectsFinderYorick Peterse
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.
2018-02-01Include subgroup issuables on the group pageJarka Kadlecová
2018-01-11Adds Rubocop rule for line break around conditionals🙈 jacopo beschi 🙉
2017-10-04Merge group hierarchies when parents are sharedBob Van Landuyt
2017-06-19Refactor GroupProjectsFinder#init_collectionYorick Peterse
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.
2017-04-06ProjectsFinder should handle more optionsJacopo
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-02-07List all groups/projects for admins on explore pagesDouwe Maan
2016-05-25Fix groups API to list only user's accessible projectsStan Hu
Closes #17496
2016-03-22Add specs and add visibility level to admin groupsFelipe Artur
2016-03-20Fix "Shared projects" tabDouwe Maan
2016-03-20Tweaks, refactoring, and specsDouwe Maan