97 Commits

Author SHA1 Message Date
Andrey Petrov
6f46645540 Disallow op with no fingerprint. 2015-01-10 11:31:18 -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
3508e7cffd Oops testing value. 2015-01-03 11:14:51 -08:00
Andrey Petrov
88aca60408 Fix list with big numbers. 2015-01-03 11:07:08 -08:00
empathetic-alligator
bdb66b09e7 Added /version command that outputs commit the server was built on. 2014-12-17 20:22:51 -05:00
Andrey Petrov
99c2cf1756 Fixing race conditions. 2014-12-16 22:35:04 -08:00
Andrey Petrov
3025e59935 Fixing another crash bug? 2014-12-16 22:12:14 -08:00
Andrey Petrov
8bba2e3917 Fix motd, invalid fingerprint, no auth whitelist. 2014-12-16 20:15:37 -08:00
Andrey Petrov
5965172183 Nil pointer crash fix. 2014-12-16 19:20:45 -08:00
empathetic-alligator
96828c25ac Merge branch 'master' of https://github.com/shazow/ssh-chat 2014-12-16 19:43:36 -05:00
Andrey Petrov
b90017bfe6 Fix crash bug. 2014-12-16 14:29:45 -08:00
empathetic-alligator
8329c8d7fd Made whitelisting user async. 2014-12-16 01:23:43 -05:00
empathetic-alligator
3d7ff07587 Updated help text for /whitelist 2014-12-16 00:04:38 -05:00
empathetic-alligator
2a4a005b3c Can now whitelist users by github pubkeys. 2014-12-15 23:55:46 -05:00
Ken Piper
1afe84925d Make /whois ignore any trailing spaces/text 2014-12-15 20:31:13 -05:00
Ken Piper
64e0dbc5c4 Revert 7634d0b170df6bfda41f32e8c66bb75f6144bf69 2014-12-15 20:25:10 -05:00
Ken Piper
b9a929d0d4 Merge 2014-12-15 19:55:16 -05:00
Lawrence Craft
281dafa817 Correcting grammar for troutslap command 2014-12-16 00:03:20 +00:00
Lawrence Craft
fb71e60d99 Adding troutslap command 2014-12-15 21:40:36 +00:00
Ken Piper
7634d0b170 Make highlighting optional for broadcasts
...And beeping on broadcasts, too
2014-12-15 01:21:40 -05: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
807b650f99 Alias /names to /list, closes #28 2014-12-14 19:51:47 -08:00
Andrey Petrov
a7a2173c3f Formatting, simplified motd. 2014-12-14 19:14:34 -08:00
Andrey Petrov
b81324a5b4 Merge pull request #51 from peterhellberg/lint-fix
Fix all lint issues (mainly ALL_CAPS and comments)
2014-12-14 17:14:07 -08:00
Peter Hellberg
86ee6f12c5 Removed type from declaration
(it will be inferred from the right-hand side)
2014-12-15 01:37:58 +01:00
Peter Hellberg
9c20251e9d Merge remote-tracking branch 'upstream/master' into lint-fix
Conflicts:
	client.go
	colors.go
2014-12-15 01:30:38 +01:00
Peter Hellberg
ef2d54ebc8 Fix all lint issues (mainly ALL_CAPS and comments) 2014-12-15 01:12:19 +01:00
empathetic-alligator
49accaa785 Fixed memory leak.
c.Msg was never getting closed on client exit. This should fix issue #48
2014-12-14 18:49:44 -05:00
empathetic-alligator
95ccbe2922 Added /shutdown and /theme to help text. 2014-12-14 18:05:39 -05:00
empathetic-alligator
2f5dbc9391 Fixed formatting and made color default. 2014-12-14 17:39:08 -05:00
empathetic-alligator
6bf5348b4e Resolved merge conflict. 2014-12-14 12:44:16 -05:00
empathetic-alligator
d0ea3f2ca6 Added comments and /shutdown command. 2014-12-14 11:04:29 -05:00
empathetic-alligator
0fd74cb163 Changed /color to /theme and made mono theme default. 2014-12-14 04:39:20 -05:00
Andrey Petrov
f79ada5d63 Merge pull request #39 from jazzychad/whitelist_cmd
adds /whitelist command for ops
2014-12-14 01:17:35 -08:00
empathetic-alligator
c88c30391d Added /colors command to toggle coloring. 2014-12-14 03:11:59 -05:00
Chad Etzel
271c0aa082 adds /whitelist command for ops 2014-12-13 22:56:08 -08:00
Chad Etzel
b5636dba9d add ability to load motd from file - closes #25 2014-12-13 22:42:43 -08:00
Chad Etzel
b909710b59 clean up duplicate commands in OP_HELP_TEXT 2014-12-13 21:00:43 -08:00
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)
928f9ca4ef Typo
When did that get there?
2014-12-13 17:50:12 -06:00
Ken Piper
13043e9a60 Removed escaped messages 2014-12-13 18:36:41 -05:00
Ken Piper
8c690d0676 Merge https://github.com/shazow/ssh-chat 2014-12-13 18:35:06 -05:00
Chad Etzel
0ece568c4f add MOTD output and command 2014-12-13 15:24:55 -08:00
Ken Piper
f57de43d73 Allow escaping for messages beginning with / 2014-12-13 18:08:40 -05: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