Commit Graph

309 Commits

Author SHA1 Message Date
Harry
b18a0f4e0d
Don't cache full TSThreads on backup export 2024-11-19 16:50:11 -06:00
Harry
3175edfbf4
Drop invalid link previews on backup export; ignore them on import 2024-11-19 15:17:17 -06:00
Harry
ddf349e6f6
Log timestamps for backup interaction errors 2024-11-19 14:53:04 -06:00
Sasha Weiss
4fe3b9e71c
Mark calls without CallRecords as read 2024-11-19 10:20:14 -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
72071c2216
Enumerate call links and sticker packs when exporting backups 2024-11-15 16:35:40 -08:00
Harry
b0c5ab65f6
Bench memory usage in backups 2024-11-15 13:47:15 -08:00
Harry
21127020ec
Move chatId assignment to after failable steps 2024-11-15 13:24:58 -08:00
Harry
fad98cc00e
Archive Contact recipients for TSContactThreads without SignalRecipients 2024-11-15 13:23:50 -08:00
Harry
4201f8b1fd
Don't even trigger backup upload job for free tier users 2024-11-15 10:02:44 -06:00
Harry Sanabria
49dcd39e54 Use message timestamp for optimistic backup attachment download comparison 2024-11-14 14:03:25 -08:00
Harry Sanabria
187390599c Adjust backup feature flags 2024-11-14 13:19:18 -08:00
Harry
ac36551fe5
Require identity key prefix on backup export and import 2024-11-14 13:18:55 -08:00
Harry Sanabria
41e9d3e85e Add logging for other validator errors 2024-11-14 10:40:05 -08:00
Marissa Le Coz
7455e2cf6d
Add most group change chat update backup tests 2024-11-14 13:08:24 -05:00
Harry
b62ed1e85c
Report progress for backup import/export 2024-11-14 08:57:00 -08:00
Harry
abd68d89a9
Update backup proto with view once quote type 2024-11-14 08:55:47 -08:00
Harry
0833ec0042
Update backup proto with contact identity key field(s) 2024-11-14 08:55:03 -08:00
Harry Sanabria
b62e7da708 Drop voiceMessage flag on backed up messages with text 2024-11-13 16:02:33 -08:00
Harry
d72edeea62
Add rudimentary link'n'sync confirmation sheet 2024-11-13 15:45:44 -08:00
Harry
7f76a8fe71
Update backup proto with newly-optional fields (and some comment updates) 2024-11-13 11:42:57 -08:00
Harry
7562e4ce86
Add MessageBackup.LogLevel to suppress warnings 2024-11-12 14:24:30 -08:00
Harry
8b7932281d
Handle negative angle for chat color gradient 2024-11-12 14:11:10 -08:00
Harry
44770cef3d
Add retrying to MessageBackupAvatarFetcher 2024-11-12 13:29:36 -08:00
Harry
60592ed3b3
Remove unimplemented backup error case 2024-11-12 13:22:06 -08:00
Harry
b1d31ff72c
Use failable insert methods everywhere possible in backups 2024-11-12 07:35:44 -08:00
Harry
7591e35fd2
Restore group and contact avatars after backup restore 2024-11-11 17:30:05 -08:00
Harry
9d1b1d3281
Use null to represent quoted reply target message not found 2024-11-08 16:14:03 -06:00
Harry
a1d74df6d9
In backups, wrap CallLinkRecord rowId in struct instead of typealias 2024-11-08 12:43:23 -08:00
Marissa Le Coz
a083740847
Fix adHoc-less CallLinks not showing on CallsTab when backup-restored 2024-11-08 14:48:01 -05:00
Marissa Le Coz
69cd02a5d0
Convert CallLink expiration seconds<->ms for backups 2024-11-08 14:21:43 -05:00
Pete Walters
ce9f5ba854
Don't restore empty payment transaction data 2024-11-08 09:23:39 -08:00
Marissa Le Coz
236f6e6056
Add ad hoc calls to backups 2024-11-08 11:45:22 -05:00
Max Radermacher
914f1420da
Add support for unknown call link restrictions 2024-11-07 13:11:38 -06:00
Harry
918efa003c
Handle DM timer updates in gv1 groups that migrated to gv2 2024-11-06 16:04:47 -08:00
Harry
9bca152245
Remember which threads were gv1 so we can silently drop archiving their messages 2024-11-06 17:38:06 -06:00
Harry
6992b9d1b5
Don't back up group story messages 2024-11-06 14:20:09 -06:00
Harry
058eb48a56
Restore TSGroupMember from backups 2024-11-06 06:50:44 -08:00
Harry
724954326d
Get wasRead state from backup call protos not directional details 2024-11-06 06:48:40 -08:00
Harry
ead020a482
Dont owsFailDebug when MRBK is missing 2024-11-06 06:25:27 -08:00
Harry
051150ae00
Skip archiving gv1 threads in backup without failing 2024-11-05 09:39:04 -08: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
Harry
aca2204448
Improve post-backup FullTestSearchIndexer error handling 2024-11-04 08:30:01 -08:00
Pete Walters
3a63402138
Migrate to new Media/Message backup auth credentials 2024-11-01 15:46:58 -05:00
Harry
03d9cc024e
Set lastVisibleRowId on threads and wasRead on messages when restoring 2024-11-01 13:46:06 -07:00
Pete Walters
5a44fc6162
Migrate to LibSignal key derivation
Co-authored-by: sashaweiss-signal <sasha@signal.org>
2024-11-01 15:39:42 -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