Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'fix-misspellings-app-comments' into 'master' | Rémy Coutable | 2019-02-26 | 1 | -1/+1 |
| | | | | | Fix misspellings in app/spec comments See merge request gitlab-org/gitlab-ce!25517 | ||||
* | Revert "Merge branch 'fix-misspellings-app-comments' into 'master'" | Michael Kozono | 2019-02-25 | 1 | -1/+1 |
| | | | | | This reverts commit 9202bbd129537a698b986e6295d0c783b5a84815, reversing changes made to 4b282e9ce1ae246c4538b3ede18d1380ea778029. | ||||
* | Fix misspellings in app/spec comments | Takuya Noguchi | 2019-02-25 | 1 | -1/+1 |
| | | | | Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com> | ||||
* | Rename GroupHierarchy into ObjectHierarchy | Jarka Košanová | 2018-12-19 | 1 | -3/+3 |
| | | | | | | - we now use the hierarchy class also for epics - also rename supports_nested_groups? into supports_nested_objects? - move it to a concern | ||||
* | Fix default sorting for subgroups and projects list53290-incorrect-project-list-order-select-default-label | Jacopo | 2018-11-14 | 1 | -1/+1 |
| | |||||
* | Whitelist none method from ActiveRecord::Queryingda-rubocop-whitelist-active-record-none | Douglas Barbosa Alexandre | 2018-10-31 | 1 | -2/+0 |
| | |||||
* | Merge branch 'frozen-string-app-finders-graphql' into 'master' | Stan Hu | 2018-09-13 | 1 | -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/finders | gfyoung | 2018-09-11 | 1 | -0/+2 |
| | | | | | | | | Partially addresses #47424. | ||||
* | | Disable existing offenses for the CodeReuse cops | Yorick Peterse | 2018-09-11 | 1 | -0/+20 |
|/ | | | | | This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop. | ||||
* | Resolve "Improve handling of projects shared with a group" | Dennis Tang | 2018-09-07 | 1 | -1/+1 |
| | |||||
* | Revert "Don't include projects shared as group-descendants" | Bob Van Landuyt | 2018-04-18 | 1 | -4/+2 |
| | | | | | | This reverts commit 2c3c5b35549185080296670cfe6710aa80f99944. Revisit this after https://gitlab.com/gitlab-org/gitlab-ce/issues/45441 | ||||
* | 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. | ||||
* | Adds Rubocop rule for line break around conditionals | 🙈 jacopo beschi 🙉 | 2018-01-11 | 1 | -0/+3 |
| | |||||
* | 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 |
| | |||||
* | 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. | ||||
* | Rename `GroupHierarchy` to `GroupDescendant` | Bob Van Landuyt | 2017-10-04 | 1 | -0/+92 |