Sebastian Stenzel
9076fe5b46
Reintroduced trimming of vault display name
2020-11-06 11:07:45 +01:00
Sebastian Stenzel
6848f1a38e
Renamed IrregularUnmountCleaner and relayouted code
2020-11-06 11:07:22 +01:00
Sebastian Stenzel
f4103fc917
reducing complexity of normalizedDisplayName
2020-11-06 09:54:25 +01:00
Sebastian Stenzel
c838da9df4
reducing complexity for "vault name max length"
2020-11-06 09:52:31 +01:00
Sebastian Stenzel
78df4e24b3
keep iconography consistent by reusing already existing icons
2020-11-06 09:51:51 +01:00
Armin Schrenk
813c01aaed
Use mountName instead of display name
2020-11-05 13:23:30 +01:00
Armin Schrenk
510ea8a6f6
refined normalize Method, fxied Tests for it:
...
* all unicode spaces are now replaced with \u0020
* if the end string only contains whitspaces, "_" will be returned
2020-11-05 12:44:51 +01:00
Armin Schrenk
a22fbea467
The display/vault name is now constrained:
...
* should not be empty
* is stripped of leading & trailing whitespaces
* is truncated to 50 characters
2020-11-05 11:55:25 +01:00
Armin Schrenk
f64144d1da
Revert 1554437884
2020-11-05 11:52:38 +01:00
Armin Schrenk
c01dd225c9
Refactor normalizedMountname to only exclude certain, filesystem reserved characters or Unicode control sequences
2020-11-05 11:47:18 +01:00
Armin Schrenk
8853054ed4
fixing test
2020-11-03 14:53:51 +01:00
Armin Schrenk
3eb44b06af
Fixes #1061 :
...
* temp mount point is first tried without any addition
* then with id Suffix in brackets
* then with underscores, id suffix and count
2020-11-03 12:50:52 +01:00
Armin Schrenk
1554437884
Use regular display name and only normalize if webdav is used:
...
* rename StringBinding mountName to normalizedDisplayName
* replace in all other occurences mountName with DisplayName
2020-11-03 12:44:09 +01:00
Armin Schrenk
268bae8879
Change Invalid mount point error window:
...
* Add heading
* change icon to times_with_circle
* reformat text
2020-11-03 12:13:22 +01:00
Armin Schrenk
aa22f656e8
Moving the code for unregular unmount leftovers from mountpoint chooser to an own class and execute it at each application start.
2020-11-02 17:34:34 +01:00
Armin Schrenk
d24734e16f
Revert "Adding method to clean up _our_ tmp mounting dirs to mitigate #1061 and #1013 "
...
This reverts commit 01522e8c97 .
2020-11-02 17:25:43 +01:00
Armin Schrenk
01522e8c97
Adding method to clean up _our_ tmp mounting dirs to mitigate #1061 and #1013
2020-11-02 14:49:57 +01:00
Sebastian Stenzel
9a375cb3f6
updated label
...
[ci skip]
2020-11-02 09:43:54 +01:00
Sebastian Stenzel
2b8f39a149
ignored some derived files
2020-11-02 09:41:07 +01:00
JaniruTEC
2720a999d1
Updated codestyle ( #1388 )
...
Co-authored-by: Sebastian Stenzel <overheadhunter@users.noreply.github.com >
2020-11-02 08:45:41 +01:00
Ralph Plawetzki
f675bd5017
Feature/change password backend 2 ( #1375 )
...
* Add option to choose from available password backends on Linux
Implements #1301
2020-11-02 08:19:26 +01:00
JaniruTEC
16be3e7a97
Merge pull request #1384 from cryptomator/fix/missing-exceptions
...
Fix/missing exceptions
2020-10-29 16:58:51 +01:00
JaniruTEC
551d9d1af1
Added default Errorhandler to all Tasks and Services
2020-10-28 16:21:14 +01:00
JaniruTEC
0acc8ddb0a
Fixed UnlockWorkflow
...
Partly reverted 253abd4930
2020-10-28 15:50:20 +01:00
JaniruTEC
f0e1bcb899
Moved call to #setOnFailed() to UpdateStatsService implementation
2020-10-28 15:40:59 +01:00
JaniruTEC
d331c30224
Revert "Added UI error messages"
...
This reverts commit eb8f5f523d .
2020-10-28 15:21:59 +01:00
JaniruTEC
d0d39a1c72
Merge branch 'develop' into fix/missing-exceptions
2020-10-27 17:04:32 +01:00
JaniruTEC
8904df91b4
Reverted accidental changes to Project_Default.xml [Skip CI]
2020-10-27 16:18:55 +01:00
JaniruTEC
786365c095
Added ability to skip CI
...
Added check for "Skip CI", added comment
Added filter for skipping CI
2020-10-27 16:12:35 +01:00
JaniruTEC
eb8f5f523d
Added UI error messages
...
Added UI error message to GeneralPreferencesController for ToggleAutoStartTask
Added UI error message to RecoveryKeyCreationController
2020-10-26 21:19:24 +01:00
JaniruTEC
9c22adc97d
Added/Fixed error logging
...
Added error logging to VaultStats and GeneralPreferencesController
Fixed possible missing error logging in VaultService
2020-10-26 21:17:22 +01:00
Sebastian Stenzel
265212cc0f
New Crowdin updates ( #1302 )
...
* New translations strings.properties [ci skip]
2020-10-26 10:00:58 +01:00
Sebastian Stenzel
9c860cc17c
Merge pull request #1380 from cryptomator/snyk-fix-bc2c8d6dd6d679e9ec6736de3d13592d
...
[Snyk] Security upgrade com.google.guava:guava from 29.0-jre to 30.0-jre
2020-10-24 09:55:05 +02:00
Sebastian Stenzel
7f63153bc1
Update main/pom.xml
2020-10-24 09:47:09 +02:00
snyk-bot
9531d44ab5
fix: main/pom.xml to reduce vulnerabilities
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JAVA-COMGOOGLEGUAVA-1015415
2020-10-24 01:50:58 +00:00
JaniruTEC
253abd4930
Refactored UnlockWorkflow
...
Replaced protected state methods (scheduled, etc.) with lambdas in the constructor
Replaced try-multi-catch with if-instanceof in onFailed-lambda
2020-10-22 18:58:46 +02:00
JaniruTEC
022ba81f2f
Reformatted classes ErrorComponent and Tasks
2020-10-22 18:33:20 +02:00
Armin Schrenk
26160e9bbc
Merge pull request #1346 from purejava/fix-isSupported
...
Evade DBusException
2020-10-21 10:56:16 +02:00
JaniruTEC
0a32de2c92
Addded dev run configs, removed fuse-setting from win prod config
2020-10-16 22:38:39 +02:00
JaniruTEC
60aeb6a04b
Merge pull request #1307 from cryptomator/feature/fuse-on-win
...
Added (experimental) support for using FUSE on Windows (using WinFSP)
2020-10-14 15:29:37 +02:00
JaniruTEC
0206fc0b8f
Bumped required version of fuse-nio-adapter to 1.2.5
2020-10-14 15:26:28 +02:00
JaniruTEC
06b3343a6d
Partly Revert "Finished feature: Fuse on Win"
...
Revert changes to TemporaryMountPointChooser introduced by 598bec3050
2020-10-13 18:30:00 +02:00
JaniruTEC
598bec3050
Finished feature: Fuse on Win
...
Bumped required version of fuse-nio-adapter to 1.2.4
Added comments
Changed log messages to be more descriptive
2020-10-12 21:34:56 +02:00
Reid Rankin
0e5d72c22a
shorten FS_TYPE_NAME to "CryptomatorFS" ( #1371 )
...
This fixes part of #1033 by shortening the FS_TYPE_NAME so that it can be returned inside a 48-byte-long FILE_FS_ATTRIBUTE_INFORMATION buffer, which only has room for up to 17 UTF-16 characters in the file system name field.
2020-10-12 14:12:09 +02:00
JaniruTEC
21f4fab9ed
Fixed bug: Strange error message if no MPC was applicable
2020-10-09 18:40:50 +02:00
JaniruTEC
58e2ec4742
Changed contract of priorities in MPC, added null-check
...
See: ab538cd215 (original commit)
See: 6b6867b826 (reverting commit)
2020-10-08 19:14:03 +02:00
JaniruTEC
6b6867b826
Reverted ab538cd215
2020-10-08 18:51:03 +02:00
Ralph Plawetzki
92321a7569
Remove unneeded access modifier
2020-10-08 12:57:50 +02:00
JaniruTEC
7781572b6d
Replaced call to Validate with call to Preconditions
...
See: https://github.com/cryptomator/cryptomator/pull/1307#discussion_r500760560
2020-10-07 23:27:08 +02:00
JaniruTEC
b5efe39eb8
Refactored Vault, MPCs, Unlock to integrate better with latest changes
...
Removed delegate to Volume#getMountPointRequirement() from Vault
Added getter for the Vault's Volume (#getVolume())
Changed CustomMountPointChooser to use VaultSettings instead of Vault for the constructor/field declaration
Updated CustomMountPointChooser#isApplicable() to be disabled when using FUSE on Windows (without useExperimentalFuse)
Updated CustomMountPointChooser to call Volume#getMountPointRequirement() directly
Replaced OS-Check in TemporaryMountPointChooser with MPR-Check
Replaced call to Vault#getMountPointRequirement() with call to Vault#getVolume() (and Volume#getMountPointRequirement()) in UnlockInvalidMountPointController and UnlockWorkflow
Cleaned up UnlockWorkflow
2020-10-07 23:19:24 +02:00