Commit Graph

22799 Commits

Author SHA1 Message Date
Matthew Chen
92eb2f6148 Update the call view icons and refine the layout.
// FREEBIE
2017-01-13 13:05:40 -05:00
Michael Kirk
7e715052d0 latest translations
// FREEBIE
2017-01-13 11:48:20 -05:00
Matthew Chen
ffb199bcd1 Respond to CR.
// FREEBIE
2017-01-13 11:46:06 -05:00
Matthew Chen
08ba42c563 Update SignalRecipient with “is WebRTC enabled” property from service.
// FREEBIE
2017-01-13 09:43:08 -05:00
Matthew Chen
8f8c92d653 Merge branch 'charlesmchen/webrtc/callView' into feature/webrtc 2017-01-13 09:39:42 -05:00
Matthew Chen
ee5682165d Respond to CR.
// FREEBIE
2017-01-13 09:38:18 -05:00
Matthew Chen
6791875ebc Merge branch 'feature/precommitClangFormatSwiftLint2' into mkirk/webrtc 2017-01-13 09:23:41 -05:00
Matthew Chen
09c2e27e41 Respond to CR.
// FREEBIE
2017-01-12 18:19:21 -05:00
Matthew Chen
6e9ae615ca Tweak commit script.
// FREEBIE
2017-01-12 18:17:41 -05:00
Matthew Chen
c6de676018 Respond to CR.
// FREEBIE
2017-01-12 17:55:44 -05:00
Matthew Chen
db27f22c6a Merge branch 'feature/precommitClangFormatSwiftLint' into mkirk/webrtc 2017-01-12 17:54:55 -05:00
Michael Kirk
c4581dab21 Bump build
// FREEBIE
2017-01-12 17:42:15 -05:00
Matthew Chen
b1c86d1a34 Modify precommit script to "swiftlint" and "git clang-format" files.
// FREEBIE
2017-01-12 16:18:01 -05:00
Matthew Chen
4a65a88512 Rework new call view.
// FREEBIE
2017-01-12 15:55:14 -05:00
Michael Kirk
2119f33f81 Merge pull request #1587 from WhisperSystems/mkirk/webrtc/call-kit-mute
Sync CallKit mute button state with in app mute button.
2017-01-12 13:44:54 -05:00
Matthew Chen
0f3391ad04 Merge branch 'feature/webrtcSetting' into mkirk/webrtc 2017-01-12 13:28:12 -05:00
Michael Kirk
469bff5734 Make call delegate weak
// FREEBIE
2017-01-12 13:27:46 -05:00
Michael Kirk
1ed39976ee make public protocol method implementations public
responding to CR

// FREEBIE
2017-01-12 13:27:45 -05:00
Michael Kirk
f6e6e6b787 CallViewController only accesses CallService via the CallUIAdapter
This is an effort to better define boundaries and simplify
relationships.

This also fixes a theoretical problem where CallKit was showing the in-app
call screen before the call was successfully answered, now we wait until
the action is fulfilled.

// FREEBIE
2017-01-12 13:27:45 -05:00
Michael Kirk
fc6da05259 remove some dead code
Related to an earlier failed attempt of reconciling CallKit audio
management with WebRTC's.

// FREEBIE
2017-01-12 13:27:45 -05:00
Michael Kirk
947a637669 Sync "mute" controls between CallKit
In the process, extracted the CallDelegate to allow the
CAllViewController to observe useful call state properties (call.state
and call.isMuted)

// FREEBIE
2017-01-12 13:27:45 -05:00
Matthew Chen
33db2715f3 Merge branch 'charlesmchen/webrtc/fontLookup' into feature/webrtc 2017-01-12 11:49:08 -05:00
Matthew Chen
98e087a47f Fix font lookup on iOS before 8.2.
// FREEBIE
2017-01-12 10:14:35 -05:00
Matthew Chen
26a6e391b3 Fix pod.
// FREEBIE
2017-01-12 10:13:47 -05:00
Matthew Chen
33eed88ecd Merge branch 'charlesmchen/webrtc/flushLogs' into feature/webrtc 2017-01-12 09:56:10 -05:00
Matthew Chen
9265870b9f Merge branch 'charlesmchen/webrtc/buildingWebRTC' into feature/webrtc 2017-01-12 09:56:10 -05:00
Matthew Chen
740aa643be Add method to flush logs.
// FREEBIE
2017-01-12 09:56:10 -05:00
Matthew Chen
692429480b Respond to CR.
// FREEBIE
2017-01-12 09:56:10 -05:00
Matthew Chen
8d7352b426 Merge branch 'mkirk/webrtc/fix-tests' into feature/webrtc 2017-01-12 09:56:09 -05:00
Matthew Chen
74ca54d78e Improve instructions on how to build WebRTC.
// FREEBIE
2017-01-12 09:56:09 -05:00
Michael Kirk
c7449db289 remove stubbed audio manager implementation until it's clear what to do
with it.

