Commit Graph
100 Commits
Author SHA1 Message Date
Thomas Jager 35410aa86c Merge pull request #132 from slingamn/sasl_stall.1
fix SASL stalling due to duplicated callbacks
2021-04-19 11:03:48 +02:00
Thomas Jager 8e7ce4b5a1 Merge pull request #128 from akihiro/master
Add non UTF-8 encoding support
2019-08-07 11:50:34 +00:00
Thomas Jager 48e72812fe Merge pull request #124 from irccloud/cap-timeout
Add an overall timeout on CAP negotiation
2019-08-07 11:50:13 +00:00
Thomas Jager 949efec008 Merge pull request #126 from IceflowRE/master
Add go mod support
2019-06-09 10:25:34 +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
Thomas Jager 139f940005 Merge pull request #116 from int3l/master
Prevent nil pointer dereference
2019-03-24 15:35:21 +01: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
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
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
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
Thomas Jager 5063e5f260 Merge pull request #96 from qaisjp/feature/webirc
Add WebIRC field
2018-04-09 15:01:47 +02: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
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
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
Thomas Jager 1b0acb5f2f Fix double close of irc.end channel. 2016-12-08 09:29:58 +01:00
Thomas Jager cfd5535e09 Merge pull request #91 from ugjka/master
make other threads exit if there's an error in one
2016-11-26 18:48:35 +01:00
Thomas Jager 9fa6da3c5c Merge pull request #87 from tetheredge/fix-example
fix import statement in the example to the correct repo name
2016-11-08 13:59:05 +01:00
Thomas Jager 01d32de186 Link to example in README 2016-11-05 19:17:13 +01:00
Thomas Jager e7aa1b5e94 Add example 2016-11-05 19:10:18 +01:00
Thomas Jager 491578616f Merge pull request #82 from thoj/testing
Changed the way Quit/Disconnect works to avoid possible DATA races.
2016-11-05 18:55:39 +01:00
Thomas Jager 229753e4cc Do ping/Lag test 2016-11-05 18:53:53 +01:00
Thomas Jager 9e77c40650 Fix lag printing 2016-11-05 18:53:35 +01:00
Thomas Jager fdbbdf33e3 Fix data races 2016-11-05 18:53:11 +01:00
Thomas Jager 3078a030ef Merge pull request #84 from davidscholberg/master
README: fixed test file path, converted it to github-flavored file link
2016-10-17 16:17:55 +02:00
Thomas Jager 30fbca01f1 Merge pull request #83 from tetheredge/testing
Testing
2016-08-03 10:57:04 +02:00
Thomas Jager 582bf80992 Changed the way Quit/Disconnect works to avoid possible DATA races.
Rewrote tests to be less spammy. Created REconnection test.
2016-07-27 22:55:55 +02:00
Thomas Jager a6b1561a01 Redo and Clean up some tests 2016-07-25 13:27:37 +02:00
Thomas Jager 6c780b5b70 Merge branch 'master' of github.com:thoj/go-ircevent 2016-07-25 01:30:25 +02:00
Thomas Jager 39b48423fd Wrong format type in printf (%s -> %d) 2016-07-25 01:29:47 +02:00
Thomas Jager 4d2d36fc65 Remove unreacable code 2016-07-25 01:29:06 +02:00
Thomas Jager a08c332184 Merge pull request #77 from 42wim/sasl
Add SASL (PLAIN) support
2016-07-23 01:52:49 +02:00
Thomas Jager 98c1902dd2 Merge pull request #74 from d1str0/master
Correct typo in README example and ellaborate on a comment.
2016-07-20 14:27:14 +02:00
Thomas Jager da78ed515c BREAKING CHANGES: Run callbacks in main thread and int callback id.
Execute callbacks in main thread. This will break callbacks that
use a long time to execute. Create your own thread in AddCallback
using gorutines on long running callbacks.

