691 Commits

Author SHA1 Message Date
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
017ab520a2
Preserve Cryptors of the same cloud if the cloud gets updated
If e.g. a cloud gets updated during token refresh while browsing files we authenticate, save the updated cloud, update the vault and now no longer lock other vaults from the same cloud but update them too.
2022-02-12 22:22:00 +01:00
Julian Raufelder
d9801662dd
Close buffer and null-check response body 2022-02-11 12:11:21 +01:00
Julian Raufelder
a651b273fb
Add access to shortcuts of folders in Google Drive
Workaround for #411 ("Shared with me") #363 ("Computers") and #354 ("Shared drives")
2022-02-10 15:44:21 +01:00
Julian Raufelder
b753ec4c01
Reduce connection timeouts from two to one minute 2022-02-08 14:58:49 +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
f10ac8798a
Show specific message if the server doesn't support WebDAV
Fix wrong exception exposed
2022-02-04 15:45:59 +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
022e42b8c8
Remove build warnings 2022-01-28 18:23:33 +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
1d808edd8d
Delete Onedrive cloud only when not set up (#405) 2022-01-25 11:47:34 +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
40d8ff7d17
Update dependencies 2022-01-13 17:43:15 +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
Julian Raufelder
f1f4258871
Merge branch 'main' into develop 2021-12-07 12:19:16 +01:00
Julian Raufelder
cf5c7b924a
Merge branch 'release/1.6.8' 2021-12-07 11:55:15 +01:00
Julian Raufelder
d18ee575e2
Update release notes
[ci skip]
2021-12-07 11:40:40 +01:00
Julian Raufelder
e2fcd4bac1
Bump to versin 1.6.8
[ci skip]
2021-12-07 11:13:38 +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
c685cc3645
Re-initialise the client to access the cloud when credentials changes
Fixes #395
2021-12-03 16:49:10 +01:00
Julian Raufelder
ce9e76bf23
If authentication fails while unlock, resume VaultListActivity
Fixes #396
2021-12-03 16:30:32 +01:00
Julian Raufelder
ef97a3618e
Merge branch 'main' into develop 2021-12-02 17:15:26 +01:00
Julian Raufelder
a516cd8aa6
Merge branch 'release/1.6.7' 2021-12-02 17:00:50 +01:00
Julian Raufelder
582ced63ca
Update release notes
[ci skip]
2021-12-02 16:56:37 +01:00
Julian Raufelder
dcf35df5e0
Bump to versin 1.6.7
[ci skip]
2021-12-02 16:48:54 +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
Julian Raufelder
8246480984
Merge branch 'main' into develop 2021-11-29 18:22:05 +01:00
Julian Raufelder
024cd4fca8
Merge branch 'release/1.6.6' 2021-11-29 17:57:37 +01:00
Julian Raufelder
b224ce2137
Bump to versin 1.6.6
[ci skip]
2021-11-29 17:56:49 +01:00
Julian Raufelder
fb91278a03
Update fastlane dependencies
[ci skip]
2021-11-29 17:54:11 +01:00
Julian Raufelder
571a57b1fe
Merge branch 'main' into develop 2021-11-29 17:50:35 +01:00
Julian Raufelder
515a5f1766
Merge branch 'release/1.6.5' 2021-11-29 17:31:46 +01:00
Julian Raufelder
e0e3192707
Update dependencies 2021-11-29 17:29:58 +01:00
Julian Raufelder
08df2b06a4
Bump version to 1.6.5
[ci skip]
2021-11-29 17:09:49 +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
5a1a3c2244
Only run CI on push or labeled PR 2021-11-26 14:38:23 +01:00
Julian Raufelder
c3278b3c25
Fixes #389 app crash when file deleted during auto upload 2021-11-16 20:45:57 +01:00