429 Commits

Author SHA1 Message Date
Julian Raufelder
290b26ea7a
Merge branch 'develop' into release/1.5.14 2021-04-12 17:33:41 +02:00
Julian Raufelder
b78b3ddc2b
New Crowdin updates 2021-04-12 17:29:38 +02:00
Julian Raufelder
fbcbb520a4
Update dependencies 2021-04-12 16:20:08 +02:00
Julian Raufelder
fc9110f520
Merge branch 'develop' into feature/vault-format-8 2021-04-12 16:02:46 +02:00
Julian Raufelder
ae4c57ac8e
Fix MasterkeyCryptoCloudProviderTest and enhance logging when test fails 2021-04-12 16:00:22 +02:00
Julian Raufelder
4871172fb4
Finish tests of MasterkeyCryptoCloudProvider 2021-04-09 15:02:14 +02:00
Julian Raufelder
65ad054ff3
Enhance visibility for testing 2021-04-09 14:56:40 +02:00
Julian Raufelder
a4762fb32a
Test content of written vault config as well
While creating a vault, check also the content for the
vault.cryptomator file.
2021-04-09 09:24:36 +02:00
Julian Raufelder
f6c8554779
Add VaultConfigBuilder as parameter in createVault
To enhance testing
2021-04-09 09:22:41 +02:00
Julian Raufelder
23350a8cd7
Write createVault test and started with lockVault but still WIP 2021-04-08 21:58:16 +02:00
Julian Raufelder
cf5bf19c98
Provide SecureRandom as parameter for better testing and code dedup 2021-04-08 21:57:16 +02:00
Julian Raufelder
9c0067b7e2
Enhance error handling while verifying vault
Display error messages when failed to read or verify the vault config
2021-04-08 20:26:55 +02:00
Julian Raufelder
9b989561df
Update dependencies 2021-04-08 20:02:44 +02:00
Julian Raufelder
617c0386bf
Select vault / masterkey file while adding a vault 2021-04-08 15:37:51 +02:00
Julian Raufelder
e34597a716
Improve error handling while verifying VaultConfig 2021-04-07 18:29:23 +02:00
Julian Raufelder
4a20fbf7ab
Delete vault when not found and user confirmed 2021-04-07 17:59:19 +02:00
Julian Raufelder
18d7c9c218
Rename to Impl since no other ciphers left 2021-04-07 17:22:14 +02:00
Julian Raufelder
3fef796546
Add vault format 8 support 2021-04-07 16:59:32 +02:00
Julian Raufelder
6df05fd95b
Simplify exists check in CloudImpls:write
Switching if (exists(file) && !replace) to  if (!replace && exists(file))
2021-04-07 15:50:00 +02:00
Julian Raufelder
f2c918b740
Update dependencies 2021-03-31 12:16:07 +02:00
Julian Raufelder
7ea696ac01
Update dependencies 2021-03-30 14:47:05 +02:00
Julian Raufelder
3edc9f2876
Update release notes 2021-03-30 12:45:13 +02:00
Julian Raufelder
cfad5d1655
Bump version to 1.5.14-beta1 2021-03-30 12:24:23 +02:00
Julian Raufelder
85706c35b3
New Crowdin updates 2021-03-30 12:22:17 +02:00
Julian Raufelder
25ce8e68b3
Update strings.xml
[ci skip]
2021-03-30 12:04:32 +02:00
Julian Raufelder
932ea09b62
Merge branch 'develop' into feature/vault-format-8 2021-03-29 14:05:29 +02:00
Julian Raufelder
9364d77f80
Merge branch 'feature/pcloud' into develop 2021-03-26 21:02:08 +01:00
Julian Raufelder
56a1543641
Update to latest version of pcloud-sdk-java 2021-03-26 20:59:49 +01:00
Julian Raufelder
10ce9dee79
Merge pull request #283 from mjenny/feature/native-pcloud-support
feat: introduce native pCloud support
2021-03-26 20:55:52 +01:00
Julian Raufelder
9843e77c3f
Reformat code to apply to project style guide 2021-03-26 17:07:08 +01:00
Julian Raufelder
483a831618
Re-authenticate if credential is expired 2021-03-26 17:07:08 +01:00
Manuel Jenny
d227c5c0fd
fix: use static sets, user proper name 2021-03-26 17:07:07 +01:00
Manuel Jenny
728d5262ab
fix: handleApiError() with name 2021-03-26 17:07:07 +01:00
Manuel Jenny
d3609ac691
fix: directly return newFile 2021-03-26 17:07:07 +01:00
Manuel Jenny
aaf7f4bfb5
fix: remove file encoding left overs 2021-03-26 17:07:07 +01:00
Manuel Jenny
c57a59c29b
fix: remove filename encoding 2021-03-26 17:07:06 +01:00
Manuel Jenny
6217c42440
chore: add TODO regarding filename encoding 2021-03-26 17:07:06 +01:00
Manuel Jenny
e1bc82b89a
fix: throw NoSuchCloudFileException if API Error Code is 2002 2021-03-26 17:07:06 +01:00
Manuel Jenny
fe87ae3126
fix: only take username into account in configurationMatches() 2021-03-26 17:07:06 +01:00
Manuel Jenny
5695a5c0ed
Revert "fix: list for root folder"
This reverts commit a2215694b1a25312dfeaced866561ec1447f09a9.
2021-03-26 17:07:05 +01:00
Manuel Jenny
e35f1d6087
fix: list for root folder 2021-03-26 17:07:05 +01:00
Manuel Jenny
fe07f376b5
fix: use proper icons 2021-03-26 17:07:05 +01:00
Manuel Jenny
9b93fb9623
feat: remove idCache and switch to loading with paths 2021-03-26 17:07:05 +01:00
Manuel Jenny
86a0b1e6d5
fix: actually verify configurationMatches 2021-03-26 17:07:05 +01:00
Manuel Jenny
6ccee05851
fix: instantiate separate idCache for each PCloud instance 2021-03-26 17:07:04 +01:00
Manuel Jenny
d3bb9d30aa
fix: remove cache for OkHttpClient 2021-03-26 17:07:04 +01:00
Manuel Jenny
20939f9ba0
fix: rename writeData to writeToData 2021-03-26 17:07:04 +01:00
Manuel Jenny
c5c139f962
fix: once again remove unused imports... 2021-03-26 17:07:04 +01:00
Manuel Jenny
b97a4750c6
feat: implement file cache
Due to the way the pCloud revision handling is implemented every
download will actually be a cache miss even if the file is small enough
and didn't change since last download.

Therefore, we have to implement our own file cache.
2021-03-26 17:07:03 +01:00
Manuel Jenny
8c030a5f9c
fix: throw NoSuchCloudFileException if fileId is missing 2021-03-26 17:07:03 +01:00