Commit Graph

966 Commits (aa268e36c24379e12231bb367497bdff45f4b070)

Author SHA1 Message Date
Matthew Chen 2fb89ae8b4 Merge remote-tracking branch 'origin/release/2.7.1'
// FREEBIE
8 years ago
Matthew Chen ed0c16855d Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 5bd44673ea Add sharing of attachments.
// FREEBIE
8 years ago
Matthew Chen 5d48b126e9 Don’t ignore WebRTC setting changes if user dismisses settings before success.
// FREEBIE
8 years ago
Matthew Chen 927eed7a15 Remove “beta” copy from WebRTC calling setting UI.
// FREEBIE
8 years ago
Matthew Chen 6b2af9ca87 Bump build number to 2.7.1.2.
// FREEBIE
8 years ago
Matthew Chen 34d4d6520a Bump build number.
// FREEBIE
8 years ago
Matthew Chen c7d08fba46 Avoid checking prekeys twice on app launch.
// FREEBIE
8 years ago
Michael Kirk cfecb03968 Update translations
// FREEBIE
8 years ago
Matthew Chen 2b15deaa7a Flush logs before submitting logs.
// FREEBIE
8 years ago
Matthew Chen 89c7bc74ce Bump version and build number.
// FREEBIE
8 years ago
Matthew Chen 49ba0ff942 Flush logs before exiting the app.
// FREEBIE
8 years ago
Matthew Chen dde8132f0e Flush logs before submitting logs.
// FREEBIE
8 years ago
Matthew Chen 6b3fabc0c1 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 1a7425d63d Fix auto-formatting and filtering issues in code verification view.
// FREEBIE
8 years ago
Matthew Chen 3c3f782e7d Clean up prekey usage.
// FREEBIE
8 years ago
Matthew Chen 21e55d3be5 Mark "attempting out" messages as "unsent" on app launch.
// FREEBIE
8 years ago
Matthew Chen a52771e286 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen e48efe01c9 Improve formatting of message view controller.
// FREEBIE
8 years ago
Matthew Chen 3b1cc0dfa2 Fix present & dismiss animations for video attachment view & ensure this view is cleaned up.
// FREEBIE
8 years ago
Matthew Chen 593c3d53d4 Clean up present & dismiss animations for image attachment view.
// FREEBIE
8 years ago
Matthew Chen 6a3b462541 Add save/copy menu to the image attachment view.
// FREEBIE
8 years ago
Matthew Chen 6cf454b3b4 Improve rate-limiting error message in registration and code verification views.
// FREEBIE
8 years ago
Matthew Chen ef8735e238 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen cf828dc1cf Rework “verify code” view.
* Ensure all controls visible at all times, on all form factors, even with keyboard active.
* Improve focus (i.e. auto-focus textfield on arrival and after errors).
* Move to programmatic view creation and layout.
* Improve spacing and sizing.
* Replace “change number” button with “back” button.
* Submit code with return key.
* Improve copy for clarity.

// FREEBIE
8 years ago
Michael Kirk 2791b9551e bump build
// FREEBIE
8 years ago
Michael Kirk 4a8cfde6b3 Sync translations
// FREEBIE
8 years ago
Matthew Chen 97001018ae Clean up prekey logic.
// FREEBIE
8 years ago
Michael Kirk da2cb228ab bump build
// FREEBIE
8 years ago
Michael Kirk b3ce705541 sync translations
// FREEBIE
8 years ago
Michael Kirk 447590ac06 bump build
// FREEBIE
8 years ago
Matthew Chen dea37b422b Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 06a775b41a Improve the call status messages in conversation view.
// FREEBIE
8 years ago
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
8 years ago
Michael Kirk 6cdf13ea5f Only time out the intended call
previously a followup call could get clobbered by the previous calls
timeout

// FREEBIE
8 years ago
Matthew Chen 192264e45b Respond to CR.
// FREEBIE
8 years ago
Matthew Chen adfbcc3e27 Update views that show contacts to reflect updates.
// FREEBIE
8 years ago
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
8 years ago
Michael Kirk 31378d4d9a sync translations
// FREEBIE
8 years ago
Michael Kirk b82584f22c bump build
// FREEBIE
8 years ago
Michael Kirk 2f6bf0e551 Code cleanup per CR
// FREEBIE
8 years ago
Michael Kirk 108720c2e7 End outgoing call with "No Answer" after 2 minutes
// FREEBIE
8 years ago
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
8 years ago
Michael Kirk bf1ed9a277 Don't show callkit description pre-iOS10 (#1722)
// FREEBIE
8 years ago
Michael Kirk 633e4a157e sync latest translations
// FREEBIE
8 years ago
Michael Kirk c3971934fb bump build
// FREEBIE
8 years ago
Matthew Chen 734dec12e9 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen c43063e1d6 Add “interstitial call view” that is shown during lengthy “webrtc supported” check.
// FREEBIE
8 years ago
Matthew Chen fc6035e3ff Fix layout issue with inbox unread count on home view.
// FREEBIE
8 years ago
Michael Kirk c621e3a000 [SSK] Missed calls increment unread counter
Avoid deadlock by moving unrelated DB work out of transaction

// FREEBIE
8 years ago
Michael Kirk dc9ffe40e5 Better translation comments
in response to some confusion received from translators

