Commit graph

1143 commits

Author SHA1 Message Date
Michael Kirk
447590ac06 bump build
// FREEBIE
2017-02-08 17:23:12 -05:00
Matthew Chen
e798964308 Update SignalServiceKit pod.
// FREEBIE
2017-02-08 17:22:49 -05:00
Matthew Chen
84d988a013 Merge branch 'charlesmchen/callStatusMessages' 2017-02-08 16:48:33 -05:00
Matthew Chen
dea37b422b Respond to CR.
// FREEBIE
2017-02-08 16:47:09 -05:00
Matthew Chen
06a775b41a Improve the call status messages in conversation view.
// FREEBIE
2017-02-08 16:47:09 -05:00
Matthew Chen
8e2ac368a0 Update SignalServiceKit pod.
// FREEBIE
2017-02-08 16:45:37 -05:00
Michael Kirk
3ab65a2c88 Prevent CallKit timeout when placing outgoing call
More fallout from the outbound call timeout which was causing all
CallKit calls not promptly answered to show "Call Failed"

Inserting the timeout exacerbated an existing issue: We can't wait for
long before choosing to fulfill/fail an action without CallKit falling
over and assuming the call failed.

We don't actually need to consider the case where we "fail to initiate"
the outgoing call. Instead we say it started "successfully, and if there
is an error, the existing promise error handling will fail the call at
that time.

// FREEBIE
2017-02-08 16:25:27 -05:00
Michael Kirk
6cdf13ea5f Only time out the intended call
previously a followup call could get clobbered by the previous calls
timeout

// FREEBIE
2017-02-08 14:59:18 -05:00
Matthew Chen
6d757d3a50 Merge branch 'charlesmchen/contactsViewsVsContactsUpdates' 2017-02-08 14:26:40 -05:00
Matthew Chen
192264e45b Respond to CR.
// FREEBIE
2017-02-08 14:26:32 -05:00
Matthew Chen
adfbcc3e27 Update views that show contacts to reflect updates.
// FREEBIE
2017-02-08 14:26:32 -05:00
Michael Kirk
c087c56b0c Fix call timeout
- Previously only incoming calls had their timeout promise fulfilled
- Previously we'd stop the timeout once ringing started, but we
should continue the timeout clock until the users are speaking.

// FREEBIE
2017-02-08 14:25:05 -05:00
Michael Kirk
31378d4d9a sync translations
// FREEBIE
2017-02-08 10:49:14 -05:00
Michael Kirk
b82584f22c bump build
// FREEBIE
2017-02-08 10:48:21 -05:00
Michael Kirk
420d717580 [SSK] log when messages are marked as read locally
// FREEBIE
2017-02-08 10:39:41 -05:00
Michael Kirk
34e4650c46 Merge branch 'mkirk/timeout-outgoing-call' 2017-02-08 10:34:10 -05:00
Michael Kirk
2f6bf0e551 Code cleanup per CR
// FREEBIE
2017-02-08 10:33:43 -05:00
Michael Kirk
108720c2e7 End outgoing call with "No Answer" after 2 minutes
// FREEBIE
2017-02-08 10:33:43 -05:00
Michael Kirk
59059bc06c Remove unused code
A couple of weird things left after the CallInitiator refactor:

removed unused segue

confusingly, call direction was *always* incoming, even for outgoing
calls. But we weren't using it anyway.

