Commit Graph

111 Commits

Author SHA1 Message Date
Max Radermacher
aade0b7af1 Fix crash when importing non-empty “My Story”s 2025-04-17 17:10:06 -05:00
Elaine
cd96dad262
Block avatar downloads from message requests 2025-04-08 17:55:50 -06:00
Sasha Weiss
ec45bb395b
Deprotocolize MessageBackup archivers and related impl-only types 2025-04-04 09:26:08 -07:00
Sasha Weiss
8d8c1ef921
Periodic cleanup of FeatureFlags 2025-04-02 17:26:03 -07:00
Max Radermacher
8a402c8a4c
Migrate story recipients to a dedicated table 2025-03-27 21:14:10 -05:00
Max Radermacher
cf0b3ea9b3
Optimize blocked recipient checks when archiving 2025-03-27 13:17:43 -05:00
Max Radermacher
09d5030455
Fix typo: “ap” → “Map” 2025-03-27 13:17:00 -05:00
Max Radermacher
4be87bcec5
Fix bug when archiving the local recipient 2025-03-27 13:13:31 -05:00
Sasha Weiss
3e76c97c19
Use a single timestamp through Backup import/export 2025-03-24 14:51:21 -07:00
Max Radermacher
5445d2a62a
Migrate OWSRecipientIdentity to SDSCodableModel 2025-03-21 16:47:24 -05:00
Sasha Weiss
8fba406b84
Update Backup.proto with latest contents 2025-03-21 09:45:45 -07:00
Max Radermacher
3b8449efd8 Revert "Remove redundant avatar download invocations"
This reverts commit 2d25f13ee1.
2025-03-20 12:04:19 -05:00
Sasha Weiss
bb048e8b59
One transaction type to rule them all and in the darkness bind them 2025-03-13 21:43:35 -07:00
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