summaryrefslogtreecommitdiff
path: root/app/models/concerns/group_descendant.rb
Commit message (Expand)AuthorAgeFilesLines
* Move the `ancestors_upto` to `Project` and `Namespace`Bob Van Landuyt2017-10-101-10/+11
* Force parents to be preloaded for building a hierarchyBob Van Landuyt2017-10-051-5/+11
* Move merging of Hashes out of the `GroupDescendant` concernBob Van Landuyt2017-10-041-53/+4
* Return an empty array when no matches are foundBob Van Landuyt2017-10-041-1/+1
* Always preload all elements in a hierarchy to avoid extra queries.Bob Van Landuyt2017-10-041-3/+12
* Clean up public/private api of `GroupDescendant`Bob Van Landuyt2017-10-041-24/+22
* Only preload ancestors for search results in the specified parentBob Van Landuyt2017-10-041-1/+2
* Minimize the number of queries by preloading counts and ancestorsBob Van Landuyt2017-10-041-9/+12
* Rename hierarchies to descendants where applicableBob Van Landuyt2017-10-041-20/+20
* Keep the `parent` method in `Project`Bob Van Landuyt2017-10-041-8/+0
* Rename `GroupHierarchy` to `GroupDescendant`Bob Van Landuyt2017-10-041-0/+95