summaryrefslogtreecommitdiff
path: root/lib/api/api_guard.rb
Commit message (Expand)AuthorAgeFilesLines
* Enable frozen string in lib/api and lib/backupgfyoung2018-09-291-0/+2
* Updates code using class_methods over module ClassMethodsJacopo2018-08-291-1/+1
* Block access to API & git when terms are enforcedBob Van Landuyt2018-05-101-1/+11
* Make find_user_from_sources extensible for EELin Jen-Shin2018-02-051-1/+5
* Changes after rebaseFrancisco Lopez2017-11-171-20/+1
* Moved Exceptions to Gitlab::AuthFrancisco Lopez2017-11-171-10/+10
* Moving exceptions to UserAuthFindersFrancisco Lopez2017-11-171-25/+10
* Added some more commentsFrancisco Lopez2017-11-171-7/+8
* Homogenising the type of the request handled by UserAuthFinder. Also tests fixedFrancisco Lopez2017-11-171-3/+0
* Applied some code review commentsFrancisco Lopez2017-11-171-5/+0
* Removing private tokenFrancisco Lopez2017-11-171-6/+1
* Some fixes after rebaseFrancisco Lopez2017-11-171-24/+7
* Updated refactor and pushing to see if test failsFrancisco Lopez2017-11-171-2/+0
* First refactorFrancisco Lopez2017-11-171-39/+19
* Add Gitlab::Utils::StrongMemoizeLin Jen-Shin (godfat)2017-11-131-3/+5
* Add sudo API scopeDouwe Maan2017-11-021-66/+38
* Remove authentication using user.private_tokenDouwe Maan2017-11-021-16/+6
* Move all API authentication code to APIGuardDouwe Maan2017-10-121-41/+92
* Make sure API responds with 401 when invalid authentication info is provideddm-api-unauthorizedDouwe Maan2017-09-281-6/+18
* Whitelist or fix additional `Gitlab/PublicSend` cop violationsrs-more-public-send-whitelistsRobert Speicher2017-08-141-1/+1
* Extract a `Gitlab::Scope` class.Timothy Andrew2017-06-291-1/+1
* Implement review comments from @DouweM for !12300.Timothy Andrew2017-06-281-1/+1
* Implement review comments from @dbalexandre for !12300.Timothy Andrew2017-06-281-7/+5
* Fix remaining spec failures for !12300.Timothy Andrew2017-06-281-2/+2
* When verifying scopes, manually include scopes from `API::API`.Timothy Andrew2017-06-281-6/+4
* Allow API scope declarations to be applied conditionally.Timothy Andrew2017-06-281-2/+2
* Initial attempt at refactoring API scope declarations.Timothy Andrew2017-06-281-12/+21
* Enable Style/Proc cop for rubocopmhasbini2017-04-021-1/+1
* Enable and autocorrect the CustomErrorClass copSean McGivern2017-03-011-7/+4
* Fix code for copsDouwe Maan2017-02-231-1/+1
* Enable Style/SpaceInsideBracketsDouwe Maan2017-02-231-1/+1
* Enable Style/MutableConstantDouwe Maan2017-02-231-1/+1
* Convert AccessTokenValidationService into a class.Timothy Andrew2016-12-161-2/+2
* Implement minor changes from @dbalexandre's review.Timothy Andrew2016-12-161-11/+15
* Calls to the API are checked for scope.Timothy Andrew2016-12-161-17/+45
* Remove some dead code from the Grape APINick Thomas2016-09-191-43/+13
* Fix a few places where autoloading would failRémy Coutable2016-05-101-133/+137
* Rubocop: Style/CaseIndentation enabledDmitriy Zaporozhets2015-02-021-5/+2
* Avoid using {...} for multi-line blocksDmitriy Zaporozhets2015-02-021-2/+2
* Rubocop enabled for: Use spaces inside hash literal bracesDmitriy Zaporozhets2015-02-021-1/+1
* Convert hashes to ruby 1.9 styleDmitriy Zaporozhets2015-02-021-2/+2
* Doorkeeper integrationValery Sizov2014-12-241-0/+175