Commit Graph

87 Commits

Author SHA1 Message Date
Sasha Weiss
a5e686ae2c
Use a monotonic clock when benching Backups 2025-01-22 17:17:23 -08:00
Sasha Weiss
9d5c271462
Add additional benching for Backups 2025-01-21 19:18:07 -08:00
Harry
869d03ecee
Add backup bencher to log more detailed processing time info 2025-01-15 16:05:21 -08:00
Harry
7cedd5d295
Make TSAttachment migration skippable by user once we make it launch-blocking (but still incremental) 2025-01-14 07:47:13 -08:00
Sasha Weiss
a8c3d272cc
Tidy Link'n'Sync logs 2025-01-13 14:10:01 -08:00
Elaine
f62f6c4318
Add error for failing to sync device with unsupported backup version 2025-01-08 12:26:45 -07:00
Harry
f4ee34796f
Run TSAttachmentMigration while the app is running; allow it to be run blocking but incremental 2025-01-07 17:06:23 -08:00
Harry
9ef7810d13
Check for cancellation in backup import/export 2025-01-02 08:49:12 -08:00
Harry
d9be87a76d
Make TSAttachment migration non-blocking again
Co-authored-by: sashaweiss-signal <sasha@signal.org>
2024-12-16 18:09:20 -08:00
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