208 Commits

Author SHA1 Message Date
Julian Raufelder
35b6695204
Show correct tooltip in TextEditor when long clicking on save 2022-03-23 14:06:11 +01:00
Julian Raufelder
9324bb5b15
Fix auto upload does not catch all images due to battery optimization
Fixes #416
2022-03-18 17:58:53 +01:00
Julian Raufelder
c19e77170a
Show vault format in error message if it is not supported 2022-03-16 22:55:23 +01:00
Julian Raufelder
0fc53f9242
Show specific message if vault.cryptomator is missing in vault version 8
Fixes 381
2022-03-15 17:53:31 +01:00
Julian Raufelder
4be55aabdc
Enhance message if no file manager found while using local storage cloud 2022-03-02 01:32:55 +01:00
Julian Raufelder
00bcd54b33
Map more file types to file icons like e.g. docx to text icon 2022-03-01 22:59:34 +01:00
Julian Raufelder
e1a5ff7007
Show specific message if desktop supporter cert entered as license key 2022-02-24 15:43:11 +01:00
Cryptobot
71dc76b157
New Crowdin updates (#413)
New translations strings.xml (Bengali)
2022-02-15 15:14:39 +01:00
Julian Raufelder
00fdb7e69b
Show toast while refreshing token using OneDrive in the FOSS version too 2022-02-15 15:11:20 +01:00
Julian Raufelder
d08ffe68ef
Remove race conditions which could cause ConcurrentModificationException 2022-02-15 15:02:26 +01:00
Julian Raufelder
4d7b5f2971
Fix deleting cloud a also removes vaults of cloud b of the same type
Fixes #414
2022-02-15 13:04:20 +01:00
Julian Raufelder
7e25b3cd40
Minor clean-up 2022-02-15 10:51:09 +01:00
Cryptobot
7758971d99
New Crowdin updates (#404)
New translations strings.xml (Bengali, Chinese Simplified, Czech, Dutch, French, German, Greek, Hebrew, Hindi, Indonesian, Japanese, Polish, Portuguese, Brazilian, Russian, Slovak, Spanish, Thai, Turkish, Ukrainian)
2022-02-14 17:52:34 +01:00
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
6b708554e5
Update dependencies 2022-02-12 23:13:40 +01:00
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