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
2017-06-30Hide archived project labels from group issue trackerHoracio Bertorello
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-03-27Optimize labels finder querymhasbini
Optimize labels finder query when searching for a project with a group
2016-11-16Limit labels returned for a specific project as an administratorRobert Speicher
Prior, an administrator viewing a project's Labels page would see _all_ labels from every project they had access to, rather than only the labels of that specific project (if any). This was not an information disclosure, as admins have access to everything, but it was a performance issue.
2016-10-28Pass user instance to Labels::FindOrCreateService or skip_authorization: trueAdam Niedzielski
Do not pass project.owner because it may return a group and Labels::FindOrCreateService throws an error in this case. Fixes #23694.
2016-10-25Merge branch 'sh-optimize-label-finder' into 'master' Stan Hu
Reduce overhead of LabelFinder by avoiding #presence call Some users experienced 502 timeouts when viewing group labels. Labels#open_issues_count and Label#open_merge_requests_count were taking a long time to load because they were loading every ActiveRecord of the user-accessible projects into memory. This change modifies so that only the IDs are loaded into memory. Closes #23684 See merge request !7094
2016-10-25Reduce overhead of LabelFinder by avoiding #presence callStan Hu
Some users experienced 502 timeouts when viewing group labels. Labels#open_issues_count and Label#open_merge_requests_count were taking a long time to load because they were loading every ActiveRecord of the user-accessible projects into memory. This change modifies the system so that #presence and hence to_a isn't called. Closes #23684
2016-10-25Improve readability and add specs for label filteringStan Hu
2016-10-25Improve label filtering implementationStan Hu
2016-10-25Allow the use of params[:name] when filtering labelsStan Hu
2016-10-25Fix bug where labels would be assigned to issues that were movedStan Hu
If you attempt to move an issue from one project to another and leave labels blank, LabelsFinder would assign all labels in the new project to that issue. The issue is that :title is passed along to the Finder, but since it appears empty no filtering is done. As a result, all labels in the group are returned. This fix handles that case. Closes #23668
2016-10-19Remove order by label type on LabelsFinderDouglas Barbosa Alexandre
2016-10-19Add support to group labels to SlashCommands::InterpretServiceDouglas Barbosa Alexandre
2016-10-19Reuse LabelsFinder on Banzai::Filter::LabelReferenceFilterDouglas Barbosa Alexandre
2016-10-19Return only labels that user have access on IssuableFinder#labelsDouglas Barbosa Alexandre
2016-10-19Remove unnecessary `title.present?` on LabelsFinderDouglas Barbosa Alexandre
2016-10-19Reuse LabelsFinder on Banzai::Filter::LabelReferenceFilterDouglas Barbosa Alexandre
2016-10-19Makes the query to retrieve group labels more simplerDouglas Barbosa Alexandre
2016-10-19List only labels that belongs to the group on the group issues pageDouglas Barbosa Alexandre
2016-10-19LabelsFinder inherits from UnionFinderDouglas Barbosa Alexandre
2016-10-19Add LabelsFinderDouglas Barbosa Alexandre