Commit Graph

65 Commits

Author SHA1 Message Date
Liam Stanley
bbccf004ba add: expose CTCP encode/decode; add: Event.IsCTCP()
closes #20
2018-09-30 19:28:09 -04:00
Liam Stanley
b102affd93 Event.Pretty(): fill in reason even if none is given 2018-09-05 20:22:44 -04:00
Liam Stanley
a796f9b02f
event.go: fix spelling; ref #17 2018-09-04 08:58:25 -04:00
nmeum
12274e1704 Fix pretty printing of nick messages (#15) 2018-09-04 08:49:43 -04:00
nmeum
a5d4d6aada add: pretty print invite command (#13) 2018-08-17 07:58:17 -04:00
Liam Stanley
9e7aa2b446 pretty print ircv3 cap list 2018-02-04 15:06:40 -05:00
Liam Stanley
90b702a763 add Event.Timestamp field; add IRCv3 server-time support 2018-01-27 23:42:02 -05:00
Liam Stanley
a9c1bd980a clean up event docs 2018-01-27 21:55:13 -05:00
Liam Stanley
5c0e57078c add Event.Echo field 2018-01-27 21:48:44 -05:00
Liam Stanley
9c368fb527 add Event.Equals method and tests 2018-01-27 07:00:17 -05:00
Liam Stanley
776255db80 add Source.Equals() method 2018-01-27 07:00:05 -05:00
Liam Stanley
c2601da083 use rune literals for ease of reading 2017-11-30 10:23:52 -05:00
Liam Stanley
6e1bd23a28 move error checks to the front, as it's likely to not have a source 2017-08-17 05:02:18 -04:00
Liam Stanley
864c1e6bad add json struct tag formatting 2017-08-08 05:45:45 -04:00
Liam Stanley
35c5ed5946 minor refractor 2017-07-12 01:06:20 -04:00
Liam Stanley
51189b340a remove Event.GetChannel and Event.GetUser in favor of global lookup methods 2017-07-04 01:31:55 -04:00
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