Commit graph

1300 commits

Author SHA1 Message Date
Matthew Chen 73f22ae62e Code generate Swift wrappers for protocol buffers. 2018-08-01 16:55:32 -04:00
Matthew Chen 6941ab8c8c Code generate Swift wrappers for protocol buffers. 2018-08-01 16:16:39 -04:00
Matthew Chen 827f979282 Code generate Swift wrappers for protocol buffers. 2018-08-01 15:55:00 -04:00
Matthew Chen 77810f5918 Code generate Swift wrappers for protocol buffers. 2018-08-01 15:36:52 -04:00
Matthew Chen 64c99988a7 Code generate Swift wrappers for protocol buffers. 2018-08-01 14:37:09 -04:00
Matthew Chen 02a4de637e Code generate Swift wrappers for protocol buffers. 2018-08-01 11:44:44 -04:00
Matthew Chen 2b05bbc0aa Code generate Swift wrappers for protocol buffers. 2018-08-01 11:20:55 -04:00
Matthew Chen 937ae24556 Code generate Swift wrappers for protocol buffers. 2018-08-01 11:20:55 -04:00
Matthew Chen d8378c5372 Code generate Swift wrappers for protocol buffers. 2018-08-01 11:20:55 -04:00
Matthew Chen f814157a9e Code generate Swift wrappers for protocol buffers. 2018-08-01 11:20:55 -04:00
Matthew Chen e45a6d5bed Code generate Swift wrappers for protocol buffers. 2018-08-01 11:20:55 -04:00
Matthew Chen 0cf199bd7e Code generate Swift wrappers for protocol buffers. 2018-08-01 11:20:55 -04:00
Matthew Chen c81acb1faf Code generate Swift wrappers for protocol buffers. 2018-08-01 11:20:55 -04:00
Matthew Chen 1e21dbfaa3 Code generate Swift wrappers for protocol buffers. 2018-08-01 11:20:55 -04:00
Matthew Chen 6276a0de80 Code generate Swift wrappers for protocol buffers. 2018-08-01 11:20:55 -04:00
Matthew Chen 9846a529f7 Code generate Swift wrappers for protocol buffers. 2018-08-01 11:20:55 -04:00
Matthew Chen c15ddf85f8 Respond to CR. 2018-08-01 09:47:54 -04:00
Matthew Chen dfc39b4a1d Tidy files. 2018-08-01 09:46:05 -04:00
Matthew Chen e6bc37d941 Tidy files. 2018-08-01 09:46:05 -04:00
Matthew Chen 8f55f53329 Tidy files. 2018-08-01 09:46:05 -04:00
Matthew Chen 16e51b8542 Fixup CDS auth properties. 2018-08-01 09:25:16 -04:00
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
2018-07-31 09:48:58 -06:00
Michael Kirk 1658812102 TSan config 2018-07-30 12:31:21 -06:00
Matthew Chen 87f4b0ac2e Clean up data. 2018-07-26 17:26:01 -06:00
Matthew Chen 4a4edc68e7 Clean up data. 2018-07-26 17:20:11 -06:00
Michael Kirk 54afa2163e rename token -> password 2018-07-26 14:54:39 -04:00
Matthew Chen 8c4b34aa55 Revert "rename token -> password"
This reverts commit c96d219c942a86fc84cbd1ce22835a83ce9187c9.
2018-07-26 14:48:27 -04:00
Matthew Chen 9e80c96d1d Revert "Revert "Revert "Revert "Revert temporary changes.""""
This reverts commit d96944498084595afaae3affad67b49d31bbfa63.
2018-07-26 14:48:27 -04:00
Matthew Chen 8e18f40572 Respond to CR. 2018-07-26 14:48:27 -04:00
Matthew Chen 3cac5bbfee Respond to CR. 2018-07-26 14:48:27 -04:00
Matthew Chen c0022eceac Move from test to staging environments. 2018-07-26 14:48:27 -04:00
Matthew Chen ef6aed75bc Revert "Revert "Revert "Revert temporary changes."""
This reverts commit 50d242cd0486b10bc03d2a18b964bb45b8aef739.
2018-07-26 14:48:27 -04:00
Matthew Chen 8d1011a1fc Verify certificate subject. 2018-07-26 14:48:27 -04:00
Matthew Chen c65b38ad64 Revert "Revert "Revert temporary changes.""
This reverts commit 62fa34d77373cbf530f8d63a0de3504097771df8.
2018-07-26 14:48:27 -04:00
Matthew Chen aef881cad3 Verify certificate subject. 2018-07-26 14:48:27 -04:00
Matthew Chen 54d025e110 Revert "Revert temporary changes."
This reverts commit 97eb405a9e.
2018-07-26 14:48:27 -04:00
Michael Kirk 5e2dc18931 rename token -> password 2018-07-26 11:58:26 -06:00
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.
2018-07-26 11:56:22 -06:00
Michael Kirk 6d46ed0e3f No change in behavior: move class down 2018-07-26 11:55:00 -06:00
Michael Kirk 2e38fa145c Unbatch legacy contact requests
// FREEBIE
2018-07-26 11:55:00 -06:00
Matthew Chen 9334143f5e Organize attachments. 2018-07-26 09:25:24 -04:00
Matthew Chen b0a516c36f Refine recipient device updates. 2018-07-26 09:22:40 -04:00
Matthew Chen 0518b335d8 Refine recipient device updates. 2018-07-26 09:22:40 -04:00
Michael Kirk bae2e8649d Dry up Parameter parsing logic 2018-07-25 15:35:30 -06:00
Michael Kirk d39906f606 CR: test malformed protos 2018-07-25 15:20:07 -06:00
Michael Kirk e5856b2ac5 CR: Add back deprecated constructor to debug list 2018-07-25 15:19:40 -06:00
Michael Kirk abcd0a1d29 CR: revert logging change 2018-07-25 14:00:25 -06:00
Michael Kirk 06bbe907b9 builder pattern for proto construction 2018-07-25 13:55:06 -06:00
Michael Kirk 9299c5e573 CR: tweak proto class name, include yet-to-be-used protos
// FREEBIE
2018-07-25 13:48:52 -06:00
Michael Kirk b860dce7f9 Swift protos for Envelope 2018-07-25 13:04:26 -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 3507367a90 Don't report feedback for HTTP errors.
// FREEBIE
2018-07-24 10:03:47 -06:00
Michael Kirk 6e1c1a681b Merge tag '2.28.0.12' 2018-07-23 16:12:46 -06:00
Matthew Chen 48fb652d83 Merge branch 'charlesmchen/unknownObjectVsNPE' 2018-07-23 16:05:56 -06:00
Matthew Chen 5530b8d701 Respond to CR. 2018-07-23 17:13:01 -04:00
Matthew Chen 7a898f5e99 Fix NPE using mock for unknown database objects. 2018-07-23 16:53:02 -04:00
Matthew Chen 2c973782c4 Fix NPE using mock for unknown database objects. 2018-07-23 16:52:00 -04:00
Matthew Chen 723691400f Fix NPE using mock for unknown database objects. 2018-07-23 16:50:12 -04:00
Matthew Chen 708ef6f7dd Fix NPE using mock for unknown database objects. 2018-07-23 16:42:11 -04:00
Matthew Chen 060e0fd062 Fix NPE using mock for unknown database objects. 2018-07-23 16:40:01 -04: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
Michael Kirk a611625691 fixup lookup threading 2018-07-23 12:20:35 -06:00
Michael Kirk dedfea78da callback handlers for remote attestation 2018-07-23 12:20:35 -06:00
Matthew Chen bebb8ecfd1 Cycle the socket after linking a new device. 2018-07-23 14:11:51 -04:00
Matthew Chen 28f021ba55 Pull byte parser out into separate source file. 2018-07-23 14:00:17 -04:00
Matthew Chen 906d0b01a4 Fix build break. 2018-07-23 13:47:03 -04:00
Matthew Chen baed561033 Mark message sent to self as read. 2018-07-23 13:27:10 -04:00
Matthew Chen 304240f263 Fix concurrency in contacts updater. 2018-07-23 13:26:19 -04:00
Matthew Chen 9904443fcf Fix concurrency in contacts updater. 2018-07-23 13:26:19 -04:00
Matthew Chen 88be3a5755 Respond to CR. 2018-07-23 13:25:21 -04:00
Matthew Chen 819c2b1ceb Remove Twisted Oak. 2018-07-23 13:24:33 -04:00
Matthew Chen 797bd9be38 Respond to CR. 2018-07-23 12:59:55 -04:00
Matthew Chen 81a940a27f Clean up ahead of CR. 2018-07-23 12:59:55 -04:00
Matthew Chen 7acf9b15e1 Finish signature verification. 2018-07-23 12:59:55 -04:00
Matthew Chen 7476ef123d Remote attestation. 2018-07-23 12:59:55 -04:00
Matthew Chen f0d797a91f Always touch the thread when updating a message. 2018-07-20 16:18:33 -06:00
Matthew Chen d793c008b5 Always touch the thread when updating a message. 2018-07-20 16:18:33 -06:00
Michael Kirk ab1190222b Fix overzealous failure when user has no Signal contacts
// FREEBIE
2018-07-20 09:55:40 -06:00
Matthew Chen 75c3b385b2 Respond to CR. 2018-07-20 10:32:15 -04:00
Matthew Chen 97eb405a9e Revert temporary changes. 2018-07-20 09:58:58 -04:00
Matthew Chen f2fdb96931 Clean up ahead of PR. 2018-07-20 09:56:37 -04:00
Matthew Chen 460f7344ad Remote attestation. 2018-07-20 09:55:18 -04:00
Matthew Chen 6686ecb125 Remote attestation. 2018-07-20 09:55:17 -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 eb4c62593b Cancel quickly if dependent operation fails 2018-07-19 13:40:30 -06:00
Michael Kirk 90214ae578 make contact intersection queue serial 2018-07-19 13:40:30 -06:00
Michael Kirk 0db339b849 fixup double failure 2018-07-19 13:40:30 -06:00
Michael Kirk 9293eb96f7 code re-org 2018-07-19 13:40:30 -06:00
Michael Kirk 75248b5dc7 Stub out feedback operation
// FREEBIE
2018-07-19 13:40:30 -06:00
Michael Kirk b7288b2565 Move contact intersection into batched operation
// FREEBIE
2018-07-19 13:40:30 -06:00
Michael Kirk f277ae877c Clarify OWSOperation behavior (no behavioral changes) 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 39c7fd9f15 Respond to CR. 2018-07-19 11:31:04 -04:00
Matthew Chen 3aa28aee36 Respond to CR. 2018-07-18 15:09:29 -04:00
Matthew Chen 03e5d2973b Delta contact intersections. 2018-07-18 14:27:40 -04:00
Matthew Chen 899e96f70f Respond to CR. 2018-07-18 14:25:30 -04:00
Matthew Chen 094cf3691d Respond to CR. 2018-07-18 13:57:22 -04:00
Matthew Chen cc91cb3dbf Respond to CR. 2018-07-18 13:57:22 -04:00
Matthew Chen ace07ac62a Respond to CR. 2018-07-18 13:57:22 -04:00
Matthew Chen c830f880aa Streamline SignalRecipient. 2018-07-18 13:57:22 -04:00
Matthew Chen 77884913d8 Streamline SignalRecipient. 2018-07-18 13:57:22 -04:00
Matthew Chen b6489c6948 Streamline SignalRecipient. 2018-07-18 13:57:22 -04:00
Matthew Chen 05a4222b2d Streamline SignalRecipient. 2018-07-18 13:57:22 -04:00
Matthew Chen ef3933bfaa Streamline SignalRecipient. 2018-07-18 13:57:21 -04:00
Matthew Chen 10b21d10e4 Streamline SignalRecipient. 2018-07-18 13:57:21 -04:00
Matthew Chen 9618fc16c5 Streamline SignalRecipient. 2018-07-18 13:57:21 -04:00
Matthew Chen ebe87348a2 Streamline SignalRecipient. 2018-07-18 13:57:21 -04:00
Matthew Chen d14f764b50 Streamline SignalRecipient. 2018-07-18 13:57:21 -04:00
Michael Kirk ef9a0880ae Fix analyzer warnings 2018-07-18 10:24:08 -06:00
Michael Kirk 77997639f5 Use CurrentAppContext instead of compiler flag to affect test behavior 2018-07-18 10:24:08 -06:00
Michael Kirk 12ef25420a Fixup SSK tests 2018-07-17 19:32:44 -06:00
Michael Kirk d591fb7f2c Fix some compiler warnings 2018-07-17 19:22:58 -06:00
Matthew Chen 23848844fe Add feature flag for contact discovery service. 2018-07-13 16:19:59 -04:00
Michael Kirk 872c89fbff Update recipient devices on successful decrypt to avoid wasting a valid session
created by sender.

