Commit Graph

19 Commits (75f0b0c51c1642551aebd83a1601187cfe89d172)

Author SHA1 Message Date
Lunny Xiao 65b1875d2b New settings option for a custom SSH host () ()
* New settings option for a custom SSH host ()

* let default ssh listen addr empty
Bwko 4ff0db0246 Catch os... errors
Sandro Santilli 4247304f5a Update import paths from github.com/go-gitea to code.gitea.io ()
- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis

See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs ()
Unknwon 9e09e48502 fix potential SSH commands dislocation
When use builtin SSH server with concurrent operations, there are probabilities
One connection could use the command from another connections.

Fix this by set SSH_ORIGINAL_COMMAND for each command, not set in global scope.
Unknwon 58e004f7da Remove cache avatar support and add its tests
Unknwon 3abad75a1b Fix one user may block entire listen loop for builtin SSH
Unknwon e33ddac9bf Minor fix for
Dmitry Neverov fb99d50fa1 Fix - handle requests waiting for reply
According to the docs [1], the Reply method must be called for all
requests where WantReply is true. This fixes a hanging java ssh
implementation (jsch) which sets WantReply flag and waits for reply from
the server.

[1] https://godoc.org/golang.org/x/crypto/ssh#Request.Reply
Unknwon acdb4d8bdd Drop Go 1.3 support
Bruno 9a27e5ccdc ignore invalid env
Unknwon ca96e04e5f carry --config flag for builtin SSH
Unknwon e030109b5a fix api broken
Unknwon 7c80eba77f minor UI fix and fix ssh race
Unknwon 18c841050b fix 1540 and experimental SSH server support
Unknwon 216f0477b5 fix subrepo break change
Unknwon ef275ebf62 more on change avatar
Unknwon 545d320648 Docs fix
Unknwon 8dd07c0ddd New UI merge in progress