Commit Graph

49 Commits

Author SHA1 Message Date
Liam Stanley
1f66c9ffec rewrite state to support separate dataset for users 2017-07-04 01:29:22 -04:00
Liam Stanley
0034a58683 fix event parsing bug when lines contain trailing prefix without trailing space 2017-06-12 07:29:10 -04:00
Liam Stanley
e221d0fb62 add event channel and user helper methods 2017-06-09 19:11:25 -04:00
Liam Stanley
1810c882c2 remove unneeded truncation due to tags 2017-04-18 14:45:33 -04:00
Liam Stanley
9cb3f3c522 implement Source.Copy(), and rewrite Event.Copy() 2017-04-18 06:20:33 -04:00
Liam Stanley
ef290be026 don't print sensitive events, additional handling for sending to server 2017-02-14 01:25:13 -05:00
Liam Stanley
8924cd4a17 fix bug with Event.Copy() not deep copying event 2017-02-13 09:42:13 -05:00
Liam Stanley
27efadda57 implement commands 2017-02-13 07:52:29 -05:00
Liam Stanley
74d2c90cf3 prefixUser -> prefixMask 2017-02-13 04:47:20 -05:00
Liam Stanley
e397b04d3f merge Source/Event into a single file 2017-02-13 04:46:05 -05:00
Liam Stanley
c4aa30561d minor cleanup; add golint to travis-ci 2017-02-13 03:18:55 -05:00
Liam Stanley
63ae092b97 minor documentation cleanup 2017-02-13 03:11:50 -05:00
Liam Stanley
b266464f59 remove Sprintf call 2017-02-13 01:47:17 -05:00
Liam Stanley
297970e01d implement ctcp support to Event.Pretty() 2017-02-12 02:43:33 -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
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
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
f62e8030c4 fix JOIN prettification when extended-join is used 2017-02-08 01:27:33 -05:00
Liam Stanley
01fc509fc2 add prettification to MODE events 2017-02-07 06:25:27 -05:00
Liam Stanley
7fa7976ff4 minor cleanup 2017-02-07 05:33:58 -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
310d0052d6 re-implement Config.Logger; add Config.Debugger, and implement Event.Pretty(). 2017-02-03 08:54:44 -05:00
Liam Stanley
0f9e1e91ac fix tag length bug 2017-01-20 06:49:10 -05:00
Liam Stanley
42092970a7 remove Event.String(); rename Raw() to String() 2017-01-20 06:48:42 -05:00
Liam Stanley
0870acadcb fix bug which caused messages with colons within the prefix to have invalid trailing data 2017-01-06 07:52:51 -05:00
Liam Stanley
714a315ef0 yay new year 2017-01-03 11:05:27 -05:00
Liam Stanley
f3b1c1e940 initial support for message tags 2017-01-03 11:02:24 -05:00
Liam Stanley
3abefe033c start working on ctcp handling 2016-12-24 00:15:41 -05:00
Liam Stanley
3364fbdbe6 minor fixes for IsFromUser and IsFromChannel 2016-12-23 20:01:40 -05:00
Liam Stanley
090976be59 implement IsFromChannel and IsFromUser 2016-12-23 18:35:04 -05:00
Liam Stanley
7385d47e73 remove Sender; merge with event.go 2016-11-22 21:58:26 -05:00
Liam Stanley
b53fcecfc5 fix docs; strip newlines from events during byte and string conversion 2016-11-22 19:32:14 -05:00
Liam Stanley
6e9255bc1f re-write Event.String() and add new stringer 2016-11-19 10:55:19 -05:00
Liam Stanley
a27267a822 rename Prefix to Source 2016-11-19 09:36:17 -05:00
Liam Stanley
ea9381b0ce rewrite IsValidChannel() 2016-11-18 17:10:58 -05:00
Liam Stanley
7694378be0 implement IsValidNick() 2016-11-18 15:17:09 -05:00
Liam Stanley
2c74241e3f implement Client.SendRaw() and Client.SendRawf() 2016-11-17 14:55:09 -05:00
Liam Stanley
1077762521 overhaul of docs; add additional Config.Disable* directives. 2016-11-14 06:50:14 -05:00
Liam Stanley
ef5e766162 remove indexByte 2016-11-13 09:23:05 -05:00
Liam Stanley
a1d4292a81 minor code refactoring 2016-11-13 09:21:54 -05:00
Liam Stanley
0897771bfb implement Event.IsAction() and Event.StripAction() 2016-11-13 09:10:34 -05:00
Liam Stanley
9eb8365acb first commit 2016-11-13 03:30:43 -05:00