Commit Graph

8728 Commits

Author SHA1 Message Date
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
Harry
397cbf94e6
Compute and cache v2 attachment video still frames at download time 2024-05-07 15:05:28 -07:00
Max Radermacher
fa48dd4b5d
Fix LocalProfileChecker avatar mismatch handling 2024-05-07 17:04:54 -05:00
Harry
4ad9df5f1b
Eliminate the last instance of TSAttachment outside explicit bridging code 2024-05-07 15:04:44 -07:00
Harry
427ee2b087
Use TSResource in ViewOnceMessageViewController 2024-05-07 15:04:01 -07:00
Igor Solomennikov
9ab35c5b68
Workaround for inconsistent UI state after exiting media viewer via tap&hold on back button. 2024-05-07 11:27:10 -07:00
Elaine
e514767302
Differentiate call types in coalesced call details 2024-05-07 11:15:21 -06:00
Igor Solomennikov
bc6015c0e8
Fix issue causing in-app camera to be stuck in "recording" mode with no STOP button. 2024-05-06 16:02:11 -07:00
Igor Solomennikov
3b88972580
Camera: prevent user from switching to text story composer when filming video.
That would leave app in inconsistent state.
2024-05-06 10:45:46 -07:00
Harry
2e0359908c
Don't treat view once looping gifs as videos 2024-05-06 12:06:44 -05:00
Harry
d7918a3274
Save story v2 attachments 2024-05-03 16:26:30 -07:00
Harry
768040273e
Create StickerMetadata from TSResourceStream 2024-05-03 16:26:01 -07:00
Harry
c5a861e640
Make decrypted copies of v2 attachments for QLPreviewController 2024-05-03 14:45:19 -07:00
Harry
9993694197
Use TSResourceStream directly in VideoPlayer to create an AVAsset 2024-05-03 14:34:30 -07:00
Harry
633014ae72
Remove a few easy TSAttachmentStream bridges 2024-05-03 14:33:53 -07:00
Harry
fb4410c4c3
Get YYImages off AttachmentStream/TSResourceStream 2024-05-03 14:33:10 -07:00
Harry
025b88e35b
AttachmentSharing for v2 Attachments 2024-05-03 13:03:22 -07:00
Sasha Weiss
a25868491f
Make defaults in TSIncomingMessageBuilder explicit and complete 2024-05-02 15:56:02 -07:00
Max Radermacher
bd93c4a3d9
Use kOversizeTextMessageSizeThreshold consistently 2024-05-02 15:32:36 -05:00
Max Radermacher
0b3d2a8f18
Remove and fix confusing substring methods 2024-05-01 15:46:25 -05:00
Sasha Weiss
5a490ca7b6
Avoid message backup upload on main thread 2024-05-01 13:18:37 -07:00
Pete Walters
f9e61fee3e
Support local and remote backup destinations 2024-04-30 19:31:41 -05:00
Pete Walters
58cbc58c90
Fix createBackup return type change breaking local backups 2024-04-30 17:36:03 -05:00
Harry
e955e607a3
Modernize + asyncify AudioWaveformManager 2024-04-29 13:11:16 -07:00
Ehren Kret
155a50d6d8 remove unused deprecated methods 2024-04-27 13:17:51 -05:00
Ehren Kret
a99f79ceed remove availability checks for iOS 14 and 14.0 2024-04-27 13:07:03 -05:00