Make device set immutable.
2018-07-13 10:04:54 -06:00
Matthew Chen 20d1d11259 Refine home view. 2018-07-13 09:28:09 -04:00
Matthew Chen 4d3707a16e Apply "disappearing messages disabled" icon. 2018-07-12 15:37:08 -04:00
Matthew Chen ecafe546b6 Rework unread indicators. 2018-07-11 16:43:39 -04:00
Matthew Chen 8d72bb032e Rework unread indicators. 2018-07-11 16:43:39 -04:00
Matthew Chen e48a1e0816 Respond to CR. 2018-07-11 15:43:27 -04:00
Matthew Chen 158aa3abc4 Tweak system messages; incomplete vs. missed calls. 2018-07-11 15:34:16 -04:00
Matthew Chen 8b3bdb88f3 Revert "Merge branch 'charlesmchen/tweakCalls'"
This reverts commit 3e0233ea60, reversing
changes made to 74ce3012cf.
2018-07-11 15:34:16 -04:00
Michael Kirk f0175c0b6f feature gate color syncing
// FREEBIE
2018-07-10 13:25:38 -06:00
Michael Kirk a66c88e3cf Fix getter for contact threads, remove sneaky read transaction for DM config. 2018-07-10 13:25:38 -06:00
Michael Kirk 92705490a0 No write transaction needed for syncing colors
// FREEBIE
2018-07-10 13:25:38 -06:00
Michael Kirk d53f583e45 sync colors with group 2018-07-10 13:25:38 -06:00
Michael Kirk 4d3d5d98e1 Sync colors with contacts 2018-07-10 13:25:38 -06:00
Michael Kirk 553a94286f update protobufs to sync group color 2018-07-10 13:25:38 -06:00
Michael Kirk 28abf426f1 White status bar for call screen
Transition to VC controlled status bar style.
2018-07-10 11:36:40 -06:00
Matthew Chen 03d393553a Tweak home view cells. 2018-07-10 09:28:11 -04:00
Matthew Chen 1a9a5016fe Tweak calls. 2018-07-09 11:08:53 -04:00
Michael Kirk 015c0bf5ca Merge tag '2.27.1.2' 2018-07-05 10:10:28 -06:00
Matthew Chen 3f4cd15f5b Use sending queue in websocket send failover to REST. 2018-07-05 09:57:28 -04:00
Michael Kirk 0f34f76611 Merge tag '2.27.1.1' 2018-07-03 18:19:01 -06:00
Michael Kirk 2c1693c941 Revert "Revert "Revert "Disable contact sharing."""
This reverts commit 57e3d0d5f9.
2018-07-03 18:15:07 -06:00
Matthew Chen 92332c2b69 Rework contact share buttons. 2018-07-03 18:33:25 -04:00
Michael Kirk 1e8c7d63b8 clarify sync logging 2018-07-03 15:39:31 -06:00
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.
2018-07-03 15:31:25 -06:00
Michael Kirk 9cb25024c3 bump limit to allow more legit strings through 2018-07-03 10:29:55 -06:00
Matthew Chen 1412998b4a Rework isRTL. 2018-07-02 15:27:24 -04:00
Michael Kirk 16df4f589e conversation colors
// FREEBIE
2018-06-29 11:52:41 -06:00
Michael Kirk 266469163e Merge tag '2.27.0.7' 2018-06-28 22:06:54 -06:00
Michael Kirk 57e3d0d5f9 Revert "Revert "Disable contact sharing.""
This reverts commit 91af7d3855.
2018-06-28 19:17:25 -06:00
Matthew Chen 16a1dcfb77 Respond to CR. 2018-06-27 09:53:45 -04:00
Michael Kirk 3bee54dbef Merge tag '2.27.0.6' 2018-06-26 15:55:29 -06:00
Matthew Chen a6dbb7704a Remove overzealous assert in search finder. 2018-06-26 12:47:21 -06:00
Matthew Chen fc299b8700 Use UI database connection throughout the conversation cells. 2018-06-25 13:08:10 -04:00
Matthew Chen ac6f78a5fc Tweak message cells. 2018-06-25 09:26:41 -04:00
Michael Kirk e88dc15255 Fix failing assert: only set state on main thread
MessageSender completion queue is not the main queue.

