Commit Graph

1300 Commits (d161e5ff3d6ed4e22c122665c1a6c9fe6c0a9989)

Author SHA1 Message Date
Michael Kirk 8829cdfb4b Toast view when tapped message doesn't exist, mark remotely sourced. 7 years ago
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
7 years ago
Matthew Chen db3df249bf Merge NSData categories. 7 years ago
Matthew Chen 2c9c028504 Clean up. 7 years ago
Matthew Chen 7437e7a6b1 Remove 'has' accessors from proto wrappers. 7 years ago
Matthew Chen 1868c58037 Converge appLaunchTime. 7 years ago
Matthew Chen b3c62d91be Merge remote-tracking branch 'origin/release/2.28.1' 7 years ago
Matthew Chen e5eda8b45d Add convenience initializers to proto wrappers. 7 years ago
Michael Kirk ab62868851 Remove noisy comments, update rotation time. 7 years ago
Matthew Chen 21523ac522 Respond to CR. 7 years ago
Matthew Chen 1ab0842403 Remove Obj-c proto parser. 7 years ago
Matthew Chen a5ffbdebb3 Remove Obj-c proto parser. 7 years ago
Matthew Chen dc012d46e4 Migrate call proto wrappers. 7 years ago
Matthew Chen 135a1655fd Migrate call proto wrappers. 7 years ago
Matthew Chen 32d0f23b22 Migrate call proto wrappers. 7 years ago
Matthew Chen 94675e880a Migrate call proto wrappers. 7 years ago
Matthew Chen 8837e5902e Migrate call proto wrappers. 7 years ago
Matthew Chen 68241e8a0a Respond to CR. 7 years ago
Matthew Chen 34a404f589 Clean up ahead of PR. 7 years ago
Matthew Chen 67110d0def Migrate to websocket proto wrappers. 7 years ago
Matthew Chen f795ec352e Migrate to backup proto wrappers. 7 years ago
Matthew Chen eaf59b122d Migrate to provisioning proto wrappers. 7 years ago
Matthew Chen 50db472be5 Migrate to fingerprint proto wrappers. 7 years ago
Matthew Chen 45e782c243 Revamp orphan data cleaner. 7 years ago
Michael Kirk 87f97b8b97 fix typo 7 years ago
Michael Kirk 504f4afae5 fix typo 7 years ago
Michael Kirk 2e5cae2a6b Fix typo 7 years ago
Matthew Chen 463addaa6c Ignore new calls in the incomplete calls job. 7 years ago
Matthew Chen d3a4447f81 Convert overzealous assert. 7 years ago
Matthew Chen 64c6d820fd Fix typo. 7 years ago
Matthew Chen d709a02493 Clean up formatting. 7 years ago
Michael Kirk 0bc03b0fd4 Move seed 7 years ago
Michael Kirk fc1ce02ae5 CR: Now that we have transaction semantics, this shouldn't happen.
// FREEBIE
7 years ago
Michael Kirk 1eb7fc986c YapDB introduced a method purpose built to do what we were approximating.
This seems a little more future proof / less error prone if we change the
registered extensions.
7 years ago
Michael Kirk df01c7e63e Update to latest YapDB (with Signal patches applied)
Applied branches:

- mkirk/invalidFinalIndices
- mkirk/upstream-unencrypted-headers

