Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | | | | | | | | | | Use polymorphism for common attributes in `GroupChildEntity` | Bob Van Landuyt | 2017-10-12 | 2 | -17/+22 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Fix spinach features | Bob Van Landuyt | 2017-10-11 | 6 | -5/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And several other failures | |||||
| * | | | | | | | | | | | | Always use the same order specs for `MultiCollectionPaginator` | Bob Van Landuyt | 2017-10-11 | 1 | -1/+1 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Handle archived projects in the `GroupDescendantsFinder` | Bob Van Landuyt | 2017-10-11 | 4 | -26/+108 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Add a text to the leave group confirmation | Bob Van Landuyt | 2017-10-10 | 1 | -0/+1 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Merge branch 'master' into bvl-group-trees | Bob Van Landuyt | 2017-10-10 | 1038 | -5839/+21076 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|_|_|/ / / | | |/| | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Use the `GroupProjectsFinder` to find direct children | Bob Van Landuyt | 2017-10-10 | 1 | -4/+5 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Don't preload all memberships for a user | Bob Van Landuyt | 2017-10-10 | 2 | -10/+1 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Adjust wording on the Group-show page | Bob Van Landuyt | 2017-10-10 | 2 | -13/+168 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Reuse `base_and_ancestors` for `ancestors` in `GroupHierarchy` | Bob Van Landuyt | 2017-10-10 | 1 | -2/+1 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Return `self` from `GroupChildSerializer#expand_hierarchy` | Bob Van Landuyt | 2017-10-10 | 1 | -5/+5 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Move the `ancestors_upto` to `Project` and `Namespace` | Bob Van Landuyt | 2017-10-10 | 5 | -10/+54 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | 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 | 5 | -70/+68 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Use `GroupFinder` to check if a user can read a group | Bob Van Landuyt | 2017-10-10 | 1 | -2/+4 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Use `EXISTS` instead of `WHERE id IN (...)` for authorized groups | Bob Van Landuyt | 2017-10-10 | 2 | -18/+25 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Only expand ancestors when searching | Bob Van Landuyt | 2017-10-09 | 2 | -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 supported | kushalpandya | 2017-10-05 | 1 | -12/+13 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Add new subgroup/project droplab button initialization on Group homepage | kushalpandya | 2017-10-05 | 1 | -0/+6 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Remove new subgroup/project droplab button initialization | kushalpandya | 2017-10-05 | 1 | -7/+0 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Hide "New subgroup" links when subgroups are not supported | Bob Van Landuyt | 2017-10-05 | 2 | -10/+43 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Update feature specs for updated group lists | Bob Van Landuyt | 2017-10-05 | 4 | -41/+48 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Use `expose` with blocks instead of defining methods | Bob Van Landuyt | 2017-10-05 | 1 | -27/+26 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Rename parameters to params | Bob Van Landuyt | 2017-10-05 | 2 | -5/+5 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Use `alias_attribute` & `alias_method` to define parent-methods | Bob Van Landuyt | 2017-10-05 | 2 | -8/+9 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Optimize finding a membership for a user to avoid extra queries | Bob Van Landuyt | 2017-10-05 | 3 | -7/+22 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Load counts everywhere we render a group tree | Bob Van Landuyt | 2017-10-05 | 7 | -71/+99 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Make sure all ancestors are loaded when searching groups | Bob Van Landuyt | 2017-10-05 | 2 | -3/+3 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Optimize queries and pagination in `GroupDescendantsFinder` | Bob Van Landuyt | 2017-10-05 | 3 | -61/+139 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Force parents to be preloaded for building a hierarchy | Bob Van Landuyt | 2017-10-05 | 3 | -24/+38 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Move merging of Hashes out of the `GroupDescendant` concern | Bob Van Landuyt | 2017-10-04 | 3 | -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 Landuyt | 2017-10-04 | 2 | -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 Homepage | Kushal Pandya | 2017-10-04 | 48 | -891/+2753 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Return an empty array when no matches are found | Bob Van Landuyt | 2017-10-04 | 2 | -1/+11 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Always preload all elements in a hierarchy to avoid extra queries. | Bob Van Landuyt | 2017-10-04 | 2 | -5/+31 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Clean up public/private api of `GroupDescendant` | Bob Van Landuyt | 2017-10-04 | 2 | -56/+22 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So only methods that are used elsewhere are public. | |||||
| * | | | | | | | | | | | | 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 | 2 | -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` concern | Bob Van Landuyt | 2017-10-04 | 1 | -2/+2 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | 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 | 3 | -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 size | Bob Van Landuyt | 2017-10-04 | 2 | -20/+30 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And fix some pagination bugs | |||||
| * | | | | | | | | | | | | Make sure the user only sees groups he's allowed to see | Bob Van Landuyt | 2017-10-04 | 2 | -2/+40 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Fix nesting bug when rendering children of a shared subgroup | Bob Van Landuyt | 2017-10-04 | 3 | -2/+28 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Minimize the number of queries by preloading counts and ancestors | Bob Van Landuyt | 2017-10-04 | 6 | -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 applicable | Bob Van Landuyt | 2017-10-04 | 3 | -30/+30 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Keep the `parent` method in `Project` | Bob Van Landuyt | 2017-10-04 | 2 | -8/+4 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Don't wrap arrays twice: `children` are already wrapped in an array | Bob Van Landuyt | 2017-10-04 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We do the wrapping in an array in represent_hierarchy for children. | |||||
| * | | | | | | | | | | | | Only take unarchived projects into account | Bob Van Landuyt | 2017-10-04 | 2 | -2/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When finding children for a group | |||||
| * | | | | | | | | | | | | Improve number of queries | Bob Van Landuyt | 2017-10-04 | 2 | -26/+26 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And document what extra queries are still being performed. |