summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | | | | Only expand ancestors when searchingBob Van Landuyt2017-10-092-8/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not all_groups, since that would expose groups the user does not have access to
| * | | | | | | | | | | | | | | Render droplab button only if Subgroups feature is supportedkushalpandya2017-10-051-12/+13
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Add new subgroup/project droplab button initialization on Group homepagekushalpandya2017-10-051-0/+6
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Remove new subgroup/project droplab button initializationkushalpandya2017-10-051-7/+0
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Hide "New subgroup" links when subgroups are not supportedBob Van Landuyt2017-10-052-10/+43
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Update feature specs for updated group listsBob Van Landuyt2017-10-054-41/+48
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Use `expose` with blocks instead of defining methodsBob Van Landuyt2017-10-051-27/+26
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Rename parameters to paramsBob Van Landuyt2017-10-052-5/+5
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Use `alias_attribute` & `alias_method` to define parent-methodsBob Van Landuyt2017-10-052-8/+9
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Optimize finding a membership for a user to avoid extra queriesBob Van Landuyt2017-10-053-7/+22
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Load counts everywhere we render a group treeBob Van Landuyt2017-10-057-71/+99
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Make sure all ancestors are loaded when searching groupsBob Van Landuyt2017-10-052-3/+3
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Optimize queries and pagination in `GroupDescendantsFinder`Bob Van Landuyt2017-10-053-61/+139
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Force parents to be preloaded for building a hierarchyBob Van Landuyt2017-10-053-24/+38
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Move merging of Hashes out of the `GroupDescendant` concernBob Van Landuyt2017-10-043-53/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since it can technically merge any hash with objects that respond to `==`
| * | | | | | | | | | | | | | | Make it possible to limit ancestors in a `GroupHierarchy`Bob Van Landuyt2017-10-042-4/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Passing a parent_id will limit ancestors upto the specified parent if it is found. Using `ancestors` and `descendants` the `base` relation will not be included
| * | | | | | | | | | | | | | | Groups tree enhancements for Groups Dashboard and Group HomepageKushal Pandya2017-10-0448-891/+2753
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Return an empty array when no matches are foundBob Van Landuyt2017-10-042-1/+11
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Always preload all elements in a hierarchy to avoid extra queries.Bob Van Landuyt2017-10-042-5/+31
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Clean up public/private api of `GroupDescendant`Bob Van Landuyt2017-10-042-56/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So only methods that are used elsewhere are public.
| * | | | | | | | | | | | | | | Split up adding ancestors for projectsBob Van Landuyt2017-10-041-4/+13
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Fix bug with project paginationBob Van Landuyt2017-10-042-7/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When projects were listed after groups, the projects that would also have been listed on the last page containing groups would be repeated.
| * | | | | | | | | | | | | | | Stylize `GroupTree` concernBob Van Landuyt2017-10-041-2/+2
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Improve count queries and move them to contantsBob Van Landuyt2017-10-041-27/+28
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Only preload ancestors for search results in the specified parentBob Van Landuyt2017-10-043-2/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 sizeBob Van Landuyt2017-10-042-20/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And fix some pagination bugs
| * | | | | | | | | | | | | | | Make sure the user only sees groups he's allowed to seeBob Van Landuyt2017-10-042-2/+40
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Fix nesting bug when rendering children of a shared subgroupBob Van Landuyt2017-10-043-2/+28
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Minimize the number of queries by preloading counts and ancestorsBob Van Landuyt2017-10-046-71/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | | | | | | | | | | | Rename hierarchies to descendants where applicableBob Van Landuyt2017-10-043-30/+30
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Keep the `parent` method in `Project`Bob Van Landuyt2017-10-042-8/+4
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Don't wrap arrays twice: `children` are already wrapped in an arrayBob Van Landuyt2017-10-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We do the wrapping in an array in represent_hierarchy for children.
| * | | | | | | | | | | | | | | Only take unarchived projects into accountBob Van Landuyt2017-10-042-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When finding children for a group
| * | | | | | | | | | | | | | | Improve number of queriesBob Van Landuyt2017-10-042-26/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And document what extra queries are still being performed.
| * | | | | | | | | | | | | | | Rename `GroupHierarchy` to `GroupDescendant`Bob Van Landuyt2017-10-049-34/+59
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | More descriptive method names for projects & groupsBob Van Landuyt2017-10-041-5/+5
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | `current_user:` as a keyword argumentBob Van Landuyt2017-10-044-4/+9
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Setup children in a a method and reuse for both callsBob Van Landuyt2017-10-041-4/+7
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Include pagination when rendering expanded hierarchiesBob Van Landuyt2017-10-043-17/+33
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | [WIP] improve number of queries when rendering a hierarchyBob Van Landuyt2017-10-042-15/+22
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Search subgroups on dashboard and explore viewsBob Van Landuyt2017-10-043-5/+31
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Reuse the groups tree for explore and dashboard.Bob Van Landuyt2017-10-049-104/+200
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Use the default sort set by the `Sortable` concernBob Van Landuyt2017-10-041-3/+1
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Replace `full_path`, `path` & `web_url` with a single `relative_path`Bob Van Landuyt2017-10-042-5/+11
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Only show root groups on the dashboardBob Van Landuyt2017-10-042-14/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The children are lazy-loaded when expanding
| * | | | | | | | | | | | | | | Handle all cases for merging a hierarchyBob Van Landuyt2017-10-042-12/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The possible cases are: - [Array, Array] - [Array, Hash] - [Array, GroupHierarchy] - [Hash,Hash] - [Hash, GroupHierarchy] - [GroupHierarchy, GroupHierarchy]
| * | | | | | | | | | | | | | | Use same response-body in groups-dashboard as we do for group-homeBob Van Landuyt2017-10-044-7/+52
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Don't use canonical path for group childrenBob Van Landuyt2017-10-041-3/+4
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Include `can_leave` for a groupBob Van Landuyt2017-10-042-1/+15
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Don't include the parent in search results if it matchesBob Van Landuyt2017-10-042-1/+7
| | | | | | | | | | | | | | | |