Commit graph

5545 commits

Author SHA1 Message Date
Michael Kirk
c646f76335 Garther audio concerns, clean up session when done
- sync speakerphone state manipulated from system call screen
  - Revert audio session after call failure, ensures media plays out of
    speaker after placing a failing call.
  - Replace notification with delegate pattern since we're already using
    delegate pattern here.
- Fixes voiceover accessibility after voice memo
- Avoid audio blip after pressing hangup
- Rename CallAudioSession -> OWSAudioSession
  Going to start using it for other non-call things since we want to
  gather all our audio session concerns.
- Resume background audio when done playing video
  - Extract OWSVideoPlayer which ensures audio is in proper state before
    playback
  - Move recording session logic to shared OWSAudioSession
  - Deactivate audio session when complete

// FREEBIE
2018-02-06 18:45:51 -08:00
Michael Kirk
fa9ac5aa46 Merge branch 'mkirk/restrict-pan-gesture' 2018-02-02 11:18:59 -08:00
Michael Kirk
7734958eec Make "swipe for info" RTL compatible
// FREEBIE
2018-02-02 11:18:12 -08:00
Michael Kirk
54f7c298b7 Only initiate "show details" pan gesture when swiping back
// FREEBIE
2018-02-02 11:18:12 -08:00
Michael Kirk
76d1b9dad5 proper title case 2018-02-02 11:18:12 -08:00
Michael Kirk
c82571bd37 Merge branch 'mkirk/fix-receiving-calls' 2018-02-02 11:14:31 -08:00
Michael Kirk
e3469649f7 Fix receiving calls
// FREEBIE
2018-02-02 11:13:57 -08:00
Michael Kirk
d3362d5b4a Merge branch 'mkirk/iphonex-vs-sharing' 2018-02-02 11:13:16 -08:00
Michael Kirk
0f9dd46b91 Fix attachment approval layout on iPhoneX
convert captioning toolbar to autolayout in the process

// FREEBIE
2018-02-02 11:12:18 -08:00
Matthew Chen
c0bf3d57c2 "Bump build to 2.20.0.14." 2018-02-02 13:27:12 -05:00
Matthew Chen
dbf2c6575f Merge branch 'charlesmchen/experienceUpgradesVsIPhoneX' 2018-02-02 10:59:02 -05:00
Matthew Chen
11cdd2790e Fix layout of experience upgrade view on iPhone X. 2018-02-02 10:58:55 -05:00
Matthew Chen
c67c46217f Fix layout of experience upgrade view on iPhone X. 2018-02-02 10:58:55 -05:00
Matthew Chen
94b34e241e Merge branch 'charlesmchen/protoUpdates' 2018-02-02 10:56:35 -05:00
Matthew Chen
799949e546 Refine sync messages. 2018-02-02 10:56:16 -05:00
Matthew Chen
59ff1561f5 Set the timestamp property on data messages. 2018-02-02 10:42:56 -05:00
Matthew Chen
4218af13d5 Send image width/height for image and video attachments. 2018-02-02 10:42:56 -05:00
Matthew Chen
3a4180214f Send image width/height for image and video attachments. 2018-02-02 10:42:56 -05:00
Matthew Chen
43ed8d9a5d Send "disappearing messages" state for groups. 2018-02-02 10:42:56 -05:00
Matthew Chen
b16a65a4cd Sync block state for contacts. 2018-02-02 10:42:56 -05:00
Matthew Chen
742d4cabc2 Send "disappearing messages" state for contacts. 2018-02-02 10:42:56 -05:00
Matthew Chen
2dc37d598c Updates service proto schema to latest. 2018-02-02 10:42:56 -05:00
Michael Kirk
e39ca59eeb Merge tag '2.19.5.0' 2018-02-01 14:03:43 -08:00
Michael Kirk
d4c20ad5c5 Merge branch 'mkirk/keygen-revamp' 2018-02-01 08:10:25 -08:00
Michael Kirk
4f8db63fb3 Ensure keyspec is generated before DB is created
// FREEBIE
2018-01-31 18:05:44 -08:00
Michael Kirk
6f959ff292 CR: be more conservative about deriving key spec, clear old passphrase
after deriving key spec.

// FREEBIE
2018-01-31 17:22:42 -08:00
Michael Kirk
d22fc664f2 more granular key access
// FREEBIE
2018-01-31 16:08:03 -08:00
Michael Kirk
426c9baa16 Key material changes
- For new installs, generate raw key-spec rather than derive it
- Adapt to separated concerns of the key derivation migration from the unencrypted header migration
- Reduce number of places where we delete/generate keying information
- Only store relevant keying material

// FREEBIE
2018-01-31 16:08:03 -08:00
Michael Kirk
938b9c85b8 Don't crash on clean install
Otherwise we'll error when retrieving non-existent password.

// FREEBIE
2018-01-31 13:28:14 -08:00
Michael Kirk
44bbaeef5a fixup test 2018-01-31 13:28:14 -08:00
Matthew Chen
10c503bd35 Merge branch 'charlesmchen/fixSAE' 2018-01-31 15:39:06 -05:00
Matthew Chen
5f20d32b41 Fix SAE readiness. 2018-01-31 15:38:30 -05:00
Matthew Chen
9605d80e97 "Bump build to 2.20.0.13." 2018-01-31 13:11:01 -05:00
Michael Kirk
419df70e05 Merge branch 'mkirk/fixup-tests' 2018-01-31 09:18:59 -08:00
Michael Kirk
c4edb0b534 Fixup some tests
// FREEBIE
2018-01-31 09:18:40 -08:00
Matthew Chen
a2b9f9bfc0 Merge branch 'charlesmchen/asyncDBRegistrations' 2018-01-30 12:54:56 -05:00
Matthew Chen
4bfdef520a Respond to CR. 2018-01-30 12:39:27 -05:00
Matthew Chen
a30170b3b2 Prefer "app is ready" flag to "storage is ready" flag. 2018-01-30 11:34:00 -05:00
Matthew Chen
be1fde905c Don't mark app as ready until all version migrations are done. 2018-01-30 11:27:44 -05:00
Matthew Chen
3e09143a3e Update YapDatabase to reflect CR. 2018-01-30 10:32:22 -05:00
Matthew Chen
1c4b321a95 "Bump build to 2.20.0.12." 2018-01-30 10:31:13 -05:00
Matthew Chen
963d0547ad Clean up ahead of PR. 2018-01-30 10:31:13 -05:00
Matthew Chen
8e427111ef Clean up ahead of PR. 2018-01-30 10:31:13 -05:00
Matthew Chen
ebbe96a5d5 Clean up ahead of PR. 2018-01-30 10:31:13 -05:00
Matthew Chen
f9f60bc14f Ensure app delegate hooks are ignored until app is ready. 2018-01-30 10:31:13 -05:00
Matthew Chen
d46914831c "Bump build to 2.20.0.11." 2018-01-30 10:31:13 -05:00
Matthew Chen
6eddfae214 Improve post-migration testing tools. 2018-01-30 10:31:13 -05:00
Matthew Chen
bb44def8b7 "Bump build to 2.20.0.10." 2018-01-30 10:30:28 -05:00
Matthew Chen
769c1ce24f "Bump build to 2.20.0.9." 2018-01-30 10:30:28 -05:00
Matthew Chen
02a972c9dc Improve logging in database conversion; disable orphan cleanup. 2018-01-30 10:30:28 -05:00