Commit graph

608 commits

Author SHA1 Message Date
Daniel Oaks
24277bb980 ircmsg: re-add LineBytes 2019-04-05 16:39:27 +10:00
Daniel Oaks
94ff59b3d8
Merge pull request #12 from A-UNDERSCORE-D/escaped--fix
fix $c being incorrectly escaped
2019-04-05 16:20:22 +10:00
A_D
b9b105797a
fixed tabbing 2019-04-05 08:05:16 +02:00
A_D
78216e0013
fix being incorrectly escaped 2019-04-05 07:53:13 +02:00
Thomas Jager
0b3c53b324
Merge pull request #117 from l-n-s/ipv6_support
Add IPv6 address support
2019-04-04 16:52:36 +02:00
Viktor Villainov
0d03b4dd26 Add IPv6 support: Use net.SplitHostPort 2019-04-04 10:35:40 -04:00
Viktor Villainov
b9b3e9bcc0 Add IPv6 address support 2019-04-03 17:50:05 -04:00
Thomas Jager
139f940005
Merge pull request #116 from int3l/master
Prevent nil pointer dereference
2019-03-24 15:35:21 +01:00
int3l
c5c6e02b15
Prevent nil pointer dereference
fixes #110
2019-03-24 16:09:35 +02:00
Daniel Oaks
ca74bf6a17
Merge pull request #11 from slingamn/messagetags.6
ircmsg: support ratified message-tags spec
2019-03-07 01:47:40 +00:00
Shivaram Lingamneni
507f0c6b24 add additional test from review feedback 2019-03-06 19:24:38 -05:00
Shivaram Lingamneni
bb05f7991a simplify MakeMessage 2019-03-06 19:00:56 -05:00
Shivaram Lingamneni
74150f6eaf restore simplified Line interface 2019-03-03 15:24:59 -05:00
Shivaram Lingamneni
5853469061 restore simplified ParseLine interface 2019-03-03 15:24:59 -05:00
Shivaram Lingamneni
e0907adffb ircmsg: support ratified message-tags spec 2019-03-03 00:41:32 -05:00
Thomas Jager
dc1855cb43
Merge pull request #111 from IceflowRE/master
Add strikethrough to message filter
2019-03-01 11:51:15 +01:00
Thomas Jager
4a9f9901cc
Merge pull request #115 from irccloud/sasl_fix
Fix issue with SASL auth on some servers
2019-03-01 11:50:49 +01:00
Russ Garrett
6e51f3a4d0
Fix issue with SASL auth on some servers
On some servers SASL auth would fail because we didn't fully comply with
the spec. Multiple caps can be returned in a `CAP ACK`, and sometimes
servers add a trailing space. Parse these responses more correctly.
2019-03-01 10:20:59 +00:00
Thomas Jager
98931bbadb
Merge pull request #114 from MattMcNam/nick
Don’t send NICK and USER commands while negotiating caps
2019-02-21 23:52:39 +01:00
Matthew McNamara
08674caae5 Don’t send NICK and USER while negotiating caps 2019-02-21 22:31:06 +00:00
Thomas Jager
e4af78aa4f
Merge pull request #113 from irccloud/sasl_cap_fix
Fix SASL where additional caps are requested
2019-02-21 15:18:30 +01:00
Russ Garrett
9fa2a77567
Fix SASL where additional caps are requested
Where additional caps were requested using `RequestCaps`, SASL would
send an `AUTHENTICATE` command for each one which servers don't like.
Check that we're responding to the correct `CAP ACK`.
2019-02-21 12:22:37 +00:00
Daniel Oaks
cf199aea71
Merge pull request #10 from A-UNDERSCORE-D/ircfmt-strip
Add strip function to IRCfmt
2019-01-26 16:22:40 +13:00
Daniel Oaks
f17969afaa
Merge pull request #9 from A-UNDERSCORE-D/string-builders
Use string builders instead of string concatenation for ircfmt
2019-01-26 16:22:16 +13:00
A_D
da0e55f0ff
added strip function to ircfmt 2019-01-26 01:50:12 +02:00
A_D
b733ca6c5a
made ircfmt use string builders over string concat 2019-01-26 01:15:07 +02:00
Iceflower
916eeaf7dd
Add strikethrough to message filter
https://modern.ircdocs.horse/formatting.html
2018-09-29 18:43:29 +02:00
Thomas Jager
14f3614f28
Merge pull request #104 from sadbox/parallel
Run all callbacks in parallel
2018-08-16 06:31:03 +02:00
Thomas Jager
54508e33af
Merge pull request #103 from sadbox/master
Add support for Handler timeouts via context
2018-08-16 06:30:43 +02:00
Thomas Jager
f25dab053f
Merge pull request #107 from IceflowRE/master
Add method to get message without formatting
2018-08-16 06:25:45 +02:00
Thomas Jager
3962ef5b5b
Merge pull request #109 from boreq/docs
Improve AddCallback documentation
2018-08-10 07:33:44 +02:00
boreq
6d6a4e3311 Improve AddCallback documentation 2018-08-10 02:04:31 +02:00
Iceflower
e975eae5ba
Add method to get message without formatting 2018-06-26 08:49:07 +02:00
James McGuire
fc944ef429 Run all callbacks in parallel 2018-05-18 15:19:14 -07:00
James McGuire
edafec0fc7 Add support for callback timeouts via context 2018-05-11 19:17:24 -07:00
Daniel Oaks
8d136c4f92
Merge pull request #8 from slingamn/bytesbuffer.1
build IRCMessage using bytes.Buffer
2018-04-30 17:50:55 +10:00
Shivaram Lingamneni
3a1b8b0f0c use bytes.Buffer to build ircmsg.IRCMessage for sending 2018-04-26 23:34:04 -04:00
Shivaram Lingamneni
c098b46276 add some test code 2018-04-26 23:32:27 -04:00
Thomas Jager
5063e5f260
Merge pull request #96 from qaisjp/feature/webirc
Add WebIRC field
2018-04-09 15:01:47 +02:00
Daniel Oaks
1cb16094f0 ircmsg: Make ircmsg respect emoji in tags 2018-02-11 01:12:16 +10:00
Daniel Oaks
55652e4096 ircfmt: Add Reverse Colour (0x16) 2017-12-29 11:19:27 +10:00
Daniel Oaks
e028586483 ircfmt: Fix unescape function and tests 2017-12-26 10:27:00 +10:00
Daniel Oaks
ed988e36d1 ircfmt: Support monospace and strikethrough, make the escaping function much less fragile 2017-12-25 22:16:25 +10:00
Qais Patankar
81cb5e9132
Merge branch 'master' into feature/webirc 2017-12-24 19:08:48 +00:00
Qais Patankar
d5dbd683d9
Merge branch 'master' into feature/webirc 2017-12-24 19:08:02 +00:00
Thomas Jager
db5bd176f7
Merge pull request #99 from prologic/master
Add realname support. Guard against race conditions on Disconnect
2017-11-13 09:21:06 +01:00
James Mills
547dde5ba3
Do not Disconnect() on ERROR events (e.g: KILL). 2017-11-12 18:53:49 -08:00
James Mills
656226dc22
Add realname support. Guard against race conditions on Disconnect 2017-11-12 18:53:49 -08:00
Thomas Jager
ef65ae61a3 Merge pull request #94 from irccloud/ircv3-tags
IRCv3 capability negotiation and tag parsing
2017-10-13 19:30:29 +02:00
Daniel Oaks
3a2b80af9b ircfmt: Allow unicode characters 2017-10-09 07:29:36 +10:00