From 81bad4eb25772b53a5c27b3d889e9f1baa28cd55 Mon Sep 17 00:00:00 2001 From: JaniruTEC Date: Thu, 9 Jul 2020 22:34:57 +0200 Subject: [PATCH 01/59] Fixed bug: Some exceptions caused by unlock were not shown If an unmatched exception occurred during unlocking it was neither logged nor shown to the user. --- .../main/java/org/cryptomator/ui/unlock/UnlockWorkflow.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main/ui/src/main/java/org/cryptomator/ui/unlock/UnlockWorkflow.java b/main/ui/src/main/java/org/cryptomator/ui/unlock/UnlockWorkflow.java index 08b8adf71..20109f01e 100644 --- a/main/ui/src/main/java/org/cryptomator/ui/unlock/UnlockWorkflow.java +++ b/main/ui/src/main/java/org/cryptomator/ui/unlock/UnlockWorkflow.java @@ -9,7 +9,6 @@ import javafx.stage.Window; import org.cryptomator.common.vaults.Vault; import org.cryptomator.common.vaults.VaultState; import org.cryptomator.common.vaults.Volume; -import org.cryptomator.cryptolib.api.CryptoException; import org.cryptomator.cryptolib.api.InvalidPassphraseException; import org.cryptomator.keychain.KeychainAccessException; import org.cryptomator.keychain.KeychainManager; @@ -87,7 +86,7 @@ public class UnlockWorkflow extends Task { } catch (NotDirectoryException | DirectoryNotEmptyException e) { handleInvalidMountPoint(e); throw e; // rethrow to trigger correct exception handling in Task - } catch (CryptoException | Volume.VolumeException | IOException e) { + } catch (Exception e) { handleGenericError(e); throw e; // rethrow to trigger correct exception handling in Task } finally { From e2e7755af26b03b3809cb292296251ee0686b506 Mon Sep 17 00:00:00 2001 From: JaniruTEC Date: Sat, 18 Jul 2020 18:57:11 +0200 Subject: [PATCH 02/59] Added cryptomator.mountPointsDir-property to Windows Configs --- .idea/runConfigurations/Cryptomator_Windows.xml | 2 +- main/buildkit/src/main/resources/launcher-win.bat | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.idea/runConfigurations/Cryptomator_Windows.xml b/.idea/runConfigurations/Cryptomator_Windows.xml index 05852ad59..40d4aba23 100644 --- a/.idea/runConfigurations/Cryptomator_Windows.xml +++ b/.idea/runConfigurations/Cryptomator_Windows.xml @@ -2,7 +2,7 @@