Commit Graph

34210 Commits

Author SHA1 Message Date
Pete Walters
731237981f
Move some v2 upload code 2024-07-26 09:39:45 -07:00
Adam Sharp
97dc9a380b Extract CLVViewInfo into its own file 2024-07-26 11:50:16 -04:00
Adam Sharp
30726decd9 Improve type safety of ReusableTableViewCell
Splits `dequeueReusableCell(_:for:isRegistered:)` into two different methods,
overloaded on the presence of the `indexPath` parameter, allowing the `indexPath`
variant to return a non-optional value.

Also removes the `isRegistered` parameter, which was never passed by callers
and thus always defaulted to `true`.
2024-07-26 11:30:48 -04:00
Marissa Le Coz
d6e8eec797
[Call Drawer] Update one color and one spacing const 2024-07-26 11:21:43 -04:00
Adam Sharp
ee412456e0
Hide Archived Chats button when multiselect is active 2024-07-26 11:05:20 -04:00
Adam Sharp
7348b4ddc9
Hide Archived Chats button when unread filter is active
Adds support for a dynamic list of sections to CLVRenderState, then diffs
changes to the list of sections in order to insert or remove the archive button
section when the unread filter is enabled or disabled.
2024-07-26 11:05:20 -04:00
Harry
e2b72383b9
Check if video SignalAttachments are too large so that we early exit 2024-07-25 17:21:56 -07:00
Harry
a028188cd2
Show error alert and early exit if SignalAttachment creation fails 2024-07-25 17:21:41 -07:00
Harry
74437f2452
Avoid constantly recomputing ImageMetadata for hasStickerLikeProperties check 2024-07-25 17:21:14 -07:00
Harry
2058a1b648
Check exif orientation for v2 attachment jpegs 2024-07-25 13:36:24 -07:00
Marissa Le Coz
631403d125
Align raised hands toast to drawer on iPad 2024-07-25 13:00:51 -04:00
Harry
81af67d166
Fall back to UIImage(data:) if interpreting CGImageDataSource for mime type fails 2024-07-25 09:48:30 -07:00
Adam Sharp
46d9a9e2dd
Fix crash when reloading chat list 2024-07-25 11:18:48 -04:00
Ehren Kret
e2d5ea007b remove kbs migration logic as that is no longer possible 2024-07-25 09:05:38 -05:00
Max Radermacher
5b27faae8e
Fix infinite spinner on group link previews 2024-07-25 02:59:55 -05:00
Max Radermacher
f7398b4e6d
Check for profile when showing phone numbers 2024-07-25 02:57:42 -05:00
Max Radermacher
9719909fbd
Clean up group link preview rendering code 2024-07-25 02:45:48 -05:00
Max Radermacher
2344354d2b
Consolidate “download too large” code 2024-07-25 02:37:38 -05:00
Max Radermacher
82a87d6c9f
Asyncify LinkPreviewManager 2024-07-25 02:33:13 -05:00
Max Radermacher
624786b1c8
Asyncify code to “send” group update messages 2024-07-25 02:28:04 -05:00
Max Radermacher
57016de8ac
Asyncify group update methods 2024-07-25 02:22:11 -05:00
Max Radermacher
f0d0e43060
Asyncify group avatar downloads 2024-07-25 02:17:58 -05:00
Max Radermacher
664b7781fe
Asyncify GroupV2Updates 2024-07-25 02:17:01 -05:00
Max Radermacher
a56b9e9be5
Pass around GroupSecretParams instead of Data 2024-07-25 02:12:07 -05:00
Max Radermacher
f3423d64f8
Move some GroupsV2 methods to better places 2024-07-25 02:02:32 -05:00
Max Radermacher
533d32caf8
Asyncify LaunchJobs 2024-07-25 01:48:18 -05:00
Max Radermacher
3e5e0b55f2
Update linked device string to match Desktop 2024-07-25 01:46:34 -05:00
Max Radermacher
e9799fead8
Remove redundant timestamp generation 2024-07-25 01:46:15 -05:00
Max Radermacher
0ca2c7dd47
Add MessageTimestampGenerator 2024-07-25 01:45:20 -05:00
Ehren Kret
498b7ac063 remove dead code 2024-07-24 19:16:50 -05:00
Harry
932b3ae163
Pass along user-visible filename to sharesheet for v2 attachments 2024-07-24 17:09:21 -07:00
Ehren Kret
28f40b0180 remove dead code 2024-07-24 18:46:03 -05:00
Harry
685d2b2157
Add new container for v2 attachment feature flags 2024-07-24 16:45:27 -07:00
Harry
b067960086
Special case forwarding of aac audio files 2024-07-24 16:28:49 -07:00
Harry
2f2244cd30
Allow sharing file and audio v2 attachments via sharesheet 2024-07-24 16:25:21 -07:00
Marissa Le Coz
d9efcc554f Turn on group call drawer support for internal 2024-07-24 19:08:49 -04:00
Max Radermacher
bf03b9c4c4
Remove unused ConversationViewLayout code 2024-07-24 17:53:55 -05:00
Marissa Le Coz
3f7ce24b40
Split drawer feature flag into two 2024-07-24 18:51:23 -04:00
Harry
8d65c34c1d
Pass along thumbnail pointer from sender to QuotedReplyAttachmentDataSource 2024-07-24 15:51:09 -07:00
Harry
7ceb336b1c
Only generate quote thumbnails for sending from streams 2024-07-24 15:38:10 -07:00
Harry
de68c80431
Use atomic types in AttachmentDownloadManager.ProgressStates which is used across multiple threads 2024-07-24 15:27:01 -07:00
Marissa Le Coz
a6aa7c53aa
[call drawer] Scoot the call controls confirmation toast down 2024-07-24 17:08:10 -04:00
Harry
84689b4439
Enable v2 attachments for stories 2024-07-24 13:35:52 -07:00
Harry Sanabria
12d59df5ff Bump version to 7.23 2024-07-24 12:32:46 -07:00
Harry Sanabria
e09a64678a Update translations 2024-07-24 12:32:35 -07:00
Harry Sanabria
6b33fe8355 Update release notes 2024-07-24 12:30:48 -07:00
Marissa Le Coz
4d90fb505c
Update call drawer colors 2024-07-24 15:22:28 -04:00
Max Radermacher
2050dc77c6
Use PluralAware for raise hand toast string 2024-07-24 14:10:11 -05:00
Harry
b04032f44a
Small fixes for generic file attachments for v2
Co-authored-by: Adam Sharp <sharplet@signal.org>
2024-07-24 10:44:36 -07:00
Harry
23024cb915
Use original attachment if available in QuotedReplyModel used for rendering 2024-07-24 10:43:52 -07:00