Commit graph

29 commits

Author SHA1 Message Date
Rydkin Maxim
170efaaba2 Enable Style/MultilineOperationIndentation in Rubocop, fixes #25741 2016-12-16 21:37:22 +03:00
Alejandro Rodriguez
32042ef56a
Merge branch 'unauthenticated-container-registry-access' into 'security'
Restore unauthenticated access to public container registries

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/24284

See merge request !2025

Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-11-09 12:28:29 +01:00
Kamil Trzcinski
137a801615 Be nice to Docker Clients talking to JWT/auth 2016-09-27 16:59:05 +02:00
Kamil Trzcinski
cf6a35f09a Improve JwtController implementation 2016-09-20 19:15:13 +02:00
Kamil Trzcinski
e941365f3b Rename capabilities to authentication_abilities 2016-09-16 11:12:21 +02:00
Kamil Trzcinski
5f45ddc545 Fix specs after merging LFS changes 2016-09-15 22:23:43 +02:00
Kamil Trzcinski
9d1ccd2ad3 Fix existing authorization specs 2016-09-15 13:49:11 +02:00
Kamil Trzcinski
11f87700e8 Add access specs 2016-09-15 11:57:09 +02:00
Kamil Trzcinski
6b381f3fdf Use build_read_container_image and use build_download_code 2016-09-15 10:34:53 +02:00
Kamil Trzcinski
571226f166 Make result to return project and capabilities granted 2016-09-13 15:27:05 +02:00
Kamil Trzcinski
505dc808b3 Use a permissions of user to access all dependent projects from CI jobs (this also includes a container images, and in future LFS files) 2016-09-13 13:30:26 +02:00
Felipe Artur
892dea6771 Project tools visibility level 2016-09-01 11:47:59 -03:00
Jacob Vosmaer
0e896ffe4e Improve Gitlab::Auth method names
Auth.find was a very generic name for a very specific method.
Auth.find_in_gitlab_or_ldap was inaccurate in GitLab EE where it also
looks in Kerberos.
2016-06-10 14:51:16 +02:00
Jacob Vosmaer
ff7c4e588a Remove code duplication in JwtController 2016-06-06 17:40:30 +02:00
Jacob Vosmaer
1fab583266 Remove instances of Auth.new 2016-06-03 17:08:44 +02:00
Kamil Trzcinski
7ec1fa212d Make authentication service for Container Registry to be compatible with < Docker 1.11 2016-05-30 16:57:39 +02:00
Kamil Trzcinski
646018a40e Fix the CI login to Container Registry (the gitlab-ci-token user) 2016-05-23 00:34:51 +02:00
Kamil Trzcinski
8d445fe665 Improve JwtController 2016-05-14 19:45:33 -05:00
Kamil Trzcinski
f4f9184a01 Rename JWT to JSONWebToken 2016-05-14 18:23:31 -05:00
Kamil Trzcinski
46cc04ce7a Add TODO 2016-05-14 14:17:04 -05:00
Kamil Trzcinski
393459b2b2 Improve code design after review 2016-05-14 14:04:04 -05:00
Kamil Trzcinski
63cdf1aeb0 Use Auth::ContainerRegistryAuthenticationService 2016-05-14 11:11:48 -05:00
Kamil Trzcinski
e900ff972a Improve JwtController code 2016-05-13 16:23:02 -05:00
Kamil Trzcinski
9ef9e008fe Move JWT to Gitlab::JWT 2016-05-13 16:22:50 -05:00
Kamil Trzcinski
fc2d985bfa Fix CI tests 2016-05-12 12:47:55 -05:00
Kamil Trzcinski
b180d79cdc Rename DockerAuthenticationService to ContainerRegistryAuthenticationService 2016-05-09 22:04:42 +03:00
Kamil Trzcinski
daca2144c8 Make code more clear in what is done 2016-05-09 20:47:06 +03:00
Kamil Trzcinski
011a905a82 Split docker authentication service 2016-05-02 14:32:16 +02:00
Kamil Trzcinski
105017c308 Added JWT controller 2016-05-02 13:29:17 +02:00