summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/transport/ssh/commands/DispatchCommand.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix thread exhaustion in SSH daemonJames Moger2014-05-291-0/+1
|
* Remove User parameter from SSH dispatch command setupJames Moger2014-04-171-18/+19
|
* Update headersJames Moger2014-04-131-14/+16
|
* DocumentationJames Moger2014-04-131-0/+7
|
* Improve dispatcher usage outputJames Moger2014-04-101-0/+14
|
* Improve command help with formatting and usage examplesJames Moger2014-04-101-2/+2
|
* Revise dispatcher setup and command registrationJames Moger2014-04-101-24/+50
|
* Catch dispatchers registered through registerCommandJames Moger2014-04-101-6/+15
|
* Hide dispatcher from usage() if it has no visible commands or visible nested ↵James Moger2014-04-101-8/+35
| | | | dispatchers
* Allow registration of a command instanceJames Moger2014-04-101-0/+27
|
* Support local aliases within a dispatcher and warn on registration collisionsJames Moger2014-04-101-7/+50
|
* Clear instantiated commands and dispatchers from the dispatcher on destroy()James Moger2014-04-101-0/+3
|
* DispatchCommand should be the ExtensionPointJames Moger2014-04-101-11/+21
|
* Hook-up comprensive command cleanup (destroy)James Moger2014-04-101-8/+22
|
* Get the command context with an accessor instead of direct field accessJames Moger2014-04-101-10/+0
|
* Revise dispatchers and move command classesJames Moger2014-04-101-7/+5
|
* Elevate the public key manager to a top-level managerJames Moger2014-04-101-13/+0
|
* Create git and gitblit dispatchersJames Moger2014-04-101-39/+26
|
* Show root commands in welcome shell and improve command registrationJames Moger2014-04-101-45/+80
|
* Add SSH daemon testDavid Ostrovsky2014-04-101-1/+1
|
* Prevent double authentication for the same public keyDavid Ostrovsky2014-04-101-3/+3
| | | | | | | | | | | | | | | | Openssh client sends two requests, one without a key signature to verify that the public key is acceptable and the second one with the signature after having loaded the private key and signed some data for actual verification. To prevent that the PublickeyAuthenticator#authenticate is called twice cache the authentication status for session and public key. Implement SessionListener to clean up the cache entry when session is destroyed. This is a workaround for SSHD bug [1]. Inspired-By: Guillaume Nodet <gnodet@apache.org> [1] https://issues.apache.org/jira/browse/SSHD-300
* Fix message formattingDavid Ostrovsky2014-04-101-1/+1
| | | | Change-Id: I1ee1e4135525b7064c4f8e159ed9d8cbef510a81
* Move dispatcher creation to SshCommandFactory and revise permissionJames Moger2014-04-101-192/+200
| | | | checks
* Rename AbstractGitCommand->BaseGitCommandJames Moger2014-04-101-2/+2
|
* Merge AbstractSshCommand and BaseCommand into a single classJames Moger2014-04-101-1/+0
|
* Rename authenticators for clarityJames Moger2014-04-101-3/+3
|
* Support admin commands that respect user permissionsJames Moger2014-04-101-0/+9
|
* Support hidden commands and hide create-repo and reviewJames Moger2014-04-101-1/+4
|
* Add add-key and rm-key commands that apply only to the current userJames Moger2014-04-101-3/+3
|
* Rename & simplify SshSession->SshDaemonClientJames Moger2014-04-101-7/+7
|
* Add set account SSH commandDavid Ostrovsky2014-04-101-0/+10
| | | | Change-Id: I33d343dd34f93eaff9581d54f825f8c486e7c17f
* SSHD: Add support for git pack commandsDavid Ostrovsky2014-04-101-4/+44
| | | | | | | | | | | Add git-upload-pack and git-receive-pack commands. Conflicts: src/main/java/com/gitblit/manager/ServicesManager.java src/main/java/com/gitblit/transport/ssh/CommandDispatcher.java src/main/java/com/gitblit/transport/ssh/SshCommandFactory.java Change-Id: I8c057b41f1dfad6d004e6aa91f96c8c673be9be2
* Fix command dispatchingDavid Ostrovsky2014-04-101-14/+30
| | | | | | | | | | | | | DispatchCommand is supposed to be nested: ssh server gitblit version --verbose --format json means that first the command that is seen by dispatching process is "gitblit". Dispatch command look in its commands map for this command and dispatch the rest of the command and options and arguments to this command, version in this example. Change-Id: I8ef8e0e369922c793ca7ad36c1a8f76b0206baa7
* Eliminate use of Dagger and do not create inner classesJames Moger2014-04-101-24/+28
| | | | | | | | | | | This change outlines somethings I'd like to see in your latest code. 1. Elimination of Dagger 2. Less noise from inner class instantiation 3. Formalizing filesystem location for keys instead of Unix-y /tmp/ 4. Password authentication as alternative to Key authentication Change-Id: I7a76e1811ad7cd545444fd8b59bbe8c4f45ccfec
* SSHD: Add support for generic commandsDavid Ostrovsky2014-04-101-0/+156
Change-Id: I5a60710323ca674d70e34f7451422ec167105429