Commit Graph

174 Commits

Author SHA1 Message Date
Pete Walters
e5a5f7c451
Cache the TSInteraction insert statement for backup restore. 2024-10-24 11:54:46 -05:00
Harry
57fd3b6418
Circumvent ModelReadCache on backup export 2024-10-22 15:40:07 -07:00
Harry
0c3c55ce32
Check for >0 timestamps for link previews 2024-10-22 15:06:09 -04:00
Harry
374a980281
Cache attachment reads on backup export 2024-10-22 10:40:34 -07:00
Harry
e8e01bbe11
Directly insert in the database in MessageBackupStoryStore 2024-10-21 16:43:03 -07:00
Harry
30c4b02f92
Directly insert in the database in MessageBackupThreadStore 2024-10-21 16:42:17 -07:00
Harry
7650e8d993
Bypass sdsSave for interactions restored from backups 2024-10-21 16:41:26 -07:00
Harry
1dd5ce5698
Refactor Backup postFrameRestoreActions to support thread visibility needs 2024-10-18 14:00:32 -07:00
Harry
d3e3e84023
Don't fetch original message for quote by timestamp 2024-10-18 13:55:25 -07:00
Harry
383755d71e
Add MessageBackupStoryStore 2024-10-18 13:08:25 -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
780f91dcf2
Remove outdated comment on shouldStartExpireTimer and move logic to swift 2024-10-15 15:49:51 -07:00
Harry
1be997b523
Cache TSThread in memory in backups 2024-10-09 12:45:11 -07:00
Harry
ce5689dcb3
Remove MockDB in favor of InMemoryDB 2024-10-07 19:06:08 -07:00
Harry
98e4b143ea
Add database connection access method to db v2 transactions 2024-10-04 16:10:47 -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
9a5710ad1f
Add unused database support for sync messages 2024-10-02 12:54:23 -05:00
Max Radermacher
ab92cf34b0
Clean up call event delete sync code 2024-10-02 12:44:20 -05:00
Ehren Kret
5ea36cd91b enable internal imports by default 2024-09-29 20:03:17 -05: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
Pete Walters
a8d12f0be2
Add backup/restore of sticker packs 2024-09-25 11:38:51 -05:00
Harry
0227da54df
Enqueue backup attachments for upload 2024-09-25 08:48:11 -07:00
Pete Walters
136b16f734
Allow blocklists to be empty for dlist archive/restore 2024-09-24 15:31:37 -05:00
Sasha Weiss
cb16a9bd59
More propertly handle "contact hidden and in message request state" from Backups 2024-09-24 10:00:36 -07:00
Sasha Weiss
966b6cacdb
Support isSMS for messages restored from Backups 2024-09-23 17:42:11 -07:00
Sasha Weiss
2c9d140154
Add final Backup integration tests 2024-09-18 14:12:56 -07:00
Sasha Weiss
6af2388771
Backup integration tests for quote messages 2024-09-18 10:57:19 -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
Harry
3c9c891059
Track isViewOnce on MessageAttachmentReference table 2024-09-17 09:04:26 -07:00
Sasha Weiss
a1720def52
Add "simple chat updates" Backup integration test cases 2024-09-10 14:44:51 -07:00
Sasha Weiss
c0525bb24f
Add "complex chat updates" Backup integration tests 2024-09-10 11:37:35 -07:00
Sasha Weiss
b4f15c7ccb
Add "calls" Backup integration tests 2024-09-10 11:33:28 -07:00
Sasha Weiss
efe9e73005
Add "contact message" Backup integration tests 2024-09-10 10:49:15 -07:00
Sasha Weiss
17a10f7762
Add "chats" Backup integration test cases 2024-09-10 10:37:05 -07:00
Harry
a766d77280
Only back up fallback transit tier info if the encryption key matches 2024-09-09 16:53:35 -07:00
Harry
86ef1d52bc
Migration to split incrementalMac attachment columns to separate media and transit tier values 2024-09-09 16:52:02 -07:00
Sasha Weiss
961086eed0
Adopt generated Backup integration tests for AccountData 2024-09-04 14:15:45 -07:00
Harry
f30a1c0be5
Backup TODO cleanup grab bag 2024-08-30 16:07:35 -07:00
Harry
778cdd4ce2
Skip backing up messages expiring in less than 24 hours 2024-08-30 15:50:51 -07:00
Harry
2a0cf24829
Implement archiving message body attachments 2024-08-30 15:50:17 -07:00
Harry
cf2d223ea4
Respect partial errors everywhere 2024-08-30 15:49:48 -07:00
Harry
267d20ef57
Archive quoted attachment thumbnails 2024-08-30 15:45:38 -07:00
Harry
f9c3896041
Archive contact share messages 2024-08-30 15:45:11 -07:00
Harry
c0e2a5b916
Archive sticker messages 2024-08-30 15:41:42 -07:00
Harry
7b9f0ed448
Archive link previews 2024-08-30 15:40:31 -07:00
Harry
c857c685ce
Archive oversize text attachments 2024-08-30 15:39:42 -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