Use deterministic IDs for AddCallback. Changes the id from SHA-hash
to int.
2016-02-06 21:38:53 +01:00
Thomas Jager ab737c68eb Remove unnecessary return 2016-02-06 21:20:35 +01:00
Thomas Jager a767654908 Merge pull request #69 from peted27/master
fix reconnection logic
2015-12-05 11:32:46 +01:00
Thomas Jager db3338ebd4 Merge pull request #68 from lukevers/quit-message
Add support for specifying a quit message.
2015-10-28 14:31:23 +01:00
Thomas Jager 988aaaacd9 Merge pull request #66 from dainis/master
Fix - #65,
2015-08-28 20:28:27 +02:00
Thomas Jager 172717c0c5 Remove fuzzing testcases 2015-07-31 21:34:27 +02:00
Thomas Jager 3f51dd25c7 Move fuzzing code to seperate file 2015-07-31 21:33:36 +02:00
Thomas Jager f204a14e00 Only trim newline/linefeed 2015-07-31 13:03:48 +02:00
Thomas Jager e2be9c53c1 Test empty Action 2015-07-31 13:03:31 +02:00
Thomas Jager 6ce1e34c21 Don't crash on empty ACTION 2015-07-31 13:03:09 +02:00
Thomas Jager c47f9d8e3d Fuzz testing callbacks 2015-07-31 08:30:21 +02:00
Thomas Jager 8b3e6a50ac Fix ident 2015-07-31 08:29:20 +02:00
Thomas Jager 414fe0a201 Fix testcase. Id can come in diffrent orders. 2015-07-31 08:28:54 +02:00
Thomas Jager 6c849e1147 Merge branch 'master' of github.com:thoj/go-ircevent into fuzz 2015-07-31 07:35:48 +02:00
Thomas Jager 4b30e65f83 Fix indentation 2015-07-31 07:35:34 +02:00
Thomas Jager 4f50f209c4 Fix parser. Tested with go-fuzz 2015-07-31 07:34:19 +02:00
Thomas Jager 35f8ae857e Merge pull request #62 from alaska/master
Add kick/multi kick. Properly randomize. Catch invalid CTCP messages and log
2015-07-31 07:05:02 +02:00
Thomas Jager 747806b8dd Move connection tests last 2015-07-30 14:41:53 +02:00
Thomas Jager 2c74703554 Merge pull request #60 from dainis/master
Fix - wait for waitgroup to sync before reconnecting
2015-07-30 12:46:56 +02:00
Thomas Jager f169aaad6f Merge pull request #58 from julidau/master
fixing small bugs
2015-06-25 10:38:50 +02:00
Thomas Jager 087ae892d0 CTCP Messages must be more then 2 characters long.
Avoid panic on malformed CTCP messages.
2015-03-31 15:14:13 +02:00
Thomas Jager 47e552f62d Merge pull request #56 from 9uuso/master
Fix commands to correspond parameter name
2015-03-22 08:39:03 +01:00
Thomas Jager 5e6704d895 Merge pull request #49 from Caerostris/master
minor adjustments for multiple connections
2014-11-03 17:37:15 +01:00
Thomas Jager 9c4d007b9f Merge pull request #48 from veonik/master
Added Connected method
2014-11-02 20:53:40 +01:00
Thomas Jager 18b9dfbf29 Merge pull request #47 from GawainLynch/master
Add a formatted ACTION
2014-10-07 22:40:37 +02:00
Thomas Jager 03e596dff4 Merge pull request #45 from antzucaro/master
Add verbose logging for ReadLoop().
2014-10-05 23:54:51 +02:00
Thomas Jager baefdc5d0b Merge pull request #44 from julianec/master
Set irc.currentnick to irc.nick if irc.currentnick is empty.
2014-08-27 21:38:15 +02:00
Thomas Jager 90dc7f966b Merge pull request #41 from whd/master
Use tls.DialWithDialer instead of tls.Client and remove irc.netsock
2014-08-14 15:11:46 +02:00
Thomas Jager 40cfe292a9 Merge pull request #40 from oniichaNj/master
no longer breaks on invalid (too short) ctcp requests
2014-08-06 09:09:35 +02:00
Thomas Jager 33fb824b4f Merge pull request #38 from ecnahc515/custom_handling_disconnect
Custom handling disconnect
2014-07-29 10:03:48 +02:00
Thomas Jager 47f9578f45 Merge pull request #39 from adnils/master
Fix command letter casing.
2014-07-29 10:03:31 +02:00
Thomas Jager a4ab35198c Merge pull request #33 from lucron/master
Fix for reconnect and connection errors
2014-06-24 10:08:50 +02:00
Thomas Jager b73cc42bde Remove Disconnect() from Quit(). Use ERROR feedback from server instead. 2014-06-18 15:59:07 +02:00
Thomas Jager 14db1acfd0 Add default callback for ERROR 2014-06-18 15:58:18 +02:00
Thomas Jager 9909b5a3d3 Modified test 1 2014-06-18 15:56:42 +02:00
Thomas Jager da2e16496d Merge pull request #31 from scrapbird/master
Fixed a bug in irc_callback.go on line 163 where a Message is treated as...
2014-05-12 07:26:43 +02:00
Thomas Jager 2e87f54e96 Merge pull request #29 from alsm/master
Close channel to signal goroutines to quit and waitgroup to confirm that...
2014-05-03 00:32:17 +02:00
Thomas Jager 50d8ba24ee Merge pull request #28 from hobbeswalsh/master
Adding support for CTCP ACTION
2014-04-25 08:19:03 +02:00
Thomas Jager accfd72b17 Merge pull request #27 from tpltnt/master
sanity checks IRC() and Connect()
2014-02-16 14:23:08 +01:00
Thomas Jager ceacb7cda1 Merge pull request #26 from tpltnt/more-docs
More docs
2014-02-14 18:15:14 +01:00
Thomas Jager 32f96cb2c8 Merge pull request #25 from darkliquid/extra-commands
Added Whois, Who and Mode (also go fmt)
2014-02-13 23:24:14 +01:00
Thomas Jager 95288a16c5 Fix Formats and Send error to main goroutine on Disconnect 2014-02-12 08:42:10 +01:00
Thomas Jager 9bdf790e25 Fix formats 2014-02-12 08:41:22 +01:00
Thomas Jager 84a0cb60ed Fix test cases. Added sleep before Quit 2014-02-12 08:40:30 +01:00
Thomas Jager bbbdd715fa Merge pull request #24 from darkliquid/callback-tweaks
Looks good to me. The id generating code may need some tweaking but should work fine as is :)
2014-02-12 08:17:43 +01:00
Thomas Jager defd1e2189 Update Readme 2014-02-12 00:05:20 +01:00
Thomas Jager 33a06eb72b Merge pull request #22 from darkliquid/public-log
Make IRC logger public. No reason for disallowing overrides.
2014-02-10 21:39:55 +01:00
Thomas Jager 54329413c3 Merge pull request #21 from darkliquid/safe-disconnect
Deal with shutdowns more safely
2014-02-10 21:18:03 +01:00
Thomas Jager 09ea5672e2 Merge pull request #20 from darkliquid/master
Added configurable timeouts and overridable version string
2014-02-10 20:26:44 +01:00
Thomas Jager a1d207d5fa Merge pull request #19 from worr/ctcp_action
Added support for CTCP ACTION (/me)
2014-02-02 03:21:25 -08:00
Thomas Jager 5d143c7b85 Merge pull request #16 from presbrey/master
Loop: catch reconnection errors; writeLoop: only log.Print if Debug
2014-02-02 03:20:45 -08:00
Thomas Jager 14b5cb8b16 Merge pull request #15 from Philipp15b/improvements
Some improvements
2013-04-04 07:47:20 -07:00
Thomas Jager 0e84fb331a Remove garbage 2013-03-13 12:56:47 +01:00
Thomas Jager 0bc57f9d68 Formatting 2013-03-13 12:54:00 +01:00
Thomas Jager 4543fadeba Add Nick change function 2013-03-13 12:53:47 +01:00
Thomas Jager 3228e64f1b Add Nick change function 2013-03-13 12:53:08 +01:00
Thomas Jager 0304912f18 Fix crash on nick change 2013-03-13 12:52:31 +01:00
Thomas Jager def8cd55a7 Add testcase for crash on nick change 2013-03-13 12:50:29 +01:00
Thomas Jager 83136b6c73 Fix pinger 2012-11-11 10:51:14 +01:00
Thomas Jager 588a268192 Fix test 2012-11-11 10:51:02 +01:00
Thomas Jager c67bd5be47 Update readme 2012-11-11 10:41:33 +01:00
Thomas Jager 0ed7585b71 Add more helpers 2012-11-11 10:37:52 +01:00
Thomas Jager 5f2c062fb5 Update readme with TLS 2012-11-07 21:57:10 +01:00
Thomas Jager 9e880ef476 SSL -> TLS 2012-11-07 21:55:33 +01:00