Commit Graph

243 Commits

Author SHA1 Message Date
Liam Stanley
69a6d77ac8 Callbacks -> Handlers 2017-02-11 22:51:05 -05:00
Liam Stanley
c9243b15b3 remove event limiter tests 2017-02-11 22:00:48 -05:00
Liam Stanley
b06fb6e930 lots of refactoring: remove data races, cleanup connection handling, goroutine leaks, rate limiting 2017-02-11 22:00:01 -05:00
Liam Stanley
e254c6ab58 implement disconnect/stop virtual events 2017-02-11 21:51:30 -05:00
Liam Stanley
af631a82f2 implem,ent state.rate() 2017-02-11 21:51:11 -05:00
Liam Stanley
43495a17ef don't panic if reconnect() is called internally 2017-02-11 18:06:08 -05:00
Liam Stanley
fb8b55718d add license to readme 2017-02-09 16:03:49 -05:00
Liam Stanley
256f70a976 remove year from LICENSE 2017-02-09 16:03:27 -05:00
Liam Stanley
ba1adc207e herpderp 2017-02-08 17:47:53 -05:00
Liam Stanley
7ba8001f27 look into supporting copy, without reflection 2017-02-08 17:42:46 -05:00
Liam Stanley
caac8e8e8d clean up examples a bit 2017-02-08 03:23:31 -05:00
Liam Stanley
f2fd30343d remove license and issues badges due to issues with img.shields.io 2017-02-08 03:13:43 -05:00
Liam Stanley
c609a55864 implement Config.HandleError 2017-02-08 03:08:13 -05:00
Liam Stanley
82f34d9777 remove ability to disable default CTCP; config->Config, move Disable* fields into functions 2017-02-08 02:55:38 -05:00
Liam Stanley
68a5be5049 implement Caller.clearInternal() 2017-02-08 02:53:14 -05:00
Liam Stanley
de697eb4e5 implement CModes.Get() 2017-02-08 02:18:53 -05:00
Liam Stanley
c164d69de5 add host to pretty join evvents 2017-02-08 02:14:14 -05:00
Liam Stanley
8b74da5cfa add prettification for RPL_TOPIC 2017-02-08 02:08:17 -05:00
Liam Stanley
10780ec8ae add prettification for ACCOUNT events 2017-02-08 01:54:24 -05:00
Liam Stanley
66b26a6065 add prettification for CHGHOST events 2017-02-08 01:50:17 -05:00
Liam Stanley
86463e03d5 add prettification for AWAY events 2017-02-08 01:48:01 -05:00
Liam Stanley
775435b722 update documentation 2017-02-08 01:44:37 -05:00
Liam Stanley
d96e95be7f better LastActive tracking for users 2017-02-08 01:38:37 -05:00
Liam Stanley
f62e8030c4 fix JOIN prettification when extended-join is used 2017-02-08 01:27:33 -05:00
Liam Stanley
1f7063c245 add support for ircv3's multi-prefix functionality 2017-02-08 01:25:22 -05:00
Liam Stanley
03d0b5de8c add support for ircv3's userhost-in-names 2017-02-08 01:19:45 -05:00
Liam Stanley
8489a4860e add support for ircv3's extended-join 2017-02-08 00:56:48 -05:00
Liam Stanley
f50ede5a58 add additional noting in regards to channel id lengths and ISUPPORT 2017-02-07 06:28:35 -05:00
Liam Stanley
01fc509fc2 add prettification to MODE events 2017-02-07 06:25:27 -05:00
Liam Stanley
3caa790524 correct socket timeout bug 2017-02-07 06:21:56 -05:00
Liam Stanley
f4df7e57fe implement CModes.HasMode() 2017-02-07 06:16:10 -05:00
Liam Stanley
5dc6abca2a rename MaxRetries -> Retries 2017-02-07 06:12:30 -05:00
Liam Stanley
dc5c0ddc3e update docs for new mode additions 2017-02-07 06:08:17 -05:00
Liam Stanley
9593d1caea panic when client used after Stop(); cleanup goroutine cleanup to help garbage collection 2017-02-07 05:44:21 -05:00
Liam Stanley
c8ee37f2fa ignore nil events that one may attempt to execute 2017-02-07 05:34:33 -05:00
Liam Stanley
6cc7ae1627 better description if returned results 2017-02-07 05:34:15 -05:00
Liam Stanley
7fa7976ff4 minor cleanup 2017-02-07 05:33:58 -05:00
Liam Stanley
33dfd10a13 initial push to track MODE events 2017-02-06 08:02:26 -05:00
Liam Stanley
52e05d3c15 success -> ok 2017-02-06 03:53:05 -05:00
Liam Stanley
10d5bfd60f rename UserModes -> UserPerms and parseUserModes -> parseUserPrefix 2017-02-06 03:26:32 -05:00
Liam Stanley
62d007b448 rename state.getUsers() to state.lookupUsers() 2017-02-06 02:46:38 -05:00
Liam Stanley
ba03de710d update copyright to remove year 2017-02-06 02:45:31 -05:00
Liam Stanley
d2d55aa0e0 update docs 2017-02-05 07:46:32 -05:00
Liam Stanley
c95a5032ee add prettificaion for INITIALIZATION and CONNECTED events 2017-02-05 07:43:20 -05:00
Liam Stanley
5aa9303fd3 remove SUCCESS, add INITIALIZED for use with validating socket connection 2017-02-05 07:42:59 -05:00
Liam Stanley
9ee2f208d7 update handlePING to use Client.Pong 2017-02-05 07:24:19 -05:00
Liam Stanley
a893c16006 update warnings in readme 2017-02-05 07:23:00 -05:00
Liam Stanley
37b380a564 rename Client.Config to client.config to prevent potential raceconditions or silly behavior 2017-02-05 07:11:59 -05:00
Liam Stanley
af22c0a64c remove unneeded c.IsConnected() checks; implement Whois(), Ping(), Pong(), Oper(), Kick(), Invite(), Away(), Back(), and List() 2017-02-05 07:09:48 -05:00
Liam Stanley
1eb80a05db Client.Who should support channels/users/nicks 2017-02-05 06:12:49 -05:00