// FREEBIE
2017-01-12 09:56:09 -05:00
Michael Kirk
a17873291b Fix up tests
// FREEBIE
2017-01-12 09:56:09 -05:00
Michael Kirk
9e248168b9 merge CallKitProviderDelegate into CallKitCallUIAdaptee
There was not a clear distinction in responsibilities and mostly the
Adaptee was just delegating to the CKProviderDelegate
2017-01-12 09:56:09 -05:00
Michael Kirk
02d36e6e68 Include built WebRTC.framework in Carthage dependencies
It's not really built by Carthage. This is just a convenient
pre-existing submodule for cataloging our external dependencies.

Treating like the frameworks built by Carthage allows us to use the
existing Carthage paths as well as the same framework thinning to strip
out simulator code on archive.

// FREEBIE
2017-01-12 09:56:09 -05:00
Michael Kirk
ce3780e44a Wip smashign providerdelgate into UIAdaptee 2017-01-12 09:56:08 -05:00
Michael Kirk
6eecef99ba Promise aware Message sender
As this could be used elsewhere, ideally it'd added to the actual class
definition, but MessageSender (SSK) doesn't use PromiseKit

// FREEBIE
2017-01-12 09:56:08 -05:00
Michael Kirk
f9b44c8892 Added CallService documentation
// FREEBIE
2017-01-12 09:56:08 -05:00
Michael Kirk
602a5953f2 respect silence switch for incoming ringing
// FREEBIE
2017-01-12 09:56:08 -05:00
Michael Kirk
57ad7a2808 cleanup 2017-01-12 09:56:08 -05:00
Michael Kirk
647b2b37e9 WIP: WebRTC calling
* Ensure NotificationsManager has dependencies
    Otherwise it's easy to mess up the order of the required dependencies.
* move AccountManager into Environment, it's heavy to construct

// FREEBIE
2017-01-12 09:56:05 -05:00
Matthew Chen
f01c5a1985 Merge branch 'charlesmchen/databaseErrors' 2017-01-12 09:50:28 -05:00
Matthew Chen
0f45f292a1 Add WebRTC setting.
// FREEBIE
2017-01-12 09:07:35 -05:00
Matthew Chen
ee63e9116c Update to reflect changes in SSK https://github.com/WhisperSystems/SignalServiceKit/pull/85.
// FREEBIE
2017-01-11 17:36:09 -05:00
Michael Kirk
d1aa253f87 WebRTC calling
* Stun server request
* settable TextSecureEnv
* nullability annotations for TSCall
* Better debug logging for message sending
* fixup tests and expiration time

// FREEBIE
2017-01-11 17:15:20 -05:00
Michael Kirk
d7149c60dd unique error code for rate-limit
// FREEBIE
2017-01-11 17:15:20 -05:00
Matthew Chen
6106326b34 Update to reflect changes in SSK https://github.com/WhisperSystems/SignalServiceKit/pull/85.
// FREEBIE
2017-01-11 09:19:50 -05:00
Matthew Chen
7b7b338075 Merge branch 'feature/databaseErrors' 2017-01-10 17:03:44 -05:00
Matthew Chen
c5cf79c399 Detect, warn about and try to recover from database password retrieval and database load errors.
// FREEBIE
2017-01-10 16:55:54 -05:00
Matthew Chen
87719a3bfb Merge branch 'charlesmchen/analyticsStub' 2017-01-10 16:44:23 -05:00
Matthew Chen
2a55075e6c Add stub for analytics.
// FREEBIE
2017-01-10 16:41:40 -05:00