gitlab-org--gitlab-foss/spec
Nick Thomas 8b73df0cf5 Move sidekiq-based project authorization refresh out of Projects::CreateService
If the project is in a group, the `group.refresh_members_authorized_projects`
is made non-blocking, and we call `current_user.refresh_authorized_projects`
directly.

Projects in a personal namespace are more difficult. Rather than passing the
`blocking:` parameter through the entire `add_master` chain, have the
`AuthorizedProjectsWorker` automatically inline authorizations for three IDs or
less. Since the maximum number of IDs in this path is 2, that has the same effect.
2017-08-25 16:19:32 +01:00
..
bin
config
controllers Fix inability to test some project integrations 2017-08-22 11:05:02 -05:00
db/production
factories Make sure repository's removal work for legacy and hashed storages 2017-08-22 06:33:20 +02:00
features Merge branch 'git-operation-user' into 'master' 2017-08-24 14:32:17 +00:00
finders Add an option to list only archived projects 2017-08-24 10:11:07 +02:00
fixtures Changed all font-weight values to 400 and 600 2017-08-24 14:13:24 +00:00
helpers Merge branch 'remove-tooltip-filtered-search-user' into 'master' 2017-08-23 10:18:11 +00:00
initializers Setup repositories settings properly 2017-08-17 16:00:07 -07:00
javascripts Merge branch 'thenable-ajax-api-calls' into 'master' 2017-08-24 12:13:42 +00:00
lib Add missing third argument to Git::Repository#initialize in spec 2017-08-24 17:34:05 -04:00
mailers
migrations Migration to remove pending delete projects with non-existing namespace 2017-08-22 14:29:54 +02:00
models Merge branch 'git-operation-user' into 'master' 2017-08-24 14:32:17 +00:00
policies Fixes group policy specs on MySQL. 2017-08-22 18:34:27 +01:00
presenters
requests Remove CI API v1 2017-08-18 11:47:03 +02:00
routing
rubocop/cop
serializers
services Move sidekiq-based project authorization refresh out of Projects::CreateService 2017-08-25 16:19:32 +01:00
sidekiq/cron
support Merge branch 'backstage/gb/after-save-asynchronous-job-hooks' into 'master' 2017-08-24 12:46:33 +00:00
tasks Enable Layout/TrailingWhitespace cop and auto-correct offenses 2017-08-15 13:44:37 -04:00
unicorn
uploaders
validators
views Display GPG status loading spinner only when Ajax request is made 2017-08-15 08:20:35 +00:00
workers Move sidekiq-based project authorization refresh out of Projects::CreateService 2017-08-25 16:19:32 +01:00
factories_spec.rb
rails_helper.rb
rake_helper.rb
simplecov_env.rb
spec_helper.rb Stub ForkedStorageCheck.storage_available? by default in all specs 2017-08-22 13:06:25 -04:00