Commit Graph

34395 Commits

Author SHA1 Message Date
Adam Sharp
b65258eeaa
Fix chat deselect animation intermittently breaking
Something about calling UITableView.deselectRow(at:) in the transition
coordinator completion block was causing the deselect animation to
intermittently just fail and pop to the deselected state. By actually animating
alongside the transition, we can reliably animate the deselection, and also
animate it interactively.
2024-08-13 12:30:15 -04: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
Adam Sharp
42aa5db2f0
Update xcodeproj, rexml (addresses CVE-2024-39908) 2024-08-12 20:48:01 -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
Elaine
b9c3f3957a
Disable drawer interaction while joining call 2024-08-12 16:35:40 -06:00
Elaine
ceaa9d6354
Remove unneeded keyframe shortening 2024-08-12 16:35:14 -06: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
11508ea7ed
Asyncify code to accept message requests 2024-08-12 13:16:59 -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
Max Radermacher
80639acbad
Reuse canCall logic in system message action code 2024-08-12 11:45:40 -05:00
Harry
dfb006f39e
Enable message TSAttachment migration for internal builds 2024-08-11 09:58:46 -07:00
Harry
5442495395
Quick hacky fix for media gallery not scrolling to bottom on appear 2024-08-09 11:10:54 -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
Harry
98740e631f
Add method to create attachment pointers from backup protos 2024-08-09 10:10:31 -07:00
Harry
6cdfb04a2b
Add attachment params initializer for invalid backup attachment 2024-08-09 10:09:32 -07:00
Harry
64caaba99c
Enqueue backup attachment downloads at backup download priorities 2024-08-09 10:06:33 -07:00
Adam Sharp
e29ebf8d69 Fix last selected chat staying in chat list after closing 2024-08-08 18:14:25 -04:00
Elaine
884e74c889
Use smoother, interruptible animation on bottom sheets 2024-08-08 16:09:58 -06:00
Elaine
8f012f53e6
Add call drawer to call link calls 2024-08-08 16:09:31 -06:00
Marissa Le Coz
64fe359c36
Fix sheet being blank in lobby when no one in call 2024-08-08 16:04:50 -04:00
Marissa Le Coz
3850fd1509
Do not let expanded local pip cover raised hand toast 2024-08-08 13:23:02 -04:00
Adam Sharp
fe0fdfe39a
Fix unread filter button being in the wrong state 2024-08-07 20:59:48 -04:00
Sasha Weiss
921bdf6c24
Add support for incoming message edits in Backups 2024-08-07 16:16:20 -07:00
Elaine
32fbf08aa9 Bump version to 7.25 2024-08-07 17:06:47 -06:00
Elaine
e728ca3c89 Update translations 2024-08-07 17:06:22 -06:00
Elaine
0c2207c37a Update release notes 2024-08-07 17:05:25 -06:00
Harry Sanabria
8dec43f72f Fix broken rebase using since-deleted method 2024-08-07 16:01:03 -07:00
Harry
83ebf96c0d
Add media tier attachment download source enum cases 2024-08-07 15:43:38 -07:00
Harry
199a59583d
Add validation method for backup attachments (no digest) 2024-08-07 15:41:41 -07:00
Sasha Weiss
b1fdcf0dc7
Allow passing more message params through MessageEdits 2024-08-07 15:06:09 -07:00
Sasha Weiss
41d153bf6f
Refactor EditManagerImpl to improve clarity 2024-08-07 15:04:48 -07:00
Adam Sharp
641738c84d
Enable Filter by Unread for internal builds 2024-08-07 18:02:54 -04: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
Adam Sharp
ba3098d18c Save selected unread filter to KeyValueStore 2024-08-07 17:52:49 -04:00
Ehren Kret
780a131560 use diskPageSize constant in place of 8192 literal 2024-08-07 16:19:51 -05:00
Ehren Kret
1fe73e8a22 update comments on LocalFileHandle 2024-08-07 16:16:53 -05:00
Ehren Kret
99a58e93ec prefer lseek for returning file offset rather than locally tracking it 2024-08-07 16:16:53 -05:00
Ehren Kret
44e0031770 use reusable buffers for sha256 and attachment encryption 2024-08-07 16:16:53 -05:00