Commit graph

1182 commits

Author SHA1 Message Date
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
Matthew Chen
1a441cc40c Respond to CR. 2018-05-22 14:24:04 -04:00
Matthew Chen
6a1bb3f04c Add web sockets protos to proto make file. 2018-05-22 14:24:04 -04:00
Matthew Chen
b50561a5b6 Use websocket for sends. 2018-05-22 14:24:04 -04:00
Matthew Chen
5ff984ab16 Use websocket for sends. 2018-05-22 14:24:04 -04:00
Matthew Chen
fa36f2fb10 Use websocket for sends. 2018-05-22 14:24:04 -04:00
Matthew Chen
8a76e778b5 Use websocket for sends. 2018-05-22 14:24:04 -04:00
Matthew Chen
5f1682deab Use websocket for sends. 2018-05-22 14:24:04 -04:00
Matthew Chen
a5c42ecca8 Clean up ahead of CR. 2018-05-22 09:22:40 -04:00
Matthew Chen
3967a5ab05 Call lifecycle edge cases. 2018-05-22 09:22:40 -04:00
Matthew Chen
6e0d92e039 Revert "Disable contact sharing."
This reverts commit cb603d0bad.
2018-05-18 16:17:39 -04:00
Matthew Chen
efb0769c6f Disable contact sharing. 2018-05-18 16:17:25 -04:00
Matthew Chen
e2d9c1187a Fix "group avatar doesn't update after local change." 2018-05-18 15:37:38 -04:00
Matthew Chen
2f8b5b8ea2 Move app state check to main thread. 2018-05-18 13:23:10 -04:00
Matthew Chen
7254d92601 Revert "Disable contact sharing."
This reverts commit cb603d0bad.
2018-05-18 10:23:27 -04:00
Matthew Chen
cb603d0bad Disable contact sharing. 2018-05-18 10:23:05 -04:00
Michael Kirk
c0ddcc7919 Only clean up messages while active
// FREEBIE
2018-05-17 16:49:12 -04:00
Michael Kirk
af8ddf7bf0 Use raw text when localization fails
// FREEBIE
2018-05-17 09:59:07 -04:00
Matthew Chen
cbc27f1c30 Revert "Disable contact sharing."
This reverts commit 2b6b8c2f69.
2018-05-16 16:37:39 -04:00
Matthew Chen
2b6b8c2f69 Disable contact sharing. 2018-05-16 16:37:22 -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
f652ecef99 localize _Main_ and other CN label types
// FREEBIE
2018-05-15 17:40:41 -04:00
Matthew Chen
a62e86c7ab Revert "Disable contact sharing."
This reverts commit e27af7a66d.
2018-05-15 17:07:18 -04:00
Matthew Chen
e27af7a66d Disable contact sharing. 2018-05-15 17:06:54 -04:00
Matthew Chen
986e3e0925 Revert "Disable contact sharing."
This reverts commit e138c73bdc.
2018-05-15 17:01:29 -04:00
Matthew Chen
e138c73bdc Disable contact sharing. 2018-05-15 17:00:41 -04:00
Matthew Chen
b74f545a64 Fix profile key protos. 2018-05-15 16:20:56 -04:00
Michael Kirk
54f7373037 Clean up logging, start messages timer regardless of current
configuration

// FREEBIE
2018-05-15 15:13:58 -04:00
Matthew Chen
4949ade274 Revert "Disable contact sharing."
This reverts commit e8b41789d7.
2018-05-14 16:58:33 -04:00
Matthew Chen
e6dceffdbd Respond to CR. 2018-05-14 16:56:49 -04:00
Matthew Chen
5c7b98e5c4 Improve handling of unregistered users. 2018-05-14 16:45:06 -04:00
Matthew Chen
e8b41789d7 Disable contact sharing. 2018-05-14 16:24:12 -04:00
Matthew Chen
8489c55fde Mark send-to-self as sent. 2018-05-14 14:41:45 -04:00
Matthew Chen
9c2f619132 Don't echo messages sent to self 1:1. 2018-05-14 10:56:47 -04:00
Matthew Chen
81a40909f4 Respond to CR. 2018-05-11 15:45:38 -04:00
Michael Kirk
742492dd32 remove redundant protocol definition
`debugDescription` is defined on all NSObjects (but as a property)

