Matthew Chen
dacccccf74
Remove UD websocket.
2018-11-14 18:03:10 -05:00
Matthew Chen
c2cc74f387
Fix build break.
2018-11-14 16:43:05 -05:00
Matthew Chen
949225d525
Respond to CR.
2018-11-14 16:35:11 -05:00
Matthew Chen
bbdeeffc76
Use persistent HTTP connection for UD requests.
2018-11-14 14:54:37 -05:00
Matthew Chen
c0e57bb35b
Use persistent HTTP connection for UD requests.
2018-11-14 14:48:47 -05:00
Matthew Chen
11f8fcc80f
Use persistent HTTP connection for UD requests.
2018-11-14 14:45:11 -05:00
Matthew Chen
b865b91147
Use REST for UD requests.
2018-11-14 08:30:25 -05:00
Matthew Chen
b583e96a04
Tweak clearMayHaveLinkedDevices.
2018-11-13 16:40:34 -05:00
Matthew Chen
d71a4c6ff3
Revert "Randomly fail half of all websocket requests."
...
This reverts commit cae430bac9
.
2018-11-13 16:40:16 -05:00
Matthew Chen
cae430bac9
Randomly fail half of all websocket requests.
2018-11-13 09:37:11 -05:00
Matthew Chen
c9c9d35d19
Discard receipts for unregistered users.
2018-11-09 13:08:56 -05:00
Matthew Chen
2b5a79f123
Cycle websocket after learning of new linked devices via 409/410.
2018-11-07 16:19:48 -05:00
Matthew Chen
f6322cb087
Fix logging in request maker.
2018-11-07 16:18:03 -05:00
Matthew Chen
47022377c2
Respond to CR.
2018-11-07 16:09:52 -05:00
Matthew Chen
954f32b775
Never use UD for sync messages.
2018-11-07 15:24:11 -05:00
Matthew Chen
8ff8f17b21
Never use UD for sync messages.
2018-11-07 14:16:51 -05:00
Matthew Chen
3a46a344ac
Never use UD for sync messages.
2018-11-07 14:04:07 -05:00
Matthew Chen
1c21c31c2b
Fix failed reloads in SignalRecipient.
2018-11-05 08:43:16 -05:00
Matthew Chen
3eab5b82cc
Respond to CR.
2018-11-01 16:06:03 -04:00
Matthew Chen
3011175cef
Fix "413 on prekey fetch" errors.
2018-11-01 15:59:11 -04:00
Matthew Chen
e89d8b40d7
Fix "413 on prekey fetch" errors.
2018-11-01 15:59:11 -04:00
Matthew Chen
3cc1988f20
Fix "413 on prekey fetch" errors.
2018-11-01 15:59:11 -04:00
Matthew Chen
97e234f785
Fix "413 on prekey fetch" errors.
2018-11-01 15:59:11 -04:00
Matthew Chen
3729398507
Request profile fetches on main thread.
2018-10-31 15:01:33 -04:00
Matthew Chen
698e48f2d8
Respond to security review.
2018-10-30 16:18:23 -04:00
Matthew Chen
7d8b20d091
Apply refinements to UD logic.
2018-10-30 16:18:22 -04:00
Matthew Chen
44f6774396
Apply refinements to UD logic.
2018-10-30 16:18:22 -04:00
Matthew Chen
c28d131f97
Respond to CR.
2018-10-30 16:18:22 -04:00
Matthew Chen
e11d43d1f8
Respond to CR.
2018-10-30 16:18:22 -04:00
Matthew Chen
c5f4711595
Apply refinements to UD logic.
2018-10-30 16:18:22 -04:00
Matthew Chen
2541be1619
Apply refinements to UD logic.
2018-10-30 16:18:22 -04:00
Michael Kirk
1dea927a3f
Remove some usage of throwswrapped_ in udmanager since we don't need to
...
propogate the wrapped exception anyway.
2018-10-30 11:35:34 -06:00
Michael Kirk
3d9cd4f4ed
CR: comments and code clarity
2018-10-30 11:35:34 -06:00
Michael Kirk
3bef78335d
find -E . -type f -regex ".*\.(m|h|swift)" -exec sed -i "" -e "s/trywrapped_/throwswrapped_/g" {} \;
2018-10-30 11:35:34 -06:00
Michael Kirk
cb9aa6304c
find -E . -type f -regex ".*\.(m|h)" -exec sed -i "" -e "s/try_/throws_/" {} \;
2018-10-30 11:35:34 -06:00
Michael Kirk
8544c86427
Swift Exception wrap HKDFKit
2018-10-30 11:35:34 -06:00
Michael Kirk
c4f8975308
Swift Exception wrap Curve25519
2018-10-30 11:35:34 -06:00
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
a5f715eca1
Fix network manager error wrapping.
2018-10-29 16:42:33 -04:00
Michael Kirk
ccd30e0e1f
more logging
2018-10-29 13:39:34 -06:00
Michael Kirk
e26db74fcd
only check prekeys when decrypting a PKWM
2018-10-29 13:38:59 -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
Matthew Chen
33f0a32e59
Improve UD logging.
2018-10-26 17:21:49 -04:00