gitlab-org--gitlab-foss/spec
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
..
bin
config
controllers Fix the filesystem shard health check to check all configured shards 2017-09-19 11:05:42 +01:00
db/production
factories Merge branch 'hashed-storage-migration-path' into 'master' 2017-09-28 17:26:16 +00:00
features Fix fork button being disabled for users who can fork to group 2017-09-29 10:51:26 +01:00
finders Support custom attributes on users 2017-09-28 16:49:42 +00:00
fixtures Expose last pipeline details in API response when getting a single commit 2017-09-26 13:08:46 +02:00
helpers Merge branch '38189-fix-user-avatar-url-cdn' into 'master' 2017-09-25 11:04:14 +00:00
initializers Clean up read_registry scope changes 2017-09-18 08:39:01 -04:00
javascripts Merge branch 'remove-target-dd' into 'master' 2017-09-29 08:33:10 +00:00
lib Merge branch 'feature/migrate-repository-rm-tag-to-gitaly' into 'master' 2017-09-28 22:43:37 +00:00
mailers Remove some empty lines from notify specs 2017-09-01 13:53:24 +02:00
migrations Make sure all stages are migrated after a cleanup 2017-09-18 13:47:46 +02:00
models Migrate Gitlab::Git::Repository#add_tag to Gitaly 2017-09-29 00:53:49 +02:00
policies Support custom attributes on users 2017-09-28 16:49:42 +00:00
presenters Move trigger_variables to presenter 2017-09-04 22:21:47 +09:00
requests Support custom attributes on users 2017-09-28 16:49:42 +00:00
routing
rubocop/cop
serializers Detect n+1 issues involving Gitaly 2017-09-19 10:55:37 +00:00
services Migrate Gitlab::Git::Repository#add_tag to Gitaly 2017-09-29 00:53:49 +02:00
sidekiq/cron
support Support custom attributes on users 2017-09-28 16:49:42 +00:00
tasks Add support to migrate existing projects to Hashed Storage async 2017-09-28 16:32:14 +01:00
unicorn
uploaders
validators
views Add context tabs to dashboard/projects 2017-09-22 12:12:15 +01:00
workers Add support to migrate existing projects to Hashed Storage async 2017-09-28 16:32:14 +01:00
factories_spec.rb
rails_helper.rb
rake_helper.rb
simplecov_env.rb
spec_helper.rb Automatically set a :type for specs 2017-09-22 09:16:43 +02:00