// FREEBIE
2018-05-10 13:42:37 -04:00
Matthew Chen
8cdb75d52a Respond to CR. 2018-05-10 13:38:39 -04:00
Matthew Chen
8337c3bd68 Refine contact merging. 2018-05-10 13:36:38 -04:00
Matthew Chen
6460493669 Surface organization name in contact view. 2018-05-10 12:05:07 -04:00
Matthew Chen
aa7cc4633a Rework contact names. 2018-05-10 12:05:07 -04:00
Michael Kirk
407ec997ab Add comment per CR
// FREEBIE
2018-05-10 11:57:30 -04:00
Michael Kirk
7631315227 Remove unused code
// FREEBIE
2018-05-10 11:35:43 -04:00
Michael Kirk
a16040f19f Fix avatar sending in SAE
// FREEBIE
2018-05-10 11:35:42 -04:00
Michael Kirk
ed2945126a Remove contact share avatars upon message deletion
// FREEBIE
2018-05-10 11:33:13 -04:00
Michael Kirk
c15fea4eca merge avatar with existing
// FREEBIE
2018-05-10 11:31:22 -04:00
Michael Kirk
95b93115f9 Code formatting
// FREEBIE
2018-05-10 11:31:22 -04:00
Michael Kirk
bf37f41164 Move CNContact logic into our system contact adapter
// FREEBIE
2018-05-10 11:31:22 -04:00
Michael Kirk
b1f3324514 cleanup contact syncing
It's largely a redundant check anyway, but the previous typo was a
no-op.

// FREEBIE
2018-05-09 21:56:33 -04:00
Matthew Chen
b4d24f1c72 Refine field actions in contact view. 2018-05-09 17:52:36 -04:00
Matthew Chen
37da52413f Fix contact share protos: display name, organization name. 2018-05-08 18:35:11 -04:00
Matthew Chen
44ceee5849 Add contact share actions to conversation view and improve phone number parsing. 2018-05-08 17:22:34 -04:00
Michael Kirk
98aa054496 Avoid spurious "Disabled Disappearing Messages"
`dictionaryDidChange` was always true for new records.

