Chris Smith
d8a352aaf7
Add bundle for config providers.
7 years ago
Chris Smith
192550f434
Move event bus code to a bundle.
Issue #750
7 years ago
Chris Smith
4c35da850d
Update copyright.
7 years ago
Chris Smith
5cc0af4324
Use EventBus interface.
This is just an IntelliJ refactor, using EventBus in place of
DMDircMBassador whenever possible.
7 years ago
Chris Smith
d15111ddd3
Restructure to standard maven/gradle layout.
Stop swimming against the tide and accept what most of the rest of
the world does.
While it adds an annoying depth to the actual source code, it makes
the root directory nicer (no more 'test-res' dirs), means we don't
have to override the gradle config, and makes it nicer to work in
IDEA 2016.1.
8 years ago
Chris Smith
c30a2756fb
Use KeyStoreLocator in CertificateManager.
Closes #664
8 years ago
Greg Holmes
b58997a1d0
SLF4J Logging in the core.
9 years ago
Greg Holmes
70e2b04fd1
Switch to J8 Base64.
9 years ago
Chris Smith
8689ce05c2
Split giant method up.
9 years ago
Shane Mc Cormack
9f3fcd1b59
2015!
9 years ago
Chris Smith
a970bb237d
Remover CertProblemListener.
9 years ago
Chris Smith
7ca2030324
Raise certificate events.
9 years ago
Greg Holmes
5ed53e40dd
Remove (nearly all) Logger usages.
9 years ago
Chris Smith
d11784d24a
Use Stream API in place of foreach loops.
This is IDEA's automatic inspection, so stuff may be a bit wonky.
9 years ago
Chris Smith
f6bf1c96ab
Remove pointless inheritDocs.
Change-Id: I0f9d7bf81ceaa80891279ffa9ff905691474edb0
Reviewed-on: http://gerrit.dmdirc.com/3805
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 years ago
Greg Holmes
4a55631b56
Switch to AutoClose instead of StreamUtils.
Change-Id: I07ed6c365c52470233ce2e56b262f6eb8456e874
Reviewed-on: http://gerrit.dmdirc.com/3791
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 years ago
Greg Holmes
6b670e2be4
Switch to maven central version of mig base64.
Change-Id: Icab0ac1a0d109e119262d10b92d7c01822d1e729
Reviewed-on: http://gerrit.dmdirc.com/3733
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 years ago
Chris Smith
5321ea8492
Style/inspection fixes.
Change-Id: Icd1b2e56b740d27af85f82563f9eef06f33a1914
Reviewed-on: http://gerrit.dmdirc.com/3698
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 years ago
Chris Smith
8176ecd3c1
Typo fixes.
Change-Id: I402d52e9bd09192fee54584e24f0eff33fd581e4
Depends-On: I2028d8c1ddd14b276f373b9400265b25f0e5e939
Reviewed-on: http://gerrit.dmdirc.com/3697
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 years ago
Chris Smith
f538c53f86
Fully configure the NB formatter and let it loose.
Change-Id: I7e8052839daa79fa113b89fd0b8c1c892a605b73
Reviewed-on: http://gerrit.dmdirc.com/3122
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
30e9268b44
Tidying.
Change-Id: I2d37f4e0be3d4c8f0a867ad9a0a516dc3193a2a5
Reviewed-on: http://gerrit.dmdirc.com/3018
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
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 years ago
Chris Smith
67e955b2ae
Tidying, inject a few more things.
Change-Id: I9890b67a410c382ac29bd8c264fb7deed389710e
Reviewed-on: http://gerrit.dmdirc.com/2921
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Greg Holmes
64b6878f29
Java 7 conversions
Change-Id: I0b0f84fee719d5d2ad4ff62864ea340af07192a3
Reviewed-on: http://gerrit.dmdirc.com/2893
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Chris Smith
a335bf1208
Use config interfaces where possible.
Change-Id: Iaabedda2fa68c4e5562bb069dcdf15fa0c3beeea
Depends-On: I5f140e89bfb8c57804d0a500bbc9f5c18555b0e9
Reviewed-on: http://gerrit.dmdirc.com/2768
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Shane Mc Cormack
b87e3ba335
Update copyright for 2013
Change-Id: Idf38f5027a92166daf99039de75b759d47431de1
Reviewed-on: http://gerrit.dmdirc.com/2607
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
11 years ago
Shane Mc Cormack
d26602c9dc
Update Copyright for 2012
Change-Id: I0d40c3ac86b9e06fad3f29bc36612b4162e54d1c
Reviewed-on: http://gerrit.dmdirc.com/2287
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 years ago
Chris Smith
5c64a29c45
Deprecations
Change-Id: I1aa33d6e360f6050b02b7fe3f7db1312451c93fb
Reviewed-on: http://gerrit.dmdirc.com/2282
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
12 years ago
Chris Smith
a7a57eca29
Fix fallout from util changes
Change-Id: I0bfd2dc61096dd9670b269463c27d9b00fd9a917
Depends-On: I6d0665e57f6e0e2ff2fb6a18742acb99010e79bf
Depends-On: Ia8de3c1a5fdc1eb9cfaa8b29a32bb3efb6d8ce6f
Reviewed-on: http://gerrit.dmdirc.com/2242
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
12 years ago
Greg Holmes
b1e76a2cc1
Clear problems if manually trusted.
Fixes CLIENT-271
Change-Id: I7cc4e8aada6f6d5c6ad4c344f7e7ca91276750a2
Reviewed-on: http://gerrit.dmdirc.com/2108
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
13 years ago
Greg Holmes
d04e2bea4f
Change header?
Change-Id: I635e0d111ed182713132145e4d5fb1654f776ec4
Reviewed-on: http://gerrit.dmdirc.com/2071
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 years ago
Chris Smith
f2018c541b
Remove trailing spaces
Change-Id: I9f382ab3d7b078fb759cbaca618bec5d21b8b5d9
Reviewed-on: http://gerrit.dmdirc.com/1919
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 years ago
Chris Smith
c85becfe06
Tidy CertManager code and make it use listeners
Fixes CLIENT-181
Depends-On: I0824e93a7f0f0f11baf9ce444626e2aaf380471f
Change-Id: Ia13ab57d81b176c801c71d4a252cace76beb9163
Reviewed-on: http://gerrit.dmdirc.com/1877
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 years ago
Chris Smith
68b0ed1d1f
Style fixes
Change-Id: I94a245fd1824ba6a5c8c32e66a45a0c9be806aa1
Reviewed-on: http://gerrit.dmdirc.com/1750
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 years ago
Chris Smith
47af8cd7ce
PMD fixes and rule updates
Lots more rules treated as errors now
Change-Id: Ie8065d958bd4fbd7cccb1c06aefbc459cfde01c3
Reviewed-on: http://gerrit.dmdirc.com/1746
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 years ago
Shane Mc Cormack
fd83b6b2a9
Update Copyright
Change-Id: I7f63fdd02ea0109fe31e55c44b078edae3862f32
Reviewed-on: http://gerrit.dmdirc.com/1726
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 years ago
Chris Smith
55538ba665
Support wildcard hosts in SSL certificates
Change-Id: If46cacae78193d55668ca9c5eb40dada211b95d7
Fixes-issue: 4333
Reviewed-on: http://gerrit.dmdirc.com/1454
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
14 years ago
Chris Smith
5998d63bfa
Style fixes
Change-Id: If9e2db981a3fe8f020b7ac784d01a5d6e5668c26
Reviewed-on: http://gerrit.dmdirc.com/1453
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
14 years ago
Chris Smith
5d584f2068
Style fixes
Change-Id: Idffa6c2559bcc2112c9657b15349aa80579ab83a
Reviewed-on: http://gerrit.dmdirc.com/1336
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
6e42762d67
Style fixes
Change-Id: Icfab1de147645d80a999c3678daf268e7e115066
Reviewed-on: http://gerrit.dmdirc.com/1331
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
e5763b824c
Style improvements
Change-Id: I50c85748a8d1535b109307e22376f21a5f754cea
Reviewed-on: http://gerrit.dmdirc.com/819
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
14 years ago
Gregory Holmes
bf1b2384fc
Catch FileNotFoundException and raise a nice error for the user
Fixes issue 3673
Change-Id: I662aa8aac0521190d5c17f6127dbdcfb1c642c48
Reviewed-on: http://gerrit.dmdirc.com/786
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
Chris Smith
dc6a4829d6
We don't need to provide a cacert password
Per the docs, we can read the file with a null password, just not modify
it (which we don't do). This bypasses file validation, and therefore
fixes issue 3512
Change-Id: If3ac618a4bf9b83be43d9a4d864723f4572e2f8c
Reviewed-on: http://gerrit.dmdirc.com/564
Automatic-Compile: Gregory Holmes <greboid@dmdirc.com >
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Chris Smith
65f9d33e72
Use StreamUtil in CertificateManager
Change-Id: I01438bd22213fadffee63cd131efffbf1a77da18
Reviewed-on: http://gerrit.dmdirc.com/545
Automatic-Compile: Gregory Holmes <greboid@dmdirc.com >
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Shane Mc Cormack
b691b14491
Update the copyright date on all files.
UpdateCopyright.sh now works out the year automatically.
UpdateCopyright.sh now ignores .git aswell as .svn
UpdateCopyright.sh now excludes Binary Files from being matched during the initial search, rather than as an afterthought.
Change-Id: I2cfc56851a4217a4c85cbc7361c7a90421aae717
Reviewed-on: http://gerrit.dmdirc.com/202
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Tested-by: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
Chris Smith
610ea2d4ec
Errors loading trusted CAs are now user not app
Fixes issue 3038, fixes issue 3076
Change-Id: Id23d13b86bcb6bb75fe12c49a8fb1ab8423fd2dc
Reviewed-on: http://gerrit.dmdirc.com/67
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Chris Smith
6ce9cfa1e2
Differentiate reasons why a certificate is trusted/untrusted
If it's manually trusted, overlook any other errors.
Fixes issue 2770.
15 years ago
Chris Smith
e4cd22244c
All methods marked @since 0.6.3 are now @since 0.6.3m1
15 years ago
Shane Mc Cormack
56cff273a0
Poking about at the core not quitting when the SSL Dialog is visible.
15 years ago
Chris Smith
da382ae7c3
Fix resource leake in CertificateManager
15 years ago