summaryrefslogtreecommitdiff
path: root/spec/vcr_cassettes
Commit message (Collapse)AuthorAgeFilesLines
* Add support for using gl_project_pathsh-use-gl-project-pathStan Hu2019-02-162-2/+2
| | | | | | This will enable us to track the human-readable project path with SSH access in gitlab-shell. Currently the Gitaly logs will only show the hashed storage and gl_repository path (e.g. project-1234).
* Revert "Merge branch 'sh-bump-ruby-version' into 'master'"Douwe Maan2018-12-131-1/+1
| | | This reverts merge request !257
* Upgrade to Ruby 2.5.3Stan Hu2018-12-131-1/+1
|
* Include LFS operation when making auth requestashmckenzie/8114-geo-push-ssh-lfs-http-auth-bugAsh McKenzie2018-11-082-2/+48
| | | | Operation is either upload or download
* Display helpful feedback when proxying an SSH git push to secondary request ↵Ash McKenzie2018-09-251-1/+1
| | | | (v2)
* Print message to $stderr for custom actionAsh McKenzie2018-09-131-0/+99
|
* Make ordered expectations around results outputAsh McKenzie2018-09-131-2/+2
| | | | This also cleans up the output from the tests as previously, Base64 encoded output was printed.
* Ensure text/plain & text/html content typs are handled and add missing specs ↵Ash McKenzie2018-09-1117-12/+564
| | | | for handled HTTP status codes
* Custom Action supportash.mckenzie/custom-action-supportAsh McKenzie2018-09-084-0/+230
|
* Revert "Merge branch 'ash.mckenzie/srp-refactor' into 'master'"Nick Thomas2018-08-1419-476/+16
| | | | | This reverts commit 3aaf4751e09262c53544a1987f59b1308af9b6c1, reversing changes made to c6577e0d75f51b017f2f332838b97c3ca5b497c0.
* GitlatNet#discover only parse JSON if a 200Ash McKenzie2018-08-011-0/+46
|
* Utilise new ActionsAsh McKenzie2018-08-0116-14/+428
| | | | | | | | | | * Move gitaly, git-lfs and 2FA logic out from gitlab_shell.rb * Streamline parsing of origin_cmd in GitlabShell * Utilise proper HTTP status codes sent from the API * Also support 200 OK with status of true/false (ideally get rid of this) * Use HTTP status constants * Use attr_reader definitions (var over @var) * Rspec deprecation fixes
* Fix cassettes that were wrongAsh McKenzie2018-08-012-2/+2
|
* Support new /internal/pre-receive API endpoint for post-receivegitaly-redis-refactorAlejandro Rodríguez2017-09-052-0/+88
|
* Support new /internal/post-receive API endpointAlejandro Rodríguez2017-08-302-0/+88
|
* Revert "Merge branch ↵revert-gl-repositoryAlejandro Rodríguez2017-07-031-1/+1
| | | | | | | '86-follow-up-from-use-gl_repository-if-present-when-enqueing-sidekiq-postreceive-jobs' into 'master'" This reverts commit fa6343515ba65423e9de4c98c6005facc6059938, reversing changes made to 62af7f6af72728cecb98c5275d8b7aeb3953e564.
* Update VCR fixturesDmitriy Zaporozhets2017-06-2120-307/+418
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Remove references to V3 internal APIremove-references-to-v3-internal-apiAdam Niedzielski2017-06-1617-18/+18
| | | | | | | In the main Rails app we use exactly the same code for /api/v3/internal and /api/v4/internal This means that we can move gitlab-shell to V4 in preparation for sunsetting V3
* Handle GL_REPOSITORY env variable and use it in api callsAlejandro Rodríguez2017-05-111-5/+5
|
* Use api/v4 for gitaly notification and add testsgitaly-post-receive-2Alejandro Rodríguez2017-02-101-0/+44
|
* Refactored LFS auth logic to use its own API endpoint.Patricio Cano2016-09-063-2/+48
|
* Added LFS support to SSHPatricio Cano2016-09-062-2/+2
| | | | - Required changes to GitLab Shell include the actual handling of the `git-lfs-authenticate` command and the retrieval of the correct credentials.
* Add option to recover 2FA via SSHDrew Blessing2016-08-262-0/+84
|
* Added better tests for the protocol checkPatricio Cano2016-07-052-0/+88
|
* Add encoding for the ssh key on the urlPablo Carranza2016-03-241-1/+1
|
* Change use of fingerprint for whole keyPablo Carranza2016-03-243-3/+3
|
* Change API endpoint to authorized_keysPablo Carranza2016-03-242-2/+2
|
* Add ssh-key resource get to gitlab_netPablo Carranza2016-03-243-0/+140
| | | | | This provides the integration point to the internal API to get the ssh key from the internal API.
* Improve broadcast message logicv2.5.1Dmitriy Zaporozhets2015-02-181-2/+2
| | | | | Expect broadcast message API endpoint to return 200 with empty JSON if no broadcast messages available
* Print broadcast message if one is available.Douwe Maan2015-02-092-0/+76
|
* Revert "Revert "Merge branch 'git_hook_messages'""Valery Sizov2014-11-245-5/+5
| | | | This reverts commit f8453da5868dd7a23d0f2f3da7a45e33c441d1db.
* Revert "Merge branch 'git_hook_messages'"Jacob Vosmaer2014-11-205-5/+5
| | | | | | | | | | At least the following things were broken: - missing require for 'gitlab_access_status' in lib/gitlab_net.rb - gitlabhq master internal API returns 'true' or 'false', gitlab-shell expects JSON This reverts commit 11311a95545f967a5736cd16ab5fc37f7e658519, reversing changes made to 45444597aef3e434571de2491934ae92357ad231.
* Show error message when git access is rejectedValery Sizov2014-11-145-5/+5
|
* add secret tokenValery Sizov2014-10-157-7/+7
|
* Rebuild vcr cassettesDmitriy Zaporozhets2014-09-037-45/+55
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Update GitlabNet to match new logicDmitriy Zaporozhets2014-09-017-41/+43
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Improve coverage.Gabor Nagy2014-06-231-0/+44
|
* Fix testsDmitriy Zaporozhets2014-04-147-123/+63
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* tests added: GitlabNet check, GitlabProject execDmitriy Zaporozhets2013-03-111-0/+48
|
* remove personal info from vcrDmitriy Zaporozhets2013-03-111-2/+1
|
* test for GitlabNet discoverDmitriy Zaporozhets2013-03-111-0/+49
|
* cover denied context for GitlabNetDmitriy Zaporozhets2013-03-112-0/+92
|
* test GitlabNet allowed methodDmitriy Zaporozhets2013-03-113-0/+144