Commit Graph

329 Commits

Author SHA1 Message Date
Cody Henthorne
84cb0d357b Fix export bugs causing validation errors. 2024-12-04 14:19:40 -05:00
Cody Henthorne
f42bd0f374 Flesh out restore paths for regv3. 2024-11-25 09:56:53 -05:00
Cody Henthorne
a2330f443a Use AEP for regv3 flows. 2024-11-22 13:35:01 -05:00
Alex Hart
c7f226b5cc Remove orphaned attachments when creating a new backup. 2024-11-22 13:35:01 -05:00
Alex Hart
bae86d127f Add "your media will be deleted today" mechanism based off last checkin time and media TTL. 2024-11-22 13:35:01 -05:00
Greyson Parrelli
767261152a Potential fix for a backup validation error. 2024-11-22 13:35:00 -05:00
Greyson Parrelli
b7464ffca9 Update backup integration tests. 2024-11-22 13:35:00 -05:00
Greyson Parrelli
59403e7da8 Added a Storage Service Playground screen. 2024-11-21 10:36:09 -05:00
Alex Hart
6ff31b950d Implement checkin job for backups. 2024-11-21 10:36:09 -05:00
Alex Hart
7f1a866e79 Detect storage space issues during restore. 2024-11-21 10:36:09 -05:00
Alex Hart
61f91d6b83 Add MediaTTL to subscriptions configuration and wire in. 2024-11-21 10:36:09 -05:00
Alex Hart
3235982f17 Wire in endOfPeriod time. 2024-11-13 21:46:55 -05:00
Alex Hart
b39eff67a6 Pass in the end-of-period value to the media backups are off alert fragment. 2024-11-08 15:03:14 -04:00
Alex Hart
445b7ef76f Add support for upgrades from warning sheet. 2024-11-08 11:16:00 -05:00
Alex Hart
7f1d59f40a Add utility method to get amount of free space available to device data partition. 2024-11-08 11:16:00 -05:00
Cody Henthorne
22c4e2d084 Update registration for new restore flows. 2024-11-08 11:16:00 -05:00
Greyson Parrelli
16e36c94de Convert SvrValues to kotlin. 2024-11-06 15:44:37 -05:00
Alex Hart
35b80be8c8 Pass in days since last backup to alert sheet. 2024-11-06 15:44:37 -05:00
Cody Henthorne
743e2aaa82 Refactor how archive service access is managed during restore. 2024-11-06 15:44:37 -05:00
Alex Hart
f14f7f7478 Update backups bottom sheet data handling. 2024-11-06 15:44:37 -05:00
Alex Hart
98590295df Update error strings in alert bottom sheet. 2024-11-06 15:44:37 -05:00
Greyson Parrelli
50af0b0838 Use libsignal validator to verify backups. 2024-11-06 15:44:37 -05:00
Cody Henthorne
f848a78365 Fix use of media credentials for fetching/restoring media related data. 2024-11-06 15:44:37 -05:00
Grzegorz Bobryk
be92b3cf0a Remove unnecessary force and safe checks.
Resolves #13766
2024-11-04 09:17:30 -05:00
Alex Hart
bdd19f6b47 Replace collectAsState with collectAsStateWithLifecycle. 2024-11-04 09:44:44 -04:00
Alex Hart
19c3075bc6 Replace message-backups TODO with backups. 2024-11-04 09:18:57 -04:00
Greyson Parrelli
4d39679144 Fix handling of split message/media cdn backup credentials. 2024-11-01 16:53:18 -04:00
Alex Hart
faa6d743c0 Add support for watermarking backup failure sheet. 2024-11-01 16:07:25 -04:00
Jameson Williams
769a92943e Enable nonTransitiveRClass.
Resolves #13757
2024-11-01 16:07:25 -04:00
Greyson Parrelli
26b9cea88e Move to separate message and media backup keys. 2024-11-01 16:07:25 -04:00
Greyson Parrelli
22148550dc Update to libsignal 0.60.0 2024-11-01 16:07:25 -04:00
Alex Hart
4282d88191 Add initial flag / watermark system for backup failure UX. 2024-11-01 16:07:25 -04:00
Alex Hart
7e93e15a9b Add "Ready to download" state and clear out a few TODOs. 2024-10-31 09:54:58 -03:00
Greyson Parrelli
7f3ceea9fe Add initial link+sync support. 2024-10-29 14:36:33 -04:00
Greyson Parrelli
ebca386dcb Improve backup export perf by using better batching. 2024-10-29 14:36:33 -04:00
Michelle Tang
9a0ebb5028 Add default chat folders in backups. 2024-10-23 15:51:54 -04:00
Alex Hart
88b39a062c Add polish to various backups ui elements. 2024-10-23 15:51:54 -04:00
Alex Hart
b519bf6772 Add subscription states to the remote backups settings. 2024-10-23 15:51:54 -04:00
Chris Eager
ba34a74e2d Remove deprecated LevelConfiguration#name.
Co-authored-by: Alex Hart <alex@signal.org>
2024-10-23 15:51:54 -04:00
Greyson Parrelli
a90df1e262 Get a big backupV2 import fully working. 2024-10-16 15:07:19 -04:00
Alex Hart
dd4d674a61 BackupStatusRow to display backup restore status in settings fragment. 2024-10-16 15:07:19 -04:00
Alex Hart
b073005ff9 Update remote backups settings to align with design. 2024-10-16 15:07:19 -04:00
Alex Hart
dcbf0315c0 Rename backup status banner. 2024-10-16 15:07:19 -04:00
Alex Hart
f9bf823133 Add previews for MediaRestoreProgressBanner. 2024-10-16 15:07:19 -04:00
Greyson Parrelli
497cec4c17 Add some local timings to backup export. 2024-10-10 15:56:24 -04:00
Greyson Parrelli
0712503485 Improve export speed with an index. 2024-10-10 15:56:24 -04:00
Greyson Parrelli
dcb5015290 Make backup jobs cancelable. 2024-10-10 15:56:24 -04:00
Alex Hart
7cc425fa7b Add base and subclassed upgrade sheets. 2024-10-10 15:56:24 -04:00
Greyson Parrelli
229a78305f Update some BackupValues stuff. 2024-10-10 15:56:23 -04:00
Alex Hart
3381d20bd7 Add new backups iconography and copy. 2024-10-10 15:56:23 -04:00