Commit Graph

115 Commits

Author SHA1 Message Date
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
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
3c85ecdd75 SPARK-1974 Update LT translation, fix EN 2017-07-29 22:57:12 +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
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
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
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
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
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
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
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
4ba79636bf Merge pull request #346 from Alameyo/SPARK-1944
SPARK-1944
2017-06-30 11:14:38 +02:00
372dc6a863 New tabel stretching, colored cells with reason of validity/invalidity, centred values. 2017-06-29 17:48:05 +02:00
46dbd378dd Now 3 columns in certificates table. Changed sizes of buttons. Disabled show certificate button until user click on table. Added dialog that shows up when certificate is invalid. 2017-06-24 11:59:17 +02:00
b29b477129 Auto setting alias for cerificates. Table now scroll to top well. Auto set up certificate as trusted or distrusted depending on validity. 2017-06-23 20:28:02 +02:00
28cac885b5 SPARK-1950 remove & from Plugins menu translations 2017-06-23 19:37:01 +03:00
ae9a353401 SPARK-1950 remove & from Plugins menu translations 2017-06-23 18:03:17 +03:00
59034112f6 Merge branch 'master' into SPARK-945_store-bounds 2017-06-23 00:43:46 +02:00
97bbdf9b84 SPARK-945: Store bounds for VCard editor.
This commit ensures that the size and position is remembered for the dialog in which a user manages VCards (the profile information).
2017-06-23 00:41:12 +02:00
9f7f8d6154 SPARK-945: Store bounds for Broadcast history and message dialogs.
This commit ensures that the size and position is remembered for the dialogs in which a user manages broadcasts.
2017-06-23 00:41:12 +02:00
32188d874b SPARK-945: Store bounds for Plugin dialog.
This commit ensures that the size and position is remembered for the dialog in which a user manages plugins.
2017-06-23 00:41:12 +02:00
648103188e SPARK-945: Store bounds for Conference Room Browser.
This commit ensures that the size and position is remembered for the dialog in which a user selects a chat room to join.
2017-06-23 00:41:12 +02:00
f2b97aa5a6 SPARK-945: Save component bounds upon change
This commit changes how component bounds (position + dimension) are stored. Before this commit, this
occurred only when every component was closing. When closing Spark abruptly, these event listeners did not always trigger.

With this commit, the bounds of components are updated whenever they change. The bounds are saved just once, when the main screen quits.
2017-06-23 00:41:06 +02:00
b35ba58346 Changed all TextFields to TextAreas. You cannot add certificate if it have alias as existing certificate/certificate is already in keystore/provided alias is empty. 2017-06-22 23:50:00 +02:00