Commit graph

1238 commits

Author SHA1 Message Date
LucasMZ
5605974bb3
Bump version to 15-5.1
Co-authored-by: cdesai <chirayu@calyxinstitute.org>
2024-11-20 18:19:35 -03:00
Torsten Grote
25e88caf88
Merge pull request #784 from grote/check-storage
Test for free space and allow 0 response
2024-11-20 13:38:10 -03:00
Torsten Grote
8a00a2939a
Merge pull request #785 from grote/check-app-backup
Verify app backup integrity
2024-11-19 17:10:28 -03:00
Torsten Grote
417531ff49
Don't treat HashMismatchException as a fatal error when restoring
because may just be a corrupted file
2024-11-19 14:28:39 -03:00
Torsten Grote
32aff32c73
Fix FullRestore when Loader#loadFiles() throws an error for a later blob stream. 2024-11-14 14:51:11 -03:00
Torsten Grote
47c3e652c2
Don't include known bad blobs in BlobCache 2024-11-08 10:57:43 -03:00
Torsten Grote
ae77ebed8f
Remove known bad blobs from do-not-use list when deleting them 2024-11-08 10:41:18 -03:00
Torsten Grote
69765c7857
Record known bad blobs on do-not-use list in BlobCache 2024-11-08 10:38:31 -03:00
Torsten Grote
6d9c18bd29
Checker: account for possibility that one chunkId maps to more than one blob 2024-11-01 16:23:54 -03:00
Torsten Grote
4f5199ce27
Make APK backup self-healing 2024-11-01 10:38:29 -03:00
Torsten Grote
15e8850e5e
Don't allow running app data check while backup is running 2024-11-01 10:38:29 -03:00
Torsten Grote
45d710270a
Restrict Checker.concurrencyLimit to 3 when backend requires network 2024-11-01 10:38:28 -03:00
Torsten Grote
166f81b3a8
Add unit tests for Checker 2024-11-01 10:38:28 -03:00
Torsten Grote
beedafd042
Move AppCheckFragment into check package 2024-11-01 10:38:28 -03:00
Torsten Grote
06191a1fc3
Catch error when loading snapshots for app checking 2024-11-01 10:38:28 -03:00
Torsten Grote
83974b4121
Show app backup check error screen
and error notification
2024-11-01 10:38:27 -03:00
Torsten Grote
26063a8ef0
Show app backup check success screen 2024-11-01 10:38:27 -03:00
Torsten Grote
96f9a8d017
Show app backup check success notification 2024-11-01 10:38:27 -03:00
Torsten Grote
51a6355205
Do parallel checking and update notification with progress 2024-11-01 10:38:26 -03:00
Torsten Grote
591dfe0bd6
Implement actual checking 2024-11-01 10:38:26 -03:00
Torsten Grote
85ce587b14
Create AppCheckerWorker and wire it up 2024-11-01 10:38:25 -03:00
Torsten Grote
060bb425da
UI for checking app backups 2024-11-01 10:38:25 -03:00
Torsten Grote
f67c1d5544
Replace deprecated sharedViewModel by activityViewModel 2024-11-01 10:38:24 -03:00
Torsten Grote
e19be55f83
Merge pull request #786 from grote/show-app-size
Show 'Launch' button for force stopped apps in backup status screen
2024-10-31 16:27:16 -03:00
Torsten Grote
13e3dadeb4
Show 'Launch' button for force stopped apps
in backup status screen.
2024-10-30 12:15:53 -03:00
Torsten Grote
f1224f09f8
Test for free space and allow 0 2024-10-22 17:35:43 -03:00
Torsten Grote
0fa14025b3
Merge pull request #748 from seedvault-app/feature/cirrus-ci-tests
Run tests in Cirrus CI again
2024-10-18 10:34:18 -03:00
Torsten Grote
d96bc52192
Merge pull request #691 from grote/690-webdav-info
Show full URL in settings when WebDAV is used
2024-10-17 15:54:45 -03:00
Torsten Grote
0ed6d5c2c0
Don't show toolbar for recovery code when restoring
This restores original behavior and should make CI pass which otherwise can't see the last two words.
2024-10-17 15:19:33 -03:00
Torsten Grote
a538a64395
Use DigestInputStream to spy on backup data
this is to save memory to prevent OOM errors we saw on CI
2024-10-17 13:51:31 -03:00
Torsten Grote
1d17adedff
log stopped packages in CI test 2024-10-17 13:51:31 -03:00
Torsten Grote
b8c87a6928
Always log BackupMonitor and start stopped apps later in CI test 2024-10-17 13:51:31 -03:00
Torsten Grote
32d7f49d4c
show error notification when AppBackupWorker isn't successful
otherwise there's no UI feedback when running backup manually
2024-10-17 13:51:31 -03:00
Torsten Grote
2957678465
Fix potential thread-safety issue when changing backends 2024-10-17 13:51:30 -03:00
Torsten Grote
3d9eca0d40
adapt CI to new UI for restore set items 2024-10-17 13:51:30 -03:00
Torsten Grote
eb9dad798c
onBackupSuccess now doesn't need a boolean anymore 2024-10-17 13:51:30 -03:00
Torsten Grote
623eb331da
Ignore contactsbackup BackupRestoreTest if we don't have the correct permissions 2024-10-17 13:51:30 -03:00
Torsten Grote
9e5f22a8a0
Install contactsbackup before restart, so default permissions get applied
Also add testkey for signed builds
2024-10-17 13:51:30 -03:00
Torsten Grote
910c68aa52
Launch stopped apps before test to ensure they get backed up 2024-10-17 13:51:29 -03:00
Torsten Grote
f38bed9616
Run instrumentation tests from other gradle modules
and those not annotated with @MediumTest
2024-10-17 13:51:29 -03:00
Steve Soltys
8234cd8196
Add contactsbackup permissions to test emulator 2024-10-17 13:51:29 -03:00
Steve Soltys
315e0736f5
Fix KVRestore spies to use new functions 2024-10-17 13:51:29 -03:00
Steve Soltys
42d7747641
Add logging for unknown exceptions 2024-10-17 13:51:29 -03:00
Steve Soltys
4aeb05813d
Run tests in Cirrus CI again 2024-10-17 13:51:26 -03:00
Torsten Grote
3fd615477d
Merge pull request #776 from theimpulson/menu
Switch to toolbar APIs for working with menu
2024-10-17 13:41:18 -03:00
Torsten Grote
1299008780
Merge pull request #781 from grote/exclude-us
Exclude ourselves from backup status
2024-10-16 12:51:04 -03:00
Aayush Gupta
d86ecd303d storage: demo: Adjust for edge to edge support
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-10-16 20:31:47 +05:30
Aayush Gupta
bfdb297ca4 storage: demo: Inherit M3 theme
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-10-16 20:31:47 +05:30
Aayush Gupta
2b5ca5ebdc {app|storage}: Drop theme attribute from toolbar
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-10-16 20:31:47 +05:30
Aayush Gupta
82267f6844 app: Switch to toolbar APIs for working with menu
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-10-16 20:31:46 +05:30