Chris Smith
d7d54945e6
Make GroupChatManager listen for channel closing.
Nicer than having Channel poke it explicitly.
9 years ago
Greg Holmes
4d9674a4e5
Add nullable annotation.
9 years ago
Greg Holmes
13a483626d
Make ErrorManager nullable in ProgramError.
9 years ago
Chris Smith
3993ee8156
Fix away state dodgyness.
Since changing to events we need to fire when changing from
unknown->away. Before, this was handled by the Server being
told about the new message (and then firing listeners).
Fixes #391 .
9 years ago
Greg Holmes
b2635ce6eb
Remove rogue space and superfluous checks.
9 years ago
Greg Holmes
76fd730e20
Add a Sentry reporting ErrorManager.
9 years ago
Greg Holmes
413cdddc87
Don't de-select profile before saving.
Fixes #392
9 years ago
Chris Smith
d35fd12d0a
Use new formatter for kick events.
9 years ago
Greg Holmes
42d9214a9a
Add an app error field to ProgramError.
9 years ago
Chris Smith
b4551bf883
Use new formatter for channel nick changes.
9 years ago
Chris Smith
4f067066b0
Make formatter load failures a fatal error.
If we can't display any lines, there's not much point carrying on.
9 years ago
Greg Holmes
05d6106ea1
Remove seperate saveError method in DiskLoggingErrorManager.
9 years ago
Chris Smith
ac970af390
Replace Channel with GroupChat in a few commands.
Most use logic we don't wrap yet :-/
9 years ago
Greg Holmes
a54cba7ffa
Switch to a single handle method.
9 years ago
Greg Holmes
6345b0b6ab
Add some javadoc.
9 years ago
Greg Holmes
fb6ac67ffb
Add a DiskLogging ErrorManager implementation.
9 years ago
Chris Smith
7ae63d4e04
Move query self messages to the new formatter.
9 years ago
Greg Holmes
567b25dcb1
Tidy up a little in logger.
9 years ago
Chris Smith
b4f9dde276
Weaken Server to Connection in a few places.
9 years ago
Chris Smith
1697e8a10b
Make Query use Connection iface, not Server.
9 years ago
Chris Smith
9de663113e
Use new formatter for query action/msg.
Removes some usages of server.parseHostMask which needs to die.
9 years ago
Chris Smith
933ffbbd8d
Make Channel use Connection not Server.
9 years ago
Greg Holmes
71672cda5f
Chris is picky.
9 years ago
Greg Holmes
b519349754
Improve logic a bit, rename field.
9 years ago
Chris Smith
a75b7da084
Remove unused return types.
9 years ago
Greg Holmes
8f45c15e5c
Switch to CountdownLatch.
9 years ago
Greg Holmes
302068b2cc
Acquire 2 both times.
9 years ago
Greg Holmes
dba63d778f
Use a semaphore for FED waiting.
9 years ago
Greg Holmes
5fd1b9c24a
Raise events for error status changes.
9 years ago
Chris Smith
f9eb1c1275
Make a separate GroupChatManager.
For now this is just a straight(ish) copy of the way Server worked.
Need to make it use events in the future which should simplify it
quite a bit.
9 years ago
Greg Holmes
90190ff0d4
Actually add the new errors.
9 years ago
Greg Holmes
d212c12fd5
Add some more error events.
9 years ago
Greg Holmes
128f809709
Remove done to do comment.
9 years ago
Greg Holmes
3df1aa62ca
Send error from ErrorReportingRunnable not ProgramError.
9 years ago
Greg Holmes
7fc403dbf2
Stop caring about duplicate errors.
9 years ago
Chris Smith
dfd6ee709c
Use new GroupChatManager methods.
Remove them from the Connection interface.
9 years ago
Chris Smith
7d5e1d2908
Copy GroupChat methods into a GroupChatManager.
Will remove them from Connection shortly. Then the functionality
can be pulled out of Server into a sane, separate class.
9 years ago
Greg Holmes
b21fe37c2c
Stop truncating, start truncating and creating.
9 years ago
Greg Holmes
865679cde7
Make ErrorManager save errors to disk.
9 years ago
Chris Smith
1aac5499df
Make channel part/quit events use the new formatter.
9 years ago
Chris Smith
ca785da4d8
Fix not being able to join channels...
9 years ago
Greg Holmes
3cf84adc0a
Move some logic out of ProgramError.
9 years ago
Greg Holmes
add5551cd3
Remove ID from ProgramError.
9 years ago
Greg Holmes
7bcc786394
Rename ErrorReportingThread now its a runnable.
9 years ago
Greg Holmes
037fb1c250
Switch error manager to use an executor service to send errors.
9 years ago
Chris Smith
eb67b89a04
Stop BackBuffer being so lazy.
We now need it to exist independently of anything requesting it,
otherwise we miss lines being added.
9 years ago
Chris Smith
27c2985176
Use new formatter for channel joins.
This, uh, breaks some channels a little. Will fix in a follow-up.
Add support for Optionals in the event property manager.
9 years ago
Greg Holmes
e635373427
Fix some bugs in the PMD.
9 years ago
Chris Smith
e6d6e9b2be
Tidy up formats a bit.
Group them by function so the file is a bit easier to navigate.
Use nice syntax for multi-line topic format.
Also add function to do bracketed crazyness for events with reasons.
9 years ago
Chris Smith
0a5fc5177a
Remove editProfile method.
This isn't used in the UI, and doesn't need to exist with the
individual setter methods.
9 years ago