summaryrefslogtreecommitdiff
path: root/app/controllers/concerns/group_tree.rb
Commit message (Collapse)AuthorAgeFilesLines
* Rename GroupHierarchy into ObjectHierarchyJarka Košanová2018-12-191-2/+2
| | | | | | - we now use the hierarchy class also for epics - also rename supports_nested_groups? into supports_nested_objects? - move it to a concern
* Enable frozen string in app/controllers/**/*.rbrepo-forks/gitlab-ce-frozen-string-app-controllergfyoung2018-09-181-0/+2
| | | | | | | | | | | | Enables frozen string for the following: * app/controllers/*.rb * app/controllers/admin/**/*.rb * app/controllers/boards/**/*.rb * app/controllers/ci/**/*.rb * app/controllers/concerns/**/*.rb Partially addresses #47424.
* Disable existing offenses for the CodeReuse copsYorick Peterse2018-09-111-0/+4
| | | | | This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
* Preload ancestors after pagination when filteringBob Van Landuyt2018-07-061-14/+26
| | | | | | | | | We need to preload the ancestors of search results after applying pagination limits. This way the search results itself are paginated, but not the ancestors. If we don't do this, we might not preload a parent group of a search result as it has been cut off by pagination.
* [Rails5] Rename `sort` methods to `sort_by_attribute`blackst0ne2018-04-041-1/+1
|
* Fix filter on `dashboard/groups` & `explore/groupsBob Van Landuyt2018-01-221-1/+5
| | | | | | When searching we would limit the scope of ancestors to load because the filter would be applied to the ancestors. Instead, we need to load _all_ ancestors for matching projects.
* Adds Rubocop rule for line break around conditionals🙈 jacopo beschi 🙉2018-01-111-0/+1
|
* Move ModuleWithInstanceVariables to Gitlab namespaceLin Jen-Shin2017-11-221-2/+2
| | | | | And use .rubocop.yml to exclude paths we don't care, rather than using the cop itself to exclude.
* Use StrongMemoize and enable/disable cops properlyLin Jen-Shin2017-11-181-0/+2
|
* Pass `archived:` as a keyword argumentBob Van Landuyt2017-10-121-1/+1
|
* Fix spinach featuresBob Van Landuyt2017-10-111-1/+1
| | | | And several other failures
* Only expand ancestors when searchingBob Van Landuyt2017-10-091-7/+7
| | | | | Not all_groups, since that would expose groups the user does not have access to
* Load counts everywhere we render a group treeBob Van Landuyt2017-10-051-1/+1
|
* Make sure all ancestors are loaded when searching groupsBob Van Landuyt2017-10-051-1/+1
|
* Stylize `GroupTree` concernBob Van Landuyt2017-10-041-2/+2
|
* Search subgroups on dashboard and explore viewsBob Van Landuyt2017-10-041-3/+8
|
* Reuse the groups tree for explore and dashboard.Bob Van Landuyt2017-10-041-0/+19