69 Commits

Author SHA1 Message Date
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
Andrey Petrov
cc01deb4bb OOops merge conflict. 2014-12-13 13:47:28 -08:00
Andrey Petrov
f2f5fa12cf Merge. 2014-12-13 13:43:12 -08:00
Ken Piper
72ab7fade2 More /help fixes 2014-12-13 16:37:59 -05: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
a8725277d7 missing reset. 2014-12-13 13:26:31 -08:00
Andrey Petrov
35569887c0 Hopefully fix hanging? 2014-12-13 13:05:42 -08:00
Andrey Petrov
820372a975 A kick in the pants. 2014-12-13 11:25:54 -08:00
Andrey Petrov
8b4f05b344 Beep command. 2014-12-13 11:22:43 -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
c5c6a6558f Merge branch 'help' 2014-12-13 10:45:11 -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
Ken Piper
273b61c21b Better documentation for /help
Also added op help text if the user issuing the command is an op
2014-12-13 11:30:54 -05:00
Ken Piper
25dc161348 Block the broadcast of an empty message 2014-12-13 10:57:38 -05:00
Andreas Renberg (IQAndreas)
6d8d533bed Allow for 256 different colors for username colors
I have heard this should be fairly well supported, so I'm hoping these
colors will all show up nicely for everyone.
2014-12-13 06:38:52 -06:00
aquilax
2ae9f0c8e7 Added command to help 2014-12-13 11:35:12 +01:00
Akshay Shekher
6a53c8f7e2 Refactored the code, autocomplete function part of the Server struct(??) 2014-12-13 16:03:06 +05:30
J. Stuart McMurray
ee23c1617a Implement private messages 2014-12-13 05:25:54 -05:00
aquilax
e62755322d Added /uptime command support 2014-12-13 11:14:53 +01:00
Andreas Renberg (IQAndreas)
46d00b3e55 Ugly hack which fixes two colors in a row
This is a horrible hack to "continue" the previous string color and
format after a RESET has been encountered.

This is not HTML where you can just do a </style> to resume your
previous formatting!
2014-12-13 04:01:37 -06:00
Akshay Shekher
d517e9a530 Autocomplete nick support 2014-12-13 15:30:39 +05:30
J. Stuart McMurray
867b1ecde3 Rate-limiting 2014-12-13 04:23:48 -05:00
Andreas Renberg (IQAndreas)
ffe23fa91f Use a greyish color for system messages
This color is easily adjusted
2014-12-13 03:08:33 -06:00
Andreas Renberg (IQAndreas)
d22e80d2c1 Make the user's name colored in all messages 2014-12-13 01:42:23 -06:00
Andreas Renberg (IQAndreas)
1b73035495 Color usernames with colors
(at least next to their messages)
2014-12-13 01:32:48 -06:00
Andreas Renberg (IQAndreas)
7767f3e52b Add basic terminal color support
Also added a little command to test color support. This will come in
handy!
2014-12-13 01:15:02 -06:00