Commit Graph

54 Commits

Author SHA1 Message Date
Nora Trapp
84e8baf1b6 Better permission handling for calls. 2020-08-21 17:34:25 -07:00
Nora Trapp
265cbd3817 Fix an issue where pip position isn't preserved 2020-08-20 18:09:39 -07:00
Nora Trapp
42d2f621d7 Always dismiss the call screen immediately if you're in the background 2020-08-20 13:06:21 -07:00
Nora Trapp
a834534889 Hide speaker mode button on iPad 2020-08-19 20:34:44 -07:00
Nora Trapp
c95f81ee71 Cleanup call audio handling 2020-08-19 20:34:44 -07:00
Nora Trapp
ddbb7d0ec2 Small calling design tweaks 2020-08-19 20:34:44 -07:00
Nora Trapp
6dac674570 Fix a bug where you can't interact with answer-without-video button 2020-08-18 13:26:05 -07:00
Nora Trapp
7f5932b316 Calling design feedback 2020-08-18 00:17:37 -07:00
Nora Trapp
bd82cb5fff Fix remote video orientation handling on iPad 2020-08-17 23:11:09 -07:00
Nora Trapp
98f0d3f9fb Fix metal macros 2020-08-17 16:44:51 -07:00
Nora Trapp
93943fa56f Better iPhone orientation handling 2020-08-17 15:41:11 -07:00
Nora Trapp
1f1cc7398b Fix call video orientation handling 2020-08-17 15:41:11 -07:00
Nora Trapp
e868369ee0 improve pip gesture interaction 2020-08-17 15:41:11 -07:00
Nora Trapp
35ca25dbe7 Improve iPad calling experience 2020-08-17 15:41:11 -07:00
Nora Trapp
dc543ce24f Restyle return to call view 2020-08-17 15:41:10 -07:00
Nora Trapp
7f935a2f0e Timeout video controls after 5 seconds 2020-08-17 15:41:10 -07:00
Nora Trapp
e0ec8cc79e Fix call controls on iPad 2020-08-14 20:44:04 -07:00
Nora Trapp
bc8cb4ba99 Fix audio source selection 2020-08-14 20:44:04 -07:00
Nora Trapp
8be22e1089 Allow re-positioning PIP during video calls 2020-08-14 20:44:04 -07:00
Nora Trapp
f66531c1d9 Add 'vanity' view when making an outbound call with video 2020-08-14 20:44:04 -07:00
Nora Trapp
868282c9a5 Always use mic off icon for mute button, regardless of state 2020-08-14 20:44:03 -07:00
Nora Trapp
85e061812f Fix translations 2020-08-14 20:44:03 -07:00
Nora Trapp
5a48ec066d Move disappearing timer status to subtitle 2020-08-14 20:44:03 -07:00
Nora Trapp
a8c33c5c4a Redesigned incoming and ongoing call controls 2020-08-14 20:44:03 -07:00
Nora Trapp
7c74d4303b Add blurred avatar behind call screen 2020-08-14 20:44:03 -07:00
Nora Trapp
b035d35510 Add dedicated video call button 2020-08-14 20:44:03 -07:00
Nora Trapp
34d941700b Reject incoming calls unless the caller is approved 2020-07-06 11:41:28 -07:00
Nora Trapp
57a810658a Goodbye iOS 10 2020-05-27 17:34:32 -07:00
Nora Trapp
a41b5f9a7b Add UI support for declined and busy elsewhere
Ensure onboarding is marked as complete after linking
2020-05-08 15:50:49 -07:00
Jim Gustafson
60e619562e Update protocol buffer and behavior for multi-ring
Add type for Hangup messages, to reflect either normal hangup or hangup
because the call was accepted elsewhere.

Add type to Offer messages, which is used to indicate the type of call
that is being originated, either an audio call (the same as all legacy
calls) or a video call.

Add level for all messages, which is used to filter feature support,
either legacy or multi-ring behavior.

If the feature level for the Call Message is detected as legacy, AND if
the device is NOT the primary, drop the incoming Call Message.

Always mark outgoing Call Messages as multi-ring capable.

Adjust RingRTC interfaces to support:
- Call Media Type (default is always audioCall for now)
- The Hangup Type, which can be either normal (i.e. regular hangup) or
  accepted, replacing the removed Accepted message.

Hangups can now be sent out as a legacy messages or new messages. The
format is the same so that legacy clients will ignore 'new' hangups
sent to squelch ringing if they were actually the 'winner'.

Passing information for receivedOffer and receivedAnswer APIs to
indicate if the sender is a legacy sender or not. Legacy here means
someone using the protocol before the FeatureLevel was added to the
prototol for Call Messages.

Passing information to receivedOffer to indicate if the local device
is primary or not. As a result, if the device is receiving the offer
from a legacy device and is non-primary, the offer shall be ignored.
In this case, a new event is fired:

endedIgnoreCallsFromNonMultiringCallers

Co-authored-by: Michael Kirk <michael@signal.org>
2020-05-08 15:50:49 -07:00
Matthew Chen
b42f1968cc Fix build warnings around initializers. 2020-04-08 16:05:54 -03:00
Matthew Chen
b5c069ed95 Clean up VC initializers. 2020-04-08 09:26:25 -03:00
Matthew Chen
c7df10eb36 Apply CGSize(square:). 2020-04-06 11:34:21 -03:00
Matthew Chen
e097239dcd Sketch out revised "new group" view. 2020-03-17 10:31:20 -03:00
Nora Trapp
4ad7479ff9 Use new accent blue color everywhere except launch screen related views 2020-03-04 10:00:55 -08:00
Matthew Chen
993dca8ec9 Remove redundant NotificationName. 2020-01-27 10:53:23 -03:00
Michael Kirk
ddbda0f36a refactor - no change in functionality 2019-12-13 22:26:23 -08:00
Nora Trapp
65d54e7282 UIAlertController -> ActionSheetController 2019-10-28 14:43:59 -07:00
Nora Trapp
473b88b497 Don't require ConversationViewController to maintain first responder status. 2019-10-17 11:41:58 -07:00
Nora Trapp
baf8950efb Support all orientations on iPad 2019-10-03 11:55:03 -07:00
Michael Kirk
54812451f4 Update and apply palette. Consolidate dupes. 2019-09-24 15:12:51 -07:00
Michael Kirk
37468c4158 Fix missing: "you declined call" record for CallKit adapter
And fixes the corresponding debug assert that uncovered this bug.
2019-08-09 13:43:59 -06:00
Nora Trapp
96bf655727 Profile name renders at same level as system contact name 2019-07-29 12:50:54 -07:00
Nora Trapp
c6688523c7 Address support for calling 2019-07-10 21:03:54 -07:00
Matthew Chen
bd62adedfa Add accessibility ids to call view. 2019-06-28 09:39:19 -04:00
Nora Trapp
7d94af3287 Migrate TSContactThread to support UUIDs 2019-06-27 13:12:52 -07:00
Nora Trapp
34e8a7e4a0 PR Feedback 2019-06-25 10:31:23 -07:00
Nora Trapp
92f817d7fd Update callsites to use new contacts manager address interface 2019-06-25 10:30:52 -07:00
Michael Kirk
57b1aaa3dc inline enum converters 2019-04-04 13:44:42 -06:00
Michael Kirk
30266bf65e autoformatted 2019-04-04 13:44:42 -06:00