summaryrefslogtreecommitdiff
path: root/app/serializers/group_child_entity.rb
Commit message (Expand)AuthorAgeFilesLines
* Use polymorphism for common attributes in `GroupChildEntity`Bob Van Landuyt2017-10-121-16/+12
* Don't preload all memberships for a userBob Van Landuyt2017-10-101-1/+1
* Use `expose` with blocks instead of defining methodsBob Van Landuyt2017-10-051-27/+26
* Optimize finding a membership for a user to avoid extra queriesBob Van Landuyt2017-10-051-5/+11
* Load counts everywhere we render a group treeBob Van Landuyt2017-10-051-32/+2
* Minimize the number of queries by preloading counts and ancestorsBob Van Landuyt2017-10-041-4/+17
* Rename `GroupHierarchy` to `GroupDescendant`Bob Van Landuyt2017-10-041-2/+2
* `current_user:` as a keyword argumentBob Van Landuyt2017-10-041-1/+2
* Replace `full_path`, `path` & `web_url` with a single `relative_path`Bob Van Landuyt2017-10-041-1/+9
* Include `can_leave` for a groupBob Van Landuyt2017-10-041-1/+9
* Limit the amount of queries per rowBob Van Landuyt2017-10-041-5/+3
* Render group children using the same entityBob Van Landuyt2017-10-041-6/+64
* Add serializer for group childrenBob Van Landuyt2017-10-041-0/+20