Chris Smith
8572ccd4eb
Fix unit tests
vor 5 Jahren
Chris Smith
f1ecbf256f
Prefer IPv6, default to TLS
vor 5 Jahren
Chris Smith
96449f98a1
Replace ktor with plain socket code.
Closes #14
vor 5 Jahren
Chris Smith
3289bb8e99
More work on async methods
vor 5 Jahren
Chris Smith
25e129ebb1
Add test for label generator
vor 5 Jahren
Chris Smith
070d502463
Initial work on exposing async methods
Move message processors into their own package
Update ktor
vor 5 Jahren
Chris Smith
4c1be015cd
Migrate all tests to mockk
vor 5 Jahren
Chris Smith
be2ed37acf
Add always echo messages behaviour
vor 5 Jahren
Chris Smith
e91342edc9
Add structured send methods
vor 5 Jahren
Chris Smith
c3908e1a60
Initial pass at labelled-replies support
vor 5 Jahren
Chris Smith
c40ebf68c0
Switch from `time` to `metadata`, store batch ID
vor 5 Jahren
Chris Smith
daee215fc4
Add behaviour config, and option to send modes on join
vor 5 Jahren
Chris Smith
e4276619c0
Add isChannel method
vor 5 Jahren
Chris Smith
dd87752527
Handle server connection errors
Fix regression with capability negotiation
vor 5 Jahren
Chris Smith
d76c60a47c
Construct IrcClient with a DSL.
This allows more options to be added nicely in the future,
and hides the implementation details from library users.
vor 5 Jahren
Chris Smith
3501e8445f
0.6.0, travis tweaks
Don't bother building on JDK9, just 8 + 11 should cover it
vor 5 Jahren
Chris Smith
cb96f0441d
This test doesn't want to be.
vor 5 Jahren
Chris Smith
cd952f3b79
Fix unit tests
vor 5 Jahren
Chris Smith
23bf2faa2c
Reset state on disconnect
vor 5 Jahren
Chris Smith
e64b705412
Improve couroutines and channel use in the socket
vor 5 Jahren
Chris Smith
2ba511702b
SASL support!
Closes #2
vor 5 Jahren
Chris Smith
4a6ff8d7c6
Add kick processing and event
Closes #7
vor 5 Jahren
Chris Smith
14b9190d2f
Server Connecting and Disconnected events
vor 5 Jahren
Chris Smith
16b6496566
Extract server names nicely
vor 5 Jahren
Chris Smith
74dd02ca3a
Rework how writing lines works, again.
To preserve the order of lines we offer them into a channel
without suspending. If we launch a new coroutine there's no
guarantee they'll execute in order, even if the method they
call is fair.
vor 5 Jahren
Chris Smith
c6b0471761
Raise ServerConnected event, track status nicely
vor 5 Jahren
Chris Smith
2ce9a540f6
Add a couple of missing tests, coverage badge.
vor 5 Jahren
Chris Smith
3686c5aa2d
Rework coroutines to make more sense.
vor 5 Jahren
Chris Smith
122483b371
Simplify how event handlers are exposed
vor 5 Jahren
Chris Smith
14a192379b
TLS support
vor 5 Jahren
Chris Smith
7e54d86956
Expose message time in events
vor 5 Jahren
Chris Smith
a1a3c66c5b
Rudimentary capabilities support
vor 5 Jahren
Chris Smith
36c7acfe2a
Add rudimentary PRIVMSG handling
vor 5 Jahren
Chris Smith
3cb6a28323
Add channel join handling, basic channel state
vor 5 Jahren
Chris Smith
f2e081e6c7
Introduce event handlers, refactor message processors.
vor 5 Jahren
Chris Smith
602c5e8b7a
Initial import, various supporting classes.
vor 5 Jahren