Julian Raufelder
10cb02f475
Store vault metadata like format in database and refresh while unlock
...
For example, if authentication recovery fails, we load the vault from the database, which may result in a vault format -1 before this commit. We try to avoid this by overwriting the state after the authentication succeeds again, but we can't always avoid the vault format being -1 if, for example, during authentication the user changes activity, so we now store these fields in the database and update them if they have changed during unlock to prevent these states. Alternatively we could have locked the vault but from a UX point of view it makes no sense that the user has to unlock the vault again just because e.g. the token has to be refreshed.
2022-02-14 17:37:10 +01:00
Julian Raufelder
022e42b8c8
Remove build warnings
2022-01-28 18:23:33 +01:00
Julian Raufelder
4221d299ce
Update Gradle to version 7.2
2022-01-26 11:17:07 +01:00
Julian Raufelder
7704ab5b87
Update msgraph-sdk version to 5.12.0 ( #405 )
...
* Update API level level to 26
* Support multi OneDrive accounts
* Migrate to the new authentication library
2022-01-24 11:51:02 +01:00
Julian Raufelder
7add3e5bed
Delete local storage cloud and set its vault connection to null ( #251 )
2021-10-22 17:40:55 +02:00
Julian Raufelder
e6bd62e937
Update dependencies
2021-10-01 17:10:31 +02:00
Julian Raufelder
49586ba53f
Remove tracking library included by google-http-java-client ( fixes #358 )
...
By using https://github.com/SailReal/google-http-java-client which removed in 03a2374c31
all (in our case deactivated) tracking stuff.
And move all submodules to the '/lib'-folder
2021-10-01 13:37:01 +02:00
Julian Raufelder
05574d952c
Add tests for database upgrades
2021-07-22 19:27:57 +02:00
Julian Raufelder
bed3f3ac04
Show beta disclaimer dialogue
2021-07-09 19:13:38 +02:00
Julian Raufelder
7deebbd919
Refactore further code to Kotlin
2021-07-05 17:54:42 +02:00
Julian Raufelder
bb07076ba8
Fix build project using Java 11
2021-05-17 17:01:09 +02:00
Julian Raufelder
318a7422f4
Drop S3 clouds and vaults from the database
...
This is necessary because the path/region handling has changed with the new dependency in the s3 cloud
2021-05-11 17:32:22 +02:00
Julian Raufelder
5e0f88bcff
Switch from aws-android-sdk-s3 to minio-java
2021-05-11 14:56:04 +02:00
Julian Raufelder
33eb4ce735
Merge branch 'feature/enable-desugaring' into develop
2021-05-11 14:29:38 +02:00
Julian Raufelder
b32b76be32
Merge branch 'develop' into feature/vault-format-8
2021-05-03 12:29:33 +02:00
Julian Raufelder
1eb8c079c6
Verify SHA256 of the APK in update process
2021-05-01 14:32:14 +02:00
Julian Raufelder
91a0c2e5d3
Revert "Add S3 as module dependency"
...
This reverts commit 34b69805932fc12f526893932a7bca4a6aeddbf5.
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
2a8e635177
fix(S3): switch to Android SDK
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
0224532c45
feat(S3): add AWS S3 SDK dependency
2021-04-30 09:22:19 +02:00
Julian Raufelder
cfe1716f8f
#198 enable desugaring to fix OneDrive in Android 6.0 on some devices
2021-04-13 14:58:36 +02:00
Julian Raufelder
ae4c57ac8e
Fix MasterkeyCryptoCloudProviderTest and enhance logging when test fails
2021-04-12 16:00:22 +02:00
Julian Raufelder
0f42ddd964
Rename webdavUrl to url in CloudEntity
2021-03-19 12:48:22 +01:00
Julian Raufelder
76c19377c1
Temporary add pcloud-sdk-java as project dependency
...
as long as https://github.com/pCloud/pcloud-sdk-java/pull/9 is not merged in upstream
2021-03-11 15:14:51 +01:00
Julian Raufelder
00174fdf5a
#168 implement backend for sorting vault list.
2021-01-31 22:54:49 +01:00
Julian Raufelder
24651e9095
Use redirect_uri to get access token from OneDrive
2021-01-21 12:10:44 +01:00
Julian Raufelder
2e2ee0e483
#252 Install Debug App in parallel with Release App
2021-01-20 18:44:17 +01:00
Julian Raufelder
41149b9607
Introduce flavor for F-Droid
2021-01-12 15:23:31 +01:00
Julian Raufelder
be22737d4f
Use ENV variables instead of secrets.properties for Cloud API keys
2021-01-11 18:12:10 +01:00
Julian Raufelder
80444758cc
Initial open source commit 🎉
2020-12-23 12:09:37 +01:00