Commit graph

9417 commits

Author SHA1 Message Date
Michael Kirk c686e766b1 Exception audit, fail directly where intended 2018-10-30 11:35:34 -06:00
Michael Kirk 9d2731c9b8 exception auditing OWSRaiseException 2018-10-30 11:35:34 -06:00
Michael Kirk 3a6aafc454 Swift Exception wrap NSData+keyVersionByte 2018-10-30 11:35:34 -06:00
Michael Kirk 5f5ec9b82a ExceptionWrap loadPreKey 2018-10-30 11:35:34 -06:00
Michael Kirk b622b3a020 Exception wrap TSDerivedSecrets for Swift 2018-10-30 11:35:34 -06:00
Michael Kirk 8d823193f1 Exception wrap WhisperMessage for Swift 2018-10-30 11:35:34 -06:00
Michael Kirk 1482c600b4 Exception wrap PreKeyWhisperMessage for Swift 2018-10-30 11:35:34 -06:00
Michael Kirk 60769a3d17 Exception wrap SessionCipher for Swift 2018-10-30 11:35:34 -06:00
Matthew Chen 0d7d83f276 Update carthage version in Info.plist. 2018-10-30 10:55:41 -04:00
Matthew Chen 5535abd01b Update "sealed sender" blog post URL. 2018-10-30 10:55:30 -04:00
Matthew Chen d24dce758a Bump build to 2.31.0.23. 2018-10-29 16:47:37 -04:00
Matthew Chen 1c6bfb4540 "Bump build to 2.31.0.18." 2018-10-29 16:43:18 -04:00
Matthew Chen 9417bdeaa0 Merge branch 'charlesmchen/networkManagerErrors' into release/2.31.0 2018-10-29 16:42:47 -04:00
Matthew Chen a5f715eca1 Fix network manager error wrapping. 2018-10-29 16:42:33 -04:00
Matthew Chen 6e386b75c4 Merge branch 'charlesmchen/reregistrationVsProfile' into release/2.31.0 2018-10-29 16:42:03 -04:00
Matthew Chen 9fa16cc66f Fix small bug in the re-registration flow. 2018-10-29 16:41:43 -04:00
Matthew Chen af9a264c98 Merge branch 'charlesmchen/fixUDManagerTests' into release/2.31.0 2018-10-29 16:41:19 -04:00
Matthew Chen deafc749d1 Fix UD manager tests. 2018-10-29 16:41:02 -04:00
Michael Kirk 29ba1bd341 Merge branch 'mkirk/more-logging' into release/2.31.0 2018-10-29 13:39:41 -06:00
Michael Kirk ccd30e0e1f more logging 2018-10-29 13:39:34 -06:00
Michael Kirk 8a98a8abbf Merge branch 'mkirk/minimize-prekey-checks' into release/2.31.0 2018-10-29 13:39:10 -06:00
Michael Kirk e26db74fcd only check prekeys when decrypting a PKWM 2018-10-29 13:38:59 -06:00
Michael Kirk db60083dd3 Merge branch 'mkirk/persist-devices' into release/2.31.0 2018-10-29 13:38:37 -06:00
Michael Kirk af3102441d ensure device updates are persisted
Previously we'd skip saves when latest was the same instance as self, which was
*at least* occurring during the 404 handler for prekey fetching while message
sending.

In practice this was cached, so it would be one wasted request per recipient
per launch.
2018-10-29 13:38:25 -06:00
Michael Kirk ef25b9c191 Merge branch 'mkirk/fixup-test-build' into release/2.31.0 2018-10-29 13:37:45 -06:00
Michael Kirk 90500475f1 fixup searcher test 2018-10-29 12:20:27 -06:00
Michael Kirk 159c546d16 update test environment 2018-10-29 12:20:14 -06:00
Michael Kirk af19405178 update carthage build path for tests 2018-10-29 12:19:57 -06:00
Matthew Chen faa5561639 "Bump build to 2.31.0.17." 2018-10-26 17:33:48 -04:00
Michael Kirk 2e3a32e7dc Merge branch 'mkirk/disable-proximity' into release/2.31.0 2018-10-26 15:32:24 -06:00
Michael Kirk 6968dbab17 Update UIDevice on main thread 2018-10-26 15:32:12 -06:00
Michael Kirk b0a6d18576 leave proximity enabled as long as CallViewController exists 2018-10-26 15:32:12 -06:00
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.
2018-10-26 15:32:12 -06:00
Michael Kirk 7f37400f1d Merge branch 'mkirk/fix-missing-own-avatar-after-key-rotation' into release/2.31.0 2018-10-26 15:31:30 -06:00
Michael Kirk 68353631d4 copy avatar file when rotating, since updating avatarURL entails removing the underlying file 2018-10-26 15:31:21 -06:00
Matthew Chen 9a65c8326c Merge branch 'charlesmchen/smallUDTweaks' into release/2.31.0 2018-10-26 17:30:42 -04:00
Matthew Chen 33f0a32e59 Improve UD logging. 2018-10-26 17:21:49 -04:00
Matthew Chen 302da66017 Fix UD access logic. 2018-10-26 17:21:23 -04:00
Matthew Chen 514c7b603a "Bump build to 2.31.0.16." 2018-10-26 16:12:42 -04:00
Matthew Chen c556d0c722 Merge branch 'charlesmchen/unrestrictedRandomProfileGets' into release/2.31.0 2018-10-26 16:11:57 -04:00
Matthew Chen 15e6916bae Update Cocoapods. 2018-10-26 16:11:24 -04:00
Matthew Chen 737f64b761 Improve UD logging. 2018-10-26 16:09:20 -04:00
Matthew Chen ad59b2f6d2 Move "ud access for sends" logic into UD manager. 2018-10-26 16:09:20 -04:00
Matthew Chen 3f10ce7408 Tweak profile fetch auth behavior in unknown mode case. 2018-10-26 16:09:20 -04:00
Matthew Chen 36f39d9a30 Remove SSKUnidentifiedAccess. 2018-10-26 16:09:20 -04:00
Matthew Chen 7de289f6be Remove SSKUnidentifiedAccess. 2018-10-26 16:09:20 -04:00
Matthew Chen 5d18497ade Try random UD access keys in profile gets. 2018-10-26 16:09:20 -04:00
Matthew Chen dbe635f721 Try random UD access keys in profile gets. 2018-10-26 16:09:20 -04:00
Matthew Chen b65d515ac3 Update cocoapods. 2018-10-26 16:08:56 -04:00
Matthew Chen 0cf24e39a8 Merge branch 'charlesmchen/avatarIconQuality' into release/2.31.0 2018-10-26 15:18:55 -04:00