// FREEBIE
2017-02-08 10:33:43 -05:00
Michael Kirk
bf1ed9a277 Don't show callkit description pre-iOS10 (#1722)
// FREEBIE
2017-02-08 10:11:39 -05:00
Michael Kirk
633e4a157e sync latest translations
// FREEBIE
2017-02-07 17:41:39 -05:00
Michael Kirk
c3971934fb bump build
// FREEBIE
2017-02-07 17:40:53 -05:00
Matthew Chen
4bc4fc4570 Merge branch 'charlesmchen/intersitialCallView' 2017-02-07 17:33:30 -05:00
Matthew Chen
734dec12e9 Respond to CR.
// FREEBIE
2017-02-07 17:33:13 -05:00
Matthew Chen
c43063e1d6 Add “interstitial call view” that is shown during lengthy “webrtc supported” check.
// FREEBIE
2017-02-07 17:17:06 -05:00
Matthew Chen
ea57b48490 Merge branch 'charlesmchen/inboxUnreadCountLayout' 2017-02-07 17:16:40 -05:00
Matthew Chen
fc6035e3ff Fix layout issue with inbox unread count on home view.
// FREEBIE
2017-02-07 17:16:31 -05:00
Michael Kirk
c621e3a000 [SSK] Missed calls increment unread counter
Avoid deadlock by moving unrelated DB work out of transaction

// FREEBIE
2017-02-07 17:02:17 -05:00
Michael Kirk
dc9ffe40e5 Better translation comments
in response to some confusion received from translators

// FREEBIE
2017-02-07 16:59:20 -05:00
Matthew Chen
3349ac9a10 Merge branch 'charlesmchen/preventDeviceLockDuringCall' 2017-02-07 16:00:27 -05:00
Matthew Chen
ce9d9befb3 Prevent device lock during calls.
// FREEBIE
2017-02-07 16:00:17 -05:00
Matthew Chen
d1683acdd3 Merge branch 'charlesmchen/fixRemoteVideoBadFrames' 2017-02-07 15:59:33 -05:00
Matthew Chen
7eeac0c6f1 Fix bad frames in remote video.
// FREEBIE
2017-02-07 11:21:38 -05:00
Michael Kirk
6e7c18bbdd sync translations
// FREEBIE
2017-02-06 17:33:03 -05:00
Michael Kirk
31abe1178e bump build
// FREEBIE
2017-02-06 17:31:09 -05:00
Matthew Chen
730cc50537 Merge branch 'charlesmchen/refineCallIcons' 2017-02-06 17:28:24 -05:00
Matthew Chen
c6a55ee2a5 Refine video icons. 2017-02-06 16:50:32 -05:00
Matthew Chen
52a191b15a Merge branch 'charlesmchen/messagesFromMeAreAlreadyAutoRead' 2017-02-06 15:48:40 -05:00
Matthew Chen
72ef6e6007 Update SSK to reflect charlesmchen/messagesFromMeAreAlreadyAutoRead.
// FREEBIE
2017-02-06 15:48:31 -05:00
Michael Kirk
b8711f9abc contact can be nil for outgoing redphone call
Now that it's easier to start a thread with a non-contact recipient this
is more relevant.

// FREEBIE
2017-02-06 15:46:53 -05:00
Matthew Chen
82a7ec1286 Merge branch 'charlesmchen/labelSignalCallsAsSuch' 2017-02-06 15:44:06 -05:00
Matthew Chen
80963d88f0 Respond to CR. Remove colon from call view status prefix.
// FREEBIE
2017-02-06 15:43:14 -05:00
Matthew Chen
9a08449d83 Add “signal” copy to call view.
// FREEBIE
2017-02-06 12:36:55 -05:00
Matthew Chen
167e94e573 Merge branch 'charlesmchen/threadSafety5' 2017-02-06 12:05:43 -05:00
Matthew Chen
217866c588 Respond to CR.
// FREEBIE
2017-02-06 12:05:25 -05:00
Matthew Chen
228b0e7dc6 Synchronize access to remoteVideoTrack.
// FREEBIE
2017-02-06 11:18:30 -05:00
Matthew Chen
828771b13c Merge branch 'charlesmchen/callThreadSafety4_' 2017-02-06 09:39:32 -05:00
Matthew Chen
ca76ec6f36 Respond to CR.
// FREEBIE
2017-02-06 09:39:14 -05:00
Matthew Chen
6f3a45ff8c Avoid crashes when deallocating remote video tracks.
// FREEBIE
2017-02-06 09:33:47 -05:00
Matthew Chen
4ae786d0a2 Ignore CallService events related to obsolete calls.
// FREEBIE
2017-02-06 09:33:47 -05:00