Commit Graph

66 Commits

Author SHA1 Message Date
Sasha Weiss
12d6ac4e53
Truly always set a bubble color on chat style protos 2025-02-25 11:57:40 -08: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
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
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
Harry
835febb7ef
Include expiring messages in deviceTransfer backups 2024-12-05 13:23:23 -08:00
Harry
b18a0f4e0d
Don't cache full TSThreads on backup export 2024-11-19 16:50:11 -06:00
Harry
eb45be11c1
Use autoreleasepool for backup import/export 2024-11-15 16:36:17 -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
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
a1d74df6d9
In backups, wrap CallLinkRecord rowId in struct instead of typealias 2024-11-08 12:43:23 -08:00
Marissa Le Coz
236f6e6056
Add ad hoc calls to backups 2024-11-08 11:45:22 -05: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
058eb48a56
Restore TSGroupMember from backups 2024-11-06 06:50:44 -08:00
Harry
051150ae00
Skip archiving gv1 threads in backup without failing 2024-11-05 09:39:04 -08:00
Harry
1093e0332e
Mark backup error logs as fatal or not 2024-11-04 11:25:20 -08:00
Harry
03d9cc024e
Set lastVisibleRowId on threads and wasRead on messages when restoring 2024-11-01 13:46:06 -07:00
Harry
9ba009a1e3
Add internal-only UI to display verbose backup errors 2024-10-30 11:21:53 -07:00
Harry
30c4b02f92
Directly insert in the database in MessageBackupThreadStore 2024-10-21 16:42:17 -07:00
Harry
1dd5ce5698
Refactor Backup postFrameRestoreActions to support thread visibility needs 2024-10-18 14:00:32 -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
Harry
5821c8bbc9
Get uploadEra for restored attachments from the backup's AccountData.backupSubscription.subscriberId 2024-10-04 15:38:47 -07:00
Max Radermacher
0882dde68b
Fix OWSColor ↔ ARGB conversions 2024-09-27 11:38:12 -05:00
Harry
ba333be714
Add BackupAttachmentDownloadManager 2024-09-27 07:25:26 -07:00
Harry
0227da54df
Enqueue backup attachments for upload 2024-09-25 08:48:11 -07:00
Sasha Weiss
e691714201
Drop profileKey fields from GroupSnapshots in Backups
Co-authored-by: Jordan Rose <jrose@signal.org>
2024-09-18 10:30:59 -07:00
Sasha Weiss
17a10f7762
Add "chats" Backup integration test cases 2024-09-10 10:37:05 -07:00
Sasha Weiss
961086eed0
Adopt generated Backup integration tests for AccountData 2024-09-04 14:15:45 -07:00
Harry
cbfce7eb8c
Add strongly typed error for using story distribution list as backup chat recipient 2024-08-30 15:39:09 -07:00
Harry
950deacfff
Backup message/chat archiving cleanups 2024-08-30 15:38:35 -07:00
Harry
de4980bc93
[Refactor] Make attachment archiving code shareable 2024-08-30 15:35:18 -07:00
Harry
bb2f7e4865
Archive/Restore thread wallpaper images 2024-08-30 15:34:53 -07:00
Harry
0f69009512
Archive/Restore chat styles on threads in backup 2024-08-30 15:34:22 -07:00
Harry
eca9a60c9d
Archive/Restore default chat style in backup 2024-08-30 15:33:51 -07:00
Harry
a29a890adc
Archive/Restore custom chat colors in backup 2024-08-30 15:33:05 -07:00
Harry
42df49aa0b
Add context for custom chat colors 2024-08-30 15:32:39 -07:00
Harry
69a78c2ada
Add MessageBackupChatStyleArchiver with proto converter methods 2024-08-30 15:32:02 -07:00
Harry
ab8e59a7d3
Pass tx around in backups code via contexts 2024-08-30 12:59:00 -07:00
Harry
6fe99bd69b
Add support for versioned DM expire timer updates 2024-08-22 14:02:03 -07:00
Sasha Weiss
d87164a073
Replace Wire with Swift-Protobuf for Backups 2024-07-29 15:26:01 -07:00
Sasha Weiss
10d0508fdb
Add threadRowId to ChatThread 2024-07-26 13:14:37 -07:00