Chris Smith
958913fcf8
Rename QueueFactory to QueueHandlerFactory.
7 years ago
Greg Holmes
6c497351f1
Merge pull request #120 from csmith/master
Use proper dates in QueueItems, fix broken logic.
7 years ago
Chris Smith
1f0818efb2
Use proper dates in QueueItems, fix broken logic.
Use Java8 date types for parser queue items. Fix the time check in
QueueHandler to check if the item has been queued for longer than
10 seconds, rather than if the item was created within 10 seconds
of the epoch.
7 years ago
Greg Holmes
94666f4932
Merge pull request #119 from csmith/dagger
Update dagger.
7 years ago
Chris Smith
ce32144231
Update dagger.
7 years ago
Greg Holmes
465a7bd58e
Merge pull request #118 from csmith/master
Update dependencies.
8 years ago
Chris Smith
d88f42f48f
Update dependencies.
8 years ago
Greg Holmes
d82ee6f47c
Merge pull request #116 from ShaneMcC/master
Add numeric stuff to IRCDataInEvent
8 years ago
Shane Mc Cormack
92c73501f3
Don't add '0' to pendingJoins
8 years ago
Greg Holmes
b61894e934
Merge pull request #117 from csmith/master
Minor inconsequential parser tidying.
8 years ago
Chris Smith
f0dc1ed505
Minor inconsequential parser tidying.
8 years ago
Shane Mc Cormack
108c5429d2
Add isNuemric for handler conditions.
8 years ago
Shane Mc Cormack
ef20a80eb7
Add numeric stuff to IRCDataInEvent
8 years ago
Chris Smith
e28b525377
Merge pull request #114 from ShaneMcC/DisconnectQuit
Send QUIT on disconnect. (Close #7 )
8 years ago
Shane Mc Cormack
03fce829e2
Don't re-expose this in this PR, will do it some other time when actually needed.
8 years ago
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 years ago
Chris Smith
a90890dbf9
Merge pull request #113 from ShaneMcC/SeparatePendingKeys
No point using 2 separate queue's for pendingKeys
8 years ago
Shane Mc Cormack
769dce90be
Make inner class static.
8 years ago
Shane Mc Cormack
4e58a9c854
Send QUIT on disconnect. (Close #7)
8 years ago
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 years ago
Shane Mc Cormack
6e105baeb0
No point using 2 separate queue's...
8 years ago
Chris Smith
0bada408ab
Merge pull request #112 from ShaneMcC/SeparatePendingKeys
Make ProcessJoin handle the pendingJoins queue.
8 years ago
Shane Mc Cormack
d0e6b71044
Synchronously is the default
8 years ago
Shane Mc Cormack
4529e75970
Minor javadoc change.
8 years ago
Shane Mc Cormack
04c1d90ac4
Move pendingJoins and pendingJoinKeys into processJoin instead of IRCParser.
Issue #108
8 years ago
Greg Holmes
fe7484315a
Merge pull request #111 from ShaneMcC/master
Try to keep track of channel keys (Close Issue #108 )
8 years ago
Shane Mc Cormack
b1af722472
IDEA ftl.
8 years ago
Shane Mc Cormack
d9cc3b6939
Fire an event when the channel password changes. (Issue #108)
8 years ago
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 years ago
Greg Holmes
dcac7d1197
Merge pull request #110 from ShaneMcC/master
Some additional WHOIS bits that were missed.
8 years ago
Shane Mc Cormack
74c77ef264
Some additional WHOIS bits that were missed.
8 years ago
Greg Holmes
fba34f4e1a
Merge pull request #109 from csmith/master
Tidy up a few asserts.
8 years ago
Chris Smith
942782e679
Tidy up a few asserts.
8 years ago
Shane Mc Cormack
67a9fa363d
Merge pull request #107 from csmith/master
Migrate parser events to use new date APIs.
8 years ago
Chris Smith
bf2a73712a
Fix units for ofEpochSecond call.
8 years ago
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 years ago
Greg Holmes
9524b36207
Merge pull request #106 from csmith/whois
Actually set the event bus error handler...
8 years ago
Chris Smith
095898e45a
Actually set the event bus error handler...
8 years ago
Greg Holmes
be32186481
Merge pull request #105 from csmith/whois
Update to MBassador 1.2.4.
8 years ago
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 years ago
Greg Holmes
44342206b9
Merge pull request #103 from csmith/whois
Set ADDRESS and REAL_NAME property after whois.
8 years ago
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 years ago
Chris Smith
efebf1db61
Merge pull request #102 from ShaneMcC/resetstatefix
Don't allow resetting state whilst socketClose events are still occuring
8 years ago
Shane Mc Cormack
4f8a72a145
Alternative method.
8 years ago
Shane Mc Cormack
a23c571fdb
Don't allow resetting state whilst socketClose events are still occuring.
8 years ago
Shane Mc Cormack
07f5265071
Merge pull request #101 from csmith/issue-100
Always provide a 'kicker' client.
8 years ago
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 years ago
Chris Smith
6e50e2edc4
Merge pull request #99 from ShaneMcC/fixmodes
Modes should default to "" not null
8 years ago
Shane Mc Cormack
f0e64e8e98
Modes should default to "" not null
8 years ago
Shane Mc Cormack
54abe63ce6
Merge pull request #97 from csmith/master
Bump gradle version.
9 years ago