112 Commits

Author SHA1 Message Date
Julian Raufelder
4e6983862f
Implement AuthStrategy for S3 2021-04-30 09:22:29 +02:00
Julian Raufelder
862596114b
Use endpoint or region in S3 2021-04-30 09:22:29 +02:00
Julian Raufelder
ac46aa6a57
Revert "fix(S3): instatiate new Region if it's not provided by the SDK"
This reverts commit ecaa9d4b00ac87fee1711376492334284290596f.
2021-04-30 09:22:28 +02:00
Julian Raufelder
91a0c2e5d3
Revert "Add S3 as module dependency"
This reverts commit 34b69805932fc12f526893932a7bca4a6aeddbf5.
2021-04-30 09:22:28 +02:00
Manuel Jenny
4f97a0d8d8
fix(S3): instatiate new Region if it's not provided by the SDK 2021-04-30 09:22:28 +02:00
Julian Raufelder
1a3b26696c
Add S3 as module dependency 2021-04-30 09:22:28 +02:00
Manuel Jenny
47b31fcd7d
fix(S3): only set Endpoint if not null 2021-04-30 09:22:27 +02:00
Manuel Jenny
c99ff2f190
fix(S3): ProgressListener 2021-04-30 09:22:27 +02:00
Manuel Jenny
5d08581362
fix(S3): folder creation 2021-04-30 09:22:26 +02:00
Manuel Jenny
6503727a40
fix(S3): folder / file handling 2021-04-30 09:22:26 +02:00
Julian Raufelder
e4ad22b00b
Add display name to S3 cloud 2021-04-30 09:22:26 +02:00
Manuel Jenny
4acc7f737e
fix(S3): remove S3ClientOptions 2021-04-30 09:22:25 +02:00
Julian Raufelder
939f3d2c1d
Insert missing return 2021-04-30 09:22:24 +02:00
Manuel Jenny
2a8e635177
fix(S3): switch to Android SDK 2021-04-30 09:22:24 +02:00
Julian Raufelder
76f757293a
Fix name of the method 2021-04-30 09:22:24 +02:00
Julian Raufelder
a736a33d88
Update database and UI to support S3 2021-04-30 09:22:23 +02:00
Manuel Jenny
b0f288f479
fix(S3): use listObjectsV2() 2021-04-30 09:22:23 +02:00
Manuel Jenny
cf715bc000
fix(S3): use own S3 Lru Cache 2021-04-30 09:22:22 +02:00
Manuel Jenny
4e082d5f8a
fix(S3): use trailing slash for folders 2021-04-30 09:22:22 +02:00
Manuel Jenny
a9525b4477
feat(S3): implement move() 2021-04-30 09:22:22 +02:00
Manuel Jenny
ddbb59b831
feat(S3): add new file() method 2021-04-30 09:22:21 +02:00
Manuel Jenny
fe15c748bc
fix(S3): ContentRepositoryFactory to use proper Cloud 2021-04-30 09:22:21 +02:00
Manuel Jenny
24e96b7205
fix(S3): make sure the build works 2021-04-30 09:22:21 +02:00
Manuel Jenny
bc3c0adba5
feat(S3): use SUFFIX, remove unthrowable exceptions 2021-04-30 09:22:21 +02:00
Manuel Jenny
7d9c20d137
feat(S3): cleanup S3CloudContentRepository
- use proper signature
- add TODO for error handling
2021-04-30 09:22:20 +02:00
Manuel Jenny
4afd6bc703
feat(S3): implement exists(), write(), read() and delete()
- add implementation for `exists()`
- add implementation for `write()`
- add implementation for `read()`
- add implementation for `delete()`
- add support for `currentAccount()`
2021-04-30 09:22:20 +02:00
Manuel Jenny
c63db47e56
feat(S3): support PutObjectResult, fix key / name
- add S3File creation with `PutObjectResult` support.
- properly extract name of file / folder from key.
2021-04-30 09:22:20 +02:00
Manuel Jenny
fe21e3988d
chore(pCloud): rename folder to parent 2021-04-30 09:22:20 +02:00
Manuel Jenny
3cf028ddce
feat(S3): implement list() and create() 2021-04-30 09:22:20 +02:00
Manuel Jenny
250e711d4a
feat(S3): implement S3CloudNodeFactory 2021-04-30 09:22:19 +02:00
Manuel Jenny
00a63228c1
feat(S3): initial structure (non functional S3Impl) 2021-04-30 09:22:19 +02:00
Manuel Jenny
0224532c45
feat(S3): add AWS S3 SDK dependency 2021-04-30 09:22:19 +02:00
Julian Raufelder
4f8f817808
#307 fix pCloud login in F-Droid 2021-04-24 23:37:07 +02:00
Manuel Jenny
c9489a3795
fix(pCloud): issue #305 NullReference
Fix #305: NullReference when calling loadFolder with empty string
2021-04-23 17:19:34 +02:00
Julian Raufelder
9364d77f80
Merge branch 'feature/pcloud' into develop 2021-03-26 21:02:08 +01:00
Julian Raufelder
9843e77c3f
Reformat code to apply to project style guide 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
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
9b93fb9623
feat: remove idCache and switch to loading with paths 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