Commit graph

8 commits

Author SHA1 Message Date
dineshpanda
e908e11776 Avoid calling freeze on already frozen strings in lib/gitlab 2019-09-04 09:52:02 +05:30
gfyoung
e166e5747c Enable some frozen string in lib/gitlab
Enable frozen string for the following files:

* lib/gitlab/auth/**/*.rb
* lib/gitlab/badge/**/*.rb
* lib/gitlab/bare_repository_import/**/*.rb
* lib/gitlab/bitbucket_import/**/*.rb
* lib/gitlab/bitbucket_server_import/**/*.rb
* lib/gitlab/cache/**/*.rb
* lib/gitlab/checks/**/*.rb

Partially addresses #47424.
2018-10-13 02:31:31 -07:00
Bob Van Landuyt
ce69419a60 Remove permanent redirects
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-03-28 14:12:08 +02:00
Tiago Botelho
1e56b3f476 Moves project creationg to git access check for git push 2018-02-06 16:52:29 +00:00
Tiago Botelho
dc229c076c Abstracts ProjectMoved and ProjectCreated into a BaseProject 2018-02-06 13:35:35 +00:00
Stan Hu
b6c711fd38 Disable redirect messages for anonymous clones 2017-12-25 05:33:32 -08:00
Stan Hu
a83c41f6c6 Fix Error 500s with anonymous clones for a project that has moved
Closes #41457
2017-12-25 05:28:51 -08:00
Mayra Cabrera
562fb460b8 Allow git pull/push on project redirects 2017-12-08 17:42:43 +00:00