gitlab-org--gitlab-foss/spec
Stan Hu 9951243bf4 Merge branch 'make-container-registry-authentication-service-compatible-with-older-docker' into 'master'
Make authentication service for Container Registry to be compatible with < Docker 1.11

This removes the usage of `offline_token` which is only present when using `Docker 1.11.x` instead we relay on `scope`. This should make it compatible with any client starting from 1.6 (I did test only 1.8 and up).

Right now we return 403 if unauthorized user doesn't have access to anything. In all other cases we return token, but with empty `access`, which simply disallow requested action.



See merge request !4363
2016-05-31 03:18:33 +00:00
..
config Enable the Rubocop DeprecatedClassMethods cop 2016-05-08 15:33:34 -06:00
controllers Enable Style/RedundantParentheses rubocop cop 2016-05-30 15:07:18 +02:00
factories Improve note factory 2016-05-29 15:03:00 -04:00
features Improve note factory 2016-05-29 15:03:00 -04:00
finders Make upcoming milestone work across projects 2016-05-16 10:25:24 +01:00
fixtures Merge branch 'adambutler/gitlab-ce-feature/support-diff-of-issue-title-rename' 2016-05-20 16:23:04 -05:00
helpers Enable RSpec/NotToNot cop and auto-correct offenses 2016-05-24 15:40:29 -04:00
initializers Add tests for setting trusted_proxies 2016-05-04 15:49:39 -07:00
javascripts Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into #15643 2016-05-23 23:08:00 +03:00
lib Improve note factory 2016-05-29 15:03:00 -04:00
mailers New confirmation email 🔥 2016-05-25 16:56:06 -04:00
models Shut up, RuboCop 2016-05-29 23:12:19 -04:00
requests Update specs for creating new note without access 2016-05-29 15:03:00 -04:00
routing Merge branch 'health-check-route' 2016-05-12 16:39:03 -05:00
services Merge branch 'make-container-registry-authentication-service-compatible-with-older-docker' into 'master' 2016-05-31 03:18:33 +00:00
support Merge branch 'adambutler/gitlab-ce-feature/support-diff-of-issue-title-rename' 2016-05-20 16:23:04 -05:00
tasks/gitlab Switch the gitlab:db:configure task to use tables.any? instead of looking specifically for the schema_migrations table 2016-05-25 10:47:09 -07:00
views
workers Enable RSpec/NotToNot cop and auto-correct offenses 2016-05-24 15:40:29 -04:00
factories_spec.rb Enable RSpec/NotToNot cop and auto-correct offenses 2016-05-24 15:40:29 -04:00
rails_helper.rb
spec_helper.rb Update rspec-rails from 3.3.3 to 3.4.2. 2016-05-01 13:44:50 -06:00
teaspoon_env.rb