Commit Graph

98 Commits

Author SHA1 Message Date
Sasha Weiss
a455dc27ee
Add system contact names to Backups (#10727) 2025-03-10 16:22:59 -07:00
Max Radermacher
2d25f13ee1
Remove redundant avatar download invocations 2025-03-10 13:52:11 -05:00
Max Radermacher
6abe506cb0
Asyncify fetchLocalUsersProfile 2025-03-10 13:51:00 -05:00
Max Radermacher
cde9754575
Use GSEs as a fallback when fetching profiles 2025-03-05 17:37:01 -06:00
Sasha Weiss
48322ed001
Separate Bencher into archive/restore benchers 2025-02-21 10:29:22 -08:00
Sasha Weiss
3cb8f9658e
Make Bencher wrapEnumeration take a tx as input 2025-02-21 10:28:36 -08:00
Max Radermacher
b1eb4c65b2
Update AuthorMergeHelper when importing 2025-02-05 02:21:42 -06:00
Sasha Weiss
a98dba05c5
Split the Link'n'Sync feature flags for export/import 2025-02-04 12:52:00 -08:00
Sasha Weiss
e776d9e633
Retain group avatar URLs, even if the avatar data is missing 2025-01-31 12:31:37 -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
4a66a25556
Add test case support for Group.blocked 2025-01-28 09:58:29 -08:00
Sasha Weiss
0a9c11c89c
Update to latest Backup.proto 2025-01-27 22:34:37 -08:00
Harry
1ffa7dfd42
Prioritize own profile avatar fetch after restoring backup 2025-01-23 14:18:29 -08:00
Harry
48476fe497
Fuzz e164 author messages with non-matching recipient ids on export 2025-01-17 11:15:22 -08:00
Harry
b1493d54fa
Update backup proto with contact nicknames and 1:1 story replies 2025-01-16 15:20:12 -08:00
Harry
869d03ecee
Add backup bencher to log more detailed processing time info 2025-01-15 16:05:21 -08:00
Harry
b8982d699b
Validate all timestamps we export in backups 2025-01-14 08:14:05 -08:00
Max Radermacher
823d966c2e
Clean up some deepCopy codegen 2025-01-08 11:41:58 -06:00
Harry
9ef7810d13
Check for cancellation in backup import/export 2025-01-02 08:49:12 -08:00
Pete Walters
76cce8c21e
Add local user to whitelist on note to self restore. 2024-12-16 14:03:23 -06:00
Max Radermacher
194b98758e Fix a few warnings 2024-12-12 16:58:56 -06:00
Harry
9e21d73317
Order backup restore profile fetches by latest message 2024-12-12 12:26:57 -08:00
Harry
835febb7ef
Include expiring messages in deviceTransfer backups 2024-12-05 13:23:23 -08: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
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
ac36551fe5
Require identity key prefix on backup export and import 2024-11-14 13:18:55 -08:00
Harry
0833ec0042
Update backup proto with contact identity key field(s) 2024-11-14 08:55:03 -08:00
Harry
d72edeea62
Add rudimentary link'n'sync confirmation sheet 2024-11-13 15:45:44 -08:00
Harry
44770cef3d
Add retrying to MessageBackupAvatarFetcher 2024-11-12 13:29:36 -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
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
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
058eb48a56
Restore TSGroupMember from backups 2024-11-06 06:50:44 -08:00
Harry
a9d28a2975
Fix backup of My Story and story privacy/view mode 2024-11-01 11:51:03 -07:00
Marissa Le Coz
b96923fc82
Add Call Links to backups 2024-11-01 13:30:02 -04:00
Harry
321bb702f3
Avoid double-archiving phone number contacts 2024-10-30 17:15:34 -07:00
Harry
e8e01bbe11
Directly insert in the database in MessageBackupStoryStore 2024-10-21 16:43:03 -07:00
Harry
1dd5ce5698
Refactor Backup postFrameRestoreActions to support thread visibility needs 2024-10-18 14:00:32 -07:00
Harry
383755d71e
Add MessageBackupStoryStore 2024-10-18 13:08:25 -07:00
Harry
347b8adbf2
Add MessageBackupThreadStore 2024-10-18 13:06:57 -07:00
Harry
60e590c21b
Add MessageBackupInteractionStore 2024-10-18 13:01:09 -07:00
Harry
1be997b523
Cache TSThread in memory in backups 2024-10-09 12:45:11 -07:00
Ehren Kret
5ea36cd91b enable internal imports by default 2024-09-29 20:03:17 -05:00
Harry
0227da54df
Enqueue backup attachments for upload 2024-09-25 08:48:11 -07:00