Commit Graph

333 Commits

Author SHA1 Message Date
Harry
adf1368189
Clean up some message backup error enum cases 2025-01-03 10:10:49 -08:00
Harry
9ef7810d13
Check for cancellation in backup import/export 2025-01-02 08:49:12 -08:00
Harry
81eaff5c5e
Allow missing or zero sizes on restored backup attachments 2024-12-17 17:17:14 -08:00
Harry
a0cde10602
Allow restoring quotes with no content 2024-12-17 13:50:24 -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
Pete Walters
76cce8c21e
Add local user to whitelist on note to self restore. 2024-12-16 14:03:23 -06:00
Sasha Weiss
b67656ebfe
One QR code generator to rule them all 2024-12-16 11:02:30 -08:00
Pete Walters
1f51b1e4ac
Only archive edit history for standard messages 2024-12-13 15:01:07 -06:00
Max Radermacher
194b98758e Fix a few warnings 2024-12-12 16:58:56 -06:00
Harry
b1f8858f5d
Clean up post-link'n'sync step UX 2024-12-12 12:27:20 -08:00
Harry
9e21d73317
Order backup restore profile fetches by latest message 2024-12-12 12:26:57 -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
Marissa Le Coz
c2d2629316
[Quick Restore] Add new QR code screen for registration 2024-12-09 14:29:49 -05:00
Harry
6073e5e05f
Use UInt64 instead of UInt32 for OWSProgress 2024-12-09 09:44:14 -06:00
Harry
26c2c712e8
Use OWSProgress in MessageBackupManager 2024-12-06 09:19:45 -08:00
Harry
3312ce6e5e
Convert incoming messages from self into outgoing messages in backup export 2024-12-06 09:18:02 -08:00
Harry
835febb7ef
Include expiring messages in deviceTransfer backups 2024-12-05 13:23:23 -08:00
Harry
13bf549a0e
Fix issue where we skipped backing up expiring messages with unstarted timers 2024-12-05 13:22:29 -08:00
Harry
6390423c59
Clean up some TSAttachment-adjacent code 2024-12-04 13:31:05 -08:00
Harry
1fd8d2ed6d
Sayonara, TSResource 2024-12-04 13:30:31 -08:00
Harry
061227f414
Track IsPastEditRevision for media gallery filtering 2024-12-02 08:27:54 -08:00
Harry
5a14e3842b
Make TSMessage TSAttachment migration blocking 2024-11-26 08:52:16 -08:00
Max Radermacher
37d793c29b
Add support for GSEs when updating groups 2024-11-22 16:31:30 -06:00
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