Commit graph

9769 commits

Author SHA1 Message Date
Michael Kirk b19cfbc55e Fixup AppReadiness vis a vis RI 2018-11-13 10:36:29 -06:00
Michael Kirk c6cead7bb3 "Bump build to 2.32.0.6." 2018-11-13 09:50:22 -06:00
Michael Kirk 3faa700d66 Merge tag '2.31.0.31' into release/2.32.0 2018-11-13 09:45:47 -06:00
Matthew Chen 220fdfc14e "Bump build to 2.31.0.32." 2018-11-13 09:37:17 -05:00
Matthew Chen cae430bac9 Randomly fail half of all websocket requests. 2018-11-13 09:37:11 -05:00
Matthew Chen 38f551e229 "Bump build to 2.31.0.31." 2018-11-13 09:28:14 -05:00
Matthew Chen fc3780c243 Merge branch 'mkirk/fix-disable-earpiece' into release/2.31.0 2018-11-13 09:27:52 -05:00
Matthew Chen 4b213df950 Fix race in ProximityMonitoringManager. 2018-11-13 09:26:46 -05:00
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.
2018-11-12 20:12:08 -06:00
Michael Kirk eafc3719a9 Merge branch 'mkirk/fix-missing-profile-after-rotation' into release/2.31.0 2018-11-12 20:07:28 -06:00
Michael Kirk ae63e399b2 use new key to verify local profile 2018-11-12 20:07:21 -06:00
Michael Kirk fd482da42d Merge branch 'mkirk/overzealous-profile-key-rotation' into release/2.31.0 2018-11-12 20:07:00 -06:00
Michael Kirk 5ed123d863 Fix overzealous profile key rotation 2018-11-12 17:18:49 -06:00
Michael Kirk 6d55f707fa Merge branch 'mkirk/dont-whitelist-blocked-contact' into release/2.31.0 2018-11-12 16:43:28 -06:00
Michael Kirk 0aca0c15c1 specify recipient when profile download fails 2018-11-12 16:43:21 -06:00
Michael Kirk 209e79ce34 Don't add blocked contact to your profile whitelist 2018-11-12 16:43:21 -06:00
Matthew Chen 6a1673862e "Bump build to 2.31.0.30." 2018-11-12 16:31:44 -05:00
Matthew Chen 1692a28fc2 Update l10n. 2018-11-12 16:31:37 -05:00
Matthew Chen 7c47fe6b4f Disable the orphan data cleaner. 2018-11-12 16:28:58 -05:00
Michael Kirk 3c9be9c3d7 Merge branch 'mkirk/image-picker' into release/2.32.0 2018-11-12 14:33:26 -06:00
Michael Kirk fa82d43e6c put custom image picker behind feature flag 2018-11-12 14:32:43 -06:00
Michael Kirk 2241c1b132 Merge branch 'mkirk/fix-compiler-warnings' 2018-11-12 12:17:30 -06:00
Michael Kirk 27f66f9f24 explicitly discard result 2018-11-12 10:00:02 -06:00
Michael Kirk 2bd3e5ef23 cast to same integer signedness for comparison 2018-11-12 09:59:51 -06:00
Michael Kirk 3c450eeeaa degrade from crashing to debug assert, upon failure we return a fully (overly)
redacted string
2018-11-12 09:55:56 -06:00
Michael Kirk 54059532f7 remove unused strong capture 2018-11-12 09:55:29 -06:00
Michael Kirk 97e9871f19 remove unnecessary implicitly unwrapped optional 2018-11-12 09:55:06 -06:00
Michael Kirk 2a1c62f6f5 remove unused delegate method declaration 2018-11-12 09:55:00 -06:00
Michael Kirk 24f97f1229 compiler warning: discard result explicitly 2018-11-12 09:54:42 -06:00
Michael Kirk b79860ae0f fix compiler doc warning 2018-11-12 09:45:06 -06:00
Michael Kirk c50b8dd0d3 fix compiler warning 2018-11-12 09:44:01 -06:00
Michael Kirk 46ebe52a27 update pods 2018-11-12 09:40:28 -06:00
Michael Kirk 5ba7579991 Merge branch 'mkirk/fixup-tests-2' 2018-11-12 09:15:08 -06:00
Michael Kirk f30e7cf541 update pods 2018-11-11 11:31:57 -06:00
Michael Kirk 10af14d965 Remove legacy built in test runner from SSK.
You can run the SSK test suite by adding to your cocoaopods file:

    pod 'SignalServiceKit', git: 'https://github.com/signalapp/Signal-iOS.git', testspecs: ["Tests"]
2018-11-11 11:31:57 -06:00
Michael Kirk 7cba367c0a reconcile jobqueue tests with NSTimer based retry 2018-11-11 11:31:57 -06:00
Michael Kirk 4971be5c26 Fix DESIGNATED_INITIALIZER syntax 2018-11-11 11:31:57 -06:00
Michael Kirk 2f3d875dcf fixup ud manager tests 2018-11-11 11:31:57 -06:00
Michael Kirk 79bed93b2d reconcile jobqueue with new readiness based setup 2018-11-11 11:28:59 -06:00
Michael Kirk 2c44cbccfd avoid assertion when deliberately testing for failure 2018-11-11 11:28:59 -06:00
Michael Kirk 24668fa790 update to reflect id assignment on build 2018-11-11 11:28:59 -06:00
Michael Kirk 4b0fc51933 update test to reflect correct behavior 2018-11-11 11:28:59 -06:00
Michael Kirk e2ad9d81bb attachment factory
flesh out other factory builders
2018-11-11 11:28:59 -06:00
Michael Kirk 4d860bb9c7 fixup job queue test 2018-11-11 11:28:59 -06:00
Michael Kirk 24f57cedda add missing method to FakeContactsManager, convert to Swift to avoid missing
protocol methods in the future.
2018-11-11 11:28:59 -06:00
Michael Kirk ca58bb00f7 fixup tests from throws_ audit 2018-11-11 11:16:37 -06:00
Michael Kirk d492816664 Fixup certificate parsing tests
Skip failure when running tests when we're explicitly testing failure cases.

Be more specific about failure conditions via NSError param
2018-11-11 11:16:37 -06:00
Michael Kirk 197f06af77 Merge branch 'mkirk/fix-tests' 2018-11-11 11:15:16 -06:00
Michael Kirk 47a47afa05 update pods 2018-11-11 11:13:05 -06:00
Michael Kirk f45908c89d fixup spk deletion test 2018-11-11 11:13:05 -06:00