Commit Graph

199 Commits

Author SHA1 Message Date
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
4d87719397
Fix backup copy to media tier request 2024-09-25 19:12:48 -05:00
Harry
0edcb508ed
Allow TaskQueueLoader to be stopped 2024-09-25 11:10:48 -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
Harry
c024deb4f8
Add BackupAttachmentUploadManager 2024-09-25 08:45:38 -07:00
Harry
28c598f001
Add BackupAttachmentUploadQueue table 2024-09-25 08:44:18 -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
Harry
011a321b2d
Clean up AttachmentUploadManager media tier upload method 2024-09-23 12:46:49 -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
Max Radermacher
eae1ab1e12
Upgrade to SwiftProtobuf v1.28.1 2024-09-17 09:11:11 -05:00
Ehren Kret
c5395a70a1
migrate logic from NSDate OWS category to swift extensions 2024-09-12 12:27:42 -05: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
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
Pete Walters
3e3ce9d983
Set of fixes to enable basic media tier attachment restore 2024-08-30 14:30:08 -05:00
Ehren Kret
a021a34995 fix warnings 2024-08-28 15:10:23 -05:00
Sasha Weiss
a47aeebc1b
Replace individual Backup integration test cases with auto-iteration 2024-08-28 10:10:48 -07:00
Pete Walters
daf0c04940
Enqueue mediaTier downloads from backup restore 2024-08-28 12:02:05 -05:00
Sasha Weiss
7225b06361
Add support for gift badges to Backups 2024-08-27 16:41:54 -07:00