Commit graph

747 commits

Author SHA1 Message Date
Matthew Chen 065d383c15 Add and honor the “CallKit Privacy” setting.
// FREEBIE
2017-02-24 23:01:09 -05:00
Michael Kirk 4b8a5f8ccb TURN-only option, and for unknown caller
Now, by default, we only use TURN for incoming calls from unknown
contacts. We will potentially directly connect for outgoing calls and
for incoming calls from known contacts.

Optionally, the user can disable direct connection altogether, at the
cost of some call quality.

// FREEBIE
2017-02-24 11:21:52 -08:00
Matthew Chen f4453eb995 Enable WebRTC-based audio and video calls by default.
// FREEBIE
2017-02-21 11:10:57 -05:00
Matthew Chen 165e5238cf Simplify the prekey check on app launch and activation.
// FREEBIE
2017-02-21 09:26:53 -05:00
Darren W bf3a673443 Add accessibility labels for the Create New Group and Settings navigation bar buttons. FREEBIE. 2017-02-21 09:25:56 -05:00
Michael Kirk e5c6d0db9a fix potential deadlock
// FREEBIE
2017-02-20 18:01:27 -05:00
Matthew Chen a4093a5f7f Respond to CR.
// FREEBIE
2017-02-17 17:30:49 -05:00
Matthew Chen b1744c2b4a Refine the settings button of the home view.
// FREEBIE
2017-02-17 12:58:47 -05:00
Matthew Chen 29b30099a0 Refine icons sizes and layout again.
// FREEBIE
2017-02-17 12:58:47 -05:00
Matthew Chen 353fa57544 Rework messages view's navigation bar.
// FREEBIE
2017-02-17 12:58:47 -05:00
Matthew Chen daa87974dc Respond to CR.
// FREEBIE
2017-02-17 12:57:05 -05:00
Matthew Chen 57c60deda2 Further refine the registration and verification views.
// FREEBIE
2017-02-17 12:52:06 -05:00
Matthew Chen 04409e0cd3 Improve image scaling quality.
// FREEBIE
2017-02-17 12:45:21 -05:00
Matthew Chen 2fb89ae8b4 Merge remote-tracking branch 'origin/release/2.7.1'
// FREEBIE
2017-02-17 12:40:08 -05:00
Matthew Chen ed0c16855d Respond to CR.
// FREEBIE
2017-02-17 09:42:52 -05:00
Matthew Chen 5bd44673ea Add sharing of attachments.
// FREEBIE
2017-02-17 09:39:58 -05:00
Matthew Chen 5d48b126e9 Don’t ignore WebRTC setting changes if user dismisses settings before success.
// FREEBIE
2017-02-16 14:53:04 -05:00
Matthew Chen c7d08fba46 Avoid checking prekeys twice on app launch.
// FREEBIE
2017-02-14 17:42:22 -05:00
Matthew Chen 2b15deaa7a Flush logs before submitting logs.
// FREEBIE
2017-02-14 14:45:53 -05:00
Matthew Chen 49ba0ff942 Flush logs before exiting the app.
// FREEBIE
2017-02-14 13:53:32 -05:00
Matthew Chen dde8132f0e Flush logs before submitting logs.
// FREEBIE
2017-02-14 13:52:26 -05:00
Matthew Chen 6b3fabc0c1 Respond to CR.
// FREEBIE
2017-02-14 13:49:31 -05:00
Matthew Chen 1a7425d63d Fix auto-formatting and filtering issues in code verification view.
// FREEBIE
2017-02-14 13:49:02 -05:00
Matthew Chen 3c3f782e7d Clean up prekey usage.
// FREEBIE
2017-02-14 13:46:08 -05:00
Matthew Chen 21e55d3be5 Mark "attempting out" messages as "unsent" on app launch.
// FREEBIE
2017-02-13 17:16:32 -05:00
Matthew Chen a52771e286 Respond to CR.
// FREEBIE
2017-02-13 16:30:54 -05:00
Matthew Chen e48efe01c9 Improve formatting of message view controller.
// FREEBIE
2017-02-13 16:09:27 -05:00
Matthew Chen 3b1cc0dfa2 Fix present & dismiss animations for video attachment view & ensure this view is cleaned up.
// FREEBIE
2017-02-13 16:09:27 -05:00
Matthew Chen 593c3d53d4 Clean up present & dismiss animations for image attachment view.
// FREEBIE
2017-02-13 16:09:27 -05:00
Matthew Chen 6a3b462541 Add save/copy menu to the image attachment view.
// FREEBIE
2017-02-13 16:09:27 -05:00
Matthew Chen 6cf454b3b4 Improve rate-limiting error message in registration and code verification views.
// FREEBIE
2017-02-13 15:59:07 -05:00
Matthew Chen ef8735e238 Respond to CR.
// FREEBIE
2017-02-13 12:11:41 -05:00
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
2017-02-13 11:42:45 -05:00
Matthew Chen 97001018ae Clean up prekey logic.
// FREEBIE
2017-02-10 16:35:16 -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
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 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 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
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 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