Commit Graph

102 Commits

Author SHA1 Message Date
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
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
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
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
Sasha Weiss
5fa7a81444
Implement archive/restore for learned profile chat updates 2024-08-01 09:45:26 -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
Sasha Weiss
9f84665630
Add support for profile change chat updates to Backups 2024-07-16 10:08:53 -07:00
Sasha Weiss
421c1afa2d
Add "expiration timer chat updates" to Backups 2024-07-16 09:45:24 -07:00
Sasha Weiss
1d68f74a5a
Use UInt64 for group expiration timer chat updates, instead of UInt32 2024-07-16 09:39:24 -07:00
Sasha Weiss
9a3cda1966
Skip archiving interactions for GV1 threads 2024-07-15 10:04:18 -07:00
Sasha Weiss
10610ddf4a
Skip backing up group update info messages without metadata 2024-07-15 10:03:33 -07:00
Pete Walters
b6db8349d2
Fix a typo in checking for empty transaction info during restore 2024-07-11 12:18:49 -07:00
Pete Walters
832c4c8ab7
Restore MOB payments from backup 2024-07-11 13:15:41 -05:00
Pete Walters
4bcb56954a
Add the archive side of MOB payment backup 2024-07-11 10:35:40 -05:00
Sasha Weiss
6ec1e6f3a3
Use getOrBuild to upsert user profiles during contact restore 2024-07-09 15:56:14 -07:00
Sasha Weiss
6bab5d99b8
Support "simple chat updates" in Backups 2024-07-03 15:46:05 -07:00
Sasha Weiss
2f9e627aa0
Update block arguments for thread/interaction enumeration 2024-07-02 17:38:15 -07:00
Sasha Weiss
4c937a722a
Stabilize timestamps in Backups story-dlist test 2024-07-01 09:20:57 -07:00
Sasha Weiss
1478cd8313
Update the Backup proto to the latest 2024-06-28 10:03:57 -07:00
Sasha Weiss
f9f9fff005
Reduce indirection in MessageBackup typealiases 2024-06-27 09:51:34 -07:00
Harry
bb083ca39c
Fold SignalCoreKit into SignalServiceKit
Co-authored-by: Adam Sharp <sharplet@signal.org>
2024-06-26 08:44:41 -07:00
Sasha Weiss
d8d51d58c3
Add a "delegating" archiver for ChatUpdateMessages 2024-06-25 16:43:27 -07:00
Sasha Weiss
8be190c72e
Distinguish ChatThreads from TSThreads 2024-06-25 16:42:56 -07:00
Sasha Weiss
d1d7fd9b16
Return the correct archiver type for a call ChatItem 2024-06-24 16:12:41 -07:00
Sasha Weiss
9e5d7b7602
Remove an unused Backup file 2024-06-24 10:53:20 -07:00
Sasha Weiss
fa638568ca
More conditionally restore profile keys from group snapshots in backups 2024-06-20 16:57:04 -07:00
Pete Walters
5f2336f9c3
Add payments backup proto definitions 2024-06-18 11:02:49 -05:00
Harry
3a92f1bbd7
Remove QuotedMessageInfo wrapper around TSQuotedMessage 2024-06-12 15:10:53 -07:00