Commit Graph

544 Commits

Author SHA1 Message Date
Daniel Oaks
05ecc95249
Merge pull request #21 from slingamn/extraspaces.2
allow multiple spaces between sections and parameters
2019-07-13 10:15:46 +10:00
Shivaram Lingamneni
4ff9a1babb test \r and \n in message bodies 2019-07-12 18:42:17 -04:00
Shivaram Lingamneni
d3f23f4ea7 trim to newline bytes more aggressively 2019-07-12 18:42:07 -04:00
Shivaram Lingamneni
75aee58953 allow multiple spaces between parameters 2019-07-12 13:16:09 -04:00
Thomas Jager
949efec008
Merge pull request #126 from IceflowRE/master
Add go mod support
2019-06-09 10:25:34 +02:00
Iceflower
555c28fe5d
Add go mod support 2019-06-09 02:12:35 +02:00
Daniel Oaks
c041b9aa6e
Merge pull request #20 from iownall555/master
[WIP] Add an additional array of arguments to the simple command event infomap
2019-05-13 15:33:03 +10:00
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