Russ Garrett
2d0ed40435
Add an overall timeout on CAP negotiation
...
At the moment it just hangs if the server doesn't support CAP. This adds
a 15 second timeout to the CAP negotiation process, after which the
connection continues.
The timeout and error on failed SASL negotiation is preserved.
2019-05-12 10:29:21 +01:00
Andrew
385cdbd797
gofmt
2019-05-10 21:37:16 +10:00
Andrew
fd9559d0aa
add consistant command args array to to simple commands event
2019-05-10 21:36:08 +10:00
Daniel Oaks
0567c0ee53
Merge pull request #18 from iownall555/master
...
Basic Command Handler
2019-05-08 12:14:59 +10:00
Andrew
ac99fbdf85
change split to fields
2019-05-08 11:56:12 +10:00
Andrew
48af37d999
run go fmt over the client file since my editor likes to chowder indents
2019-05-08 11:40:28 +10:00
Andrew
9ca236b9e0
move command prefixes to ServerConnection and update functions to use it
2019-05-08 11:38:05 +10:00
Andrew
25d0fa8e69
Change dispatchBasicCmd to reflect the new new command handler
2019-05-08 11:24:17 +10:00
Andrew
9159419f76
add RegisterCommand
2019-05-08 10:07:13 +10:00
Andrew
2fa95f607d
Merge remote-tracking branch 'upstream/master'
2019-05-07 16:46:46 +10:00
Daniel Oaks
3905db30fa
Merge pull request #19 from iownall555/fprintf-fix
...
Correct incorrect usage of fmt.Fprintf
2019-05-06 10:04:55 +10:00
Andrew
0675bf18e0
Correct incorrect usage of fmt.Fprintf
2019-05-06 09:28:11 +10:00
Andrew
0e3a2f7774
Correct issue with multiple params in basic commands
2019-05-06 09:13:01 +10:00
Andrew
e1e4e900f8
gofmt
2019-05-04 10:01:18 +10:00
Andrew
edcbd2035a
Add basic command handler
2019-05-04 09:53:46 +10:00
Daniel Oaks
be1bb797f4
Merge pull request #17 from goshuirc/fix-travis-maybe
...
Fix travis
2019-04-29 12:11:44 +10:00
Daniel Oaks
fc2ba9e42c
Try
2019-04-29 12:06:09 +10:00
Daniel Oaks
7454d117cc
Merge pull request #16 from goshuirc/allow-custom-channel-prefixes
...
ircmap: Allow custom channel prefixes when folding
2019-04-29 11:58:18 +10:00
Daniel Oaks
b98693494e
ircmap: maps are always passed by ref lol, no need to do dis
2019-04-29 11:57:18 +10:00
Daniel Oaks
d5136e608d
ircmap: Allow custom channel prefixes when folding
2019-04-29 11:49:40 +10:00
Daniel Oaks
21db2bf045
ircmap: Add a few more chan prefixes
2019-04-29 11:34:28 +10:00
Daniel Oaks
694173c1fd
ircmap: Fix Unicode test, update to match spec
2019-04-29 11:30:21 +10:00
Daniel Oaks
0f771dff99
Merge pull request #15 from iownall555/master
...
Update the Example IRC-Go Client to Function with the New Tag Handling System
2019-04-29 11:05:18 +10:00
Andrew
a4291232b0
fix broken param in reactor_test
2019-04-29 10:44:34 +10:00
Andrew
8f4aac5afa
Correct function params to accurately reflect how tags are now handled
2019-04-29 10:42:52 +10:00
Andrew
70e4f8ab90
Change old ircmsg.TagValue to string
2019-04-29 10:13:17 +10:00
Daniel Oaks
5ac2a98bf5
Merge pull request #14 from A-UNDERSCORE-D/strip-fix
...
Reimplement ircfmt.Strip() to fix issues with $c
2019-04-12 02:27:21 +00:00
A_D
7e1c9b490f
gofmt-ed test file
2019-04-11 14:55:59 +02:00
A_D
8ab8147d71
reimplemented Strip(). fixes #13
2019-04-11 11:07:25 +02:00
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