193 Commits

Author SHA1 Message Date
Julian Raufelder
00bc4e4e35
Fix race condition when AuthActivity finished and resumes BrowseFiles
Callback method is executed before races against onStart of the Fragment so the fix of d93624c5dd93bdbb947d645187c1a5b0fed34c1b doesn't always help.
2022-02-04 18:57:31 +01:00
Julian Raufelder
d93624c5dd
Fix race condition when AuthActivity finished and resumes BrowseFiles
CloudList gets refreshed and token is updated, if the token update is faster, resuming overwrites the delegates in DispatchingCloudContentRepository again due to authentication fail because the old folder is used in the onFolderReloadContent because folder in BrowseFilesActivity isn't yet updated.
2022-02-03 22:37:03 +01:00
Julian Raufelder
aae1974f02
Merge branch 'feature/405-update-msgraph' into develop 2022-01-28 18:22:01 +01:00
Julian Raufelder
f586e447f5
Show notification when Onedrive authentication starts 2022-01-28 18:20:41 +01:00
Julian Raufelder
db050e04f0
Update folder in the BrowseFilesFragment too when credentials changed 2022-01-28 17:38:53 +01:00
Julian Raufelder
11f5a61789
Fix listing when credential changed in background due to auth problem
E.g. the token is expired and was refreshed
2022-01-26 16:03:06 +01:00
Julian Raufelder
e11759b23f
Bug fixes and cleanup (#405) 2022-01-26 11:30:21 +01:00
Julian Raufelder
4221d299ce
Update Gradle to version 7.2 2022-01-26 11:17:07 +01:00
Julian Raufelder
2613ba5eae
Fix build -.- 2022-01-24 17:09:46 +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
Cryptobot
d602cbbfd7
New Crowdin updates (#398) and french playstore/f-droid description
* New translations strings.xml (Arabic, Chinese Traditional, German, Hebrew, Hong Kong, Indonesian, Japanese, Norwegian Bokmal, Portuguese, Brazilian, Slovak, Spanish, Turkish)

* update french full description

* fix typo in short description

[ci skip]

Co-authored-by: Taink <Taink@users.noreply.github.com>
2022-01-18 17:53:54 +01:00
Julian Raufelder
da5ef4dbbe
Use a contains search instead of startsWith (fixes #403) 2022-01-17 22:15:55 +01:00
Julian Raufelder
31c2599276
Handle BadPaddingException if the key in the Keystore got invalidated
Recover from BadPaddingException which can be thrown on some devices if the key in the keystore is invalidated e.g. due to a fingerprint added because of an upstream error in Android, fixes #400
2022-01-13 10:56:30 +01:00
Cryptobot
d9132b505b
New Crowdin updates (#394)
French; Italian; Norwegian Bokmal;
2021-12-07 11:05:04 +01:00
Julian Raufelder
07f93c0833
Better handling of the revocation of the "Storage" permission
* Check if permission is set when launching the app
* Show specific notification when auto upload fails due this state

Fixes #391 and fixes #397
2021-12-06 19:01:14 +01:00
Julian Raufelder
ce9e76bf23
If authentication fails while unlock, resume VaultListActivity
Fixes #396
2021-12-03 16:30:32 +01:00
Julian Raufelder
2dbf6425cc
Re-add requestLegacyExternalStorage to reanimate AutoUpload on Android10
Auto upload shows "General error during upload" notification on Android version 10 due to problems regarding scoped storage

Fixes #393
2021-11-30 16:41:27 +01:00
Julian Raufelder
f303d3c48b
Request "REQUEST_INSTALL_PACKAGES" permission only in apkstore variant
Fixes #392
2021-11-30 14:23:22 +01:00
Cryptobot
b268d6a4d3
New Crowdin updates (#388)
Catalan; Czech; Dutch; French; Hebrew; Hungarian; Indonesian; Korean; Portuguese, Brazilian; Russian; Telugu; Ukrainian;
2021-11-29 16:40:08 +01:00
Julian Raufelder
10d34dcac2
Fix crash when starting service outside of UI code (Fixes #390)
Fix crash if not running, vault for the auto upload is removed and picture created
2021-11-29 16:32:54 +01:00
Julian Raufelder
c3278b3c25
Fixes #389 app crash when file deleted during auto upload 2021-11-16 20:45:57 +01:00
Julian Raufelder
5a317e8a1b
Show notification if the vault specified for auto upload doesn't exists 2021-11-16 12:56:14 +01:00
Cryptobot
0d9643f8fe
New Crowdin updates (#378)
Chinese Simplified; Chinese Traditional; German; Greek; Hungarian; Indonesian; Japanese; Polish; Russian; Slovak; Spanish; Swedish; Ukrainian;
2021-11-16 12:03:05 +01:00
Julian Raufelder
482c62e543
Correct spelling of a source string
Signed-off-by: Julian Raufelder <Julian@Raufelder.com>
2021-11-16 11:16:47 +01:00
Julian Raufelder
f4eff63db7
Show notification if the vault specified for auto upload doesn't exists
Fixes #386
2021-11-15 15:16:01 +01:00
Cryptobot
e97f446e6a
New Crowdin updates (#375)
Chinese Traditional; Filipino; Italian; Japanese; Tamil; Telugu;

[ci skip]
2021-11-11 10:03:29 +01:00
Cryptobot
6af9704865
New Crowdin updates (#371)
Chinese Traditional; Czech; German; Turkish; Russian; Swedish; Ukrainian;

[ci skip]
2021-11-05 11:39:36 +01:00
Julian Raufelder
b398a008b0
Instant upload when connected to WIFI or uploadOnlyUsingWifi is disabled
#181
2021-11-03 16:25:43 +01:00
Julian Raufelder
b56a632525
New Crowdin updates 2021-10-29 12:22:21 +02:00
Julian Raufelder
250d756917
Ask user to re-grant local storage permission when revoked #251 2021-10-28 17:50:25 +02:00
Julian Raufelder
fda2927603
Fix neutral button text of VaultIsRootFolderOfCloudDialog 2021-10-28 16:24:03 +02:00
Julian Raufelder
5a890b452b
Show dialog when trying to add a vault in the root folder of the cloud
Fixes #236
2021-10-28 16:20:45 +02:00
Julian Raufelder
810a9877ca
Implement local storage migration by removing them with a hint #251 2021-10-27 22:59:57 +02:00
Julian Raufelder
302a74a0ba
Merge branch 'develop' into feature/251-update-to-API-level-30 2021-10-27 15:28:09 +02:00
Julian Raufelder
a83af094aa
Fix sometimes unable to add a pCloud connection which fixes #368
Problem occurs due to a race condition between onNewIntent and onActivityResult:
If the browser is closed and Cryptomator resumed before the redirection call is processed by the intent framework of Android which in return calls the AuthenticatePCloudActivity again in the onNewIntent, it finishes in onActivityResult but should wait until onNewIntent is called to process the OAuth result.
2021-10-24 21:18:48 +02:00
Julian Raufelder
8b51aa63e3
Update vault list even when the last vault got deleted to show no vaults 2021-10-22 18:09:20 +02:00
Julian Raufelder
91d1a65ba7
Update target API to 30 (Android 11)
Write external storage got removed due to forced scoped storage. Local storage cloud is now only available using the storage access framework implementation. Migration still needs to be implemented as well as how to recover when the authentications fails in the LocalStorageAuthStrategy.

Fixes #251
2021-10-22 15:52:02 +02:00
Julian Raufelder
67366a3d41
Merge branch 'main' into develop 2021-10-15 16:01:27 +02:00
Julian Raufelder
9074ae5aae
Remove Beta disclaimer dialog 2021-10-15 15:35:20 +02:00
Julian Raufelder
2efc38454b
Upload instantly when auto upload enabled and vault unlocked (#181) 2021-10-15 15:14:54 +02:00
Julian Raufelder
38b208b20c
Revert "Upload instantly when auto upload enabled and vault unlocked (#181)"
This reverts commit 8ebee7bfc250bab850be4aa026dc4befb76dfd63.
2021-10-15 11:31:38 +02:00
Julian Raufelder
c4cd7aacaf
New Crowdin updates 2021-10-15 11:28:01 +02:00
Julian Raufelder
7061e5ed1f
Apply text suggestions from TheSparrowLenz via Crowdin 2021-10-11 14:46:46 +02:00
Julian Raufelder
8ebee7bfc2
Upload instantly when auto upload enabled and vault unlocked (#181) 2021-10-05 01:06:23 +02:00
Julian Raufelder
8e90de2efb
New Crowdin updates 2021-10-01 17:17:24 +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
729dcff816
Remove remaining wildcard imports 2021-09-23 15:03:16 +02:00
Julian Raufelder
a8d789440e
Remove redundant empty and no DirFile handling 2021-09-22 15:53:03 +02:00
Julian Raufelder
828ba7207d
Remove ... after the 'Select'-entry in navbar while browsing files
For consistency, the other entries don't have that either.
2021-09-22 13:15:17 +02:00