Commit Graph

78 Commits

Author SHA1 Message Date
Harry
7ba9aee871
Update backup proto and integration tests 2024-12-10 09:51:13 -08:00
Harry
070009ac5f
Disallow restoring from a backup twice 2024-12-10 09:07:04 -08:00
Harry
26c2c712e8
Use OWSProgress in MessageBackupManager 2024-12-06 09:19:45 -08:00
Harry
835febb7ef
Include expiring messages in deviceTransfer backups 2024-12-05 13:23:23 -08:00
Harry
5a14e3842b
Make TSMessage TSAttachment migration blocking 2024-11-26 08:52:16 -08:00
Harry
39ec17ce19
Suspend message processing during backups 2024-11-18 13:56:57 -06:00
Sasha Weiss
2000b82c0b
One KeyValueStore to rule them all 2024-11-15 18:47:54 -06:00
Harry
eb45be11c1
Use autoreleasepool for backup import/export 2024-11-15 16:36:17 -08:00
Harry
b0c5ab65f6
Bench memory usage in backups 2024-11-15 13:47:15 -08:00
Harry Sanabria
41e9d3e85e Add logging for other validator errors 2024-11-14 10:40:05 -08:00
Harry
b62ed1e85c
Report progress for backup import/export 2024-11-14 08:57:00 -08:00
Harry
d72edeea62
Add rudimentary link'n'sync confirmation sheet 2024-11-13 15:45:44 -08:00
Harry
7562e4ce86
Add MessageBackup.LogLevel to suppress warnings 2024-11-12 14:24:30 -08:00
Marissa Le Coz
236f6e6056
Add ad hoc calls to backups 2024-11-08 11:45:22 -05:00
Harry
31b9ca5338
Run validator on link'n'sync export 2024-11-04 11:25:59 -08:00
Harry
1093e0332e
Mark backup error logs as fatal or not 2024-11-04 11:25:20 -08:00
Pete Walters
3a63402138
Migrate to new Media/Message backup auth credentials 2024-11-01 15:46:58 -05:00
Pete Walters
655e7bd206
Add a "purpose" enum to MBAuthCredentialManager
Co-authored-by: sashaweiss-signal <sasha@signal.org>
2024-11-01 15:39:11 -05:00
Marissa Le Coz
b96923fc82
Add Call Links to backups 2024-11-01 13:30:02 -04:00
Harry
ba81099bbd
Add toggle to enable link'n'sync for internal builds 2024-10-30 15:04:05 -07:00
Harry
bfbc885b70
Rollback failed backups 2024-10-30 12:47:17 -07:00
Harry
9ba009a1e3
Add internal-only UI to display verbose backup errors 2024-10-30 11:21:53 -07:00
Harry
01fbce844f
Generate, persist, and read/write MediaRootBackupKey aka MrBurgerKing 2024-10-28 10:28:27 -07:00
Harry
535acba11c
Add encryption mode to backups for link'n'sync support 2024-10-25 14:30:00 -07:00
Pete Walters
d9e411208a
ChunkedInputStreamTransform performance improvements 2024-10-24 15:04:17 -05:00
Harry
9956bd3ce0
Disable DatabaseChangeObserver while creating and restoring backups 2024-10-22 10:43:40 -07:00
Harry
7650e8d993
Bypass sdsSave for interactions restored from backups 2024-10-21 16:41:26 -07:00
Harry
1dd5ce5698
Refactor Backup postFrameRestoreActions to support thread visibility needs 2024-10-18 14:00:32 -07:00
Harry
60e590c21b
Add MessageBackupInteractionStore 2024-10-18 13:01:09 -07:00
Harry
9d637f8fc7
Log how long it takes to export/import a backup 2024-10-08 15:07:53 -07:00
Harry
ba2f10732e
Parametrize transaction type in DB v2 protocol 2024-10-04 16:12:52 -07:00
Harry
5821c8bbc9
Get uploadEra for restored attachments from the backup's AccountData.backupSubscription.subscriberId 2024-10-04 15:38:47 -07:00
Harry
ba333be714
Add BackupAttachmentDownloadManager 2024-09-27 07:25:26 -07:00
Pete Walters
a8d12f0be2
Add backup/restore of sticker packs 2024-09-25 11:38:51 -05:00
Harry
0227da54df
Enqueue backup attachments for upload 2024-09-25 08:48:11 -07:00
Sasha Weiss
cb16a9bd59
More propertly handle "contact hidden and in message request state" from Backups 2024-09-24 10:00:36 -07:00
Sasha Weiss
efe9e73005
Add "contact message" Backup integration tests 2024-09-10 10:49:15 -07:00
Harry
f30a1c0be5
Backup TODO cleanup grab bag 2024-08-30 16:07:35 -07:00
Harry
a29a890adc
Archive/Restore custom chat colors in backup 2024-08-30 15:33:05 -07:00
Harry
42df49aa0b
Add context for custom chat colors 2024-08-30 15:32:39 -07:00
Harry
ab8e59a7d3
Pass tx around in backups code via contexts 2024-08-30 12:59:00 -07:00
Pete Walters
3e3ce9d983
Set of fixes to enable basic media tier attachment restore 2024-08-30 14:30:08 -05:00
Sasha Weiss
a47aeebc1b
Replace individual Backup integration test cases with auto-iteration 2024-08-28 10:10:48 -07:00
Pete Walters
e253c8ff9e
Cache Backup CDN credentials/backup info 2024-08-26 15:58:31 -05:00
Harry
4eecfbf552
Remove internal-only toggle to enable v2 attachment migration 2024-08-20 15:08:47 -07:00
Ehren Kret
086b4abfa5 fix several warnings 2024-08-15 16:09:58 -05:00
Sasha Weiss
4da6a79253
Integrate and enable LibSignal's ComparableBackup for AccountData tests 2024-08-12 14:01:58 -07:00
Harry
46bc0c28c1
Make cdn number optional for media tier attachment info 2024-08-09 10:12:29 -07:00
Harry
64caaba99c
Enqueue backup attachment downloads at backup download priorities 2024-08-09 10:06:33 -07:00
Harry
82862885c3
Add BackupAttachmentDownloadStore 2024-08-01 10:25:36 -07:00