96 Commits

Author SHA1 Message Date
Andrey Petrov
7b3818acc1 refactor: host.UserMember{chat.Member} -> host.Member{chat.Member} 2017-04-28 11:43:15 -04:00
Andrey Petrov
cd5686e20e refactor: Move extraneous User interfaces from chat to host 2017-04-28 11:43:15 -04:00
Andrey Petrov
e86996e6b5 progress: Host User interface, and more interfaces in general, tests pass 2017-04-28 11:43:15 -04:00
Andrey Petrov
3ef404198d tests: All passing again 2017-04-28 11:43:15 -04:00
Andrey Petrov
5f2a230ecc progress: broken: Multi-client support, tests fail, Whois factored 2017-04-28 11:43:15 -04:00
Andrey Petrov
91718a511b progress: refactor: Remove Identifier interface, reverse ownership of sshchat identity and message.User 2017-04-28 11:43:15 -04: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
4e9bd419b0 Close connection on channel close? 2014-12-19 20:04:40 -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
Andreas Renberg (IQAndreas)
0c7c53eee1 Use 'sysmsg' for private message system messages
That way it gets nice and pretty colors
2014-12-13 16:16:08 -06:00