Commit Graph

85 Commits

Author SHA1 Message Date
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
Pete Walters
c8f9883e5d
Archive/Restore of story distribution lists 2024-06-05 16:55:35 -05:00
Adam Sharp
f245dcc2d7
Address unused variable warnings in SignalServiceKit 2024-05-22 12:04:52 -04:00
Harry
d8a48c67c6
Don't create two attachments every time we get an edit message sync transcript 2024-05-20 14:07:44 -07:00
Sasha Weiss
3ffcc47a66
Scaffold for Backup integration tests 2024-05-17 13:59:49 -07:00
Sasha Weiss
05960887cd
Support for Calls in Backups 2024-05-06 11:43:13 -07:00
Sasha Weiss
a25868491f
Make defaults in TSIncomingMessageBuilder explicit and complete 2024-05-02 15:56:02 -07:00
Sasha Weiss
4e993f2f8f
Remove use of ExpressibleByXLiteral from MessageBackup IDs 2024-04-30 11:23:08 -07:00
Sasha Weiss
cd26ef2242
Streamline MessageBackup errors 2024-04-30 10:04:49 -07:00
Sasha Weiss
b9852224d8
Backup/Restore local group state 2024-04-29 13:49:51 -07:00
Sasha Weiss
e6616e95fa
Move some Backup IDs around 2024-04-29 12:45:11 -07:00
Sasha Weiss
fc4656daad
Fix milliseconds to seconds conversion in Backup import 2024-04-26 15:55:49 -07:00
Sasha Weiss
8ac48717f7
Change how we namespace Backup protos 2024-04-26 14:55:47 -07:00
Pete Walters
bea3a62bb2
Skip the local user when archiving recipients 2024-04-26 13:23:18 -05:00
Sasha Weiss
a1eb3d145a
Specify seconds in DM timer construction 2024-04-25 14:08:47 -07:00
Max Radermacher
456f2037ee
Stop putting kLocalProfileUniqueId in addresses 2024-04-23 13:58:27 -05:00
Ehren Kret
03aa10a6eb remove some simple to fix warnings 2024-04-19 23:36:23 -05:00
Harry
f2c112b5b5
Much ado about nothing 2024-04-19 14:27:05 -07:00