Commit Graph

345 Commits

Author SHA1 Message Date
Liam Stanley
6c8215c842 Format -> Fmt, StripFormat -> TrimFmt 2017-06-07 06:35:02 -04:00
Liam Stanley
371ce2de16 implement Reply, Replyf, ReplyTo and ReplyTof 2017-06-07 05:03:36 -04:00
Liam Stanley
cc32c679cb add GlobalFormat config option 2017-06-07 04:39:52 -04:00
Liam Stanley
d8d502c44c remove message and messagef related functions from events 2017-06-07 01:23:01 -04:00
Liam Stanley
502faa1361 herpderp need more coffee 2017-05-07 14:36:08 -04:00
Liam Stanley
dde13dadf3 derpy test 2017-05-07 14:20:16 -04:00
Liam Stanley
327e795e49 move mutex 2017-05-07 13:23:55 -04:00
Liam Stanley
4942e00007 Merge branch 'master' of github.com:lrstanley/girc 2017-05-07 13:00:36 -04:00
Liam Stanley
23f4af005f update examples 2017-05-07 13:00:02 -04:00
Liam Stanley
f25f47d823 implement proper close support 2017-05-07 12:39:16 -04:00
Liam Stanley
eeec425a7b test to see if webhook pushes are gone 2017-04-26 13:28:11 -04:00
Liam Stanley
c3dea79f51 additional tests 2017-04-24 11:55:52 -04:00
Liam Stanley
573ddd7583 fix data races for state 2017-04-24 11:55:30 -04:00
Liam Stanley
94995c9649 reduce data leaks for Client.conn 2017-04-24 11:42:29 -04:00
Liam Stanley
aa1ff24930 fix GetHost() and GetIdent(); refractor 2017-04-24 11:22:45 -04:00
Liam Stanley
d22bb4a5c8 update doc 2017-04-24 11:17:30 -04:00
Liam Stanley
6a0906537e implement ability to specify sasl chunk size 2017-04-24 10:39:40 -04:00
Liam Stanley
039539a6a3 implement basic support for sasl plain 2017-04-23 14:03:12 -04:00
Liam Stanley
9542a7aac6 Password -> ServerPass 2017-04-23 12:16:44 -04:00
Liam Stanley
0099cb4799 add docs to HandlerError 2017-04-23 11:08:23 -04:00
Liam Stanley
5324b4a524 update readme 2017-04-19 09:21:18 -04:00
Liam Stanley
09553fc8f5 add 2m test timeout, re-run tests 3 times, and remove 1.6/add 1.7 2017-04-19 09:15:53 -04:00
Liam Stanley
5d1cb98a86 add reconnect logic example 2017-04-18 14:51:34 -04:00
Liam Stanley
60155666c3 more tests for connections and events 2017-04-18 14:45:52 -04:00
Liam Stanley
1810c882c2 remove unneeded truncation due to tags 2017-04-18 14:45:33 -04:00
Liam Stanley
571c5c3758 fix separation bug with tag string conversion 2017-04-18 14:44:35 -04:00
Liam Stanley
6bbd53edd8 refractor quite a bit of connect logic, and errors 2017-04-18 11:06:19 -04:00
Liam Stanley
9cb3f3c522 implement Source.Copy(), and rewrite Event.Copy() 2017-04-18 06:20:33 -04:00
Liam Stanley
22e4b8c8a4 utilize local waitgroup 2017-04-18 06:16:28 -04:00
Liam Stanley
e06b101981 clean up ctcp tests 2017-04-18 05:00:04 -04:00
Liam Stanley
9fc92e8da8 extra stack info to handler registration and exec 2017-04-18 04:59:51 -04:00
Liam Stanley
50a8f70e6f utilize mutex for conn state 2017-04-18 03:17:15 -04:00
Liam Stanley
4951996f3a the start of more refactoring 2017-03-31 14:30:52 -04:00
Liam Stanley
4c22001fe2 update doc 2017-03-30 09:09:58 -04:00
Liam Stanley
754652060a clean up examples a bit 2017-03-30 05:02:43 -04:00
Liam Stanley
2c7ecf8d9f fix bug because unrealircd 2017-03-15 23:08:53 -04:00
Liam Stanley
9ef5ad76b4 remove starttls, due to horrid inconsistencies 2017-02-26 13:25:30 -05:00
Liam Stanley
5d1d691d22 clean up unneeded ERR_STARTTLS handler if no response was given 2017-02-22 00:26:43 -05:00
Liam Stanley
27660fb595 add some tests for various connection methods 2017-02-22 00:25:04 -05:00
Liam Stanley
220e310a01 add additional test to validate users 2017-02-22 00:24:46 -05:00
Liam Stanley
70a6fe8739 clean up config validation a bit 2017-02-22 00:24:23 -05:00
Liam Stanley
05d37d0840 utilize rfc1459 case mapping during comparisons 2017-02-21 23:16:29 -05:00
Liam Stanley
4ec34eb268 implement ToRFC1459(); implement Glob() 2017-02-21 22:53:52 -05:00
Liam Stanley
fcef03e022 add invite-notify to CAP support 2017-02-21 10:12:46 -05:00
Liam Stanley
6d62d7437d implement STARTTLS auto-negotiation 2017-02-21 09:18:57 -05:00
Liam Stanley
0e06bec55b add STARTTLS command/response to constant tables 2017-02-21 09:18:40 -05:00
Liam Stanley
cc94cb84d0 add done channel to Caller.AddTmp to be notified of when it is done 2017-02-21 09:18:09 -05:00
Liam Stanley
18112a7d63 refractor conn.go 2017-02-21 06:14:55 -05:00
Liam Stanley
cdac81184a implement Caller.AddTmp for temporary handlers 2017-02-21 02:26:14 -05:00
Liam Stanley
14091fe17f fix bug with Caller.Remove which was not removing handlers 2017-02-21 02:13:21 -05:00