Commit Graph

101 Commits

Author SHA1 Message Date
Ehren Kret
07442cb5a2 cleanup simple warnings 2025-03-07 15:04:07 -06:00
Sasha Weiss
2954d34687
Separately report progress for recreating indexes during Backup import 2025-02-25 09:51:15 -08:00
Sasha Weiss
3a77c216d0
MessageBackup*Progress cleanup 2025-02-25 09:35:58 -08:00
Pete Walters
1b7caa8ce9
Split out various key managment methods into AccountKeyStore 2025-02-24 10:12:47 -06:00
Pete Walters
4f8c9200db
Simplify key storage 2025-02-24 09:58:20 -06:00
Pete Walters
fe00738f67
Consolidate MBRK/BackupKey/AEP/MasterKey management into one place. 2025-02-24 07:41:40 -06:00
Sasha Weiss
48322ed001
Separate Bencher into archive/restore benchers 2025-02-21 10:29:22 -08:00
Sasha Weiss
9417f60a52
Backup benching improvements 2025-02-20 16:48:59 -08:00
Sasha Weiss
263d0121ad
Put interaction-index manipulations inside a Bencher 2025-02-19 16:43:50 -08:00
Sasha Weiss
96a76065df
Performance improvements to import performance for messages 2025-02-19 11:48:25 -08:00
Sasha Weiss
ebabb78339
Tidying in Backup import 2025-02-19 11:38:34 -08:00
Sasha Weiss
a98dba05c5
Split the Link'n'Sync feature flags for export/import 2025-02-04 12:52:00 -08:00
Harry
a3496697e1
Drop frames instead of failing backup in prod 2025-01-31 15:27:17 -08:00
Harry
9fd8d3e8be
Ignore or use fallback for unrecognized backup enums/oneOfs for forwards compatibility 2025-01-28 15:22:04 -08:00
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