// FREEBIE
2018-05-08 10:19:33 -04:00
Michael Kirk
d3cda951ef Fix/Simplify outgoing attachment proto building
// FREEBIE
2018-05-07 17:42:08 -04:00
Matthew Chen
bd116f8938 Share contacts from share extension. 2018-05-07 17:04:55 -04:00
Michael Kirk
a10ae1835e respond to code review
// FREEBIE
2018-05-07 12:51:55 -04:00
Michael Kirk
77fc5571fb Implement avatar sending
// FREEBIE
2018-05-07 12:08:41 -04:00
Michael Kirk
eb97e82d19 fixup debug UI 2018-05-07 12:08:41 -04:00
Michael Kirk
5ba5e98260 Show downloaded contact avatar in thread
// FREEBIE
2018-05-07 12:08:41 -04:00
Michael Kirk
48b4791b13 Download avatar attachment stream
// FREEBIE
2018-05-07 12:08:41 -04:00
Michael Kirk
3fdf703a60 PhoneNumberUtil is no longer a singleton
// FREEBIE
2018-05-07 12:07:03 -04:00
Michael Kirk
9e1a3a0da4 Consider off/on in addition to duration when becoming consistent
// FREEBIE
2018-05-07 11:09:07 -04:00
Matthew Chen
4b6239f491 Fix build breakage. 2018-05-07 10:06:59 -04:00
Matthew Chen
e7eaa7945d Handle completely skipped message sends. 2018-05-07 09:58:40 -04:00
Matthew Chen
043218fb91 Ensure thread safety in phone parsing logic. 2018-05-07 09:49:19 -04:00
Matthew Chen
7c3991ebd8 Respond to CR. 2018-05-07 09:47:22 -04:00
Matthew Chen
7a9acce504 Add contact share approval view. 2018-05-04 18:13:22 -04:00
Matthew Chen
0c745dd989 Add contact share approval view. 2018-05-04 18:13:22 -04:00
Matthew Chen
1fc401d200 Respond to CR. 2018-05-04 13:34:11 -04:00
Matthew Chen
b37588fc4c Provide default labels for custom contact fields. 2018-05-04 13:21:53 -04:00
Matthew Chen
1a1a043b27 Format phone numbers of contacts. 2018-05-04 13:21:53 -04:00
Matthew Chen
dcf7a05986 Use default avatars for contact shares in contact view. 2018-05-04 13:21:53 -04:00
Michael Kirk
a01164e8b1 Add canary assert
// FREEBIE
2018-05-04 10:40:41 -04:00
Michael Kirk
ecf767ea53 canary assert 2018-05-04 10:36:22 -04:00
Michael Kirk
1dd8c41770 Only touch messages which have been read.
// FREEBIE
2018-05-04 10:33:05 -04:00
Michael Kirk
24f3362df1 ensure expirations started
// FREEBIE
2018-05-04 10:33:05 -04:00
Michael Kirk
ed3db50978 clarify naming
// FREEBIE
2018-05-04 10:33:05 -04:00
Michael Kirk
242cc1138f A few lingering places were ordered with their envelope timestamp
// FREEBIE
2018-05-04 10:32:34 -04:00
Matthew Chen
8e84f89239 Respond to CR. 2018-05-04 09:38:37 -04:00
Matthew Chen
8dc3333467 Send fake contact shares. 2018-05-04 09:37:04 -04:00
Matthew Chen
390c0bc201 Send fake contact shares. 2018-05-04 09:37:04 -04:00
Matthew Chen
f4ee688401 Add feature flag for contact sharing. 2018-05-04 09:35:47 -04:00
Matthew Chen
ff6b45abee Respond to CR. 2018-05-03 14:31:11 -04:00
Matthew Chen
fa5577eece Create contact view. 2018-05-03 14:09:54 -04:00
Matthew Chen
00eadd629f Text previews for contact shares. 2018-05-02 11:13:35 -04:00
Matthew Chen
411d5a3b4f Respond to CR. 2018-05-02 11:01:23 -04:00
Matthew Chen
708b44e3c5 Improve handling of contact display names. 2018-05-02 10:52:29 -04:00
Michael Kirk
d67a3b4167 WORKS GREAT
// FREEBIE
2018-05-01 18:54:14 -04:00
Matthew Chen
d1f6118e6e Rework contact normalization and validation. 2018-05-01 18:08:50 -04:00
Matthew Chen
1520422b29 Respond to CR. 2018-05-01 16:09:53 -04:00
Matthew Chen
0316a98eb8 Undo renaming of contactShare property of TSMessage. 2018-05-01 11:26:01 -04:00
Matthew Chen
147368913c Gather all contact conversion logic in OWSContacts. 2018-05-01 11:03:25 -04:00
Matthew Chen
ee9a13cdf0 Update cocoapods. 2018-05-01 11:03:25 -04:00
Matthew Chen
bd7c8e4a4b Add conversion methods between vcard, system contacts and ows contacts. 2018-05-01 11:03:25 -04:00
Matthew Chen
0d8cfc5403 Rename contact share class to contact. 2018-05-01 11:03:25 -04:00
Matthew Chen
796958d87f Elaborate contact conversion. 2018-05-01 11:03:25 -04:00
Matthew Chen
e22e9a7842 Populate contact share protos. 2018-05-01 11:03:25 -04:00
Matthew Chen
757234d309 Populate contact share protos. 2018-05-01 11:03:25 -04:00
Matthew Chen
2a63423c3d Elaborate fake contact shares. 2018-05-01 11:03:25 -04:00
Matthew Chen
521013a674 Fix contact share property synthesis. 2018-05-01 11:03:25 -04:00
Matthew Chen
7490a55f61 Sketch out "contact share" model. 2018-05-01 11:03:25 -04:00
Matthew Chen
4b8a2fa8a3 Sketch out "contact share" model. 2018-05-01 11:03:25 -04:00
Matthew Chen
6005747856 Update protos to reflect 'share contact'. 2018-05-01 11:03:25 -04:00
Matthew Chen
bb96454070 More outgoing message fixes. 2018-04-30 11:00:57 -04:00
Matthew Chen
752bca313c Fix glitches in outgoing messages. 2018-04-27 16:37:09 -04:00
Matthew Chen
8dbe4387b7 Update protos to reflect 'share contact'. 2018-04-27 12:46:25 -04:00
Matthew Chen
f16e9a2920 Fix issues in outgoing messages status changes. 2018-04-26 14:17:41 -04:00
Matthew Chen
5c6f9ec088 Fix issues in outgoing messages status changes. 2018-04-26 14:12:34 -04:00
Michael Kirk
7a1d24a9ab Avatar updates when contact/profile/group photo changes
// FREEBIE
2018-04-26 11:18:18 -04:00
Matthew Chen
8f19622a89 Fix sync transcripts. 2018-04-25 15:10:03 -04:00
Matthew Chen
5773b45345 Respond to CR. 2018-04-25 10:49:19 -04:00
Matthew Chen
c75c3d5f9e Respond to CR. 2018-04-25 10:49:19 -04:00
Matthew Chen
204d379603 Respond to CR. 2018-04-25 10:49:19 -04:00
Matthew Chen
4de4a4b229 Respond to CR. 2018-04-25 10:49:19 -04:00
Matthew Chen
40ac0daa9a Respond to CR. 2018-04-25 10:49:19 -04:00
Matthew Chen
6486b99415 Clean up ahead of PR. 2018-04-25 10:49:19 -04:00
Matthew Chen
9e6062f21c Rework outgoing message state. 2018-04-25 10:49:19 -04:00
Matthew Chen
9275c67818 Rework outgoing message state. 2018-04-25 10:49:19 -04:00
Matthew Chen
aa35594ad5 Respond to CR. 2018-04-25 09:30:23 -04:00