gitlab-org--gitlab-foss/spec
Nick Thomas 3ed80a0176 Enforce the fork_project permission in Projects::CreateService
Projects::ForkService delegates to this service almost entirely, but needed
one small change so it would propagate create errors correctly.

CreateService#execute needs significant refactoring; it is now right at the
complexity limit set by Rubocop. I avoided doing so in this commit to keep the
diff as small as possible.

Several tests depend on the insecure behaviour of ForkService, so fi them up at
the same time.
2016-09-27 13:17:56 +01:00
..
config Small refactor and a few documentation fixes 2016-08-04 19:02:39 +02:00
controllers Enforce the fork_project permission in Projects::CreateService 2016-09-27 13:17:56 +01:00
factories Merge branch 'gitlab-ce-milestone-tab-badges' into 'master' 2016-09-24 10:49:45 +00:00
features Merge branch 'search-filters-label-fix' into 'master' 2016-09-23 03:18:23 +00:00
finders fix issues mr counter 2016-09-20 14:39:15 +01:00
fixtures Returns the total number of issues in the JSON response 2016-08-31 09:30:37 +01:00
helpers Enforce the fork_project permission in Projects::CreateService 2016-09-27 13:17:56 +01:00
initializers Give priority to environment variables 2016-08-03 15:48:48 +01:00
javascripts Merge branch 'add-remember-option-u2f' into 'master' 2016-09-09 18:42:11 +00:00
lib added more specs 2016-09-26 09:49:05 +02:00
mailers Fix "Unsubscribe" link in notification emails that is triggered by anti-virus 2016-09-20 09:52:57 +02:00
models Enforce the fork_project permission in Projects::CreateService 2016-09-27 13:17:56 +01:00
policies Test if issue authors can access private projects 2016-09-20 14:57:23 -03:00
requests Enforce the fork_project permission in Projects::CreateService 2016-09-27 13:17:56 +01:00
routing Fix markdown help references 2016-08-26 09:38:21 -05:00
services Enforce the fork_project permission in Projects::CreateService 2016-09-27 13:17:56 +01:00
support Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce 2016-09-21 12:22:02 +03:00
tasks/gitlab Use File::exist? instead of File::exists? 2016-08-11 13:54:45 +03:00
uploaders
views Scope environments to project 2016-09-21 13:19:34 +02:00
workers Added cron to prune events older than 12 months. 2016-09-07 19:41:25 +02:00
factories_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
rails_helper.rb
simplecov_env.rb Bump SimpleCov merge timeout to 365 days 2016-08-22 13:44:14 +02:00
spec_helper.rb Merge remote-tracking branch 'upstream/master' into artifacts-from-ref-and-build-name 2016-08-24 20:56:30 +08:00
teaspoon_env.rb Add test coverage analysis for CoffeeScript (!5052) 2016-08-07 21:52:37 +02:00