Commit Graph

332 Commits

Author SHA1 Message Date
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
Liam Stanley
e29709e8a3 fix a bug with cuidToID which wasn't properly splitting the cuid 2017-02-21 02:12:30 -05:00
Liam Stanley
fa20cdac87 remove separation between CAP and regular tracking 2017-02-21 00:20:57 -05:00
Liam Stanley
54acd5fb7e implement GetIdent() and GetHost() on Client, clean up panic handling 2017-02-20 23:02:45 -05:00
Liam Stanley
35ab20bc9f don't execute internal handlers when there is no source 2017-02-20 22:28:13 -05:00
Liam Stanley
882bdb5862 make parts of CModes public 2017-02-20 21:32:51 -05:00
Liam Stanley
59d4358d66 make isValidChannelMode public 2017-02-20 21:30:44 -05:00
Liam Stanley
fabc1c65b8 update docs; remove Client.DisableNickCollision; implement Config.HandleNickCollide 2017-02-20 21:03:35 -05:00
Liam Stanley
650e301ccc implement Client.Lag() 2017-02-20 20:39:16 -05:00
Liam Stanley
e57ac9cdb4 be less redundant 2017-02-17 05:30:29 -05:00
Liam Stanley
6788aa81f8 update documentation 2017-02-14 07:37:04 -05:00
Liam Stanley
3ded5b433a start working on making state accessible 2017-02-14 07:33:05 -05:00
Liam Stanley
9818cded91 Debug->Debugger; implement client side ping tracking; implement Config.Out; implement Config.PingDelay 2017-02-14 02:14:38 -05:00
Liam Stanley
ef290be026 don't print sensitive events, additional handling for sending to server 2017-02-14 01:25:13 -05:00