Also fixed up test suite.
7 years ago
Matthew Chen a647b5be48 Respond to CR. 7 years ago
Matthew Chen 3f47524373 Respond to CR. 7 years ago
Matthew Chen 03a9b21cfd Respond to CR. 7 years ago
Matthew Chen 632dc145fd Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen 6be3d2e42d Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen 8d814a5210 Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen 950cab7eb9 Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen ff8565dbd5 Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen d3adb80242 Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen ab31e5a07f Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen 28acea3cf0 Respond to CR. 7 years ago
Matthew Chen e1eb58ba3b Swift proto parsing wrappers. 7 years ago
Matthew Chen 0d23b06cbc Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen 377634a1f7 Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen b164ce9403 Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen 73f22ae62e Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen 6941ab8c8c Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen 827f979282 Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen 77810f5918 Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen 64c99988a7 Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen 02a4de637e Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen 2b05bbc0aa Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen 937ae24556 Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen d8378c5372 Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen f814157a9e Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen e45a6d5bed Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen 0cf199bd7e Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen c81acb1faf Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen 1e21dbfaa3 Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen 6276a0de80 Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen 9846a529f7 Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen c15ddf85f8 Respond to CR. 7 years ago
Matthew Chen dfc39b4a1d Tidy files. 7 years ago
Matthew Chen e6bc37d941 Tidy files. 7 years ago
Matthew Chen 8f55f53329 Tidy files. 7 years ago
Matthew Chen 16e51b8542 Fixup CDS auth properties. 7 years ago
Jesse Squires 6dc74ddcaf Fix some project warnings + other fixes
- Prefer checking `.isEmpty` rather than `.count == 0` for Swift collections (can be more optimal)
- Avoid comparing `BOOL` explicitly to `NO` (considered bad practice since `BOOL` is a `signed char`)
- Specify unused `SGX_FLAGS` as `__unused` to silence warnings
7 years ago
Michael Kirk 1658812102 TSan config 7 years ago
Matthew Chen 87f4b0ac2e Clean up data. 7 years ago
Matthew Chen 4a4edc68e7 Clean up data. 7 years ago
Michael Kirk 54afa2163e rename token -> password 7 years ago
Matthew Chen 8c4b34aa55 Revert "rename token -> password"
This reverts commit c96d219c942a86fc84cbd1ce22835a83ce9187c9.
7 years ago
Matthew Chen 9e80c96d1d Revert "Revert "Revert "Revert "Revert temporary changes.""""
This reverts commit d96944498084595afaae3affad67b49d31bbfa63.
7 years ago
Matthew Chen 8e18f40572 Respond to CR. 7 years ago
Matthew Chen 3cac5bbfee Respond to CR. 7 years ago
Matthew Chen c0022eceac Move from test to staging environments. 7 years ago
Matthew Chen ef6aed75bc Revert "Revert "Revert "Revert temporary changes."""
This reverts commit 50d242cd0486b10bc03d2a18b964bb45b8aef739.
7 years ago
Matthew Chen 8d1011a1fc Verify certificate subject. 7 years ago
Matthew Chen c65b38ad64 Revert "Revert "Revert temporary changes.""
This reverts commit 62fa34d77373cbf530f8d63a0de3504097771df8.
7 years ago
Matthew Chen aef881cad3 Verify certificate subject. 7 years ago
Matthew Chen 54d025e110 Revert "Revert temporary changes."
This reverts commit 97eb405a9e.
7 years ago
Michael Kirk 5e2dc18931 rename token -> password 7 years ago
Michael Kirk ac461ca2d1 Fixup parser: Robust to servers various "empty" types
For base64Encoded data, sometimes the server sends "null" sometimes the server
sends an empty string.
7 years ago
Michael Kirk 6d46ed0e3f No change in behavior: move class down 7 years ago
Michael Kirk 2e38fa145c Unbatch legacy contact requests
// FREEBIE
7 years ago
Matthew Chen 9334143f5e Organize attachments. 7 years ago
Matthew Chen b0a516c36f Refine recipient device updates. 7 years ago
Matthew Chen 0518b335d8 Refine recipient device updates. 7 years ago
Michael Kirk bae2e8649d Dry up Parameter parsing logic 7 years ago
Michael Kirk d39906f606 CR: test malformed protos 7 years ago
Michael Kirk e5856b2ac5 CR: Add back deprecated constructor to debug list 7 years ago
Michael Kirk abcd0a1d29 CR: revert logging change 7 years ago
Michael Kirk 06bbe907b9 builder pattern for proto construction 7 years ago
Michael Kirk 9299c5e573 CR: tweak proto class name, include yet-to-be-used protos
// FREEBIE
7 years ago
Michael Kirk b860dce7f9 Swift protos for Envelope 7 years ago
Michael Kirk f002f89f2c Update retryable
Per Jeff, don't handle CDS requests yet.
7 years ago
Michael Kirk 3507367a90 Don't report feedback for HTTP errors.
// FREEBIE
7 years ago
Michael Kirk 6e1c1a681b Merge tag '2.28.0.12' 7 years ago
Matthew Chen 48fb652d83 Merge branch 'charlesmchen/unknownObjectVsNPE' 7 years ago
Matthew Chen 5530b8d701 Respond to CR. 7 years ago
Matthew Chen 7a898f5e99 Fix NPE using mock for unknown database objects. 7 years ago
Matthew Chen 2c973782c4 Fix NPE using mock for unknown database objects. 7 years ago
Matthew Chen 723691400f Fix NPE using mock for unknown database objects. 7 years ago
Matthew Chen 708ef6f7dd Fix NPE using mock for unknown database objects. 7 years ago
Matthew Chen 060e0fd062 Fix NPE using mock for unknown database objects. 7 years ago
Michael Kirk 558b3bd245 Report contact discovery feedback 7 years ago
Michael Kirk 8c5d6ba9bb Respond to code review. 7 years ago
Michael Kirk b42f528713 Integrate with new contact discovery endpoint
Also:
* use system cookie parsing
* add AESGCM additional authenticated data parameter

