Commit Graph

219 Commits

Author SHA1 Message Date
Andrey Petrov 4dd80fb822 Tests pass. 2015-01-01 18:51:34 -08:00
Andrey Petrov 6a662bf358 Channel Member now wrapping User with metadata, new Auth struct. 2015-01-01 18:40:10 -08:00
Andrey Petrov 6874601c0b Op command support, and /op 2015-01-01 17:09:08 -08:00
Andrey Petrov 3b5f4faf76 Padded help output, because why not. 2015-01-01 16:17:58 -08:00
Andrey Petrov fb7cd83821 CommandHandler func -> Command struct 2015-01-01 15:37:28 -08:00
Andrey Petrov 6f7410c7a0 Making a dent in golint: 94 -> 70 2014-12-26 17:59:29 -08:00
Andrey Petrov 4c5dff7960 Themes are working, and /theme command. 2014-12-26 17:40:57 -08:00
Andrey Petrov f3a4045ed9 Added /nick, /names 2014-12-26 16:05:04 -08:00
Andrey Petrov b40136c3e1 Added /nick and /exit commands. 2014-12-26 14:34:13 -08:00
Andrey Petrov 325f8921da /me works now, with test. 2014-12-26 12:26:53 -08:00
Andrey Petrov 999e1919e7 Tests pass. 2014-12-26 12:20:44 -08:00
Andrey Petrov 5dad20d241 close once, handleMsg api consistency. 2014-12-26 12:11:03 -08:00
Andrey Petrov dac5cfbb5e Split up message types, added exit codes, basic command handling. 2014-12-25 16:25:02 -08:00
Andrey Petrov 3bb4bbf991 AutoCompleteFunction is back. 2014-12-25 00:37:50 -08:00
Andrey Petrov d3b0a56d78 Added Host struct. 2014-12-25 00:09:43 -08: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 601a95c1cd Progress trying to make things less buggy, not much. 2014-12-22 22:54:29 -08:00
Andrey Petrov eda2b7c0d9 Super broken but kinda working. 2014-12-22 22:21:07 -08:00
Andrey Petrov a1d5cc6735 Set.Each, also builtin Channel broadcast goroutine 2014-12-22 21:47:07 -08:00
Andrey Petrov 7beb7f99bb Testing for net. 2014-12-22 15:53:30 -08:00
Andrey Petrov 59ac8bb037 sshd abstraction might be done, untested. 2014-12-22 14:26:26 -08:00
Andrey Petrov 54b593ed47 Message tests. 2014-12-21 14:30:42 -08:00
Andrey Petrov bcfacb89b1 Fix message rendering, tests pass. 2014-12-21 14:24:03 -08:00
Andrey Petrov 137e84db79 Messing with the API more, tests pass. 2014-12-21 12:17:01 -08:00
Andrey Petrov bf3cc264e6 A bit of logging framework, and channel test. 2014-12-21 10:17:14 -08:00
Andrey Petrov 1652511bf2 Progress, most of this probably doesnt work. 2014-12-20 20:21:41 -08:00
Andrey Petrov 4c8d73b932 Framework for server-agnostic chat. 2014-12-20 16:45:10 -08:00
Andrey Petrov 4e9bd419b0 Close connection on channel close? 2014-12-19 20:04:40 -08:00
Andrey Petrov cfa97df306 Merge pull request #84 from empathetic-alligator/version_make
Added /version command.
2014-12-17 17:27:14 -08:00
empathetic-alligator 9127234acf Merge branch 'master' of https://github.com/shazow/ssh-chat into version_make 2014-12-17 20:23:32 -05: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 8d50357dae Merge pull request #70 from mvrilo/name-autocomplete
Lowercase prefix to tab-complete names with mixed case
2014-12-17 15:33:57 -08:00
Murilo Santana 15a5052c33 Merge branch 'master' into name-autocomplete
Conflicts:
	server.go
2014-12-17 21:30:39 -02:00
Andrey Petrov 59ed9a6bae Merge pull request #79 from mvrilo/master
Moving Lock() call in Rename
2014-12-17 10:04:26 -08: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 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 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
Andrey Petrov 5965172183 Nil pointer crash fix. 2014-12-16 19:20:45 -08:00
Andrey Petrov 1d64f59c0c Merge pull request #72 from empathetic-alligator/master
Can now whitelist users by github pubkeys.
2014-12-16 18:36:41 -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
Andrey Petrov b90017bfe6 Fix crash bug. 2014-12-16 14:29:45 -08:00