263 Commits

Author SHA1 Message Date
Julian Raufelder
a7f3893719
Fix env variable name in Fastlane template file
[ci skip]
2021-04-13 09:42:35 +02:00
Julian Raufelder
10a3b3b472
Don't track French release note
Because the English version is copied using Fastlane while releasing [ci skip]
2021-04-13 09:39:56 +02:00
Julian Raufelder
39966e85da
Bump version to 1.6.0-SNAPSHOT
[ci skip]
2021-04-12 18:24:50 +02:00
Julian Raufelder
39eceb5727
Merge branch 'main' into develop 2021-04-12 18:22:59 +02:00
Julian Raufelder
71e872a6ed
Merge branch 'release/1.5.14' 2021-04-12 17:43:43 +02:00
Julian Raufelder
18dbb0267b
Bump version to 1.5.14 2021-04-12 17:40:23 +02:00
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
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
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
Manuel Jenny
a491dd4766
fix: use correct access token 2021-03-26 17:07:03 +01:00
Manuel Jenny
81bde173f1
fix: improve exception handling for read() 2021-03-26 17:07:03 +01:00
Manuel Jenny
2158e2a0d4
fix: move from stat to loadFile 2021-03-26 17:07:02 +01:00
Manuel Jenny
44c5029651
fix(rebase): use proper setter for Url 2021-03-26 17:07:02 +01:00
Manuel Jenny
5904073776
fix: remove unused imports 2021-03-26 17:07:02 +01:00
Manuel Jenny
2fcf53b633
feat: add exception handling 2021-03-26 17:07:02 +01:00
Manuel Jenny
1146a5e8fc
fix: file upload with unencoded filename
There seems to be an issue with unencoded filenames when uploading a new
file to the vault.

E.g. file name
"YYbfUTn6ViuRkXzeXXYAAu8z6DwFMrTNtPY3zpjn24RIUmzqqi4=.c9r" will result
in a broken upload. Encoding the filename will solve this:
"YYbfUTn6ViuRkXzeXXYAAu8z6DwFMrTNtPY3zpjn24RIUmzqqi4%3D.c9r"

However, this will actually result in the file's name being encoded. If
the filename and the encoded filename do not match we need to rename the
uploaded file using the correct filename.
2021-03-26 17:07:01 +01:00
Manuel Jenny
d9d88df49a
fix: use ROOT_FOLDER_ID inline 2021-03-26 17:07:01 +01:00
Manuel Jenny
eba5ab6a4c
fix: get root folder id from RemoteFolder 2021-03-26 17:07:01 +01:00
Manuel Jenny
80a0d7cdcd
fix: throw WrongCredentialsException in findEntry() 2021-03-26 17:07:01 +01:00
Manuel Jenny
369e1d1945
feat: add error code for revoked access token 2021-03-26 17:07:00 +01:00