Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-12-19Update specs to rails5 formatblackst0ne
Updates specs to use new rails5 format. The old format: `get :show, { some: params }, { some: headers }` The new format: `get :show, params: { some: params }, headers: { some: headers }`
2018-05-04Fix API to remove deploy key from project instead of deleting it entirelyDouwe Maan
2018-03-28Set user when adding deploy key to project using APIDouwe Maan
2018-01-17Merge branch 'sh-migrate-can-push-to-deploy-keys-projects-10-3' into ↵Douwe Maan
'security-10-3' [10.3] Migrate `can_push` column from `keys` to `deploy_keys_project` See merge request gitlab/gitlabhq!2276 (cherry picked from commit f6ca52d31bac350a23938e0aebf717c767b4710c) 1f2bd3c0 Backport to 10.3
2017-10-20Refactor `have_http_status` into `have_gitlab_http_status` in the specsJacopo
2017-08-28Add tests for the unmodified headerRobert Schilling
2017-08-09Enable the Layout/SpaceBeforeBlockBraces copRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-08-03Change all `:empty_project` to `:project`Robert Speicher
2017-06-20Fix edit button for deploy keys available from other projectsAlexander Randa
2017-06-14Correct RSpec/SingleLineHook cop offensesRobert Speicher
2017-06-02Implement ability to update deploy keysAlexander Randa
2017-04-21Unnecessary "include WaitForAjax" and "include ApiHelpers"Jacopo
Removed all the unnecessary include of `WaitForAjax` and `ApiHelpers` in the specs. Removed unnecessary usage of `api:true`
2017-04-05Enable creation of deploy keys with write access via the APIMark Fletcher
* Documentation was incorrectly advertising the missing param
2017-02-28Return 204 for delete endpointsRobert Schilling
2017-02-20API: Remove `DELETE projects/:id/deploy_keys/:key_id/disable`Robert Schilling
2017-02-16Add a custom pagination matcherRobert Schilling
2017-01-23Grapify all endpoints of the deploy keys APIRobert Schilling
2017-01-17Replace many :project with :empty_projects in API specsRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-12-06Use :maximum instead of :within for length validators with a 0..N rangeRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-11-28Changed API spec files to describe the correct classLivier
Restore changes for api spec files Fix error in rspec Users Delete extra space Repositories-spec
2016-10-26Fixes various errors when adding deploy keys caused by not exiting the ↵Joshua Welsh
control flow. When adding a deploy key that already exists in the project the existing key would not be returned, resulting in an attempt to create a new one, which in turn caused a 500 error due to an ActiveRecord exception. When adding a deploy key that exists within another project the key would be joined to the project, but would also attempt to create a new one, which resulted in a 400 error due to the key already existing. Fixes #22741 Fixes #21754 Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-08-05Create service for enabling deploy keysZ.J. van de Weg
2016-08-04Move deploy_key tests to deploy_key_spec.rbZ.J. van de Weg
Also, fix the failing test in the process
2016-08-03Use Grape DSL for deploy keys endpointsZ.J. van de Weg
Also a minor clean up of the post endpoint
2016-08-03Endpoints to enable and disable deploy keysZ.J. van de Weg
Resolves #20123