Commit Graph

147 Commits

Author SHA1 Message Date
Pete Walters
e253c8ff9e
Cache Backup CDN credentials/backup info 2024-08-26 15:58:31 -05:00
Pete Walters
3f4ffb6e6f
Remaining backup API requests 2024-08-26 14:51:17 -05:00
Harry
22c1f0118d
Restore oversize text attachments from backups 2024-08-26 10:09:22 -07:00
Harry
dc0bd1ab75
Restore ContactMessage (contact share) from backup 2024-08-26 10:06:41 -07:00
Harry
410c6493ab
Map OWSContact to/from BackupProto_ContactMessage 2024-08-26 10:03:12 -07:00
Sasha Weiss
a1f7e4c1b1
Migrate TSOutgoingMessageRecipientState off of Mantle 2024-08-23 16:17:26 -07:00
Harry
6fe99bd69b
Add support for versioned DM expire timer updates 2024-08-22 14:02:03 -07:00
Harry
3c732b0195
Restore link previews from backups 2024-08-22 10:23:33 -07:00
Sasha Weiss
ff2c7648d3
Add remote-delete tombstones to Backups 2024-08-22 09:16:53 -07:00
Sasha Weiss
0c3f2cced7
Add more properties to the message builders 2024-08-21 22:16:35 -07:00
Sasha Weiss
8cb25faa43
Add support for backing up outgoing message edits 2024-08-21 22:14:02 -07:00
Pete Walters
d69ad25c3a
Add media tier backup API request 2024-08-21 15:25:45 -05:00
Pete Walters
980e0927c3
Add methods to generate media tier key material for both attachments and thumbnails 2024-08-21 10:37:01 -05:00
Harry
4d320fd384
Restore quoted reply thumbnail attachments from backup 2024-08-20 16:50:39 -07:00
Harry
4eecfbf552
Remove internal-only toggle to enable v2 attachment migration 2024-08-20 15:08:47 -07:00
Harry
1ee5b9b999
Remove RestoredSentMessageTranscript; restore TSOutgoingMessage directly via builders 2024-08-19 10:42:40 -07:00
Ehren Kret
9ebc6d613d fix warning 2024-08-16 18:57:49 -05:00
Sasha Weiss
3e92166fe8
Update Backup.proto to latest 2024-08-16 15:30:10 -07:00
Sasha Weiss
9690fd8ed8
Add "message request accepted" info message 2024-08-16 15:29:22 -07:00
Sasha Weiss
fb5ee27c80
Add "blocked" and "unblocked" info messages 2024-08-16 15:28:37 -07:00
Sasha Weiss
ff23be7526
Drop publicKey from Group definition in Backups 2024-08-16 15:27:43 -07:00
Ehren Kret
086b4abfa5 fix several warnings 2024-08-15 16:09:58 -05:00
Sasha Weiss
853bf45b8a
Split TSInfoMessage+Swift into extension files 2024-08-14 16:51:00 -07:00
Sasha Weiss
5b35301892
Enable the Backup comparator for chat update tests 2024-08-13 15:52:25 -07:00
Sasha Weiss
0d17a073e2
Enable ComparableBackup check in ExpirationTimerChatUpdate test 2024-08-13 10:53:06 -07:00
Sasha Weiss
05931acf6c
Enable LibSignal comparator for "distribution list" Backup tests 2024-08-13 10:44:41 -07:00
Sasha Weiss
6178a6a008
Enable LibSignal comparator for "contact" Backup tests 2024-08-13 10:42:45 -07:00
Sasha Weiss
4da6a79253
Integrate and enable LibSignal's ComparableBackup for AccountData tests 2024-08-12 14:01:58 -07:00
Harry
32b9c5e5c7
Add MessageBackupMessageAttachmentArchiver and implement StandardMessage body attachment restoring 2024-08-09 10:24:02 -07:00
Harry
46bc0c28c1
Make cdn number optional for media tier attachment info 2024-08-09 10:12:29 -07:00
Harry
64caaba99c
Enqueue backup attachment downloads at backup download priorities 2024-08-09 10:06:33 -07:00
Sasha Weiss
921bdf6c24
Add support for incoming message edits in Backups 2024-08-07 16:16:20 -07:00
Sasha Weiss
0afca3aec7
Add receivedAtTimestamp to message builders 2024-08-07 14:58:50 -07:00
Sasha Weiss
6c44bf955e
Fixes for restoring a Group from Backups 2024-08-07 14:57:02 -07:00
Sasha Weiss
fca19c0c78
Represent serverTimestamp as a UInt64 in IncomingMessageBuilder 2024-08-06 12:28:41 -07:00
Sasha Weiss
3cdf735b40
Pare down TSInteraction initializers 2024-08-06 10:06:20 -07:00
Ehren Kret
e1cfd116a2 rename OWSAES256Key in swift to Aes256Key 2024-08-02 09:29:55 -05:00
Sasha Weiss
79d5ff9340
Remove MBInteractionArchiver protocol in favor of direct archiver access 2024-08-01 14:55:33 -07:00
Harry
82862885c3
Add BackupAttachmentDownloadStore 2024-08-01 10:25:36 -07:00
Harry
5a7d154d16
Add BackupAttachmentDownloadQueue table 2024-08-01 10:24:27 -07:00
Sasha Weiss
5fa7a81444
Implement archive/restore for learned profile chat updates 2024-08-01 09:45:26 -07:00
Harry
2700cfe624
Block on migrating TSAttachments before creating backups 2024-07-31 15:33:11 -07:00
Sasha Weiss
d87164a073
Replace Wire with Swift-Protobuf for Backups 2024-07-29 15:26:01 -07:00
Sasha Weiss
a817a93be6
Introduce 'learned profile key' info messages 2024-07-29 14:42:00 -07:00
Max Radermacher
f2eb7f5a22
Extract LinkPreviewFetcher into its own type 2024-07-26 21:45:22 -05:00
Sasha Weiss
10d0508fdb
Add threadRowId to ChatThread 2024-07-26 13:14:37 -07:00
Sasha Weiss
3646e27b03
An attempt to document the remaining Backup contents 2024-07-26 11:47:05 -07:00
Max Radermacher
f3423d64f8
Move some GroupsV2 methods to better places 2024-07-25 02:02:32 -05:00
Sasha Weiss
0ff29d510b
Add support for session switchover events to Backups 2024-07-22 15:02:09 -07:00
Sasha Weiss
40835a7f2f
Implement Backup of "thread merge" chat updates 2024-07-22 14:40:27 -07:00