246 Commits

Author SHA1 Message Date
Andrey Petrov
544c9789c0 /reply command with autocomplete. 2015-01-18 18:11:30 -08:00
Andrey Petrov
12402c2338 Autocomplete commands. 2015-01-18 17:53:29 -08:00
Andrey Petrov
391a66a876 BEL 2015-01-17 15:56:29 -08:00
Andrey Petrov
838285ba43 chat.Color->chat.Style, highlighting works. 2015-01-17 13:26:26 -08:00
Andrey Petrov
3c4e6994c2 chat.Channel->chat.Room, /ban, /whois, chat.User.Identifier
- Renamed chat.Channel -> chat.Room
- /ban works, supports IP also
- /whois works
- chat.User now accepts an Identifier interface rather than name
- Tweaked rate limiting
2015-01-16 21:53:22 -08:00
Andrey Petrov
cc25d17bdc Configurable rate limiting for sshd 2015-01-16 12:36:34 -08:00
Andrey Petrov
b99083ee6e Connection-level rate limiting. 2015-01-16 12:30:18 -08:00
Andrey Petrov
b94911f052 Fix hang condition on kick. 2015-01-11 14:31:51 -08:00
Andrey Petrov
50540d26e9 Passing /kick test. 2015-01-11 14:12:51 -08:00
Andrey Petrov
587b487927 Mild refactoring towards decoupling channel from host. 2015-01-10 20:11:46 -08:00
Andrey Petrov
723313bcb2 Bugfixen. 2015-01-10 19:48:17 -08:00
Andrey Petrov
e626eab624 /kick and /msg 2015-01-10 18:05:31 -08:00
Andrey Petrov
11e92b5718 Fixed key storage. 2015-01-10 17:27:55 -08:00
Andrey Petrov
d5626b7514 Abstracted sshd.Connection; Op works now. 2015-01-10 13:46:36 -08:00
Andrey Petrov
d8d5deac1c Use authorized_keys-style public keys rather than fingerprints.
Tests for whitelisting.
2015-01-10 12:44:06 -08:00
Andrey Petrov
7a39898b36 Merge branch 'refactor' of github.com:shazow/ssh-chat into refactor 2015-01-06 21:43:08 -08:00
Andrey Petrov
0c5c7b50b6 Resolve name collision to GuestX, with test. 2015-01-06 21:42:57 -08:00
Andrey Petrov
03b8ad0344 Merge pull request #112 from mcroydon/refactor-socket
Updated listening message to use the actual host/port.
2015-01-05 17:59:11 -08:00
Matt Croydon
98e57c61d5 Updated listening message to use the actual host/port. 2015-01-05 19:57:09 -06:00
Andrey Petrov
08fde1bf55 Merge pull request #109 from mcroydon/refactor-port
Default port to 2022, updating documentation to match new default.
2015-01-04 20:34:43 -08:00
Matt Croydon
492d50d521 Default port to 2022, updating documentation to match new default. Addresses nice to have in #76.
Also print bind information on startup. An alternative to this approach would be to use info level logging, but the issue makes me think we want it all the time. I altered the README to show use of non-default port 22 which makes the note about root/sudo below still make sense.
2015-01-04 22:00:09 -06:00
Andrey Petrov
d0e442a647 Merge pull request #98 from NickPresta/decrypt-key
Add support for password-encrypted keys.
2015-01-03 17:11:07 -08:00
Nick Presta
23d06faa68 Adding passphrase prompt and env var. 2015-01-03 20:06:38 -05:00
Andrey Petrov
b4fc9017c1 Merge pull request #96 from NickPresta/add-quiet-option
Adding test and impl for quiet mode.
2015-01-02 22:58:53 -08:00
Nick Presta
a2ee2000bb Adding impl for quiet mode with tests. 2015-01-03 01:52:11 -05:00
Andrey Petrov
362d0fdffd Merge pull request #97 from NickPresta/fix-names-command
Fixing /names from panic
2015-01-02 22:35:55 -08:00
Nick Presta
e29540c73b Fixing /names from panic 2015-01-03 01:28:48 -05:00
Andrey Petrov
4dd80fb822 Tests pass. 2015-01-01 18:51:34 -08:00
Andrey Petrov
6a662bf358 Channel Member now wrapping User with metadata, new Auth struct. 2015-01-01 18:40:10 -08:00
Andrey Petrov
6874601c0b Op command support, and /op 2015-01-01 17:09:08 -08:00
Andrey Petrov
3b5f4faf76 Padded help output, because why not. 2015-01-01 16:17:58 -08:00
Andrey Petrov
fb7cd83821 CommandHandler func -> Command struct 2015-01-01 15:37:28 -08:00
Andrey Petrov
6f7410c7a0 Making a dent in golint: 94 -> 70 2014-12-26 17:59:29 -08:00
Andrey Petrov
4c5dff7960 Themes are working, and /theme command. 2014-12-26 17:40:57 -08:00
Andrey Petrov
f3a4045ed9 Added /nick, /names 2014-12-26 16:05:04 -08:00
Andrey Petrov
b40136c3e1 Added /nick and /exit commands. 2014-12-26 14:34:13 -08:00
Andrey Petrov
325f8921da /me works now, with test. 2014-12-26 12:26:53 -08:00
Andrey Petrov
999e1919e7 Tests pass. 2014-12-26 12:20:44 -08:00
Andrey Petrov
5dad20d241 close once, handleMsg api consistency. 2014-12-26 12:11:03 -08:00
Andrey Petrov
dac5cfbb5e Split up message types, added exit codes, basic command handling. 2014-12-25 16:25:02 -08:00
Andrey Petrov
3bb4bbf991 AutoCompleteFunction is back. 2014-12-25 00:37:50 -08:00
Andrey Petrov
d3b0a56d78 Added Host struct. 2014-12-25 00:09:43 -08:00
Andrey Petrov
c1406dda55 Remove all old code; fixed Set remove; fixed disconnect bug; fixed term reference. 2014-12-24 20:31:54 -08:00
Andrey Petrov
601a95c1cd Progress trying to make things less buggy, not much. 2014-12-22 22:54:29 -08:00
Andrey Petrov
eda2b7c0d9 Super broken but kinda working. 2014-12-22 22:21:07 -08:00
Andrey Petrov
a1d5cc6735 Set.Each, also builtin Channel broadcast goroutine 2014-12-22 21:47:07 -08:00
Andrey Petrov
7beb7f99bb Testing for net. 2014-12-22 15:53:30 -08:00
Andrey Petrov
59ac8bb037 sshd abstraction might be done, untested. 2014-12-22 14:26:26 -08:00
Andrey Petrov
54b593ed47 Message tests. 2014-12-21 14:30:42 -08:00
Andrey Petrov
bcfacb89b1 Fix message rendering, tests pass. 2014-12-21 14:24:03 -08:00