Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-10-12Nest the group_children_path inside the canonical group pathBob Van Landuyt
2017-10-11Fix spinach featuresBob Van Landuyt
And several other failures
2017-10-10Don't load unneeded elements in GroupsController#showBob Van Landuyt
2017-10-04Return an empty array when no matches are foundBob Van Landuyt
2017-10-04Fix bug with project paginationBob Van Landuyt
When projects were listed after groups, the projects that would also have been listed on the last page containing groups would be repeated.
2017-10-04Only preload ancestors for search results in the specified parentBob Van Landuyt
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'
2017-10-04Make sure all queries are limited to the page sizeBob Van Landuyt
And fix some pagination bugs
2017-10-04Fix nesting bug when rendering children of a shared subgroupBob Van Landuyt
2017-10-04Minimize the number of queries by preloading counts and ancestorsBob Van Landuyt
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
2017-10-04Improve number of queriesBob Van Landuyt
And document what extra queries are still being performed.
2017-10-04Include pagination when rendering expanded hierarchiesBob Van Landuyt
2017-10-04[WIP] improve number of queries when rendering a hierarchyBob Van Landuyt
2017-10-04Reuse the groups tree for explore and dashboard.Bob Van Landuyt
2017-10-04Limit the amount of queries per rowBob Van Landuyt
2017-10-04Allow filtering children for a groupBob Van Landuyt
When fetching children for a group with a filter, we will search all nested groups for results and render them in an expanded tree
2017-10-04Add pagination for childrenBob Van Landuyt
2017-10-04Update `children` route to handle projects and groupsBob Van Landuyt
2017-10-04Remove the subgroups path on a groupBob Van Landuyt
2017-09-07Make Members with Owner and Master roles always able to create subgroupsRuben Davila
2017-08-03Change all `:empty_project` to `:project`Robert Speicher
2017-06-15Subgroups page should show groups authorized through inheritanceToon Claes
When a user is authorized to a group, they are also authorized to see all the ancestor groups and descendant groups. When a user is authorized to a project, they are authorized to see all the ancestor groups too. Closes #32135 See merge request !11764
2017-05-29Merge branch 'rework-authorizations-performance' into 'master'Douwe Maan
Rework project authorizations and nested groups for better performance See merge request !10885
2017-05-19Refactor to more robust implementationMichael Kozono
In order to avoid string manipulation or modify route params (to make them unambiguous for `url_for`), we are accepting a behavior change: When being redirected to the canonical path for a group, if you requested a group show path starting with `/groups/…` then you’ll now be redirected to the group at root `/…`.
2017-05-19Fix ensure_canonical_path for top level routesMichael Kozono
Don’t replace a substring of the path if it is part of the top level route. E.g. When redirecting from `/groups/ups` to `/groups/foo`, be careful not to do `/grofoo/ups`. Projects are unaffected by this issue, but I am grouping the `#ensure_canonical_path` tests similar to the group and user tests.
2017-05-18Add test that fails without the fixMichael Kozono
2017-05-17Hide nested group UI/API support for MySQLYorick Peterse
This hides/disables some UI elements and API parameters related to nested groups when MySQL is used, since nested groups are not supported for MySQL.
2017-05-12Fix redirect message for groups and usersMichael Kozono
2017-05-11Merge branch '27144-enforce-rubocop-trailing_commas-no_comma-style' into ↵Robert Speicher
'master' Resolve "Use consistent style for trailing commas" Closes #27144 See merge request !11063
2017-05-10Enable the Style/TrailingCommaInArguments copRémy Coutable
Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-10Merge branch 'tc-fix-private-subgroups-shown' into 'security' Douwe Maan
Use GroupsFinder to find subgroups the user has access to See merge request !2096
2017-05-05Resolve discussionsMichael Kozono
2017-05-05Add “project moved” flash message on redirectMichael Kozono
2017-05-05Fix Rubocop failuresMichael Kozono
2017-05-05Redirect from redirect routes to canonical routesMichael Kozono
2017-01-26Use `empty_project` where possible in controller specsRobert Speicher
2016-12-21added more specsJames Lopez
2016-12-20Fix error 500 renaming group. Also added specs and changelog.James Lopez
2016-08-16This fixes a long running tests due to changed Sidekiq stateKamil Trzcinski
2016-08-12Fix bug where destroying a namespace would not always destroy projectsStan Hu
There is a race condition in DestroyGroupService now that projects are deleted asynchronously: 1. User attempts to delete group 2. DestroyGroupService iterates through all projects and schedules a Sidekiq job to delete each Project 3. DestroyGroupService destroys the Group, leaving all its projects without a namespace 4. Projects::DestroyService runs later but the can?(current_user, :remove_project) is `false` because the user no longer has permission to destroy projects with no namespace. 5. This leaves the project in pending_delete state with no namespace/group. Projects without a namespace or group also adds another problem: it's not possible to destroy the container registry tags, since container_registry_path_with_namespace is the wrong value. The fix is to destroy the group asynchronously and to run execute directly on Projects::DestroyService. Closes #17893
2016-06-01Incorportate feedbackZ.J. van de Weg
2016-05-06Create table for award emojiZeger-Jan van de Weg
2016-03-21Fix sorting issues/mrs by votes on the groups pageDouglas Barbosa Alexandre
The `non_archived` scope applied here https://gitlab.com/gitlab-org/gitlab-ce/blob/master/app/controllers/conc erns/issues_action.rb#L5 overrides the previous `ORDER BY` applied inside the IssuesFinder, with the default scope of the Project model, resulting in SQL errors.
2016-01-24Make the `/groups` route behave as expectedRobert Speicher
The route is supposed to redirect the Groups#index request based on whether or not a user was logged in. If they are, we redirect them to their groups dashboard; if they're not, we redirect them to the public Explore page. But due to overly aggressive `before_action`s that weren't excluding the `index` action, the request always resulted in a 404, whether a user was logged in or not. Closes #12660