82 Commits

Author SHA1 Message Date
Andrey Petrov
6f46645540 Disallow op with no fingerprint. 2015-01-10 11:31: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
Murilo Santana
15a5052c33 Merge branch 'master' into name-autocomplete
Conflicts:
	server.go
2014-12-17 21:30:39 -02:00
Murilo Santana
a160bc9bac moving Lock() call 2014-12-17 09:26:29 -02:00
Andrey Petrov
99c2cf1756 Fixing race conditions. 2014-12-16 22:35:04 -08:00
Andrey Petrov
8bba2e3917 Fix motd, invalid fingerprint, no auth whitelist. 2014-12-16 20:15:37 -08:00
Andrey Petrov
bb0c8e9e49 Disable no keypair login. 2014-12-16 19:39:32 -08:00
Andrey Petrov
f957079489 Fix literal referenc. 2014-12-16 19:22:00 -08:00
empathetic-alligator
68e82ff115 Using bufio instead of ioutil. 2014-12-16 21:27:55 -05:00
empathetic-alligator
580ad79a22 Fixed issues found by golint. 2014-12-16 21:18:10 -05:00
empathetic-alligator
912175e65a Split up whitelist func, made identity url get safer. 2014-12-16 21:15:45 -05:00
empathetic-alligator
a1455a8eba Removed regex, added timeout. 2014-12-16 20:47:39 -05:00
Murilo Santana
4938e4afe3 List returns the actual name instead of the lowercase 2014-12-16 23:19:41 -02:00
empathetic-alligator
3c466dc88e Added timeout to github pubkey request. 2014-12-16 19:59:52 -05:00
empathetic-alligator
96828c25ac Merge branch 'master' of https://github.com/shazow/ssh-chat 2014-12-16 19:43:36 -05:00
empathetic-alligator
932410d057 Added comments and better variable names in getGithubPubKeys. 2014-12-16 00:07:16 -05:00
empathetic-alligator
da7ee40d95 Fixed issues reported by golint. 2014-12-16 00:02:58 -05:00
empathetic-alligator
2a4a005b3c Can now whitelist users by github pubkeys. 2014-12-15 23:55:46 -05:00
Murilo Santana
1bf8f73eb2 lowercase prefix 2014-12-16 01:25:17 -02:00
Song Gao
2b90eab1d5 Add KeyboardInteractiveCallback so that even client do now have publickey, username can still be passed in 2014-12-15 10:55:00 -06:00
Andrey Petrov
9a2d14066c Removed dark names, dont color join mesages. 2014-12-14 22:51:22 -08:00
Andrey Petrov
6c8f76f08d Improve highlighting of mentions. (Closes #60) 2014-12-14 22:37:10 -08:00
Ken Piper
cf0efed639 Remove italics until we have terminal detection
Also added songgao's workaround for text reflow
Sort-of fixes #22 in a really hacky way
2014-12-14 23:30:32 -05:00
Andrey Petrov
1e1e7b15bf Merge pull request #55 from empathetic-alligator/name_case
Names are now case insensitive.
2014-12-14 19:26:06 -08:00
Andrey Petrov
a7a2173c3f Formatting, simplified motd. 2014-12-14 19:14:34 -08:00
empathetic-alligator
120cd8aae8 Names are now case insensitive.
This should address issue #17. Names are stored in the server dict as lowercase and another user cannot take a different casing of that same name. However, a user may change their name to a different casing of their own name.
2014-12-14 21:44:56 -05:00
Peter Hellberg
ca979b9e72 Changed BannedPk to BannedPK, removed bannedIP 2014-12-15 01:38:26 +01:00
Peter Hellberg
ef2d54ebc8 Fix all lint issues (mainly ALL_CAPS and comments) 2014-12-15 01:12:19 +01:00
Pascal Borreli
84b0b5ab16 Fixed typo 2014-12-14 18:25:12 +01:00
Chad Etzel
b5636dba9d add ability to load motd from file - closes #25 2014-12-13 22:42:43 -08:00
Andrey Petrov
e3e46f9b8c Merge pull request #33 from voldyman/master
Embedded lock in to server struct
2014-12-13 22:28:08 -08:00
Chad Etzel
171f0da9aa add optional whitelisting of fingerprints for connecting 2014-12-13 20:48:15 -08:00
Akshay Shekher
79eb6b4388 Embedded lock in to server struct 2014-12-14 09:29:34 +05:30
Andrey Petrov
356e89c241 Merge pull request #26 from IQAndreas/minor-color-fixes
Minor color fixes
2014-12-13 15:55:39 -08:00
Andreas Renberg (IQAndreas)
0632204304 Use different formatting for private messages 2014-12-13 17:48:08 -06:00
Ken Piper
8c690d0676 Merge https://github.com/shazow/ssh-chat 2014-12-13 18:35:06 -05:00
Andrey Petrov
23bb605eb6 Merge pull request #21 from jazzychad/motd
add MOTD output and command
2014-12-13 15:33:28 -08:00
Chad Etzel
0ece568c4f add MOTD output and command 2014-12-13 15:24:55 -08:00
Ken Piper
fb5c2152cb Make highlights stand out
Also re-fixed empty message check
No longer re-seeding the RNG on each call for colors
2014-12-13 17:42:43 -05:00
Andrey Petrov
7e8e72ce2b beep newline fix. 2014-12-13 14:16:55 -08:00
Ken Piper
45c40b35c7 Yay conflicts 2014-12-13 16:36:19 -05:00
Ken Piper
b058fb4e40 Colors in /list and fancier tab completion 2014-12-13 16:31:35 -05:00
Andrey Petrov
35569887c0 Hopefully fix hanging? 2014-12-13 13:05:42 -08:00
Andrey Petrov
8b4f05b344 Beep command. 2014-12-13 11:22:43 -08:00
Andrey Petrov
460b81be2e Removing beeps for now. 2014-12-13 11:16:47 -08:00
Andrey Petrov
cd50bf5caa Less beeps! 2014-12-13 11:13:06 -08:00
Andrey Petrov
9f005ad18d Merge remote-tracking branch 'origin/pr/6' 2014-12-13 10:52:18 -08:00
Andrey Petrov
2b0f12df70 Merge remote-tracking branch 'origin/pr/4' 2014-12-13 10:47:41 -08:00
Andrey Petrov
90b7ad2995 Merge pull request #7 from aquilax/add-uptime-command
Added /uptime command support
2014-12-13 10:39:49 -08:00
Akshay Shekher
f07f7e78ab formatting fixes 2014-12-13 16:18:55 +05:30