Commit Graph

801 Commits

Author SHA1 Message Date
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