summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Refactor 'gitblit' commands into several nested dispatchersJames Moger2014-04-109-332/+361
|
* Support local aliases within a dispatcher and warn on registration collisionsJames Moger2014-04-102-7/+51
|
* Clear instantiated commands and dispatchers from the dispatcher on destroy()James Moger2014-04-101-0/+3
|
* Improve isServingRepositories checkJames Moger2014-04-104-2/+15
|
* Exclude SSH repository urls from anonymous usersJames Moger2014-04-101-0/+4
|
* Expose new property: sshCommandStartThreadsDavid Ostrovsky2014-04-102-1/+8
|
* doAuthenticate() method doesn't need to be protectedDavid Ostrovsky2014-04-101-3/+2
|
* Be more verbose on gathering plugin's extension pointsDavid Ostrovsky2014-04-101-0/+9
|
* DispatchCommand should be the ExtensionPointJames Moger2014-04-104-34/+25
|
* Hook-up comprensive command cleanup (destroy)James Moger2014-04-106-35/+83
|
* Get the command context with an accessor instead of direct field accessJames Moger2014-04-1010-24/+26
|
* Style: changed manager order to reflect dependency chainJames Moger2014-04-108-27/+26
| | | | Managers are mostly declared in dependency order. Managers with fewer dependencies are first. They are likely to be components of other managers. Also eliminated import artifacts from the cherry-pick.
* Expose SSH command as plugin extension pointDavid Ostrovsky2014-04-103-2/+26
| | | | | | Example plugin is provided [1]. [1] https://github.com/davido/gitblit-cookbook-plugin
* Add plugins/extension infrastructureDavid Ostrovsky2014-04-1012-10/+144
| | | | | | | | | | | | | | | | | | | | | | | | | Plugins are stored in `${baseFolder}/plugins` and are loaded during startup by the PluginManager. A plugin defines it's metadata in META-INF/MANIFEST.MF: Plugin-Class: com.gitblit.plugins.cookbook.CookbookPlugin Plugin-Dependencies: foo, bar Plugin-Id: gitblit-plugin Plugin-Provider: John Doe Plugin-Version: 1.0 Plugins can define extension points that can be implemented by other plugins and they can depend on other plugins: Plugin-Dependencies: foo, bar During the load phase, a directed acyclic graph is built and the loading order of the dependency chain is reversed using a topological sort; parent followed by children. The parent plugin classloader is the combined classloader of all parent plugins. Change-Id: I738821fa2bff02a5dbe339a944cc7e3c4dd8e299
* Revise dispatchers and move command classesJames Moger2014-04-1020-49/+79
|
* Create a simple ls-users admin commandJames Moger2014-04-102-0/+74
|
* Elevate the public key manager to a top-level managerJames Moger2014-04-1021-212/+225
|
* Create git and gitblit dispatchersJames Moger2014-04-1015-103/+217
|
* Show root commands in welcome shell and improve command registrationJames Moger2014-04-103-52/+99
|
* Add a simple repository list commandJames Moger2014-04-102-0/+74
|
* Pass IGitblit into the SSH command contextJames Moger2014-04-103-2/+11
|
* Add a welcome shellJames Moger2014-04-102-2/+163
| | | | | Conflicts: src/main/java/com/gitblit/transport/ssh/SshDaemon.java
* Add SSH daemon testDavid Ostrovsky2014-04-109-5/+272
|
* Prevent double authentication for the same public keyDavid Ostrovsky2014-04-105-23/+62
| | | | | | | | | | | | | | | | 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-104-450/+460
| | | | checks
* Rename server session classesJames Moger2014-04-103-16/+10
|
* Rename AbstractGitCommand->BaseGitCommandJames Moger2014-04-104-6/+6
|
* Merge AbstractSshCommand and BaseCommand into a single classJames Moger2014-04-107-516/+469
|
* Rename authenticators for clarityJames Moger2014-04-105-12/+12
|
* Move cache to IKeyManager and implement isStale() in FileKeyManagerJames Moger2014-04-107-68/+121
|
* Start SSH usage documentationJames Moger2014-04-102-4/+89
|
* Support admin commands that respect user permissionsJames Moger2014-04-104-2/+12
|
* Support hidden commands and hide create-repo and reviewJames Moger2014-04-104-6/+11
|
* Add add-key and rm-key commands that apply only to the current userJames Moger2014-04-106-42/+191
|
* Renamed SshContext->SshCommandContext for clarity of purposeJames Moger2014-04-103-6/+6
|
* Rename & simplify SshSession->SshDaemonClientJames Moger2014-04-1014-164/+116
|
* Revise SSH public key integration with AuthenticationManagerJames Moger2014-04-108-59/+67
|
* Simplify version command and outputJames Moger2014-04-101-8/+2
|
* Disregard comment/description for add/remove in FileKeyManagerJames Moger2014-04-101-26/+78
|
* Fix deleteAllKeys method signatureJames Moger2014-04-104-4/+4
|
* Fix incorrect displayed SSH transport permissionJames Moger2014-04-102-21/+3
|
* Remove unused idGenerator from the SshSessionFactoryJames Moger2014-04-102-7/+2
|
* Display the selected SSH backend in the daemon startup messageJames Moger2014-04-101-5/+5
|
* Add review SSH commandDavid Ostrovsky2014-04-103-1/+101
| | | | Change-Id: Ia03c15608814346522c548ff2439ee672ccb0d28
* Add set account SSH commandDavid Ostrovsky2014-04-107-2/+157
| | | | Change-Id: I33d343dd34f93eaff9581d54f825f8c486e7c17f
* Add support for NIO2 IoSessionDavid Ostrovsky2014-04-102-0/+23
| | | | | | | | | | Starting from version 0.9.0 Apache SSHD project added support for NIO2 IoSession. To use the new NIO2 session the `backend` option must be set to `NIO2`. By default, `NIO2`. Change-Id: I06cf92b02e80ecf9e8bfbd9f6d6d623dfe3ccff3
* Bump SSHD version to 0.10.1David Ostrovsky2014-04-105-23/+70
| | | | Change-Id: Ic7e204fb7ee2eb172f4c8424fc3d4b7e6c631ddd
* Extract key manager interface and implement a file-based key managerJames Moger2014-04-107-49/+342
|
* Listen for ssh clients on all interfaces, by defaultJames Moger2014-04-101-1/+1
|