Commit Graph

3090 Commits

Author SHA1 Message Date
29f89bdacd Merge pull request #356 from Alameyo/SSLContext
SPARK-1966, SPARK-1952, SPARK-1969, SPARK-1970, SPARK-1971 and partially SPARK-1968
2017-08-07 13:58:30 +02:00
8fc3d2c5cd Removed setting port for STARTTLS, fixed enabled on start checkboxes.
Added setUp method to SPARKSSLContext, removed acceptAll from Security
tab as there is already Accept All checkbox in certificates tab.
2017-08-05 20:55:44 +02:00
6c4c7315f0 Changes for self signed certificate, soft fail policy, not Valid Yet and some other minor changes. 2017-08-03 23:03:23 +02:00
bf2570bd12 SPARK-1977 Support for OCSP. Also removed Bouncy Castle provider for PKIX validator to use default one. 2017-08-03 22:50:48 +02:00
a17fb9e354 Now information if certificate is Self Signed is determined comparing subject name and issuer name (have to be equal). 2017-08-03 22:47:40 +02:00
c0631d21de Additional file path changes. 2017-08-03 22:47:40 +02:00
ee360778c5 SPARK-1975 Self Signed certificates now will be accepted. 2017-08-03 22:47:40 +02:00
f7c09f7088 SPARK-1966, SPARK-1952, SPARK-1969, SPARK-1970, SPARK-1971 and partially SPARK-1968 2017-08-03 22:47:40 +02:00
95f3019ba4 Merge pull request #366 from wrooot/master
SPARK-1946 fix logic
2017-07-30 16:40:10 +03:00
9c30b42071 SPARK-1946 fix logic 2017-07-30 16:24:56 +03:00
3050728a38 SPARK-1946 add option to disable start a chat (#365)
* SPARK-1946 add option to disable start a chat

* SPARK-1946 add option to disable start a chat
2017-07-30 16:12:53 +03:00
13c2e11d4a Merge pull request #364 from wrooot/master
SPARK-1974 Update LT translation, fix EN
2017-07-29 23:16:42 +03:00
3c85ecdd75 SPARK-1974 Update LT translation, fix EN 2017-07-29 22:57:12 +03:00
9211ef16a4 Merge pull request #363 from guusdk/SPARK-1956_Preference-dialog-should-remember-size
SPARK-1956: Preference dialog should remember its size.
2017-07-28 22:24:05 +03:00
aacb86f527 SPARK-1956: Preference dialog should remember its size.
The recent fix for SPARK-945 already stored the preference dialog size and position, which fixed most of this
bug. When that was implemented, a rogue invocation of .pack() was placed after the stored settings were applied.
This resized the component again.
2017-07-28 21:04:13 +02:00
9cda033447 Merge pull request #362 from guusdk/SPARK-1888_Plugin-management
SPARK-1888: Plugin management
2017-07-28 19:44:59 +03:00
eeef5cbf30 SPARK-1888: Uninstall a plugin when the GUI instructs so.
This is a fix to what I assume to be a bug. The method, used by the UI part where plugins are managed,
is documented as 'remove and uninstall' a plugin. It only removed, but did not uninstall. I've fixed that
with this commit.
2017-07-28 18:14:46 +02:00
d19aca5358 SPARK-1888: Properly uninstall a plugin
When uninstalling a plugin, all files from the plugin directory should be removed.
2017-07-28 18:14:46 +02:00
9e4b30c815 SPARK-1888: Reformatting code for Plugin Manager
To fix the issue at hand, improving the readability of the code helps a lot. In this commit,
I've applied a code formatter (to just the Plugin Manager code) and made some basic changes
(added/improved log messages mostly).
2017-07-28 18:14:46 +02:00
c45e4209fa Merge pull request #361 from guusdk/SPARK-1976_Better-error-messages
SPARK-1976: Make sure error dialog is centered.
2017-07-28 13:29:16 +03:00
37ab75dd73 SPARK-1976: Make sure error dialog is centered.
This ensures that the error dialog is centered, in relation to it's parent. Also, when expanding
the details (which changes the size of the dialog), the dialog is repositioned again (to remain
centered).
2017-07-28 09:20:56 +02:00
2bd7076d8f Merge pull request #360 from guusdk/SPARK-1976_Better-error-messages
SPARK-1976: Better error messages
2017-07-28 06:29:33 +03:00
5d6f5bf58a SPARK-1976: Better error messages
This commit:
- reworks the login method to remove some redundant code;
- applies the MessageDialog-provided error dialog generator to the login method;
- refactored the MessageDialog error dialog generator (to allow for toggling of the large stacktrace pane).

In all, this should improve the error messages during login. The same technique could be re-used elsewhere.
2017-07-27 23:32:26 +02:00
9cde1adaf9 Merge pull request #359 from guusdk/SPARK-1972_New_security-login-settings-panel
SPARK-1973: Spark should show an indicator when the connection is not…
2017-07-27 22:06:03 +03:00
38bdf87fba Update spark_i18n.properties 2017-07-27 21:46:28 +03:00
3b8bdfd069 SPARK-1973: Spark should show an indicator when the connection is not encrypted. 2017-07-27 00:49:26 +02:00
45416a1479 Merge pull request #358 from guusdk/SPARK-1972_New_security-login-settings-panel
SPARK-1972: New 'security' login settings panel.
2017-07-27 00:47:21 +02:00
f7890f9cda SPARK-1972: New 'security' login settings panel.
This commit adds a new 'security' tab to the advanced login settings. Here, security-related
settings are made available.

Also, this commit makes slight modifications to the other tabs, by making the components be
oriented more to the top-left corner (instead of being centered - which looks pretty ugly).
2017-07-27 00:18:39 +02:00
fd66d74f78 Merge pull request #357 from wrooot/master
SPARK-1918 added credits to test updating packs after upgrade
2017-07-24 21:54:45 +03:00
78810991de SPARK-1918 added credits to test updating packs after upgrade 2017-07-24 21:31:34 +03:00
1a4e60623f SPARK-1865 Update bundled JRE to 1.8.0u141 2017-07-24 08:30:34 -05:00
a69eb3835c Merge pull request #355 from guusdk/efficiency
Efficiency
2017-07-23 11:42:22 +03:00
a47a46e37c SPARK-1965: Replace emoticon archives with separate files in version control
Instead of adding the zip files to git, this commit adds the unzipped content, and ensures that the Maven build generates the zip files. This way, editing is a lot easier, and changes are better tracked.
2017-07-23 00:30:53 +02:00
b2dac17c1d SPARK-1962: Don't force smilies to lowercase.
The old code was doing "smiley-text to image" lookup by converting everything to lowercase, then doing a
case insensitive lookup. My last commit made that lookup case sensitive, which caused lookups for :-D and :-P to fail.

This commit remove the to-lowercase conversion of the text that's used in the lookup, fixing those instances again.
2017-07-23 00:21:43 +02:00
eab7e3c409 Merge pull request #354 from guusdk/efficiency
Efficiency
2017-07-22 11:15:53 +03:00
bf55db946d SPARK-1964: Don't use the UI dispatcher thread when not needed.
Actions that don't affect the UI should not be executed in the heavily synchronized dispatcher. It will needlessly delay execution, but also make the dispatcher thread unavailable for tasks that do belong there.
2017-07-22 01:05:50 +02:00
bc7d242aa3 SPARK-1963: Prevent calculation of unchanged avatar data.
There's no need to recalculate an avatar hash if the avatar didn't change. Preventing this will improve performance.
2017-07-22 00:59:15 +02:00
42b8d2ecea SPARK-1962: Use key-based lookups to find correct emoticon.
This replaces an earlier implementation that'd iterate over all emoticons in a pack when searching for a match with a particular text.
2017-07-22 00:55:00 +02:00
4a8e718afa SPARK-1961: Disable themes that are CPU-hungry.
This commit disables three themes that each add a considerable load to the startup of Spark.
2017-07-22 00:49:35 +02:00
faf1c0a023 Merge pull request #353 from Alameyo/keystore_managing
SPARK-1941, SPARK-1954
2017-07-14 16:23:24 +02:00
efade8bd18 More use of memory/list instead of accesing keystores each time, fixed bug during adding and deleting certificates probably happen from working on few PR's simultaneously. 2017-07-12 19:09:54 +02:00
fae64b1c33 Changed Keystores paths from String to File, additional try with resources, other changes to make it work well with previous PRs. 2017-07-11 15:54:33 +02:00
48fa38c520 Added 3 new KeyStores. Method for managing certificates between them. 2017-07-11 12:23:06 +02:00
ed31921d33 Merge pull request #352 from Alameyo/deleting_certificates
SPARK-1945, SPARK-1957, SPARK-1936
2017-07-10 11:39:55 +02:00
f38839561c Bad labels. 2017-07-10 11:35:11 +02:00
f6a6da4c28 Added deleting certificates and field with status of the certificate, also fixed bug with not displayable information about expired/not valid yet certificate. 2017-07-10 11:35:11 +02:00
ef8e73fd10 Merge pull request #351 from Alameyo/extensions_extraction
SPARK-1934, SPARK-1939 Certificate extensions.
2017-07-07 13:24:10 +02:00
4d7cf014c4 Cleaning code, removed constructor without certificate. 2017-07-04 13:03:58 +02:00
1a58bc840e Added more null checks, caching NullPointerException in extensionExtractHandler. Also added information about criticality of extension. 2017-07-01 21:12:59 +02:00
a2d9f7082a Extensions extraction 2017-06-30 12:14:00 +02:00