Commit Graph

88 Commits

Author SHA1 Message Date
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
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
Matthew Chen
4a4edc68e7 Clean up data. 2018-07-26 17:20:11 -06:00
Michael Kirk
f002f89f2c Update retryable
Per Jeff, don't handle CDS requests yet.
2018-07-24 10:13:37 -06:00
Michael Kirk
558b3bd245 Report contact discovery feedback 2018-07-23 13:06:40 -06:00
Michael Kirk
8c5d6ba9bb Respond to code review. 2018-07-23 12:21:54 -06:00
Michael Kirk
b42f528713 Integrate with new contact discovery endpoint
Also:
* use system cookie parsing
* add AESGCM additional authenticated data parameter

// FREEBIE
2018-07-23 12:21:54 -06:00
Matthew Chen
75c3b385b2 Respond to CR. 2018-07-20 10:32:15 -04:00
Matthew Chen
f2fdb96931 Clean up ahead of PR. 2018-07-20 09:56:37 -04:00
Matthew Chen
d7bb2b7505 Remote attestation. 2018-07-20 09:55:17 -04:00
Matthew Chen
f3ba6d4c27 Remote attestation. 2018-07-20 09:55:17 -04:00
Michael Kirk
b7288b2565 Move contact intersection into batched operation
// FREEBIE
2018-07-19 13:40:30 -06:00
Nancy Mast
c2f7c15f72 removed jsq strings, modified MULTIDEVICE_PAIRING_MAX_RECOVERY text and comment 2018-07-19 09:45:44 -06:00
Matthew Chen
d14f764b50 Streamline SignalRecipient. 2018-07-18 13:57:21 -04:00
Michael Kirk
d591fb7f2c Fix some compiler warnings 2018-07-17 19:22:58 -06:00
Matthew Chen
a7d712d1b2 Respond to CR. 2018-06-20 17:50:50 -04:00
Matthew Chen
20b1a2606e Outage detection. 2018-06-20 17:50:50 -04:00
Matthew Chen
7f346326f6 Add re-registration UI. 2018-06-20 14:54:16 -04:00
Matthew Chen
985f735f1a Track and persist "is de-registered" state. 2018-06-20 14:54:16 -04:00
Matthew Chen
1a3737d5c6 Respond to CR. 2018-05-16 16:32:10 -04:00
Matthew Chen
530983c161 Build & enqueue network requests async. 2018-05-16 16:30:40 -04:00
Michael Kirk
c926ca10a5 Update nullability
If object is nil, which it can be, Swift freaks out, since we'd promised
it would never be nil.

// FREEBIE
2018-04-16 16:08:31 -04:00
Michael Kirk
4399967e99 Comment cleanup, remove unnecessary includes
// FREEBIE
2018-04-09 12:47:56 -04:00
Michael Kirk
0b8b3b4f16 WIP: towards avatar attachment streams
// FREEBIE
2018-04-09 12:47:56 -04:00
Michael Kirk
53af41fcc6 Reusable UploadOperation based on extracted OWSOperation
// FREEBIE
2018-04-09 12:47:56 -04:00
Michael Kirk
394cc6637c Backport comments from translations
// FREEBIE
2018-03-26 10:12:04 -04:00
Matthew Chen
3435be5aba Preserve registration lock when updating account attributes. 2018-03-05 18:25:23 -03:00
Matthew Chen
7fa7f95066 Cleanup ahead of PR. 2018-03-02 16:17:49 -05:00
Matthew Chen
3e6db43b24 Clean up ahead of PR. 2018-03-02 15:05:14 -05:00