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
Thomas Jager
12e0f85112
Merge pull request #97 from pztrn/pztrn_master
...
Fix dataraces and possible application stuck
2017-10-03 08:19:41 +02:00
Stanislav N. aka pztrn
5a0a900995
Pings are also wrapped with own sync.Mutex.
2017-10-03 02:19:13 +05:00
Stanislav N. aka pztrn
e39cceace6
Added eventsMutex and wrap all events calls with it.
...
Due to some "golangish" code this library have possibility to
run into data race when application is working with callbacks.
This commit adds eventsMutex (which is a sync.Mutex), removed
all "golangish" ifs-map reads, and wrap events map read with
sync.Mutex to avoid data races.
2017-10-03 02:03:43 +05:00
Daniel Oaks
a5eafb7ec8
ircmsg: add ParseTags function to allow parsing of tag-like strings arbitrarily
2017-08-24 08:39:31 +10:00
Qais Patankar
c359ee2670
Add WebIRC field
2017-08-18 16:56:08 +01:00
Daniel Oaks
ea7e22b650
ircmsg: Fix tests
2017-08-15 08:55:15 +10:00
Daniel Oaks
26e46394dd
ircmsg: Add SourceLine param to represent the line that constructed the current message
2017-08-15 08:39:39 +10:00
Darren
b081c1a2fb
Merge pull request #6 from euank/duration
...
client: remove extraneous `ParseDuration` call
2017-08-13 02:18:54 +01:00
Euan Kemp
60c1696ddc
client: remove extraneous ParseDuration
call
2017-08-12 17:46:13 -07:00
Daniel Oaks
8db175734c
Remove the alpha notifications on a bunch of libs,t hey're stable now
2017-08-09 08:32:11 +10:00
Daniel Oaks
9ae435d3f0
client: Always send tags as a map (never a *map), add IsChannel for easy target checking
2017-07-24 14:27:09 +10:00
Daniel Oaks
c9577d7c34
client: Allow joining channels
2017-07-24 09:22:22 +10:00
Daniel Oaks
15b891f31d
client: Don't request echo-message by default
2017-07-23 22:55:55 +10:00
Daniel Oaks
28a5d8eed1
Rename lib
2017-06-15 10:21:10 -06:00