Commit Graph

961 Commits (4ab37a0f380a720ca5552907f0fe1f4a4714014a)

Author SHA1 Message Date
Matthew Chen d78371be74 Don't use UD for "self" profile fetches. 6 years ago
Matthew Chen 4b213df950 Fix race in ProximityMonitoringManager. 6 years ago
Michael Kirk 0d7e94f2f6 Fix: Voice Messages don't restore audio to speaker when held up to the ear past
the voice notes duration.

Specifically:

- start a voice note
- hold to ear until complete
- remove from ear
- start another voice note (or the same one) with the phone away from your ear

You'd expect audio to play through the external speaker, but instead it comes
through the earpiece.

Based on the added logging, this seems to be an apple bug.
6 years ago
Michael Kirk ae63e399b2 use new key to verify local profile 6 years ago
Michael Kirk 5ed123d863 Fix overzealous profile key rotation 6 years ago
Michael Kirk 0aca0c15c1 specify recipient when profile download fails 6 years ago
Michael Kirk 209e79ce34 Don't add blocked contact to your profile whitelist 6 years ago
Matthew Chen ac051fc89e Inform linked devices about profile changes. 6 years ago
Matthew Chen 698e48f2d8 Respond to security review. 6 years ago
Matthew Chen c5f4711595 Apply refinements to UD logic. 6 years ago
Matthew Chen 2541be1619 Apply refinements to UD logic. 6 years ago
Michael Kirk cb9aa6304c find -E . -type f -regex ".*\.(m|h)" -exec sed -i "" -e "s/try_/throws_/" {} \; 6 years ago
Michael Kirk 9d2731c9b8 exception auditing OWSRaiseException 6 years ago
Michael Kirk 3a6aafc454 Swift Exception wrap NSData+keyVersionByte 6 years ago
Michael Kirk 6968dbab17 Update UIDevice on main thread 6 years ago
Michael Kirk 5632bd2d83 Use reference counting to disable proximity monitoring after audio message
Multiple overlapping activities require proximity monitoring (namely,
CallViewController and listening to audio messages).

These activities can overlap arbitrarily, so we use a reference counting
strategy to keep proximity monitoring on as long as one of these activities is
active.
6 years ago
Michael Kirk 68353631d4 copy avatar file when rotating, since updating avatarURL entails removing the underlying file 6 years ago
Matthew Chen 737f64b761 Improve UD logging. 6 years ago
Matthew Chen 3f10ce7408 Tweak profile fetch auth behavior in unknown mode case. 6 years ago
Matthew Chen 36f39d9a30 Remove SSKUnidentifiedAccess. 6 years ago
Matthew Chen 7de289f6be Remove SSKUnidentifiedAccess. 6 years ago
Matthew Chen 5d18497ade Try random UD access keys in profile gets. 6 years ago
Matthew Chen dbe635f721 Try random UD access keys in profile gets. 6 years ago
Matthew Chen 408008d3e7 Use different contact avatar assets depending on size of output. 6 years ago
Matthew Chen 4ea6d72008 Improve default avatar quality. 6 years ago
Matthew Chen 70f274598c Avoid deadlocks in contact manager. 6 years ago
Matthew Chen f26241ebd0 Avoid deadlocks in contact manager. 6 years ago
Matthew Chen 5b339a642b Respond to CR. 6 years ago
Matthew Chen 763acae158 Use thread to ensure consistent colors in contact cells. 6 years ago
Matthew Chen 28f37a7a34 Update contacts cells' dependencies. 6 years ago
Michael Kirk ce9ca1bdaa audio player type 6 years ago
Michael Kirk 4b4b18c625 Proximity playsback through earpiece
This is kind of unfortunate because playback doesn't allow the earpiece as an
output device.
6 years ago
Michael Kirk 3b4188f34b hoist audio session singleton to Environment 6 years ago
Michael Kirk 3d022adf4e WIP: audio activities 6 years ago
Matthew Chen b338863663 Always disable UD for users without verifier. 6 years ago
Matthew Chen d656ae1017 Fix edge cases around UD v. linked devices. 6 years ago
Matthew Chen 64aa43edb1 Only enable UD if UD is supported by all linked devices. 6 years ago
Matthew Chen 9c161e913d Respond to CR; handle device changes in SignalRecipient as well. 6 years ago
Matthew Chen 553d1ac3bc Respond to CR. 6 years ago
Matthew Chen 2894db0d6e Add request maker. 6 years ago
Matthew Chen 99d0495ec7 Respond to CR. 6 years ago
Matthew Chen 5809d026d9 Clean up ahead of PR. 6 years ago
Matthew Chen bbcbbafaab Sync local profile key after rotating it. 6 years ago
Matthew Chen 693b3e13a9 Revert "Sync local profile key after rotating it."
This reverts commit ddbd20e706.
6 years ago
Matthew Chen ddbd20e706 Sync local profile key after rotating it. 6 years ago
Matthew Chen 6d075747c0 Update local profile after registration and profile key rotation. 6 years ago
Matthew Chen 9322442881 Don't assume all linked devices support UD. 6 years ago
Matthew Chen 2f4094e801 Fix UD auth edge cases. 6 years ago
Matthew Chen 4d89670f19 Fix UD auth edge cases. 6 years ago
Matthew Chen 0add39c2a8 Respond to CR. 6 years ago