Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Log remote IP for executed commandssh-log-remote-ip | Stan Hu | 2020-07-20 | 1 | -1/+6 |
| | | | | | | | | Admins may want to know what client IP originated the request. This commit adds a `remote_ip` field to the log that extracts the IP address from the `SSH_CONNECTION` environment variable. Closes https://gitlab.com/gitlab-org/gitlab-shell/-/issues/199 | ||||
* | Pass in ssl_cert_dir config setting | Ash McKenzie | 2020-07-02 | 4 | -4/+36 |
| | |||||
* | Fix race conditions with logrus testingsh-fix-logrus-race | Stan Hu | 2020-05-11 | 2 | -0/+3 |
| | | | | | | | | | logrus fires a Goroutine to write logs, so the tests could fail if they checked the event queue before the logrus have fired. Since there isn't an easy way to flush all outstanding hooks, we just retry every 100 ms for up to a second for log to arrive in the queue. Closes https://gitlab.com/gitlab-org/gitlab-shell/-/issues/450 | ||||
* | Fix race conditions in testssh-add-http-status-code | Stan Hu | 2020-05-08 | 3 | -14/+15 |
| | | | | | | | | Calling logrus hook.LastEntry() can lead to race conditions. Use AllEntries instead: https://github.com/sirupsen/logrus/blob/60c74ad9be0d874af0ab0daef6ab07c5c5911f0d/hooks/test/test.go#L77 Closes https://gitlab.com/gitlab-org/gitlab-shell/-/issues/450 | ||||
* | Move gitlabnet client to client packagejc-refactor-gitlabnet-client | John Cai | 2020-05-04 | 14 | -14/+16 |
| | |||||
* | Geo Pull custom action support | Ash McKenzie | 2020-04-17 | 4 | -9/+136 |
| | |||||
* | Extract customaction into a separate moduleid-extract-custom-action-in-separate-module | Igor Drozdov | 2020-04-14 | 4 | -45/+50 |
| | | | | We'll reuse this module for uploadpack in the future | ||||
* | Add missed protocol againsh-log-git-upload-receive-pack | David Kim | 2020-04-08 | 1 | -1/+1 |
| | |||||
* | Remove unnecessary command argument | David Kim | 2020-04-08 | 3 | -3/+3 |
| | |||||
* | Move logging to handler instead | David Kim | 2020-04-07 | 4 | -29/+6 |
| | |||||
* | Change git command logging keys to be be snake cased | David Kim | 2020-04-03 | 1 | -5/+5 |
| | |||||
* | Add test for command logging | David Kim | 2020-04-03 | 7 | -38/+35 |
| | |||||
* | Add tests for logging | David Kim | 2020-03-30 | 3 | -0/+24 |
| | |||||
* | Add git-archive-pack | Stan Hu | 2020-03-26 | 3 | -12/+23 |
| | |||||
* | Log git-{upload-pack,receive-pack} requests | Stan Hu | 2020-03-26 | 2 | -0/+24 |
| | | | | This restores the previous Ruby gitlab-shell behavior. | ||||
* | commands: pass through GIT_PROTOCOL envvar provided by clientsps-git-protocol-envvar | Patrick Steinhardt | 2020-02-28 | 3 | -2/+6 |
| | | | | | | | | | | | Both git-upload-pack and git-receive-pack services inspect the GIT_PROTOCOL environment transferred via SSH in order to decide which protocols are supported by a given client. Currently, we don't use the environment variable at all, though, but instead forward the GitProtocol field of the access verification response. Improve this by passing on the GIT_PROTOCOL environment variable provided by the client as-is. | ||||
* | Remove support for Custom data.info_message210-remove-action-custom-inform_client-once-12-3-has-been-released | Ash McKenzie | 2019-12-24 | 2 | -6/+0 |
| | |||||
* | Add git-lfs upload operation assertion37371-git-clone-on-secondary-geo-node-fetches-lfs-files-from-primary | Ash McKenzie | 2019-12-03 | 1 | -1/+3 |
| | |||||
* | Use correct LFS download or upload operation names | Ash McKenzie | 2019-12-03 | 1 | -14/+18 |
| | |||||
* | Merge branch 'pass-ff-to-gitaly' into 'master' | Ash McKenzie | 2019-10-29 | 6 | -3/+17 |
| | | | | | Add support for Gitaly feature flags See merge request gitlab-org/gitlab-shell!351 | ||||
* | More consistent console messages (golang) | Ash McKenzie | 2019-10-23 | 6 | -19/+10 |
| | |||||
* | Rename import paths | Nick Thomas | 2019-10-18 | 32 | -153/+153 |
| | |||||
* | Move go code up one level | Nick Thomas | 2019-10-18 | 38 | -0/+2532 |