// FREEBIE
2018-06-22 14:50:44 -06:00
Matthew Chen 700e9fa491 Improve logging around deserialization exceptions. 2018-06-22 09:49:57 -04:00
Michael Kirk 0bc88666c8 Show legal terms link
// FREEBIE
2018-06-21 15:00:56 -06:00
Michael Kirk 737598c731 Return unknown object from deserializer
// FREEBIE
2018-06-21 10:40:33 -06:00
Matthew Chen ebcc435c9f Clean up ahead of PR. 2018-06-20 17:55:15 -04:00
Matthew Chen 87ea1dcae1 Clean up ahead of PR. 2018-06-20 17:55:15 -04:00
Matthew Chen 08ca4fdb50 Lazy-load contact avatar data and images. Use NSCache for avatar images. 2018-06-20 17:55:14 -04:00
Matthew Chen 83f11ad79b Don't cache CNContact. 2018-06-20 17:55:14 -04:00
Matthew Chen 12295bd8c5 Don't cache CNContact. 2018-06-20 17:55:14 -04:00
Matthew Chen a7d712d1b2 Respond to CR. 2018-06-20 17:50:50 -04:00
Matthew Chen e507256e52 Outage detection. 2018-06-20 17:50:50 -04:00
Matthew Chen c96e2bb8b4 Outage detection. 2018-06-20 17:50:50 -04:00
Matthew Chen 20b1a2606e Outage detection. 2018-06-20 17:50:50 -04:00
Matthew Chen 776b5abed1 Handle edge cases around unread indicator & contact offers. 2018-06-20 17:38:27 -04:00
Matthew Chen 463a323585 Image content types. 2018-06-20 17:13:31 -04:00
Matthew Chen 1607aa7f57 Image content types. 2018-06-20 17:13:31 -04:00
Matthew Chen 4abaed0e6d Tidy up type checking in database views. 2018-06-20 17:09:14 -04:00
Matthew Chen b88254244a Respond to CR. 2018-06-20 16:39:53 -04:00
Matthew Chen 2e6b4899a7 Remove TSRecipient. 2018-06-20 16:36:43 -04:00
Matthew Chen 21a9ce3b20 Ensure TSRecipient can be deserialized. 2018-06-20 16:36:43 -04:00
Matthew Chen f1708c0b30 Improve logging around deserialization failures. 2018-06-20 16:36:43 -04:00
Matthew Chen 7f346326f6 Add re-registration UI. 2018-06-20 14:54:16 -04:00
Matthew Chen bc6a4ea8d8 Add re-registration UI. 2018-06-20 14:54:16 -04:00
Matthew Chen fc4763673f Improve de-registration checks in socket manager. 2018-06-20 14:54:16 -04:00
Matthew Chen b0646e8bff Track and persist 'is de-registered' state. 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 28047abb6a Tweak database reset. 2018-06-20 14:46:45 -04:00
Matthew Chen 18a8efe1a9 Respond to CR. 2018-06-20 14:36:35 -04:00
Michael Kirk c48f2404a3 Fix overzealous assert
// FREEBIE
2018-06-15 10:28:07 -04:00
Michael Kirk a346465db5 tune down logging
// FREEBIE
2018-06-15 10:28:07 -04:00
Matthew Chen 40e5bcc23f Respond to CR. 2018-06-15 10:03:15 -04:00
Matthew Chen e8d0d9ecc0 Index oversize text for search. 2018-06-15 10:03:15 -04:00
Matthew Chen dd49c6225f Auto-size contact cells everywhere. 2018-06-15 10:01:16 -04:00
Matthew Chen f8e785ef72 Merge tag '2.26.0.25' 2018-06-15 09:59:45 -04:00
Michael Kirk a91b6b35e2 update UI DB to latest before showing CVC
// FREEBIE
2018-06-14 18:23:13 -04:00
Matthew Chen c8f2201a37 Respond to CR. 2018-06-14 16:33:27 -04:00
Matthew Chen 527e2715d4 Elaborate the search tests. 2018-06-14 16:18:13 -04:00
Matthew Chen 5c42e4c59e Improve search query construction. 2018-06-14 16:18:13 -04:00
Matthew Chen 755d30254e Improve search query construction. 2018-06-14 16:18:13 -04:00
Matthew Chen 153f3fc0a5 Improve search query construction. 2018-06-14 16:18:13 -04:00
Matthew Chen a51e9b78b0 Improve search query construction. 2018-06-14 16:18:13 -04:00
Matthew Chen f5a5d84edc Filter search index text. 2018-06-14 16:18:13 -04:00
Matthew Chen b5e0265758 Filter search index text. 2018-06-14 16:18:13 -04:00
Michael Kirk 0a17246737 Don't use group name in message.
// FREEBIE
2018-06-14 15:21:24 -04:00
Michael Kirk 95b1dced18 add: messages in Book Club will disappear in 1 minute
Show different message when joining group with disappearing messages
2018-06-14 15:20:45 -04:00
Michael Kirk 0cf751d34f Newly added group members should have expire time
Send expire timer with group info updates and in group updates that add a user.
2018-06-14 15:20:45 -04:00
Michael Kirk 74b741e9de Update timer
// FREEBIE
2018-06-14 15:18:42 -04:00
Matthew Chen f9f931fc2d Fix assert around failing sync message sends. 2018-06-14 15:07:09 -04:00
Matthew Chen c8fee4efa7 Add swift logging to SSK. 2018-06-13 13:56:55 -04:00
Matthew Chen d5c738af2f Clean up websocket logging. 2018-06-13 12:43:36 -04:00
Matthew Chen 44b23d44fd Respond to CR. 2018-06-13 12:40:34 -04:00
Matthew Chen 37d3dfdfb6 Merge tag '2.26.0.23' 2018-06-13 10:25:19 -04:00
Michael Kirk dff8d7bf97 Moving code around
// FREEBIE
2018-06-12 15:58:35 -04:00
Michael Kirk f57a5dbc77 Match searches for national number format
// FREEBIE
2018-06-12 15:27:13 -04:00
Michael Kirk 8c88382f37 less call logging
// FREEBIE
2018-06-12 15:03:41 -04:00
Óscar Morales Vivó 51a9841144 https://github.com/signalapp/Signal-iOS/issues/3455: Treat AMR files as generic attachments (AVFoundation doesn't support playback) 2018-06-11 17:45:11 -04:00
Matthew Chen 91af7d3855 Revert "Disable contact sharing."
This reverts commit cb603d0bad.
2018-06-11 16:37:49 -04:00
Michael Kirk fff8474150 adapt to rebase conflicts 2018-06-11 13:52:59 -04:00
Michael Kirk f415827da6 Contact search results
// FREEBIE
2018-06-11 13:51:29 -04:00
Michael Kirk 729befa5cb CR: Cap max search results
// FREEBIE
2018-06-11 11:09:53 -04:00
Michael Kirk b3705196b3 remove unused code/comments 2018-06-11 10:14:48 -04:00
Michael Kirk 13c43c2520 search groups by member name, cleanup tests
// FREEBIE
2018-06-11 09:58:36 -04:00
Michael Kirk 3a03c4f74c WIP: message indexing 2018-06-11 09:58:36 -04:00
Michael Kirk b00e5a4fd9 Fuzzier search matching
-[] Backend
  -[] indexes e5.25
    -[x] wire up results: Contacts / Conversations / Messages actual: 3hr
    -[ ] group thread est: actual:
      -[x] group name actual: e.25
      -[ ] group member name: e.25
      -[ ] group member number: e.25
    -[ ] contact thread e.5
      -[ ] name
      -[ ] number
    -[ ] messages e1
      -[ ] content
