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-09Updates from `rubocop -a`Lin Jen-Shin
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-11Add RedirectRoute factoryMichael Kozono
2018-01-11Fix Rubocop offenseMichael 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-09Revert "Add test for permanent redirects of descendants"Michael Kozono
This reverts commit a2cb92495c3149b69eb734596e80fbdd54b0b2dc.
2018-01-09Add test for permanent redirects of descendantsMichael Kozono
2018-01-09Fix Route validation for unchanged pathMichael Kozono
2017-12-08Allow git pull/push on project redirectsMayra Cabrera
2017-08-09Fix styleMichael Kozono
2017-08-08Fix conflicting redirect searchMichael Kozono
2017-07-27Use described_class when possibleRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27Remove superfluous lib: true, type: redis, service: true, models: true, ↵Rémy Coutable
services: true, no_db: true, api: true Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-24Update tests for new version of shoulda-matchersDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2017-06-14Correct RSpec/SingleLineHook cop offensesRobert Speicher
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-05Delete conflicting redirectsMichael Kozono
2017-05-05Create redirect routes on path changeMichael Kozono
2017-03-22Remove not necessary specsJarka Kadlecova
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-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>