Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add support for SSH certificate authentication | Ævar Arnfjörð Bjarmason | 2018-08-01 | 1 | -17/+38 |
| | | | | | | | | | | | | | | | | | | | | Why and how to enable this is covered in the docs being changed here. This requires gitlab-org/gitlab-shell@2e8b670 ("Add support for SSH certificate authentication", 2018-06-14) which has been merged in and tagged as 8.0.0, so GITLAB_SHELL_VERSION needs to be bumped. Merging this closes gitlab-org/gitlab-ce#34572 see gitlab-org/gitlab-shell!207 for the gitlab-shell MR. Implementation notes: - The APIs being changed here are all internal, and their sole consumer is gitlab-shell. - Most of the changed code is a MR to gitlab-shell, see the gitlab-org/gitlab-shell!207 MR. That change covers why only some of the internal methods get a new "username" parameter, and why some others only get a "user_id". | ||||
* | Merge branch 'zj-internal-repo-path' into 'master' | Grzegorz Bizon | 2018-05-28 | 1 | -1/+5 |
|\ | | | | | | | | | Don't pass the repository path to Gitlab Shell See merge request gitlab-org/gitlab-ce!19011 | ||||
| * | Return '/' as a bogus repo path to gitlab-shellzj-internal-repo-path | Jacob Vosmaer | 2018-05-25 | 1 | -1/+5 |
| | | |||||
| * | Don't pass the repository path to Gitlab Shell | Zeger-Jan van de Weg | 2018-05-17 | 1 | -1/+1 |
| | | | | | | | | This isn't a requirement, and removes deprecated method calls | ||||
* | | Replace Gitlab::REVISION with Gitlab.revision and handle installations ↵46600-fix-gitlab-revision-when-not-in-git-repo | Rémy Coutable | 2018-05-24 | 1 | -1/+1 |
|/ | | | | | | without a .git directory Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Resolve "Make a Rubocop that forbids returning from a block" | 🙈 jacopo beschi 🙉 | 2018-04-18 | 1 | -5/+5 |
| | |||||
* | Remove support for absolute dirs from Git::Env | Jacob Vosmaer (GitLab) | 2018-03-30 | 1 | -2/+1 |
| | |||||
* | Use hashed storage in the specs40744-hashed-storage-specs | Nick Thomas | 2018-02-07 | 1 | -1/+1 |
| | |||||
* | Moves project creationg to git access check for git push | Tiago Botelho | 2018-02-06 | 1 | -10/+5 |
| | |||||
* | Abstracts ProjectMoved and ProjectCreated into a BaseProject | Tiago Botelho | 2018-02-06 | 1 | -2/+2 |
| | |||||
* | Move new project on push logic to a service | Tiago Botelho | 2018-02-06 | 1 | -9/+7 |
| | |||||
* | Add specs | Tiago Botelho | 2018-02-06 | 1 | -8/+1 |
| | |||||
* | Adds remote messsage when project is created in a push over SSH or HTTP | Tiago Botelho | 2018-02-06 | 1 | -5/+12 |
| | |||||
* | Adds option to push over SSH to create a new project | Tiago Botelho | 2018-02-06 | 1 | -1/+14 |
| | |||||
* | Adds Rubocop rule for line break around conditionals | 🙈 jacopo beschi 🙉 | 2018-01-11 | 1 | -0/+1 |
| | |||||
* | Backport authorized_keys branch 'find-key-by-fingerprint' | Pablo Carranza | 2018-01-08 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | | | | | | Add find key by base64 key or fingerprint to the internal API See merge request !250 Squashed changes: Add unique index to fingerprint Add new index to schema Add internal api to get ssh key by fingerprint Change API endpoint to authorized_keys Add InsecureKeyFingerprint that calculates the fingerprint without shelling out Add require for gitlab key fingerprint Remove uniqueness of fingerprint index Remove unique option from migration Fix spec style in fingerprint test Fix rubocop complain Extract insecure key fingerprint to separate file Change migration to support building index concurrently Remove those hideous tabs | ||||
* | Gracefully handle orphaned write deploy keys in /internal/post_receivesh-handle-orphaned-deploy-keys | Stan Hu | 2017-12-24 | 1 | -3/+6 |
| | | | | | | | | | On GitLab.com, there are write deploy keys with no associated users. Pushes with these deploy keys end with an Error 500 since we attempt to look up redirect message. If there is no user, don't attempt to display a redirect message. Closes #41466 | ||||
* | Allow git pull/push on project redirects | Mayra Cabrera | 2017-12-08 | 1 | -2/+11 |
| | |||||
* | Use relative git object paths to construct absolute ones before setting Envfix/git-env-repo-paths | Ahmad Sherif | 2017-11-14 | 1 | -1/+3 |
| | |||||
* | add username to authorized result, so that gitlab-shell can pass it to hooks | David Turner | 2017-09-29 | 1 | -0/+7 |
| | |||||
* | refactor users update service | James Lopez | 2017-09-28 | 1 | -1/+1 |
| | |||||
* | refactor services to match EE signature | James Lopez | 2017-09-28 | 1 | -1/+1 |
| | |||||
* | Implement /internal/pre-receive for shell operations | Alejandro Rodríguez | 2017-09-05 | 1 | -0/+8 |
| | |||||
* | Return a value to check if redis is available on /internal/check | Alejandro Rodríguez | 2017-09-05 | 1 | -1/+2 |
| | |||||
* | Implement /internal/post_receive unified endpoint for PostReceive tasksgitaly-shell-redis | Alejandro Rodríguez | 2017-08-31 | 1 | -1/+16 |
| | |||||
* | Renamed Gitaly services | Andrew Newdigate | 2017-07-18 | 1 | -1/+1 |
| | |||||
* | Handle case when BroadcastMessage.current is nil | Stan Hu | 2017-07-13 | 1 | -1/+1 |
| | | | | | | | Somehow Rails.cache.fetch occasionally returns `nil` values, which causes this endpoint to crash. Closes #35094 | ||||
* | Send Gitaly Repository with /api/internal/allowedgitaly-internal-allowed-send-repo | Kim "BKC" Carlbäcker | 2017-07-07 | 1 | -1/+2 |
| | | | | | - Make single gitaly payload - Add feature-flag specs to verify payload | ||||
* | update code based on feedback | James Lopez | 2017-06-23 | 1 | -2/+4 |
| | |||||
* | refactor update user service not to do auth checks | James Lopez | 2017-06-23 | 1 | -1/+1 |
| | |||||
* | more refactoring based on feedback | James Lopez | 2017-06-23 | 1 | -3/+4 |
| | |||||
* | added service in the rest of controllers and classes | James Lopez | 2017-06-23 | 1 | -1/+1 |
| | |||||
* | Allow discover by userid - issue 28517 | Matt Walsh | 2017-06-20 | 1 | -3/+8 |
| | |||||
* | Add “Project moved” error to Git-over-SSH | Michael Kozono | 2017-06-16 | 1 | -1/+1 |
| | |||||
* | #13336 - display multiple messages in both the UI and git output | Mike Ricketts | 2017-06-15 | 1 | -1/+9 |
| | |||||
* | Remove unnecessary variablemk-fix-git-over-http-rejections | Michael Kozono | 2017-06-05 | 1 | -3/+1 |
| | |||||
* | Refactor construction of response | Michael Kozono | 2017-06-05 | 1 | -14/+6 |
| | |||||
* | Refactor to let GitAccess errors bubble up | Michael Kozono | 2017-06-05 | 1 | -18/+20 |
| | | | | | | No external behavior change. This allows `GitHttpController` to set the HTTP status based on the type of error. Alternatively, we could have added an attribute to GitAccessStatus, but this pattern seemed appropriate. | ||||
* | Prevent errors from non-functional notify_post_receive endpointfix-notify-post-receive | Alejandro Rodríguez | 2017-05-18 | 1 | -8/+9 |
| | |||||
* | Enable the Style/TrailingCommaInLiteral cop | Rémy Coutable | 2017-05-10 | 1 | -1/+1 |
| | | | | | | Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Pass GL_REPOSITORY in Workhorse responses29925-gitlab-shell-hooks-can-no-longer-send-absolute-paths-to-gitlab-ce | Alejandro Rodríguez | 2017-05-05 | 1 | -1/+1 |
| | |||||
* | Generate and handle a gl_repository param to pass around components | Alejandro Rodríguez | 2017-05-03 | 1 | -4/+6 |
| | | | | | | | | | This new param allows us to share project information between components that don't share or don't have access to the same filesystem mountpoints, for example between Gitaly and Rails or between Rails and Gitlab-Shell hooks. The previous parameters are still supported, but if found, gl_repository is prefered. The old parameters should be deprecated once all components support the new format. | ||||
* | Wrong method call on notify_post_receive. | Luigi Leoni | 2017-04-27 | 1 | -1/+1 |
| | |||||
* | Remove unused user activities code | Sean McGivern | 2017-04-14 | 1 | -10/+0 |
| | |||||
* | Add user activity service and spec. Also added relevant - NOT offline - ↵ | James Lopez | 2017-04-14 | 1 | -0/+12 |
| | | | | | | | migration It uses a user activity table instead of a column in users. Tested with mySQL and postgreSQL | ||||
* | Set Git-specific env in /api/internal/allowed | Rémy Coutable | 2017-04-10 | 1 | -15/+9 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Use Gitlab::Git::Repository#gitaly_... more | Jacob Vosmaer | 2017-04-07 | 1 | -1/+1 |
| | |||||
* | Incorporate Gitaly client for refs service | Alejandro Rodríguez | 2017-04-04 | 1 | -1/+4 |
| | |||||
* | Separate GRPC channels per repository storage | Jacob Vosmaer | 2017-03-29 | 1 | -1/+1 |
| | |||||
* | Add internal endpoint to notify post-receive to Gitalygitaly-post-receive | Alejandro Rodríguez | 2017-03-01 | 1 | -0/+12 |
| |