-[] Frontend e10.75
  -[x] wire up VC's a.5
  -[x] show search results only when search box has content a.25
  -[] show search results: Contact / Conversation / Messages e2
   -[x] wire up matchs
   -[] style contact cell
   -[] style conversation cell
   -[] style messages cell
  -[] tapping thread search result takes you to conversation e1
  -[] tapping message search result takes you to message e1
  -[] show snippet text for matched message e1
  -[] highlight matched text in thread e3
  -[] go to next search result in thread e2
  -[] No Results page
  -[] Hide search unless pulled down
2018-06-11 09:58:36 -04:00
Michael Kirk a9e2834d9f WIP: FTS - rudimentary show results
-[] Backend
  -[] indexes e5.25
    -[x] wire up results: Contacts / Conversations / Messages actual: 3hr
    -[ ] group thread est: actual:
      -[x] group name actual: e.25
      -[ ] group member name: e.25
      -[ ] group member number: e.25
    -[ ] contact thread e.5
      -[ ] name
      -[ ] number
    -[ ] messages e1
      -[ ] content
-[] Frontend e10.75
  -[x] wire up VC's a.5
  -[x] show search results only when search box has content a.25
  -[] show search results: Contact / Conversation / Messages e2
   -[x] wire up matchs
   -[] style contact cell
   -[] style conversation cell
   -[] style messages cell
  -[] tapping thread search result takes you to conversation e1
  -[] tapping message search result takes you to message e1
  -[] show snippet text for matched message e1
  -[] highlight matched text in thread e3
  -[] go to next search result in thread e2
  -[] No Results page
  -[] Hide search unless pulled down
