Commit Graph

279 Commits

Author SHA1 Message Date
Andrey Petrov 5c72b1a121 Merge branch 'refactor' 2015-01-20 14:27:24 -08:00
Andrey Petrov c4ffd6f263 /version, /uptime 2015-01-20 14:23:37 -08:00
Andrey Petrov 9335a2139b Sanitize names on join and /nick. 2015-01-20 14:13: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 797d8c92be --log file with timestamps 2015-01-18 22:05:49 -08:00
Andrey Petrov 6c83bcb06a Rename fix. 2015-01-18 20:16:08 -08:00
Andrey Petrov 76bfdeeb70 /slap 2015-01-18 20:07:21 -08:00
Andrey Petrov 84df305ddf /op with pubkey. 2015-01-18 20:03:08 -08:00
Andrey Petrov 080b6e8f1b /motd 2015-01-18 19:55:01 -08:00
Andrey Petrov c33f4284f9 Colorize Sys/Announce messages. 2015-01-18 19:27:49 -08:00
Andrey Petrov 6c972e6e58 Message rate limiting, input length, and ignore empty lines. 2015-01-18 19:11:35 -08:00
Andrey Petrov 0c21486992 History backfill, also tests pass. 2015-01-18 18:55:47 -08:00
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 e12982d2ba Merge branch 'master' of github.com:shazow/ssh-chat 2015-01-10 12:52:04 -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 6f46645540 Disallow op with no fingerprint. 2015-01-10 11:31:18 -08:00
Andrey Petrov a4352f49ee Mention refactor branch. 2015-01-07 10:02:49 -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 12be9c1d1f Bounty! 2015-01-04 18:55:34 -08:00
Andrey Petrov 8d8c5bf6b1 Update README.md 2015-01-04 18:34:56 -08:00
Andrey Petrov 6098911ef5 Merge pull request #106 from leonklingele/unban-fingerprint
Unban fingerprint & List banned fingerprints
2015-01-04 11:13:35 -08:00
Leon Klingele cc42f0aa7a Added HelpText for new commands 2015-01-04 12:23:35 +01:00
Leon Klingele c244efe3d3 gofmt 2015-01-04 12:21:48 +01:00
Leon Klingele 8a68cc51d9 Added /banned command to list banned fingerprints 2015-01-04 11:16:38 +01:00
Leon Klingele 15ef0a57b2 Added /unban command to unban a banned fingerprint 2015-01-04 11:15:55 +01:00
Andrey Petrov cebad1c4c4 Reduce list max length, math is hard. 2015-01-03 17:45:07 -08:00
Andrey Petrov 730d15d858 Trying a different close thing, other oen was failing? 2015-01-03 17:20:39 -08: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 fd74201f1f Merge pull request #101 from mcroydon/sanitize-nick-change
Display possibly truncated nickname when processing /nick commands.
2015-01-03 12:17:18 -08:00
Matt Croydon 59789bd36e Make sure we display the processed and possibly truncated client name for /nick commands. Fixes #92. 2015-01-03 14:13:33 -06:00
Andrey Petrov 3508e7cffd Oops testing value. 2015-01-03 11:14:51 -08:00