// FREEBIE
7 years ago
Michael Kirk a611625691 fixup lookup threading 7 years ago
Michael Kirk dedfea78da callback handlers for remote attestation 7 years ago
Matthew Chen bebb8ecfd1 Cycle the socket after linking a new device. 7 years ago
Matthew Chen 28f021ba55 Pull byte parser out into separate source file. 7 years ago
Matthew Chen 906d0b01a4 Fix build break. 7 years ago
Matthew Chen baed561033 Mark message sent to self as read. 7 years ago
Matthew Chen 304240f263 Fix concurrency in contacts updater. 7 years ago
Matthew Chen 9904443fcf Fix concurrency in contacts updater. 7 years ago
Matthew Chen 88be3a5755 Respond to CR. 7 years ago
Matthew Chen 819c2b1ceb Remove Twisted Oak. 7 years ago
Matthew Chen 797bd9be38 Respond to CR. 7 years ago
Matthew Chen 81a940a27f Clean up ahead of CR. 7 years ago
Matthew Chen 7acf9b15e1 Finish signature verification. 7 years ago
Matthew Chen 7476ef123d Remote attestation. 7 years ago
Matthew Chen f0d797a91f Always touch the thread when updating a message. 7 years ago
Matthew Chen d793c008b5 Always touch the thread when updating a message. 7 years ago
Michael Kirk ab1190222b Fix overzealous failure when user has no Signal contacts
// FREEBIE
7 years ago
Matthew Chen 75c3b385b2 Respond to CR. 7 years ago
Matthew Chen 97eb405a9e Revert temporary changes. 7 years ago
Matthew Chen f2fdb96931 Clean up ahead of PR. 7 years ago
Matthew Chen 460f7344ad Remote attestation. 7 years ago
Matthew Chen 6686ecb125 Remote attestation. 7 years ago
Matthew Chen d7bb2b7505 Remote attestation. 7 years ago
Matthew Chen f3ba6d4c27 Remote attestation. 7 years ago
Michael Kirk eb4c62593b Cancel quickly if dependent operation fails 7 years ago
Michael Kirk 90214ae578 make contact intersection queue serial 7 years ago
Michael Kirk 0db339b849 fixup double failure 7 years ago
Michael Kirk 9293eb96f7 code re-org 7 years ago
Michael Kirk 75248b5dc7 Stub out feedback operation
// FREEBIE
7 years ago
Michael Kirk b7288b2565 Move contact intersection into batched operation
// FREEBIE
7 years ago
Michael Kirk f277ae877c Clarify OWSOperation behavior (no behavioral changes) 7 years ago
Nancy Mast c2f7c15f72 removed jsq strings, modified MULTIDEVICE_PAIRING_MAX_RECOVERY text and comment 7 years ago
Matthew Chen 39c7fd9f15 Respond to CR. 7 years ago
Matthew Chen 3aa28aee36 Respond to CR. 7 years ago
Matthew Chen 03e5d2973b Delta contact intersections. 7 years ago
Matthew Chen 899e96f70f Respond to CR. 7 years ago
Matthew Chen 094cf3691d Respond to CR. 7 years ago
Matthew Chen cc91cb3dbf Respond to CR. 7 years ago
Matthew Chen ace07ac62a Respond to CR. 7 years ago
Matthew Chen c830f880aa Streamline SignalRecipient. 7 years ago
Matthew Chen 77884913d8 Streamline SignalRecipient. 7 years ago
Matthew Chen b6489c6948 Streamline SignalRecipient. 7 years ago
Matthew Chen 05a4222b2d Streamline SignalRecipient. 7 years ago
Matthew Chen ef3933bfaa Streamline SignalRecipient. 7 years ago
Matthew Chen 10b21d10e4 Streamline SignalRecipient. 7 years ago
Matthew Chen 9618fc16c5 Streamline SignalRecipient. 7 years ago
Matthew Chen ebe87348a2 Streamline SignalRecipient. 7 years ago
Matthew Chen d14f764b50 Streamline SignalRecipient. 7 years ago
Michael Kirk ef9a0880ae Fix analyzer warnings 7 years ago
Michael Kirk 77997639f5 Use CurrentAppContext instead of compiler flag to affect test behavior 7 years ago
Michael Kirk 12ef25420a Fixup SSK tests 7 years ago
Michael Kirk d591fb7f2c Fix some compiler warnings 7 years ago
Matthew Chen 23848844fe Add feature flag for contact discovery service. 7 years ago
Michael Kirk 872c89fbff Update recipient devices on successful decrypt to avoid wasting a valid session
created by sender.

