Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Include subgroup issuables on the group page30106-group-issues | Jarka Kadlecová | 2018-02-01 | 2 | -2/+13 |
| | |||||
* | Use limit for search count queriessearch-100 | Jan Provaznik | 2018-01-23 | 1 | -1/+10 |
| | | | | | | | | | | | | | | | | | | | | | | Search query is especially slow if a user searches a generic string which matches many records, in such case search can take tens of seconds or time out. To speed up the search query, we search only for first 1000 records, if there is >1000 matching records we just display "1000+" instead of precise total count supposing that with such amount the exact count is not so important for the user. Because for issues even limited search was not fast enough, 2-phase approach is used for issues: first we use simpler/faster query to get all public issues, if this exceeds the limit, we just return the limit. If the amount of matching results is lower than limit, we re-run more complex search query (which includes also confidential issues). Re-running the complex query should be fast enough in such case because the amount of matching issues is lower than limit. Because exact total_count is now limited, this patch also switches to to "prev/next" pagination. Related #40540 | ||||
* | Preload ancestors for subgroups matching filter | Bob Van Landuyt | 2018-01-22 | 1 | -11/+24 |
| | | | | | | | Otherwise we'd only preload the ancestors that would fit the page. That way, when a search result was on the first page, but the ancestor didn't fit the page anymore. We would not have the preloaded ancestor when rendering the hierarchy. | ||||
* | Don't include projects shared as group-descendants | Bob Van Landuyt | 2018-01-22 | 1 | -2/+4 |
| | | | | | When a project is shared with a group, it should not be included as a descendant on the group dashboard. | ||||
* | Merge branch 'issue_37143_2' into 'master' | Sean McGivern | 2018-01-18 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | Remove unnecessary query from labels dropdown Closes #37143 See merge request gitlab-org/gitlab-ce!16520 | ||||
| * | Remove unnecessary query from labels filter | Felipe Artur | 2018-01-18 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'milestones-finder-order-fix' into 'security-10-3' | Robert Speicher | 2018-01-16 | 1 | -6/+2 |
|/ | | | | | | | | | | Remove order param from the MilestoneFinder See merge request gitlab/gitlabhq!2259 (cherry picked from commit 14408042e78f2ebc2644f956621b461dbfa3d36d) 155881e7 Remove order param from the MilestoneFinder | ||||
* | Adds Rubocop rule for line break around conditionals | 🙈 jacopo beschi 🙉 | 2018-01-11 | 2 | -0/+4 |
| | |||||
* | Merge branch 'issue_40500' into 'master' | Sean McGivern | 2018-01-05 | 1 | -10/+5 |
|\ | | | | | | | | | | | | | Improve filtering issues by label performance Closes #40500 and #37143 See merge request gitlab-org/gitlab-ce!16136 | ||||
| * | Improve filtering issues by label performanceissue_40500 | Felipe Artur | 2018-01-05 | 1 | -10/+5 |
| | | |||||
* | | EE-BACKPORT group boards | Felipe Artur | 2018-01-04 | 1 | -2/+17 |
|/ | |||||
* | Merge branch '35616-move-k8-to-cluster-page' into ↵ | Kamil Trzcinski | 2017-12-05 | 1 | -1/+1 |
|\ | | | | | | | cluster-page-with-list-clusters | ||||
| * | Added default order to UserFinder | Francisco Javier López | 2017-12-04 | 1 | -1/+1 |
| | | |||||
* | | Merge remote-tracking branch 'origin/list-multiple-clusters' into ↵ | Kamil Trzcinski | 2017-12-03 | 1 | -0/+29 |
|\ \ | |/ |/| | | | cluster-page-with-list-clusters | ||||
| * | Use attr_reader instead of instance variables | Matija Čupić | 2017-11-28 | 1 | -4/+4 |
| | | |||||
| * | Refactor ClustersFinder | Matija Čupić | 2017-11-28 | 1 | -10/+20 |
| | | |||||
| * | Use global project variable in ClustersFinder | Matija Čupić | 2017-11-27 | 1 | -3/+3 |
| | | |||||
| * | Fix mixup with enabled/disabled in ClustersFinder | Matija Čupić | 2017-11-27 | 1 | -2/+2 |
| | | |||||
| * | Create ClustersFinder | Matija Čupić | 2017-11-27 | 1 | -0/+19 |
| | | |||||
* | | Merge branch 'dm-search-pattern' into 'master' | Sean McGivern | 2017-11-29 | 1 | -2/+1 |
|\ \ | | | | | | | | | | | | | | | | | | | Use fuzzy search with minimum length of 3 characters where appropriate Closes #40512 See merge request gitlab-org/gitlab-ce!15592 | ||||
| * | | Use Gitlab::SQL::Pattern where appropriate | Douwe Maan | 2017-11-24 | 1 | -2/+1 |
| |/ | |||||
* | | Refactorize jobs finding logic | Tomasz Maczukin | 2017-11-28 | 1 | -0/+22 |
|/ | |||||
* | Adds Rubocop rule for line break after guard clause | Jacopo | 2017-11-16 | 1 | -0/+1 |
| | | | | Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses. | ||||
* | Merge branch 'fix-filter-by-my-reaction' into 'master' | Sean McGivern | 2017-11-14 | 1 | -0/+1 |
|\ | | | | | | | | | | | | | Fix filter by my reaction is not working Closes #39930 See merge request gitlab-org/gitlab-ce!15345 | ||||
| * | Fix filter by my reaction is not working | Hiroyuki Sato | 2017-11-13 | 1 | -0/+1 |
| | | |||||
* | | Fix users autocomplete in a subgroup | Sean McGivern | 2017-11-13 | 1 | -1/+1 |
|/ | | | | | We should include users who have access from parent groups, not just direct members of the current group. | ||||
* | Support custom attributes on groups | Markus Koller | 2017-11-06 | 1 | -1/+7 |
| | |||||
* | Support custom attributes on projects | Markus Koller | 2017-11-06 | 1 | -0/+3 |
| | |||||
* | Add case insensitive branches search | George Andrinopoulos | 2017-10-23 | 1 | -1/+1 |
| | |||||
* | Pass `archived:` as a keyword argument | Bob Van Landuyt | 2017-10-12 | 1 | -2/+2 |
| | |||||
* | Handle archived projects in the `GroupDescendantsFinder` | Bob Van Landuyt | 2017-10-11 | 1 | -9/+28 |
| | |||||
* | Merge branch 'master' into bvl-group-trees | Bob Van Landuyt | 2017-10-10 | 1 | -0/+18 |
|\ | |||||
| * | Find branches in all projects in the fork network | Bob Van Landuyt | 2017-10-07 | 1 | -1/+1 |
| | | |||||
| * | Allow creating merge requests across forks of a project | Bob Van Landuyt | 2017-10-07 | 1 | -0/+18 |
| | | |||||
* | | Use the `GroupProjectsFinder` to find direct children | Bob Van Landuyt | 2017-10-10 | 1 | -4/+5 |
| | | |||||
* | | Some cleanup in the GroupDescendantFinder | Bob Van Landuyt | 2017-10-10 | 1 | -8/+5 |
| | | |||||
* | | Don't load unneeded elements in GroupsController#show | Bob Van Landuyt | 2017-10-10 | 1 | -6/+2 |
| | | |||||
* | | Use `EXISTS` instead of `WHERE id IN (...)` for authorized groups | Bob Van Landuyt | 2017-10-10 | 1 | -16/+14 |
| | | |||||
* | | Load counts everywhere we render a group tree | Bob Van Landuyt | 2017-10-05 | 1 | -26/+2 |
| | | |||||
* | | Optimize queries and pagination in `GroupDescendantsFinder` | Bob Van Landuyt | 2017-10-05 | 1 | -61/+32 |
| | | |||||
* | | Split up adding ancestors for projects | Bob Van Landuyt | 2017-10-04 | 1 | -4/+13 |
| | | |||||
* | | Fix bug with project pagination | Bob Van Landuyt | 2017-10-04 | 1 | -2/+26 |
| | | | | | | | | | | When projects were listed after groups, the projects that would also have been listed on the last page containing groups would be repeated. | ||||
* | | Improve count queries and move them to contants | Bob Van Landuyt | 2017-10-04 | 1 | -27/+28 |
| | | |||||
* | | Only preload ancestors for search results in the specified parent | Bob Van Landuyt | 2017-10-04 | 1 | -1/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | When filtering we want all to preload all the ancestors upto the specified parent group. - root - subgroup - nested-group - project So when searching 'project', on the 'subgroup' page we want to preload 'nested-group' but not 'subgroup' or 'root' | ||||
* | | Make sure all queries are limited to the page size | Bob Van Landuyt | 2017-10-04 | 1 | -17/+27 |
| | | | | | | | | And fix some pagination bugs | ||||
* | | Make sure the user only sees groups he's allowed to see | Bob Van Landuyt | 2017-10-04 | 1 | -2/+12 |
| | | |||||
* | | Fix nesting bug when rendering children of a shared subgroup | Bob Van Landuyt | 2017-10-04 | 1 | -1/+1 |
| | | |||||
* | | Minimize the number of queries by preloading counts and ancestors | Bob Van Landuyt | 2017-10-04 | 1 | -13/+50 |
| | | | | | | | | | | | | | | | | By preloading the count of members, projects and subgroups of a group, we don't need to query them later. We also preload the entire hierarchy for a search result and include the counts so we don't need to query for them again | ||||
* | | Only take unarchived projects into account | Bob Van Landuyt | 2017-10-04 | 1 | -2/+2 |
| | | | | | | | | When finding children for a group | ||||
* | | Improve number of queries | Bob Van Landuyt | 2017-10-04 | 1 | -1/+1 |
| | | | | | | | | And document what extra queries are still being performed. |