Harry
b805a89876
Enable TSMessage TSAttachment migration in prod
2024-08-20 15:07:57 -07:00
Max Radermacher
1d97c10767
Handle responseTooLarge when fetching avatars
2024-08-20 14:47:50 -05:00
Marissa Le Coz
7db9f4eec5
Add join 'card' to create call link sheet
2024-08-19 18:30:39 -04:00
Adam Sharp
0bbdac36c2
Use exhaustive switch statements when checking contacts authorization
2024-08-19 14:19:00 -04:00
Harry
1ee5b9b999
Remove RestoredSentMessageTranscript; restore TSOutgoingMessage directly via builders
2024-08-19 10:42:40 -07:00
Ehren Kret
0d4eff34cc
fix warning
2024-08-16 19:01:33 -05: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
Harry
fc8c8a16ef
Drop story attachment files with file/io errors in migration
2024-08-16 10:24:09 -07:00
Ehren Kret
086b4abfa5
fix several warnings
2024-08-15 16:09:58 -05:00
Pete Walters
2bf340e858
Add persistent resumable upload support
2024-08-15 11:14:28 -05:00
Pete Walters
d81fe02845
Add AttachmentUploadStore
2024-08-15 11:14:00 -05:00
Pete Walters
f22154db54
Add AttachmentUploadRecord
2024-08-15 10:50:41 -05:00
Pete Walters
ac50ead8be
Fix submodule pointers
2024-08-15 09:54:02 -05:00
Pete Walters
b5b260e5b5
Update release notes
2024-08-15 09:02:55 -05:00
Sasha Weiss
853bf45b8a
Split TSInfoMessage+Swift into extension files
2024-08-14 16:51:00 -07:00
Ehren Kret
cbd5d860bc
networking code cleanup and improvements
2024-08-14 15:30:39 -05:00
Harry
c3fb18bf78
Stop incremental migrator when backgrounding app
2024-08-14 11:58:18 -07:00
Harry Sanabria
258826b0ff
Add 2 small logs to migration
2024-08-14 11:39:19 -07:00
Harry
df444b685b
Try copying file first if we hit a file i/o error when validating migration attachment file
2024-08-14 11:24:53 -07:00
Sasha Weiss
5b35301892
Enable the Backup comparator for chat update tests
2024-08-13 15:52:25 -07:00
Harry
e24bf938d5
Don't set width as height on outgoing attachment proto
2024-08-13 15:18:52 -07:00
Harry
40a0a48e0a
Ensure we assign the ref to quote thumbnail if we found a duplicate locally
2024-08-13 17:04:51 -05:00
Harry
7775a3b116
Properly update download state on every AttachmentDownloadManager path
2024-08-13 14:51:55 -07:00
Harry
b09e8cf9f6
Don't count attachments enqueued for later retry as downloading
2024-08-13 16:38:35 -05:00
Harry
f9775e04c1
Add some logging to attachment v2 downloads
2024-08-13 16:36:20 -05:00
Harry
53f72e2851
Touch owners after cancelling attachment downloads so the CV item reloads
2024-08-13 12:00:02 -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
Harry
d45634cf8e
Avoid uneccesary full log string redaction in attachment migration error log
2024-08-13 09:15:19 -07:00
Adam Sharp
f8bcb88467
Work around AVAssetExportSession.export(to:as:) not being back-deployed
...
In Xcode 16 beta 4, this API was marked as back-deployed before iOS 18, but
that changed in beta 5. Because calling the older export() API now generates a
(possibly spurious) warning about the export session leaving its isolation,
introduce a wrapper that's available before iOS 18 and uses the proper
isolation.
2024-08-12 20:49:08 -04:00
Harry
8a6b3e4c00
Don't accept directories as attachment files in TSAttachment migration
2024-08-12 17:09:45 -07:00
Jordan Rose
71cd1da89a
Update libsignal to v0.55.0, OWSChatConnection to account for no-auto-reconnect
2024-08-12 15:51:05 -07:00
Max Radermacher
0ea8a1b814
Remove unused OWSRequestFactory methods
2024-08-12 16:30:03 -05:00
Harry
fb73508927
Log TSAttachment migration FileHandle error while replacing filename
2024-08-12 14:07:07 -07:00
Sasha Weiss
4da6a79253
Integrate and enable LibSignal's ComparableBackup for AccountData tests
2024-08-12 14:01:58 -07:00
Sasha Weiss
e11061dd76
Add a missing TSInfoMessage messageType case to a switch
2024-08-12 12:21:39 -07:00
Max Radermacher
8cb662acf0
Asyncify Sender Certificate code
2024-08-12 14:12:48 -05:00
Max Radermacher
46a3e9c58a
Extract cooperative timeout & cancellation logic
2024-08-12 13:46:37 -05:00
Max Radermacher
b36195157f
Asyncify gv2 restore operation
2024-08-12 13:17:13 -05:00
Max Radermacher
790f02f54e
Move around muting code to improve readability
2024-08-12 13:06:41 -05:00
Max Radermacher
acf50c3559
Reformat code related to message requests
2024-08-12 11:46:41 -05:00
Harry
dfb006f39e
Enable message TSAttachment migration for internal builds
2024-08-11 09:58:46 -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
b3a118b800
Return enum errors instead of arbitrary throws when creating attachments from backups
2024-08-09 10:11:12 -07:00