Chris Smith
7bfdf45249
Add events for sent messages/ctcps/notices/raw lines.
8 anni fa
Chris Smith
2b171bb83d
Use events in ShowTopic command.
8 anni fa
Chris Smith
7a5d418285
Remove another deprecated method.
8 anni fa
Chris Smith
b7fd4e6fe1
Move raw events into plugins.
8 anni fa
Chris Smith
787c72850f
Use events for raw data in/out.
Issue #426
8 anni fa
Chris Smith
d080e44956
Remove some unused methods.
8 anni fa
Chris Smith
dc0f607943
Add display property to suppress timestamps.
Formats defined in YAML can specify 'timestamps: false' to hide
the default timestamp for lines associated with that event.
Closes #633
8 anni fa
Chris Smith
6b1e6e7e5c
Use the right annotation to subscribe.
8 anni fa
Chris Smith
57cf21576b
Make LogUtils more robust.
Also make event bus errors have a better message.
Closes #627
8 anni fa
Chris Smith
7d5a0de34e
Allow plugins to specify event formats.
Closes #622
8 anni fa
Chris Smith
f270d34aa3
Use snapshot version of raven, send relase.
This enables release tracking in sentry.
8 anni fa
Chris Smith
8e701d9b8a
Propagate exceptions sanely.
8 anni fa
Chris Smith
7421c1fa83
Use the new MutliEventFormatProvider.
Issue #622
8 anni fa
Chris Smith
e7e5315116
Add format provider that handles multiple sources.
This will allow plugins to supply their own format providers
while still allowing the user to override them using the
main format.yml file.
Issue #622
8 anni fa
Chris Smith
1ad67b6c3f
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 anni fa
Chris Smith
b5e200216d
Disable numeric formatting, remove dead code.
With numeric formatting gone, all output is either added direct
to a window (which will be changed soon) or done through
displayable events. Message sinks are now completely unused,
as they don't affect displayable events.
Issue #426
8 anni fa
Chris Smith
ad223b1a6e
Remove WhoisNumericFormatter.
8 anni fa
Chris Smith
bc37a9d982
Improve formatting of whois events.
8 anni fa
Chris Smith
ef2357d347
Add ugly event-based whois output.
This allows events to iterate over a collection property, and
adds formatting for whois results. It needs a lot of tidying,
but it's a start...
8 anni fa
Chris Smith
1767fa4e99
Add formatter support for before/after templates.
This allows formats that may be multi-line (whois results,
probably MOTD results at some point, etc...) to show a header
and footer around the actual content.
8 anni fa
Chris Smith
e1e78e2437
Couple more deprecation fixes.
8 anni fa
Chris Smith
621a53cf06
Change all command error/output to use events.
8 anni fa
Chris Smith
2204bf0570
Convert some commands to use output events.
8 anni fa
Chris Smith
e060357fb2
Fix deprecated methods in CommandFlagHandler.
8 anni fa
Chris Smith
86bd33fedb
Deprecate things that should be replaced by events
8 anni fa
Chris Smith
dfb63e9836
Add some more events, remove some unused methods.
8 anni fa
Chris Smith
4b61733f0c
Move some more formats over to events.
This allows us to remove a fair chunk of the notification
handling functionality in FrameContainer.
Issue 426
8 anni fa
Chris Smith
9897426a7a
Make topics have proper dates.
8 anni fa
Chris Smith
1576c2c798
Tidy up some unused/uncommonly used methods.
I think these will eventually go away entirely, once everything
is event-bus'd, but I'm not entirely sure how that works any
more :(
8 anni fa
Chris Smith
07c5f9449e
Minor tidying around displayable events.
8 anni fa
Chris Smith
daad29f32b
Tidying of Server.
Split out error description getting into its own method. Other
minor changes.
8 anni fa
Chris Smith
e54b0331f1
Fix weird plugin path construction.
We have a path, it doesn't really make sense to take the filename,
then take the directory, then create a new path using those...
8 anni fa
Chris Smith
b6cc7a098b
Extract config value retrieving from binder.
The logic to get a correctly typed setting given a class is
pretty general purpose, and will be useful elsewhere. Pull
it out of ConfigBinder and add some tests for it.
8 anni fa
Chris Smith
fed540f6fe
Ensure module methods have unique names.
Dagger 2.0 appears to require each method in a module to have a
unique name. In some cases we've used overloads with the same name.
Also, remove a bunch of boilerplate javadoc.
Issue #601
9 anni fa
Chris Smith
f0019ffb26
Fix source of notice events.
We were raising notices as all coming from the local user, not
the person that sent the notice. This is... unideal.
9 anni fa
Chris Smith
0a7fb8b874
Stop TabCompleter depending on CommandManager.
9 anni fa
Chris Smith
30b2d9332a
Tidy up plugin refreshing.
9 anni fa
Greg Holmes
b5d2f5faf7
Minor tidying.
9 anni fa
Greg Holmes
aed9bd44c7
Tidying of ProgramError.
9 anni fa
Greg Holmes
bc2e05d994
Change name of field in ProgramError.
9 anni fa
Greg Holmes
3cb60bf8f5
Remove trace + details from ProgramError.
9 anni fa
Greg Holmes
3e93816b34
Remove {User,App}ErrorEvents.
9 anni fa
Greg Holmes
69289df900
Move ProgramErrorAppender to logger
9 anni fa
Chris Smith
214a689ac0
Move update applying into the file handler.
9 anni fa
Greg Holmes
7f27d8ce48
Tidy up after changes.
9 anni fa
Greg Holmes
b58997a1d0
SLF4J Logging in the core.
9 anni fa
Chris Smith
ec1f76431b
Slf4j logging a few more things.
9 anni fa
Chris Smith
1e3b0b5e28
Change a couple of event bus error reportings.
9 anni fa
Chris Smith
e939448113
Remove some event-based errors.
9 anni fa
Chris Smith
8dccc60cf5
Remove some more AppErrorEvents.
9 anni fa