Commit Graph

1083 Commits

Author SHA1 Message Date
Marissa Le Coz
4c7bdae525
[Call Links] Make Share Link cell respond to theme & dynamic type changes 2024-08-20 11:30:39 -04:00
Adam Sharp
1a8c9fb5c6
Fix iOS 18 crash on launch due to offscreen rendering
Creating a UIImageView outside a view hierarchy now crashes on iOS 18. We can
avoid this offscreen rendering technique by removing UIImage.asTintedImage(),
configuring the tint colour and template rendering on the UIImage directly, and
rendering with UIGraphicsImageRenderer instead of lower-level Core Graphics
APIs.
2024-08-20 10:47:28 -04: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
Ehren Kret
cbd5d860bc networking code cleanup and improvements 2024-08-14 15:30:39 -05: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
Max Radermacher
11508ea7ed
Asyncify code to accept message requests 2024-08-12 13:16:59 -05:00
Max Radermacher
acf50c3559
Reformat code related to message requests 2024-08-12 11:46:41 -05:00
Elaine
884e74c889
Use smoother, interruptible animation on bottom sheets 2024-08-08 16:09:58 -06:00
Sasha Weiss
b1fdcf0dc7
Allow passing more message params through MessageEdits 2024-08-07 15:06:09 -07:00
Ehren Kret
99cb4b5ebe remove toE164 method from PhoneNumber 2024-08-07 16:16:02 -05:00
Ehren Kret
fc350cb88a convert PhoneNumber to swift 2024-08-07 16:16:02 -05:00
Sasha Weiss
78ae578aa0
Use the withDefaults pattern for TSOutgoingMessageBuilder 2024-08-06 10:22:07 -07:00
Elaine
ce12aa0e40
Fix a few bugs in InteractiveSheetViewController
Co-authored-by: Max Radermacher <max@signal.org>
2024-08-05 15:36:55 -06:00
Adam Sharp
e3cdbb7e6a
Asyncify VideoEditorModel 2024-08-05 14:51:25 -04:00
Adam Sharp
5d5f1d23fd Use explicit closures to avoid warnings about sendable values 2024-08-05 10:30:00 -04:00
Adam Sharp
b9a72a000e Update CaptchaView to use async delegate methods 2024-08-05 10:29:39 -04:00
Adam Sharp
01cb6a541c Implement non-deprecated Logging method 2024-08-05 10:29:14 -04:00
Max Radermacher
4d9d555941
Clean up link preview rendering code 2024-08-01 12:21:48 -05:00
Elaine
55b34b39a6
Add springing to call controls drawer 2024-07-30 10:53:22 -06:00
Elaine
25c36c28d5
Adjust StackSheetViewController safe area behavior 2024-07-30 10:01:29 -06:00
Sasha Weiss
a817a93be6
Introduce 'learned profile key' info messages 2024-07-29 14:42:00 -07:00
Max Radermacher
b9f49023ad
Send call link link previews 2024-07-26 22:00:54 -05:00
Max Radermacher
f2eb7f5a22
Extract LinkPreviewFetcher into its own type 2024-07-26 21:45:22 -05:00
Adam Sharp
6138a58756
Replace Archived Chats button with Clear Filter while filtering 2024-07-26 14:37:10 -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
Max Radermacher
82a87d6c9f
Asyncify LinkPreviewManager 2024-07-25 02:33:13 -05:00
Max Radermacher
57016de8ac
Asyncify group update methods 2024-07-25 02:22:11 -05:00
Max Radermacher
0ca2c7dd47
Add MessageTimestampGenerator 2024-07-25 01:45:20 -05:00
Harry
685d2b2157
Add new container for v2 attachment feature flags 2024-07-24 16:45:27 -07:00
Marissa Le Coz
4d90fb505c
Update call drawer colors 2024-07-24 15:22:28 -04:00
Harry
23024cb915
Use original attachment if available in QuotedReplyModel used for rendering 2024-07-24 10:43:52 -07:00
Elaine
935c242cf8
Manage how sheet interactions/animations interact with timeout and UI elements
Co-authored-by: Marissa Le Coz <marissa@signal.org>
2024-07-24 10:59:11 -04:00
Elaine
2dc3fa16d0
Animate call controls height changes 2024-07-22 14:14:38 -06:00
Elaine
28d7a9bd22
Animate drawer around pivot point when not dragging 2024-07-22 13:50:24 -06:00
Elaine
ed35c95216
Update call header for controls drawer 2024-07-22 13:35:04 -06:00
Sasha Weiss
0b4047c675
Unify disclosureXYZ methods in OWSTableItem 2024-07-22 11:39:06 -07:00
Sasha Weiss
239fc7876e
Drop our custom ContextMenuButton 2024-07-22 11:38:39 -07:00
Harry
fcd6828050
V2 attachment feature flags, take 2 2024-07-19 17:23:21 -07:00
Harry
a6f40af7d6
Handle AttachmentMultisend attachment reuse 2024-07-19 17:28:45 -05:00
Harry
75919050c4
Collapse v2 attachment FeatureFlags into one 2024-07-18 16:53:13 -07:00
Harry
10637bfcf9
Dont build story messages in AttachmentMultisend if there aren't story destinations 2024-07-18 13:03:40 -05:00
Pete Walters
3d4d422f97
Convert some writes to awaitableWrite 2024-07-18 10:55:42 -05:00
Pete Walters
392184e231
Reattach ArchivedPayments to payments from the ledger 2024-07-15 10:55:33 -05:00
Marissa Le Coz
4b45112f6c
Add crossfade to call drawer 2024-07-12 13:38:14 -04:00
Max Radermacher
4b15e46318
Rename AccountId → RecipientUniqueId 2024-07-11 10:38:21 -05:00
Pete Walters
84ff62b316
Move some MOB formatting into SignalServiceKit 2024-07-11 09:52:33 -05:00
Adam Sharp
d5b8ec648d
Remove simple availability checks for iOS 15 2024-07-10 09:40:13 -04:00
Adam Sharp
ce9e1594ec
Fix attachment/media keyboard not appearing
Scaling the system keyboard height eagerly meant that if the window was not
set, the keyboard height would be set to 0.  Defer scaling the system keyboard
height until layout time when the view has been added to a view hierarchy.
2024-07-09 12:17:37 -04:00
Adam Sharp
34a8cf2bda
Rename owsAssert to owsPrecondition 2024-07-09 10:42:56 -04:00