// FREEBIE
8 years ago
Matthew Chen ce9d9befb3 Prevent device lock during calls.
// FREEBIE
8 years ago
Matthew Chen 7eeac0c6f1 Fix bad frames in remote video.
// FREEBIE
8 years ago
Michael Kirk 6e7c18bbdd sync translations
// FREEBIE
8 years ago
Michael Kirk 31abe1178e bump build
// FREEBIE
8 years ago
Matthew Chen c6a55ee2a5 Refine video icons. 8 years ago
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
8 years ago
Matthew Chen 80963d88f0 Respond to CR. Remove colon from call view status prefix.
// FREEBIE
8 years ago
Matthew Chen 9a08449d83 Add “signal” copy to call view.
// FREEBIE
8 years ago
Matthew Chen 217866c588 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 228b0e7dc6 Synchronize access to remoteVideoTrack.
// FREEBIE
8 years ago
Matthew Chen ca76ec6f36 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 6f3a45ff8c Avoid crashes when deallocating remote video tracks.
// FREEBIE
8 years ago
Matthew Chen 4ae786d0a2 Ignore CallService events related to obsolete calls.
// FREEBIE
8 years ago
Matthew Chen d9bcd563b1 Avoid possible deadlock in PeerConnectionClient.
// FREEBIE
8 years ago
Michael Kirk b7fd7d7683 bump build
// FREEBIE
8 years ago
Matthew Chen 8f6483e9b4 Fix bug in the busy logic.
// FREEBIE
8 years ago
Michael Kirk ef3df49fd2 bump build
// FREEBIE
8 years ago
Matthew Chen 17fe3f66c0 Ensure audio service observation of call is always correctly wired up.
// FREEBIE
8 years ago
Michael Kirk 007d9aca7e Latest translations
// FREEBIE
8 years ago
Michael Kirk ed5e4d3c88 bump build
// FREEBIE
8 years ago
Matthew Chen b883b5c547 Show hidden call view controls when app reactivates.
// FREEBIE
8 years ago
Michael Kirk ef5c2c5416 Only show CallKit footer when showing the CallKit cell
// FREEBIE
8 years ago
Michael Kirk 90388ebd63 Coordinate "busy" state across redphone and webrtc
Previously a redphone call didn't know when the user was busy due to
webrtc and vice versa

// FREEBIE
8 years ago
Michael Kirk c4a677a0bc Fix: Second call fails
The callController exists after a first call fails due to busy. It is
not sufficient to check for it's existence.

// FREEBIE
8 years ago
Matthew Chen e34d529620 Prevent system edge swipe gestures from showing/hiding call controls.
// FREEBIE
8 years ago
Matthew Chen 53cb36e537 Callkit option should only be visible when "Video Call (Beta)" is enabled.
// FREEBIE
8 years ago
Matthew Chen 05f123c5eb Fix ongoing call check in OutboundCallInitiator.
// FREEBIE
8 years ago
Matthew Chen d7e434eb03 Modify OutboundCallInitiator to abort if there is an ongoing RedPhone or WebRTC call.
// FREEBIE
8 years ago
Matthew Chen d7138b6c83 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 660ff056e2 Modify handling of INStartVideoCallIntent and INStartAudioCallIntent if there already is an ongoing WebRTC or RedPhone call.
// FREEBIE
8 years ago
Matthew Chen 581ba937f4 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 52ba5c1325 Don’t assert when two devices call each other simultaneously.
// FREEBIE
8 years ago
Matthew Chen 6e390d40b7 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 732144c9ed Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 98caeb6a03 Be even more cautious when tearing down a PeerConnectionClient.
// FREEBIE
8 years ago
Michael Kirk a328759f0d Don't crash when incoming call on NonCallKit iOS10
Previous logic assumed "VoiceChat" mode, but when the ringer goes off,
we set "SoloAmbient" which is incompatible with that mode, causing
assertion failure.

// FREEBIE
8 years ago
Michael Kirk 43e7defa28 Stop any lingering audio session if provider resets.
I've never actually seen this happen, but I think it makes sense.

// FREEBIE
8 years ago
Matthew Chen 2216dc8d37 Revert "revert WebRTC related changes to AppAudioManager"
This reverts commit 6b4dedfefe.
8 years ago
Matthew Chen 4f9ce0c0e2 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen f9c20a36a4 Clean up ahead of PR.
// FREEBIE
8 years ago
Matthew Chen 26b3be4ec5 Improve "new conversation" view.
* Add "search by phone number" to "no contacts" mode.
* Coordinate "invite flow", "invite by SMS" and "new conversation with non-contact" to ensure only one (at most) is shown.
* Show "new conversation with non-contact" IFF phone number is known to correspond to a signal account.

// FREEBIE
8 years ago
Matthew Chen 3ae85ce2d8 Add button to start a new conversation with non-contact based on phone number in search field.
// FREEBIE
8 years ago
Michael Kirk 0a95dac616 pull latest translations
Most of these haven't actually been translated yet.

// FREEBIE
8 years ago
Michael Kirk 158fe78ae2 bump build
// FREEBIE
8 years ago
Michael Kirk a6b5555910 fixup, return nil, not 0
// FREEBIE
8 years ago
Michael Kirk 2a9aa4c852 users can opt out of CallKit
// FREEBIE
8 years ago
Michael Kirk d8df4b9e35 Can receive calls while in settings
The existing presented settings (or fingerprint verification) modals
were preventing the display of the incoming call modal.

// FREEBIE
8 years ago
Matthew Chen 5687925513 Prevent simultaneous incoming and outgoing calls from leaving CallService in a bad state.
// FREEBIE
8 years ago
Matthew Chen 0893930485 Handle “busy signal” appropriately.
// FREEBIE
8 years ago