Commit Graph

42 Commits

Author SHA1 Message Date
Ken-Håvard Lieng f2504cc245 Add RPL_ISUPPORT parsing 2018-04-28 20:31:44 +02:00
Ken-Håvard Lieng f72253966b Throw more test cases at the message parser, fix edge case 2018-04-27 02:56:35 +02:00
Ken-Håvard Lieng c005fc7cae Add initial support for choosing to still connect when the server uses a self-signed cert and verify_vertificates is turned on 2017-07-04 11:28:56 +02:00
Ken-Håvard Lieng 3f70567d56 Trim whitespace off IRC messages 2017-07-03 23:31:14 +02:00
Ken-Håvard Lieng 0a96ebb428 Improve connection handling 2017-07-03 07:35:38 +02:00
Ken-Håvard Lieng 9dffb541b9 Print ERROR messages 2017-07-03 07:25:38 +02:00
Ken-Håvard Lieng 18aff3ded6 Show last IRC connection error in status tab, log IRC connection errors 2017-07-02 03:31:00 +02:00
Ken-Håvard Lieng f174d98107 Support changing the nick by clicking it in MessageInput 2017-06-21 07:23:07 +02:00
Ken-Håvard Lieng 4a74463ae8 Return empty string from LastParam() if theres no params 2017-06-21 07:20:31 +02:00
Ken-Håvard Lieng aa59e71745 Forward irc errors to the client, improve command validation and feedback, handle topic changes 2017-05-28 07:20:43 +02:00
Ken-Håvard Lieng 06977c9b44 Fix tests 2017-04-13 01:59:16 +02:00
Ken-Håvard Lieng b2e3e995ce Wait for server comfirmation before updating nick 2017-04-13 01:50:58 +02:00
Ken-Håvard Lieng ee42e5300a Update irc nick test 2017-04-11 06:14:45 +02:00
Ken-Håvard Lieng e84f2dd993 Improve nick change handling 2017-04-11 06:04:59 +02:00
Ken-Håvard Lieng b2263a4527 Add ErrNicknameInUse constant 2017-04-06 23:31:11 +02:00
Ken-Håvard Lieng 961c0415a0 Handle nick collisions by right-padding with _ 2017-04-06 23:26:58 +02:00
Ken-Håvard Lieng 29abe1f2a2 Use RSA test key with NULL parameters 2017-02-17 02:09:50 +01:00
Ken-Håvard Lieng cc3b1e3a82 Add Message.LastParam() 2016-12-17 00:11:44 +01:00
Ken-Håvard Lieng 83056c5396 Prevent panicing when parsing invalid messages 2016-12-16 23:49:37 +01:00
Daniel Oaks 0293a7f4a5 Remove Trailing param 2016-12-12 16:42:12 +10:00
Ken-Håvard Lieng cd317761c5 Switch from Godep to go vendoring 2016-03-01 01:51:26 +01:00
Ken-Håvard Lieng 875f5fafe3 Rejoin channels after reconnecting 2016-02-03 21:12:32 +01:00
Ken-Håvard Lieng a9031eb532 Remove select statement in irc.recv() 2016-01-24 22:02:37 +01:00
Ken-Håvard Lieng 6865bf2832 Handle IRC client closing better 2016-01-15 08:26:06 +01:00
Ken-Håvard Lieng 796bbd834e Add verify_client_certificates to the config 2016-01-14 06:17:53 +01:00
Ken-Håvard Lieng 2bffef825d Log IRC connection errors 2016-01-14 04:28:42 +01:00
Ken-Håvard Lieng 58caacd269 Fix IRC client tests 2016-01-13 20:13:07 +01:00
Ken-Håvard Lieng 48496b4285 Uncomment TestRecvTriggersReconnect 2016-01-13 19:17:13 +01:00
Ken-Håvard Lieng cbbfda3e36 Recover panics in irc.Client.recv() 2016-01-13 19:06:55 +01:00
Ken-Håvard Lieng f429a528ba Add IRC connection status indicator 2016-01-13 18:53:54 +01:00
Ken-Håvard Lieng 83aef5df7b Store the backoff in the client struct 2016-01-13 01:00:57 +01:00
Ken-Håvard Lieng c22b7d2a1d Improve IRC connection handling 2016-01-13 00:12:51 +01:00
Ken-Håvard Lieng 6f9f3cff95 Check if conn is nil before closing 2016-01-12 22:03:49 +01:00
Ken-Håvard Lieng 937560e859 Add support for client certificates 2016-01-11 21:04:57 +01:00
Ken-Håvard Lieng 0259787fe9 Update all client dependencies 2015-12-12 00:43:23 +01:00
Ken-Håvard Lieng 909ffd1998 Use resettable sync.Once instead of reassignment 2015-12-11 17:10:32 +01:00
Ken-Håvard Lieng eeb45e17c2 Name it 2015-12-11 04:35:48 +01:00
Ken-Håvard Lieng 6a5680e299 Add more IRC client tests 2015-06-11 04:57:52 +02:00
Ken-Håvard Lieng 4f0ad5e6d9 Add IRC client connection tests 2015-06-11 02:04:51 +02:00
Ken-Håvard Lieng c78ca7318c Add more parseMessage() test cases, handle a prefix edge case 2015-06-10 22:53:38 +02:00
Ken-Håvard Lieng da8915328d Add some tests to the IRC client 2015-06-10 06:17:53 +02:00
Ken-Håvard Lieng adcf12e1fa Pull IRC client out 2015-06-06 00:34:13 +02:00