2018-06-11 09:58:36 -04:00
Michael Kirk 1db1d76d98 Merge branch 'mkirk/fix-build-warnings' 2018-06-11 09:56:48 -04:00
Michael Kirk 7df158120b Fix build warnings: mark initWithCoder as designated.
// FREEBIE
2018-06-11 09:56:14 -04:00
Matthew Chen afc2cabe90 Merge remote-tracking branch 'origin/hotfix/2.25.3' 2018-06-08 17:54:23 -04:00
Matthew Chen 16cee92ca1 Suppress legal links. 2018-06-08 15:26:52 -04:00
Matthew Chen 7cc46a06fa Rebuild finder index. 2018-06-08 15:26:42 -04:00
Matthew Chen 0dcde9516e Suppress legal links. 2018-06-08 10:34:56 -04:00
Michael Kirk 626573a8a9 Revert "Revert "Disable contact sharing.""
This reverts commit 6e0d92e039.
2018-06-07 16:08:05 -06:00
Matthew Chen b59140cb3f Revert some of the socket sending logging. 2018-06-07 07:50:11 -06:00
Matthew Chen 3fe63726e0 Improve logging around socket messages. 2018-06-07 07:49:19 -06:00
Matthew Chen e7ca98fcfe Improve logging around socket messages. 2018-06-07 07:49:19 -06:00
Matthew Chen 6bc145ce3a Fix more build warnings. 2018-06-01 17:37:06 -04:00
Michael Kirk 00f8ea4ff8 Use a single ui connection to share cache.
Primarly two things:
1. using an extension for the first time per connection is slow
2. fetching the same objects (e.g. if you leave/re-enter the same
conversation)

