Commit graph

955 commits

Author SHA1 Message Date
Michael Kirk
2c1693c941 Revert "Revert "Revert "Disable contact sharing."""
This reverts commit 57e3d0d5f9.
2018-07-03 18:15:07 -06: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
57e3d0d5f9 Revert "Revert "Disable contact sharing.""
This reverts commit 91af7d3855.
2018-06-28 19:17:25 -06:00
Matthew Chen
a6dbb7704a Remove overzealous assert in search finder. 2018-06-26 12:47:21 -06: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