Make device set immutable.
7 years ago
Matthew Chen 20d1d11259 Refine home view. 7 years ago
Matthew Chen 4d3707a16e Apply "disappearing messages disabled" icon. 7 years ago
Matthew Chen ecafe546b6 Rework unread indicators. 7 years ago
Matthew Chen 8d72bb032e Rework unread indicators. 7 years ago
Matthew Chen e48a1e0816 Respond to CR. 7 years ago
Matthew Chen 158aa3abc4 Tweak system messages; incomplete vs. missed calls. 7 years ago
Matthew Chen 8b3bdb88f3 Revert "Merge branch 'charlesmchen/tweakCalls'"
This reverts commit 3e0233ea60, reversing
changes made to 74ce3012cf.
7 years ago
Michael Kirk f0175c0b6f feature gate color syncing
// FREEBIE
7 years ago
Michael Kirk a66c88e3cf Fix getter for contact threads, remove sneaky read transaction for DM config. 7 years ago
Michael Kirk 92705490a0 No write transaction needed for syncing colors
// FREEBIE
7 years ago
Michael Kirk d53f583e45 sync colors with group 7 years ago
Michael Kirk 4d3d5d98e1 Sync colors with contacts 7 years ago
Michael Kirk 553a94286f update protobufs to sync group color 7 years ago
Michael Kirk 28abf426f1 White status bar for call screen
Transition to VC controlled status bar style.
7 years ago
Matthew Chen 03d393553a Tweak home view cells. 7 years ago
Matthew Chen 1a9a5016fe Tweak calls. 7 years ago
Michael Kirk 015c0bf5ca Merge tag '2.27.1.2' 7 years ago
Matthew Chen 3f4cd15f5b Use sending queue in websocket send failover to REST. 7 years ago
Michael Kirk 0f34f76611 Merge tag '2.27.1.1' 7 years ago
Michael Kirk 2c1693c941 Revert "Revert "Revert "Disable contact sharing."""
This reverts commit 57e3d0d5f9.
7 years ago
Matthew Chen 92332c2b69 Rework contact share buttons. 7 years ago
Michael Kirk 1e8c7d63b8 clarify sync logging 7 years ago
Michael Kirk 8576de0618 Fix: No contacts/groups after initial device link
The server caches your device list on the websocket, so sending on the
websocket to a just-linked device will always fail. We could close/open the
websocket, but that might be disruptive in it's own way. Instead we'll closely
mirror the Android approach, where WebSocket sends are attempted only one time,
and failure is handled by falling back to the original REST approach.

So note: we don't do any special handling of failures on the websocket
(409/410). We simply retry it with REST which will handle the 409/410/etc.

Consequently, we don't want to decrement our retry count for websocket sends.
7 years ago
Michael Kirk 9cb25024c3 bump limit to allow more legit strings through 7 years ago
Matthew Chen 1412998b4a Rework isRTL. 7 years ago
Michael Kirk 16df4f589e conversation colors
// FREEBIE
7 years ago
Michael Kirk 266469163e Merge tag '2.27.0.7' 7 years ago
Michael Kirk 57e3d0d5f9 Revert "Revert "Disable contact sharing.""
This reverts commit 91af7d3855.
7 years ago
Matthew Chen 16a1dcfb77 Respond to CR. 7 years ago
Michael Kirk 3bee54dbef Merge tag '2.27.0.6' 7 years ago
Matthew Chen a6dbb7704a Remove overzealous assert in search finder. 7 years ago
Matthew Chen fc299b8700 Use UI database connection throughout the conversation cells. 7 years ago
Matthew Chen ac6f78a5fc Tweak message cells. 7 years ago