11 Commits

Author SHA1 Message Date
Andrey Petrov
6e02b05f99 set: Improve coverage and cleanup. Switch sshchat package to use it. 2016-08-24 13:54:20 -04:00
Andrey Petrov
9bf1f53445 Fixed /kick command to actually close target 2016-07-15 16:22:25 -04:00
Matt Day
0ab31046c0 Fix go vet nitpicks.
Fixes #130:
* pass by reference into AllowAnonymous
* check return value of From() rather than value of From function
2015-08-20 04:28:52 -06:00
Andrey Petrov
8188deef30 Root sshchat package, main moved into cmd/ssh-chat/. 2015-01-21 11:47:59 -08:00
Andrey Petrov
69ea63bf88 /ban and /op now support durations, also all other auth things in the api. 2015-01-19 19:16:37 -08:00
Andrey Petrov
0c21486992 History backfill, also tests pass. 2015-01-18 18:55:47 -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
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
Nick Presta
23d06faa68 Adding passphrase prompt and env var. 2015-01-03 20:06:38 -05:00
Andrey Petrov
4dd80fb822 Tests pass. 2015-01-01 18:51:34 -08:00