Shane Mc Cormack
769dce90be
Make inner class static.
пре 8 година
Shane Mc Cormack
6e105baeb0
No point using 2 separate queue's...
пре 8 година
Shane Mc Cormack
d0e6b71044
Synchronously is the default
пре 8 година
Shane Mc Cormack
4529e75970
Minor javadoc change.
пре 8 година
Shane Mc Cormack
04c1d90ac4
Move pendingJoins and pendingJoinKeys into processJoin instead of IRCParser.
Issue #108
пре 8 година
Shane Mc Cormack
b1af722472
IDEA ftl.
пре 8 година
Shane Mc Cormack
d9cc3b6939
Fire an event when the channel password changes. (Issue #108)
пре 8 година
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 година
Shane Mc Cormack
74c77ef264
Some additional WHOIS bits that were missed.
пре 8 година
Chris Smith
942782e679
Tidy up a few asserts.
пре 8 година
Chris Smith
bf2a73712a
Fix units for ofEpochSecond call.
пре 8 година
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 година
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 година
Shane Mc Cormack
4f8a72a145
Alternative method.
пре 8 година
Shane Mc Cormack
a23c571fdb
Don't allow resetting state whilst socketClose events are still occuring.
пре 8 година
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 година
Shane Mc Cormack
f0e64e8e98
Modes should default to "" not null
пре 8 година
Chris Smith
58a69d94b4
Make method names in ProcessorsModule unique.
Issue DMDirc/DMDirc#601
пре 9 година
Chris Smith
b1426239fe
Make the Simple*Handlers actually do stuff.
пре 9 година
Chris Smith
ee14e37f3f
Don't double format debug info.
пре 9 година
Greg Holmes
4fe86cade6
Narrow scopes for some variables.
пре 9 година
Greg Holmes
3a507ab47b
Create TrustingTrustManager instead of AIC
пре 9 година
Chris Smith
17d9a893cb
Ensure client modes are non-null.
Fixes #82 .
пре 9 година
Chris Smith
1803e32b21
Use nifty separate handlers.
пре 9 година
Chris Smith
560fcd9178
Add support for away messages in whois replies.
пре 9 година
Chris Smith
435e79577a
Add a whois reponse handler.
Just does ircu stuff for now.
пре 9 година
Chris Smith
528d7ddd31
Use fake clients in a couple of places.
пре 9 година
Chris Smith
bde70f142c
Remove all stupid TestParser-based tests.
These need to be rewritten as proper unit tests.
пре 9 година
Chris Smith
f6ff601095
Add missing files.
пре 9 година
Chris Smith
0b786eef84
Start using dagger.
пре 9 година
Chris Smith
db20dd3434
Remove unused circular dep, tidy tests.
Remove all tests that depend on TestParser - they're rubbish and
need to be completely rewritten to be proper unit tests.
пре 9 година
Chris Smith
861b7f4e33
Delete callback interfaces.
пре 9 година
Greg Holmes
832e0d7e9d
Ignore tests, hopefully.
пре 9 година
Greg Holmes
4afd386556
Remove install methods.
пре 9 година
Chris Smith
4301740680
Publish events.
пре 9 година
Chris Smith
2905b728ef
Remove unused logging thing.
пре 9 година
Greg Holmes
e5f918c5b0
Add a sendWhois command to the parser.
пре 9 година
Greg Holmes
6a5b7426bf
Fix unit tests.
пре 9 година
Greg Holmes
d3c1f74028
Expose getChannelClients in ClientInfo
пре 9 година
Greg Holmes
ae832d15d0
Add static methods to install
пре 9 година
Greg Holmes
e69f72c4c8
Add standalone handlers for NickInUse and PingFailure.
пре 9 година
Shane Mc Cormack
177bbb5f9a
2015!
пре 9 година
Greg Holmes
ab3508cbeb
Reverse the modes comparator, because Dataforce.
пре 9 година
Greg Holmes
7c22167ea1
Add a method to get an important mode comparator.
пре 9 година
Chris Smith
9bcef42a84
Add Process464 test.
пре 9 година
Chris Smith
1a6a31d9ea
Make IRCProcessor implement handles().
Seems a bit odd for each implementation to define a method that
*always* returns a static String[] when we can just pass that
up to the base class.
пре 9 година
Chris Smith
b86fd69c11
Add tests for process001
пре 9 година
Chris Smith
9278f5e2f7
Fix remaining null passing.
пре 9 година
Chris Smith
78de406e6f
Tidy up tests.
пре 9 година
Chris Smith
30c0a5d775
Fix remaining null passing.
пре 9 година