Commit Graph

8753 Commits

Author SHA1 Message Date
Harry
e3c15ecb99
Collapse "enqueued" and "downloading" AttachmentDownloadState cases into single "enqueuedOrDownloading" case 2024-06-21 13:03:33 -07:00
Sasha Weiss
2769166d79
Add outgoing support for non-expiring messages in delete-sync messages 2024-06-21 12:14:27 -07:00
Sasha Weiss
2a25846480
Implement support for outgoing attachment-delete sync messages 2024-06-21 09:52:45 -07:00
Max Radermacher
8df9f02b8e
Handle Call Links provided by the system 2024-06-17 11:56:51 -05:00
Harry
cac39bbdbd
Make forwaded message enqueues happen in serial order 2024-06-13 14:24:50 -07:00
Harry
3a4e4b7404
Remove quoted reply debug actions that are too painful to maintain 2024-06-12 15:12:13 -07:00
Harry
3dc41f2469
Add threadUniqueId to DraftQuotedReplyModel 2024-06-12 15:11:39 -07:00
Harry
3a92f1bbd7
Remove QuotedMessageInfo wrapper around TSQuotedMessage 2024-06-12 15:10:53 -07:00
Harry
23fed9d786
Add convenience validation from data (instead of going through DataSourceValue) 2024-06-12 15:03:14 -07:00
Harry
b2d621c8c2
Validate wallpaper images before setting them 2024-06-12 14:47:09 -07:00
Sasha Weiss
41d2a3d1b2
Informational UX for delete syncs 2024-06-11 16:39:22 -07:00
Harry
58e801d2e6
Clean up ThreadUtil+SignalUI 2024-06-11 15:43:15 -07:00
Harry
9723700039
De-Asyncify AttachmentContentValidator 2024-06-11 14:07:12 -07:00
Harry
77ec5d2014
Clean up/remove DebugUIMessages attachment actions 2024-06-06 15:55:17 -07:00
Harry
f4b4b0dbde
Validate ContactShareDraft avatars before sending 2024-06-06 15:40:42 -07:00
Harry
cf4dbedaf7
Remove unused caption param (all callers pass nil) 2024-06-06 15:34:06 -07:00
Max Radermacher
2d9f375e50
Add CallMode.callLink 2024-06-06 14:59:30 -05:00
Sasha Weiss
4a7be90003
Send support for DeleteForMe sync messages 2024-06-04 15:18:39 -07:00
Sasha Weiss
af12f210cb
Receive support for DeleteForMe sync messages 2024-06-04 15:15:24 -07:00
Sasha Weiss
11e9404d76
Add ThreadSoftDeleteManager 2024-06-04 14:58:58 -07:00
Sasha Weiss
2c5f47e95e
Consolidate similar InteractionFinder methods 2024-06-04 14:55:36 -07:00
Sasha Weiss
0f4289fc73
Replace interaction anyRemove with InteractionDeleteManager 2024-06-04 14:51:52 -07:00
Harry
ef62e06c82
Build AttachmentReference.OwnerBuilder into a full Owner object 2024-05-29 19:55:37 -07:00
Harry
99c97db7f0
Implement AttachmentManager.removeAttachment 2024-05-29 19:50:52 -07:00
Max Radermacher
ca1b5f4751
Remove SignalCall.thread 2024-05-29 11:47:01 -05:00
Max Radermacher
7f1bcbf991
Stop tracking pending calls at the app layer 2024-05-24 14:39:57 -05:00
Max Radermacher
3eec477bf1
Process some missed call events more quickly 2024-05-24 14:16:55 -05:00
Max Radermacher
c412537623
Fix concurrency in IndividualCall.callId 2024-05-24 14:05:44 -05:00
Harry
e5787cd5a1
Define Attachment and AttachmentReference Record types for reading/writing to the database 2024-05-23 09:13:13 -07:00
Max Radermacher
d1a1d2add8
Move SignalCall’s state into the concrete types
Co-authored-by: Harry <109690906+harry-signal@users.noreply.github.com>
2024-05-22 23:20:02 -05:00
Sasha Weiss
47a02e1e6a
Remove now-obsolete warning when sending an edit 2024-05-22 13:33:23 -07:00
Adam Sharp
bcc31cbc4f
Double Tap to Edit 2024-05-21 15:15:59 -04:00
Marissa Le Coz
4ef5211825
Add quick react configuration option to emoji sheet in calls 2024-05-21 14:06:57 -04:00
Harry
5c31047c54
Split out and clean up thread wallpaper image storage 2024-05-21 10:37:05 -07:00
Sasha Weiss
da934a3039
Don't display story onboarding overlay if already viewed 2024-05-20 14:50:52 -07:00
Sasha Weiss
3ffcc47a66
Scaffold for Backup integration tests 2024-05-17 13:59:49 -07:00
Sasha Weiss
5e218e8546
Add support for plaintext backup import/export 2024-05-17 10:40:21 -07:00
Max Radermacher
503d5c635e
Rip out a bunch of NonCallKitCallUIAdaptee 2024-05-16 18:24:04 -05:00
Pete Walters
e5a229cd7a
Coordinate dismiss of ComposeVC with presentation of ConversationVC 2024-05-16 09:33:06 -05:00
Max Radermacher
49b4ba0f06
Remove implicitly-unwrapped call mode properties 2024-05-15 16:13:13 -05:00
Marissa Le Coz
8c1bdf835e
Add haptics when selecting reactions 2024-05-14 18:57:08 -04:00
Adam Sharp
585da625a1 Audit remaining strings for "audio call" -> "voice call"
In addition to updating the remaining English occurrences of "audio call", this
unifies all string constants, localisation comments and UI-level variable names
to use the new "voice call" terminology.

Anything that was obviously protocol-level or related to persistence is still
using the term "audio call", which appears to be a term of art at that layer.

Fixes: https://signalmessenger.atlassian.net/browse/IOS-4850
2024-05-14 13:36:27 -04:00
Max Radermacher
34eca8a139
Fix some dependency cycles with CallService 2024-05-14 11:46:52 -05:00
Adam Sharp
5f1820748e Don't ignore theme changes when switching to system interface style
When switching to the "system" theme mode, if the effective appearance matched
the previous overridden theme mode, the theme change would be ignored. By
comparing the mode instead of just the effective appearance, we properly react
to system appearance changes.

Additionally, rework the transition animation for changing themes to match the
animation of system appearance changes (i.e., a 0.5-second cross-dissolve).

Fixes: https://signalmessenger.atlassian.net/browse/IOS-4431
2024-05-13 16:16:53 -05:00
Ehren Kret
0ab16e43a4
remove the last chunk of objc in the main app target 2024-05-13 12:35:01 -05:00
Igor Solomennikov
c04743676e
[Media Viewer] Animate album strip appearing/disappearing.
Animate along x-axis by 20 dp and fade opacity in/out.
2024-05-09 23:23:08 -07:00
Igor Solomennikov
3e9f93db4c
Set correct video orientation when user switches to the frontal camera. 2024-05-10 00:08:51 -05:00
Igor Solomennikov
ab93a15796
Fix issues with in-app camera video recording.
Set videoRotation on video connection during camera initialization vs when video recording (via press&hold) begins.

This change fixes these issues:
• dark first frame in first video recording of each in-app camera session.
• flash set to ON not firing for first video recording of each in-app camera session.
2024-05-08 22:00:46 -07:00
Harry
36784dcced
Add invalid v2 Attachment content type 2024-05-07 15:06:59 -07:00
Harry
82efa4eb7f
Audit usages of TSResource.mimeType to ensure we check contentType first 2024-05-07 15:06:11 -07:00