Shane Mc Cormack
108c5429d2
Add isNuemric for handler conditions.
8 vuotta sitten
Shane Mc Cormack
ef20a80eb7
Add numeric stuff to IRCDataInEvent
8 vuotta sitten
Chris Smith
e28b525377
Merge pull request #114 from ShaneMcC/DisconnectQuit
Send QUIT on disconnect. (Close #7 )
8 vuotta sitten
Shane Mc Cormack
03fce829e2
Don't re-expose this in this PR, will do it some other time when actually needed.
8 vuotta sitten
Chris Smith
8dbbd73abb
Merge pull request #115 from ShaneMcC/ExposeMessageTags
Add IRCDataInEvent that presents a ReadLine object rather than just the line of data.
8 vuotta sitten
Chris Smith
a90890dbf9
Merge pull request #113 from ShaneMcC/SeparatePendingKeys
No point using 2 separate queue's for pendingKeys
8 vuotta sitten
Shane Mc Cormack
769dce90be
Make inner class static.
8 vuotta sitten
Shane Mc Cormack
4e58a9c854
Send QUIT on disconnect. (Close #7)
8 vuotta sitten
Shane Mc Cormack
822bf59490
Add IRCDataInEvent that presents an IRCReader.ReadLine object rather than just the line of data.
This gives us access to MessageTags (#19 ) and pre-tokenised lines in DataIn rather than everything neededing to tokenise themselves.
There are probably a few other events we want to expose messagetags on that we still don't.
8 vuotta sitten
Shane Mc Cormack
6e105baeb0
No point using 2 separate queue's...
8 vuotta sitten
Chris Smith
0bada408ab
Merge pull request #112 from ShaneMcC/SeparatePendingKeys
Make ProcessJoin handle the pendingJoins queue.
8 vuotta sitten
Shane Mc Cormack
d0e6b71044
Synchronously is the default
8 vuotta sitten
Shane Mc Cormack
4529e75970
Minor javadoc change.
8 vuotta sitten
Shane Mc Cormack
04c1d90ac4
Move pendingJoins and pendingJoinKeys into processJoin instead of IRCParser.
Issue #108
8 vuotta sitten
Greg Holmes
fe7484315a
Merge pull request #111 from ShaneMcC/master
Try to keep track of channel keys (Close Issue #108 )
8 vuotta sitten
Shane Mc Cormack
b1af722472
IDEA ftl.
8 vuotta sitten
Shane Mc Cormack
d9cc3b6939
Fire an event when the channel password changes. (Issue #108)
8 vuotta sitten
Shane Mc Cormack
a2af0c5851
Try to keep track of channel keys (Close Issue #108)
- Parses outgoing JOINs to try and guess keys before we get the MODE reply.
- Parsing algorithm based on Quakenet/Hybrid handling of keys.
- Keys are swallowed from the key-list for EVERY channel that is
to join, even if it is not needed, so you would need to use
"JOIN #Foo,#Bar,#Baz Foo,,Baz" to join keyed channels #Foo and #Baz.
- Key changes by mode +k and -k will be tracked.
- Ignores attempts to set the key as "*" if we know a "better" key.
- Side effect: If the key is actually set to "*" we can only learn it if that
is what we join with, or it gets changed to that from no-key.
8 vuotta sitten
Greg Holmes
dcac7d1197
Merge pull request #110 from ShaneMcC/master
Some additional WHOIS bits that were missed.
8 vuotta sitten
Shane Mc Cormack
74c77ef264
Some additional WHOIS bits that were missed.
8 vuotta sitten
Greg Holmes
fba34f4e1a
Merge pull request #109 from csmith/master
Tidy up a few asserts.
8 vuotta sitten
Chris Smith
942782e679
Tidy up a few asserts.
8 vuotta sitten
Shane Mc Cormack
67a9fa363d
Merge pull request #107 from csmith/master
Migrate parser events to use new date APIs.
8 vuotta sitten
Chris Smith
bf2a73712a
Fix units for ofEpochSecond call.
8 vuotta sitten
Chris Smith
6306f1d00b
Migrate parser events to use new date APIs.
Java 8 introduces a sane API for dates; to store datettimes
we should now be using LocalDateTime.
8 vuotta sitten
Greg Holmes
9524b36207
Merge pull request #106 from csmith/whois
Actually set the event bus error handler...
8 vuotta sitten
Chris Smith
095898e45a
Actually set the event bus error handler...
8 vuotta sitten
Greg Holmes
be32186481
Merge pull request #105 from csmith/whois
Update to MBassador 1.2.4.
8 vuotta sitten
Chris Smith
87452ec37f
Update to MBassador 1.2.4.
This release contains some performance improvements compared
to the version we were using.
Error handlers are now passed in at construction time, so
there was a small bit of refactoring required.
8 vuotta sitten
Greg Holmes
44342206b9
Merge pull request #103 from csmith/whois
Set ADDRESS and REAL_NAME property after whois.
8 vuotta sitten
Chris Smith
a050ea93fe
Set ADDRESS and REAL_NAME property after whois.
Having two separate events means the ordering isn't guaranteed.
Handle everything for 311 numerics in one handler.
8 vuotta sitten
Chris Smith
efebf1db61
Merge pull request #102 from ShaneMcC/resetstatefix
Don't allow resetting state whilst socketClose events are still occuring
8 vuotta sitten
Shane Mc Cormack
4f8a72a145
Alternative method.
8 vuotta sitten
Shane Mc Cormack
a23c571fdb
Don't allow resetting state whilst socketClose events are still occuring.
8 vuotta sitten
Shane Mc Cormack
07f5265071
Merge pull request #101 from csmith/issue-100
Always provide a 'kicker' client.
8 vuotta sitten
Chris Smith
c0f6cf18e8
Always provide a 'kicker' client.
When we moved to events, we stopped passing null in place of clients.
Instead, fake clients should be used. Apparently ProcessKick wasn't
properly updated.
Fixes issue #100
8 vuotta sitten
Chris Smith
6e50e2edc4
Merge pull request #99 from ShaneMcC/fixmodes
Modes should default to "" not null
8 vuotta sitten
Shane Mc Cormack
f0e64e8e98
Modes should default to "" not null
8 vuotta sitten
Shane Mc Cormack
54abe63ce6
Merge pull request #97 from csmith/master
Bump gradle version.
9 vuotta sitten
Shane Mc Cormack
2b127d9a7b
Merge pull request #98 from csmith/circle
Stop circle build failing.
9 vuotta sitten
Chris Smith
3a140dbeea
Stop circle build failing.
Unshallow the git repository if necessary, and fetch tags.
Both of these things are useful for versioning.
9 vuotta sitten
Chris Smith
c4ce98516d
Bump gradle version.
9 vuotta sitten
Chris Smith
e8bba9cb38
Merge pull request #96 from csmith/master
Make method names in ProcessorsModule unique.
9 vuotta sitten
Chris Smith
58a69d94b4
Make method names in ProcessorsModule unique.
Issue DMDirc/DMDirc#601
9 vuotta sitten
Shane Mc Cormack
8a39053ebf
Merge pull request #95 from csmith/master
Make the Simple*Handlers actually do stuff.
9 vuotta sitten
Chris Smith
b1426239fe
Make the Simple*Handlers actually do stuff.
9 vuotta sitten
Shane Mc Cormack
7582ee90e9
Merge pull request #94 from csmith/master
Don't double format debug info.
9 vuotta sitten
Chris Smith
ee14e37f3f
Don't double format debug info.
9 vuotta sitten
Greg Holmes
17b579a929
Merge pull request #93 from csmith/master
Delete CallbackNotFoundException.
9 vuotta sitten
Chris Smith
b5578c2764
Delete CallbackNotFoundException.
9 vuotta sitten