Commit graph

7 commits

Author SHA1 Message Date
Thong Kuah
73e848850c Add frozen_string_literal to spec/features
Using the sed script from
https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-07-26 13:23:30 +12:00
Bob Van Landuyt
1de47ee373 Use namespace#path for building urls in specs
Some of the specs were using namespace names instead of paths for
building URLS. This would fail since we now build a namespace with a
user's name instead of a user's username.
2019-07-09 18:09:45 +02:00
Stan Hu
b49e6b419a Fix Error 500 when forking projects with Gravatar disabled
When Gravatar is disabled, the "no avatar" is used, which failed
to revert to the colorful identity icons for namespaces.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/50254
2018-09-28 07:39:58 -04:00
Mark Chao
a63bce1a4b Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
Semyon Pupkov
e4558010ac Move project fork spinach tests to RSpec
https://gitlab.com/gitlab-org/gitlab-ce/issues/23036
2018-03-05 19:57:45 +01:00
Bob Van Landuyt
299c543973 Redirect to an already forked project if it exists
Before the we would try to `POST` to the project path, which would
result in a 404, because that `POST` is not supported.

By changing this back to a normal link, not not handled in JS, we can
immeadiatly redirect.
2017-11-29 15:41:22 +01:00
Phil Hughes
8585ae61e7
Fix fork button being disabled for users who can fork to group
Previously the fork button was disabled for all users if they have
exceeded their project limit. This fixes that by changing the check
to see if the user can fork to a group instead of their own namespace.

This behaviour is already possible by visiting the new fork page
directly, so this just fixes the button being disabled.

Closes #38462
2017-09-29 10:51:26 +01:00