// FREEBIE
2018-06-01 13:16:43 -04:00
Matthew Chen 9a08afae28 Fix build warnings. 2018-06-01 12:39:13 -04:00
Matthew Chen 3cd6a33aa6 Fix build warnings. 2018-06-01 12:39:13 -04:00
Matthew Chen fefc9843b1 Modify views to observe changes when active, not just foreground. 2018-05-31 16:31:51 -04:00
Matthew Chen d62725d3b7 Add reported application state. 2018-05-31 16:31:51 -04:00
Matthew Chen ad8a713566 Merge tag '2.25.2.4' 2018-05-31 09:35:46 -04:00
Matthew Chen 61ec865b6d Respond to CR. 2018-05-30 15:41:01 -04:00
Matthew Chen 4342b04bd3 Include response data in 'request over websocket' failures. 2018-05-30 15:37:59 -04:00
Matthew Chen f7abcc9064 Respond to CR. 2018-05-30 15:28:03 -04:00
Matthew Chen caad6f796e Clean up ahead of PR. 2018-05-30 15:05:02 -04:00
Matthew Chen 4d498563e7 Unify the socket manager's 'can send requests' logic. 2018-05-30 12:48:32 -04:00
Matthew Chen 1466852329 Revert "Add temporary verbose logging around message creation."
This reverts commit 7200a8dc4d.
2018-05-29 14:01:15 -04:00
Matthew Chen 7200a8dc4d Add temporary verbose logging around message creation. 2018-05-29 11:15:15 -04:00
Matthew Chen 21b54bee4f Fix breakage from recents changes in share extension. 2018-05-29 10:45:58 -04:00
Matthew Chen 08affb4400 Merge branch 'hotfix/2.25.2' 2018-05-29 10:01:33 -04:00
Matthew Chen 90f0681198 Update legal URL. 2018-05-25 11:38:02 -04:00
Michael Kirk 9a34c6804c policy links
// FREEBIE
2018-05-25 09:22:53 -04:00
Michael Kirk 4c9808d1a1 Fix iPhoneX layout show status bar above call banner
// FREEBIE
2018-05-24 12:28:20 -04:00
Michael Kirk 966b1ac84b Treat id as reserved word, use consistent setter style
// FREEBIE
2018-05-24 12:25:16 -04:00
Michael Kirk 84776f2757 Start timers for migrated messages
// FREEBIE
2018-05-23 14:02:50 -04:00
Matthew Chen 1343e4bc19 Preserve legacy outgoing message state; special case contact thread messages. 2018-05-23 10:23:46 -04:00
Matthew Chen d4fe671261 Respond to CR. 2018-05-22 15:39:27 -04:00
Matthew Chen 0a41684374 Respond to CR. 2018-05-22 14:41:35 -04:00
Matthew Chen dc36ae134d Respond to CR. 2018-05-22 14:27:20 -04:00