Commit Graph

115 Commits

Author SHA1 Message Date
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
Michael Kirk
c686e766b1 Exception audit, fail directly where intended 2018-10-30 11:35:34 -06:00
Michael Kirk
3a6aafc454 Swift Exception wrap NSData+keyVersionByte 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
Matthew Chen
7de289f6be Remove SSKUnidentifiedAccess. 2018-10-26 16:09:20 -04:00
Matthew Chen
d656ae1017 Fix edge cases around UD v. linked devices. 2018-10-22 12:31:28 -04:00
Matthew Chen
2894db0d6e Add request maker. 2018-10-19 16:35:19 -04:00
Matthew Chen
7115d45d08 Changes for UD in production. 2018-10-18 15:27:25 -04:00
Matthew Chen
4d89670f19 Fix UD auth edge cases. 2018-10-18 11:21:16 -04:00
Michael Kirk
d6a6024f37 Update PromiseKit 2018-10-13 16:04:20 -06:00
Matthew Chen
f1d93d4472 Merge remote-tracking branch 'origin/release/2.30.2' 2018-10-12 16:00:42 -04:00
Michael Kirk
e22ad8ba66 include underlying error in wrapped TSNetworkErrors 2018-10-12 11:06:21 -06:00
Michael Kirk
e7170dc6e8 conventional error structure for connectivity error 2018-10-12 11:06:21 -06:00
Michael Kirk
a5db222c7a move ud auth to request factory 2018-10-10 11:39:29 -06:00
Michael Kirk
0be1f8cca2 Move UD auth into request initializers 2018-10-10 09:09:11 -06:00
Matthew Chen
a697072271 Respond to CR. 2018-10-05 10:32:32 -04:00
Matthew Chen
ccb67f49a3 Fix issues in UD send & receive. 2018-10-04 11:56:37 -04:00
Matthew Chen
0b41e5e240 Rework profile fetch to reflect UD changes. 2018-10-04 11:56:37 -04:00
Matthew Chen
d08479980d UD send via REST. 2018-10-04 11:56:36 -04:00
Matthew Chen
39f1be65f3 Respond to CR. 2018-10-03 08:59:55 -04:00
Matthew Chen
1b1312c455 Clean up ahead of CR. 2018-10-03 08:59:55 -04:00
Matthew Chen
1d40cbfb41 Rework account attributes; persist manual message fetch; add "unrestricted UD" setting. 2018-10-03 08:59:55 -04:00
Matthew Chen
e98c572158 Sketch out sender certificate validation. 2018-10-02 13:25:17 -04:00
Matthew Chen
7fd15d2fd9 Add server certificate methods to UD manager. 2018-10-02 13:24:00 -04:00
Matthew Chen
3738155c81 Fix build breakage from SMK. 2018-10-01 09:08:02 -04:00
Matthew Chen
0125535d4d Pull out SignalCoreKit. 2018-10-01 09:06:40 -04:00
Matthew Chen
bb5c9ff106 Respond to CR. 2018-09-27 13:56:07 -04:00
Matthew Chen
0884598a3a Fix CDS cookie handling. 2018-09-27 13:56:07 -04:00
Matthew Chen
c368aabf9c Fix the "de-register" logic. 2018-09-27 13:56:07 -04:00
Matthew Chen
b10bf441c4 Add note about curl cookie support. 2018-09-27 13:56:07 -04:00
Matthew Chen
bcb882f5aa Update CDS URLs. 2018-09-27 13:56:07 -04:00
Matthew Chen
39ebdf0921 Log curl command for failed requests in debug builds. 2018-09-20 14:02:35 -04:00
Matthew Chen
83e6484156 Respond to CR. Rework how OWSUploadOperation's networkManager property. 2018-09-19 16:28:03 -04:00
Matthew Chen
e1db60c1c0 Rework creation of singletons. 2018-09-19 15:11:26 -04:00
Matthew Chen
b883209f91 Refine logging. 2018-09-18 16:35:12 -04:00
Michael Kirk
85d35b52d6 restore PreKey upload failure tracking 2018-09-17 10:10:32 -06:00
Michael Kirk
01811a4891 fix swift method signature 2018-09-17 10:10:32 -06:00
Michael Kirk
1eb05c1d01 remove unused preKeyLastResort 2018-09-17 10:10:32 -06:00
Matthew Chen
9b94580dae Update assertions.
* Streamline precompiled headers.
* Remove obsolete assertions in Constraints.h.
2018-09-14 14:30:06 -04:00
Michael Kirk
c7662b5a86 Step 2/2 %s/OWSAssert/OWSAssertDebug for existing previous assert semantics
Going forward, we want to prefer safer asserts, but we don't want to blindly
apply crashing asserts across the codebase
2018-09-07 10:00:48 -06:00
Matthew Chen
f473f60111 Apply OWS log functions in Objective-C. 2018-08-27 12:58:52 -04:00
Matthew Chen
cc5a480baa Apply OWS log functions in Objective-C. 2018-08-27 12:58:52 -04:00
Matthew Chen
3a50377902 Apply OWS log functions in Objective-C. 2018-08-27 12:58:52 -04:00
Matthew Chen
713606271c Rename fail macros in Obj-C. 2018-08-27 10:29:51 -04:00
Michael Kirk
c05700fd98 Log in OWSFail
step 1: rename OWSFail->OWSFailNoProdLog
step 2: rename OWSProdLogAndFail->OWSFail
step 3: Convert OWSFailNoProdLog->OWSFail where we want logging
step 4: Rename OWSCFail->OWSCFailNoProdLog
step 5: Rename OWSProdLogAndCFail -> OWSCFail
step 6: Convert OWSCFailNoProdLog -> OWSCFail where we want logging
2018-08-09 15:30:19 -06:00
Matthew Chen
db3df249bf Merge NSData categories. 2018-08-09 13:50:55 -04:00
Matthew Chen
16e51b8542 Fixup CDS auth properties. 2018-08-01 09:25:16 -04:00