Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Upgrade Rails to 5.1.6.1 | Jasper Maes | 2019-04-23 | 1 | -8/+8 |
| | | | | Model.new.attributes now also returns encrypted attributes. | ||||
* | Inherit from ApplicationRecord instead of ActiveRecord::Base | Nick Thomas | 2019-03-28 | 1 | -1/+1 |
| | |||||
* | Enable frozen string in app/models/*.rbrepo-forks/gitlab-ce-frozen-string-enable-app-models | gfyoung | 2018-07-26 | 1 | -0/+2 |
| | | | | Partially addresses #47424. | ||||
* | Remove permanent redirects | Bob Van Landuyt | 2018-03-28 | 1 | -21/+5 |
| | | | | | 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. | ||||
* | Validate path uniqueness only on Route, and bubble up appropriately | Douwe Maan | 2018-02-06 | 1 | -1/+1 |
| | |||||
* | Delete conflicting orphaned routes | Michael Kozono | 2018-01-18 | 1 | -0/+12 |
| | |||||
* | Revert "Revert "Fix Route validation for unchanged path"" | Michael Kozono | 2018-01-11 | 1 | -1/+1 |
| | | | | This reverts commit 3576d59ae95a61dd20e997a619dbc6c8e8a70276. | ||||
* | Revert "Fix Route validation for unchanged path" | Michael Kozono | 2018-01-09 | 1 | -1/+1 |
| | | | | This reverts commit 8040edcce8b4e736b4f4857e6709f94aeb5e274c. | ||||
* | Fix Route validation for unchanged path | Michael Kozono | 2018-01-09 | 1 | -1/+1 |
| | |||||
* | Allow git pull/push on project redirects | Mayra Cabrera | 2017-12-08 | 1 | -5/+21 |
| | |||||
* | Added Cop to blacklist polymorphic associations | Yorick Peterse | 2017-06-07 | 1 | -1/+1 |
| | | | | | | | | 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. | ||||
* | Change project list cache key to use route.cache_key instead of namespacedz-project-list-cache-key | Dmitriy Zaporozhets | 2017-05-12 | 1 | -1/+1 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Reduce risk of deadlocks17361-redirect-renamed-paths | Michael Kozono | 2017-05-05 | 1 | -7/+17 |
| | | | | | | | 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. | ||||
* | Resolve discussions | Michael Kozono | 2017-05-05 | 1 | -1/+1 |
| | |||||
* | Resolve discussions | Michael Kozono | 2017-05-05 | 1 | -11/+11 |
| | |||||
* | Refactor | Michael Kozono | 2017-05-05 | 1 | -4/+6 |
| | |||||
* | Delete conflicting redirects | Michael Kozono | 2017-05-05 | 1 | -7/+14 |
| | |||||
* | Create redirect routes on path change | Michael Kozono | 2017-05-05 | 1 | -7/+17 |
| | |||||
* | Escape route path for LIKE queries | Jarka Kadlecova | 2017-03-21 | 1 | -1/+3 |
| | |||||
* | Handle Route#name being nil after an update | Robert Speicher | 2017-03-20 | 1 | -1/+1 |
| | | | | | | | | 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. | ||||
* | Fix route rename descendants if route.name is blank | Dmitriy Zaporozhets | 2017-02-08 | 1 | -5/+10 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Store group and project full name and full path in routes tabledz-refactor-full-path | Dmitriy Zaporozhets | 2017-02-08 | 1 | -8/+14 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Add User#nested_groups and User#nested_projects methods | Dmitriy Zaporozhets | 2017-01-25 | 1 | -1/+2 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Refactor Namespace code related to nested groups | Dmitriy Zaporozhets | 2017-01-13 | 1 | -2/+2 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Fix Route#rename_children behaviordz-fix-route-rename | Dmitriy Zaporozhets | 2016-12-19 | 1 | -1/+1 |
| | | | | | | | 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> | ||||
* | Add nested groups support on data leveldz-nested-groups | Dmitriy Zaporozhets | 2016-12-08 | 1 | -0/+22 |
* 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> |