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
2018-07-27Enable frozen string in app/models/*.rbgfyoung
Partially addresses #47424.
2018-03-28Remove permanent redirectsBob Van Landuyt
Removes permanent redirects, this means that redirects will only be possible as long as the old route isn't taken by a new project/group.
2018-02-06Validate path uniqueness only on Route, and bubble up appropriatelyDouwe Maan
2018-01-18Delete conflicting orphaned routesMichael Kozono
2018-01-11Revert "Revert "Fix Route validation for unchanged path""Michael Kozono
This reverts commit 3576d59ae95a61dd20e997a619dbc6c8e8a70276.
2018-01-09Revert "Fix Route validation for unchanged path"Michael Kozono
This reverts commit 8040edcce8b4e736b4f4857e6709f94aeb5e274c.
2018-01-09Fix Route validation for unchanged pathMichael Kozono
2017-12-08Allow git pull/push on project redirectsMayra Cabrera
2017-06-07Added Cop to blacklist polymorphic associationsYorick Peterse
One should really use a separate table instead of using polymorphic associations. See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11168 for more information.
2017-05-12Change project list cache key to use route.cache_key instead of namespaceDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2017-05-06Reduce risk of deadlocksMichael Kozono
We’ve seen a deadlock in CI here https://gitlab.com/mkozono/gitlab-ce/builds/15644492#down-build-trace. This commit should not fix that particular failure, but perhaps it will avoid others. * Don’t call delete_conflicting_redirects after update if the path wasn’t changed * Rename descendants without using recursion again, so we can run delete_conflicting_redirects exactly once.
2017-05-05Resolve discussionsMichael Kozono
2017-05-05Resolve discussionsMichael Kozono
2017-05-05RefactorMichael Kozono
2017-05-05Delete conflicting redirectsMichael Kozono
2017-05-05Create redirect routes on path changeMichael Kozono
2017-03-21Escape route path for LIKE queriesJarka Kadlecova
2017-03-21Handle Route#name being nil after an updateRobert Speicher
It was possible for the `routes.name` field to be `NULL`, causing `name_was` to be `nil` after a rename, resulting a bad first argument to `sub` when attempting to rename descendants. This change adds a condition to make sure `name_was` is present before attempting the descendant update.
2017-02-09Fix route rename descendants if route.name is blankDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2017-02-08Store group and project full name and full path in routes tableDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2017-01-25Add User#nested_groups and User#nested_projects methodsDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2017-01-13Refactor Namespace code related to nested groupsDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-12-19Fix Route#rename_children behaviorDmitriy Zaporozhets
Given group `gitlab` and `gitlab-org` exists. When rename `gitlab` it will rename `gitlab-org` group route too. This commit fixes it Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-12-08Add nested groups support on data levelDmitriy Zaporozhets
* add parent_id field to namespaces table to store relation with nested groups * create routes table to keep information about full path of every group and project * project/group lookup by full path from routes table Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>