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.
9 years ago
Chris Smith
0a7fb8b874
Stop TabCompleter depending on CommandManager.
9 years ago
Chris Smith
3908d97e09
Add basic test for PluginFileHandler.
9 years ago
Chris Smith
cfcf5f0994
Add getPath utility method to JimFsRule.
This saves getting the FS and suffering the barrage of warnings
related to auto-closeable resources.
9 years ago
Greg Holmes
aed9bd44c7
Tidying of ProgramError.
9 years ago
Greg Holmes
3cb60bf8f5
Remove trace + details from ProgramError.
9 years ago
Greg Holmes
3e93816b34
Remove {User,App}ErrorEvents.
9 years ago
Chris Smith
944ae22024
Add a JUnit rule for using JimFS.
This means each test doesn't have to set it up and tear it down
manually (although only one actually did bother to tear it down :)).
9 years ago
Greg Holmes
7f27d8ce48
Tidy up after changes.
9 years ago
Chris Smith
1e3b0b5e28
Change a couple of event bus error reportings.
9 years ago
Chris Smith
e939448113
Remove some event-based errors.
9 years ago
Chris Smith
18f5dc8980
Fix tests.
9 years ago
Chris Smith
8dccc60cf5
Remove some more AppErrorEvents.
9 years ago
Chris Smith
d93f44ed9d
Remove profile migration logic.
The "old" profiles were pre 0.6.3m1 - if anyone upgrades from that
long ago they'll just lose their profiles.
9 years ago
Chris Smith
ed7bdd0154
Remove unused field.
9 years ago
Greg Holmes
28b5c0874c
Add launcher version to about dialog.
9 years ago
Greg Holmes
c087c13245
Add test for removing global command with empty response.
9 years ago
Greg Holmes
fba402922a
Allow empty commands, this removes the global AutoCommand.
9 years ago
Greg Holmes
824c60f17f
Add a GlobalAutoCommandsDialogModel.
9 years ago
Greg Holmes
5702f16727
Fix unit test.
9 years ago
Greg Holmes
7455fe09da
Fix client after parser changes. Eventbouseseses.
9 years ago
Chris Smith
deaf4b232f
Tidy how CommandParsers are created.
Instead of passing them in to the FrameContainer ctor, create
them afterwards.
This means the reference in FrameContainer can't be final but
removes the horrible setOwner() kludge that was previously in
CommandParser, and cuts down the deps needed to pass in to the
FrameContainer ctor.
9 years ago
Chris Smith
f75e7f79f2
Fix almost all remaining FrameContainer refs.
9 years ago
Chris Smith
a5b74d14f8
Make CommandParser use WindowModel.
9 years ago
Chris Smith
459ef2b60a
Use Multimap instead of MapList.
9 years ago
Greg Holmes
138249675b
Fix unit test.
9 years ago
Chris Smith
d2c0dcd323
Add some alias tests.
9 years ago
Chris Smith
d629b64e4b
Replace Channel with GroupChat in commands.
(This depends on a plugins change)
9 years ago
Greg Holmes
1014e789d8
Fix some errors, and the unit test.
9 years ago
Chris Smith
abfd488598
Fix tests.
9 years ago
Chris Smith
0cd88dccbb
Remove BaseConfigProvider.
This just provided default implementations of most of the
ReadOnlyConfigProvider interface, which as of J8 we can
now just put in the interface itself.
9 years ago
Greg Holmes
57e2d38a07
*head desk* Fix unit test.
9 years ago
Greg Holmes
a360fc03b8
Fix unit tests.
9 years ago
Greg Holmes
6266711f11
Fix wrapped users being totally wrong.
9 years ago
Chris Smith
2342c58761
Fix tests.
9 years ago
Greg Holmes
61389fa85c
Fix unit test.
9 years ago
Greg Holmes
10ac78a271
Switch to new Error Managers.
This is a little bit icky, but I can't see a nicer way to do it.
9 years ago
Greg Holmes
c9db75f1cc
Tidy up ProgramError ctor.
9 years ago
Greg Holmes
f50c007203
Make method static.
9 years ago
Greg Holmes
cd2ae9f84a
Some changes to errors.
9 years ago
Chris Smith
b28b6e5f9b
Remove urlBuilder params.
From everywhere.
9 years ago
Chris Smith
fe7d1414ef
Remove PluginMetaData.getManager().
This is horribly icky and wrong. The only place it's used is
PluginFilesHelper, which can easily be given its own manager.
Also fix annoying shaded import.
9 years ago
Chris Smith
3214f6f141
Add a separate ServiceManager implementation.
9 years ago
Chris Smith
4f825b4fd0
Add test for HighlightManager, fix issues.
Alternative highlights were never added because the maps were
optimised away; then the list occasionally ended up with null
entries as they were added concurrently.
9 years ago
Chris Smith
f162d4eba1
Use correct assert methods.
9 years ago
Chris Smith
b61c1bf788
Remove references to MessageTarget.
Doesn't make sense to have this any more, as Chat provides the
common interface between queries + channels.
9 years ago
Chris Smith
4349f58de7
Move invite handling into a separate class.
9 years ago
Chris Smith
020a9eed0f
Use new InviteManager iface.
Delete the duplicated methods from Connection.
9 years ago
Greg Holmes
76fd730e20
Add a Sentry reporting ErrorManager.
9 years ago
Greg Holmes
42d9214a9a
Add an app error field to ProgramError.
9 years ago