Chris Smith
767a156a87
Automatic test tidying.
8年前
Chris Smith
b54efa3c82
Remove some unused code.
8年前
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年前
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年前
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年前
Chris Smith
e939448113
Remove some event-based errors.
9年前
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年前
Chris Smith
459ef2b60a
Use Multimap instead of MapList.
9年前
Chris Smith
abfd488598
Fix tests.
9年前
Chris Smith
3214f6f141
Add a separate ServiceManager implementation.
9年前
Chris Smith
80b757c330
Make Profile use AutoValue.
9年前
Greg Holmes
14243a96ff
Fix test
9年前
Shane Mc Cormack
9f3fcd1b59
2015!
9年前
Greg Holmes
749233b293
Add an injectable wrapper around System.
Not 100% sure this is a good idea though.
9年前
Greg Holmes
e133f31685
Remove some more Logger usages.
9年前
Greg Holmes
f453770f45
Remove some more Logger usages.
9年前
Greg Holmes
85c2ae537c
Stop ClientInfo being static.
9年前
Chris Smith
be966bbf16
Load defaults from the jar.
Closes #156
9年前
Greg Holmes
8575a8f250
Add Test for profiles lifecycle manager.
9年前
Greg Holmes
20d6006a8b
Stop using package private method.
9年前
Greg Holmes
b658d2d786
Add tests + fix profiles migrator.
9年前
Greg Holmes
4195eb0ce8
Add tests for new ProfileManager method.
9年前
Greg Holmes
9404939c23
Fix unit tests.
9年前
Greg Holmes
570d0910e3
Add events to ProfileManager, add tests.
9年前
Greg Holmes
27429cc063
Fix unit test.
Fix hand written YAML being rubbish.
Fix bad reading caused by bad YAML.
Generify asList casting.
9年前
Greg Holmes
5242fca351
Improve tests, tidy up a little.
9年前
Greg Holmes
624a8754fa
Add new Profile wrapper and basic store.
9年前
Greg Holmes
f441f22daf
Move wrapper back.
Will write a new wrapper for the new model.
9年前
Greg Holmes
cca99ffc1e
Change package.
9年前
Chris Smith
96323f56ea
Let ConfigBinders take a default domain.
This allows a default domain to be specified on a config binder,
which will allow plugins to use @ConfigBinding with their dynamic
domains.
9年前
Chris Smith
0d04b2f5bd
Add some more IdentityManager tests
Change-Id: Id7c65bb82cebaa33ef1642702a72465930e6bdf6
Reviewed-on: http://gerrit.dmdirc.com/4050
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9年前
Chris Smith
252f6702d1
Fix IdentityManager extraction, test.
Change-Id: Iad1d54ecebb7b3e5d13318ca2550ebc540cbd62b
Reviewed-on: http://gerrit.dmdirc.com/4044
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9年前
Chris Smith
b107fb8785
Start adding IdentityManager tests.
Change-Id: I66c8a3500310d214756f0c19a0fc26883d2da440
Reviewed-on: http://gerrit.dmdirc.com/4037
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9年前
Chris Smith
8c4160a590
Rewrite the ConfigFileBackedConfigProviderTest.
(aka the "IdentityTest")
Make it a lot less dumb, use a virtual FS so we can test reloading
and saving. Fix a bunch of bugs the tests highlighted.
Only things not really tested are the global config specific
behaviours.
Change-Id: I96448eb9c401ce864cd6f39fd95088a4a8a09727
Reviewed-on: http://gerrit.dmdirc.com/4015
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9年前
Chris Smith
e9b7bc394a
Stupid.
Change-Id: Iabb2d0644fb4412ead64a4c28afa96b1809244bc
Reviewed-on: http://gerrit.dmdirc.com/4013
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9年前
Chris Smith
aefb110fff
Path-ify the IdentityManager.
Change-Id: Iaf2b64f2bd6dcf834e3621e26ae3ff6b81cdb2b4
Reviewed-on: http://gerrit.dmdirc.com/4007
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9年前
Chris Smith
13b6b419d9
Remove CipherUtils.
We haven't used this in the N years it's existed, and it uses
scary MD5/DES stuff.
Change-Id: I3934d3cc769980527f03b16a5c273f76fc89cdfb
Reviewed-on: http://gerrit.dmdirc.com/3948
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9年前
Chris Smith
6ae693893d
Enable PMD in gradle + apply fixes.
Change-Id: I3665cac8af833da793ca418953d934cc3a333459
Depends-On: I348b37a14097439f8a56b0a671794410e46201ca
Depends-On: Ifc4aa601de14ca2526646f499f60329ed7c5935e
Reviewed-on: http://gerrit.dmdirc.com/3939
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9年前
Chris Smith
bbfad60371
Move test resources to test-res.
This breaks ant testing. I plan to change CI to use gradle then
remove the ant rules.
Change-Id: I38ca681b8742f316fc94ebfd8312b1bf4632354f
Reviewed-on: http://gerrit.dmdirc.com/3935
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9年前
Chris Smith
df55470ea4
Tidying
Change-Id: I2ae082b9a0a6596615627debd052b80502b92c58
Reviewed-on: http://gerrit.dmdirc.com/3920
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9年前
Greg Holmes
746bb6081d
Generify MBassador.
Change-Id: Id3cfa404a56528542120f79c969d992a5c183aba
Reviewed-on: http://gerrit.dmdirc.com/3771
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10年前
Greg Holmes
b12a0cb412
MBassador.
Change-Id: I2baa7e986ded54930093768238ed24cab8cf4bf7
Depends-On: I2cf35d5859c85c3609002f126241536fda5d588e
Reviewed-on: http://gerrit.dmdirc.com/3769
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10年前
Greg Holmes
7037a54c7d
EventBus the prefs events.
Change-Id: Ia3a86ce30a3ad96c2c67597dba341b2b10162c8e
Depends-On: I27e1059cc3228013d30bab85549434dea28f236c
Reviewed-on: http://gerrit.dmdirc.com/3417
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10年前
Chris Smith
fb6952bb5c
Introduce a preferences reader.
Change-Id: I951d38ca97e99e33146e5484512e8934e53daff5
Reviewed-on: http://gerrit.dmdirc.com/3326
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10年前
Chris Smith
912140c077
Remove singleton IdentityManager accessors.
Woohoo.
Change-Id: Ib5dfa40b37670633791a39cc166ef53aeb2c2e79
Fixes-Issue: CLIENT-423
Reviewed-on: http://gerrit.dmdirc.com/3145
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10年前
Chris Smith
b9a74f7770
ConfigManager-related tidying.
Change-Id: I7de8a172cdb1d5634d924f897f902040a98ba8e3
Reviewed-on: http://gerrit.dmdirc.com/3084
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10年前
Shane Mc Cormack
12b39dc0f8
Update Copyright to 2014
Change-Id: Id0904867640e49e12fca5c1c7c5b9e72c78e3a1b
Reviewed-on: http://gerrit.dmdirc.com/2976
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10年前
Chris Smith
0b69247ea1
Rename some config classes.
Change-Id: Ieaa7897a5e0bf1168e5c2b4405585558e108ee52
Reviewed-on: http://gerrit.dmdirc.com/2781
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10年前
Chris Smith
14da0a2938
Remove ConfigManager references.
Change-Id: I065a771ff81e565b37689f9d6ea82d4057cec2f1
Reviewed-on: http://gerrit.dmdirc.com/2779
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10年前
Chris Smith
d596e02ddc
Remove direct Identity usages.
Move static factory methods into IdentityFactory, and replace
almost every use of Identity with ConfigProvider.
Depends-On: I6a32f3592cb5fc3df99a23eee62ae961ce0fc143
Change-Id: I66b382d54b77ef030d88448e456a83eb98aca216
Reviewed-on: http://gerrit.dmdirc.com/2777
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10年前