summaryrefslogtreecommitdiff
path: root/app/models/ssh_host_key.rb
Commit message (Collapse)AuthorAgeFilesLines
* Adds the Rubocop ReturnNil copAndrew Newdigate2019-03-061-1/+1
| | | | | This style change enforces `return if ...` instead of `return nil if ...` to save maintainers a few minor review points
* Allow SshHostKey.find_by to accept string keysNick Thomas2019-02-041-0/+1
|
* Fix SSH Detect Host Keys not workingStan Hu2019-02-031-1/+1
| | | | | | | | | | | | Due to a change in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/24245, the Detect Host Key feature in the SSH mirroring stopped working. `SshHostKey#primary_key` was being used instead of the hard-coded `:id`. However, `SshHostKey#find_by` was expecting the symbolized `:id` rather than the string `id`, so it could never find the host key it was supposed to update. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56855
* Implement SshHostKey.primary_key methodPeter Leitzen2019-01-081-0/+5
|
* Backport SSH host key detection code to CENick Thomas2018-10-251-0/+130
This functionality is needed for SSH push mirroring support, which is a CE feature.