summaryrefslogtreecommitdiff
path: root/app/controllers/jwt_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon2017-06-211-2/+2
|
* Instruct user to use a personal access token for Git over HTTPRobin Bobbitt2017-06-071-1/+1
| | | | | | If internal auth is disabled and LDAP is not configured on the instance, present the user with a message to create a personal access token if his Git over HTTP auth attempt fails.
* Fix test failureszj-read-registry-patZ.J. van de Weg2017-06-061-1/+1
|
* Create read_registry scope with JWT authZ.J. van de Weg2017-06-051-3/+5
| | | | | | | | | | | | This is the first commit doing mainly 3 things: 1. create a new scope and allow users to use it 2. Have the JWTController respond correctly on this 3. Updates documentation to suggest usage of PATs There is one gotcha, there will be no support for impersonation tokens, as this seems not needed. Fixes gitlab-org/gitlab-ce#19219
* Enable the Style/TrailingCommaInLiteral copRémy Coutable2017-05-101-1/+1
| | | | | | Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Revert "Prefer leading style for Style/DotPosition"Douwe Maan2017-02-231-2/+2
| | | | This reverts commit cb10b725c8929b8b4460f89c9d96c773af39ba6b.
* Enable Style/MultilineHashBraceLayoutDouwe Maan2017-02-231-2/+4
|
* Prefer leading style for Style/DotPositionDouwe Maan2017-02-231-2/+2
|
* Enable Style/MutableConstantDouwe Maan2017-02-231-1/+1
|
* Enable Style/MultilineOperationIndentation in Rubocop, fixes #25741Rydkin Maxim2016-12-161-1/+1
|
* Merge branch 'unauthenticated-container-registry-access' into 'security'Alejandro Rodriguez2016-11-091-2/+2
| | | | | | | | | | 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>
* Be nice to Docker Clients talking to JWT/authKamil Trzcinski2016-09-271-5/+16
|
* Improve JwtController implementationpost-merge-improve-of-ci-permissionsKamil Trzcinski2016-09-201-3/+3
|
* Rename capabilities to authentication_abilitiesKamil Trzcinski2016-09-161-1/+1
|
* Fix specs after merging LFS changesKamil Trzcinski2016-09-151-2/+12
|
* Fix existing authorization specsKamil Trzcinski2016-09-151-3/+3
|
* Add access specsKamil Trzcinski2016-09-151-1/+1
|
* Use `build_read_container_image` and use `build_download_code`Kamil Trzcinski2016-09-151-12/+6
|
* Make result to return project and capabilities grantedKamil Trzcinski2016-09-131-20/+10
|
* Use a permissions of user to access all dependent projects from CI jobs ↵Kamil Trzcinski2016-09-131-8/+10
| | | | (this also includes a container images, and in future LFS files)
* Project tools visibility levelFelipe Artur2016-09-011-1/+1
|
* Improve Gitlab::Auth method namesJacob Vosmaer2016-06-101-1/+1
| | | | | | 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.
* Remove code duplication in JwtControllerJacob Vosmaer2016-06-061-39/+1
|
* Remove instances of Auth.newJacob Vosmaer2016-06-031-1/+1
|
* Make authentication service for Container Registry to be compatible with < ↵make-container-registry-authentication-service-compatible-with-older-dockerKamil Trzcinski2016-05-301-1/+1
| | | | Docker 1.11
* Fix the CI login to Container Registry (the gitlab-ci-token user)Kamil Trzcinski2016-05-231-1/+1
|
* Improve JwtControllerKamil Trzcinski2016-05-141-1/+1
|
* Rename JWT to JSONWebTokenKamil Trzcinski2016-05-141-1/+1
|
* Add TODOKamil Trzcinski2016-05-141-0/+3
|
* Improve code design after reviewKamil Trzcinski2016-05-141-5/+2
|
* Use Auth::ContainerRegistryAuthenticationServiceKamil Trzcinski2016-05-141-1/+1
|
* Improve JwtController codeKamil Trzcinski2016-05-131-18/+19
|
* Move JWT to Gitlab::JWTKamil Trzcinski2016-05-131-1/+1
|
* Fix CI testsKamil Trzcinski2016-05-121-1/+1
|
* Rename DockerAuthenticationService to ContainerRegistryAuthenticationServiceKamil Trzcinski2016-05-091-1/+1
|
* Make code more clear in what is doneKamil Trzcinski2016-05-091-4/+5
|
* Split docker authentication serviceKamil Trzcinski2016-05-021-101/+13
|
* Added JWT controllerKamil Trzcinski2016-05-021-0/+173