Commit graph

31 commits

Author SHA1 Message Date
Matthew Chen 14621e1288 Respond to CR.
// FREEBIE
2017-07-21 14:49:24 -04:00
Matthew Chen eaacac9d8b DRY up common table cell patterns.
// FREEBIE
2017-07-21 14:49:12 -04:00
Matthew Chen e2125978de Adapt "new group" and "update group" views to RTL.
// FREEBIE
2017-07-21 14:49:12 -04:00
Matthew Chen 0ec095f216 Nag users on iOS 8 to upgrade.
// FREEBIE
2017-05-18 10:09:07 -04:00
Michael Kirk c31fd0dfcc Fix flicker of "no contacts" screen on message compose
// FREEBIE
2017-05-17 09:24:59 -04:00
Michael Kirk e2b1cbb154 Don't show "no signal accounts" until contact intersection has completed
at least once

// FREEBIE
2017-05-15 16:19:50 -04:00
Matthew Chen ad9c715bf7 Deduplicate items in new conversation view and try to show “phone number” results as signal accounts if possible.
// FREEBIE
2017-05-12 14:35:46 -04:00
Matthew Chen b316e18cfa Ensure contact delegate helper is set during initialization.
// FREEBIE
2017-05-12 11:42:38 -04:00
Michael Kirk 04878bf222 rename method to better reflect new role
// FREEBIE
2017-05-09 16:21:30 -04:00
Michael Kirk 03727a27f6 compose w/o contact access -> "..by phone number"
The search field and invite buttons are not very useful without contacts
access.

// FREEBIE
2017-05-09 16:21:30 -04:00
Michael Kirk 0b6962cdd0 contacts reminder in compose view
// FREEBIE
2017-05-09 16:21:30 -04:00
Michael Kirk bf5b6d1e63 Invite Flow when "no contact"
TODO: we should probably just prevent people from getting to the invite
flow when their contacts aren't shared, but still it seems good to fix
these crashes.

// FREEBIE
2017-05-09 16:21:30 -04:00
Matthew Chen 716aa772f6 Always sync and log push tokens. Apply OWSAlerts in more places.
// FREEBIE
2017-05-09 10:04:48 -04:00
Matthew Chen 9f4b8d3b0f Slightly reduce the non-contact cell heights in “new 1:1 conversation” view.
// FREEBIE
2017-05-05 21:18:21 -04:00
Matthew Chen d0e26a58c3 Show “invite by SMS” offer for matching non-Signal contacts when searching in “new 1:1: conversation” view.
// FREEBIE
2017-05-05 21:18:21 -04:00
Matthew Chen 0c4351a908 Use SignalAccount class to sync contacts.
// FREEBIE
2017-05-05 20:57:35 -04:00
Matthew Chen 45ae8fb067 Respond to CR.
// FREEBIE
2017-05-05 10:42:42 -04:00
Matthew Chen 2bc1d44cd2 Respond to CR.
// FREEBIE
2017-05-05 10:42:42 -04:00
Matthew Chen 363d84fd2d Update “new conversation” view to use OWSTableView, contacts view helper, etc.
// FREEBIE
2017-05-05 10:42:42 -04:00
Michael Kirk b24cf29189 don't request contacts until necessary
Most commonly this will be after hitting the "compose" button

But also we'll do it in the SignalViewController once you've received a
message.

- get rid blocking contacts nag
- use Contacts framework simplifies logic
- remove dead AB code

// FREEBIE
2017-05-04 09:47:04 -04:00
Matthew Chen ad11c50c1b Reworking observation of Contact and SignalAccount changes.
// FREEBIE
2017-05-02 09:28:50 -04:00
Matthew Chen 42768294ee Extract labels for phone numbers.
// FREEBIE
2017-05-02 09:28:50 -04:00
Matthew Chen da7dd1b128 Clean up debug scaffolding.
// FREEBIE
2017-05-02 09:28:02 -04:00
Matthew Chen 61f59067b6 Improve contact-related views.
* Add support for contacts with more than one Signal account using ContactAccount class.
* Use OWSTableViewController in contact-related views.
* Let users add non-contacts to groups.
* Improve the "new group" and "edit group" views.
* Add utility methods for displaying alerts.
* Warn users before discarding unsaved changes in "edit group" view.
* Pull out "contact view helper" to de-duplicate common logic among contact-related views.
* Pull out "group view helper" to de-duplicate common logic among group-related views.
* Pull out new base class for view used to add accounts to groups or the block list.

// FREEBIE
2017-05-02 09:28:02 -04:00
Matthew Chen 554125aeeb Dismiss keyboard if user scrolls in “new 1:1 conversation” view.
// FREEBIE
2017-04-06 21:00:59 -04:00
Matthew Chen 19d8f6cf01 Improvements around contact cells.
* Improve handling of accessory views/types.
* Use contact cell in “new/edit group” view.
* Don’t hide blocked contacts and group members in “new/edit group” view.
* Let users “unblock-to-add” blocked contacts in “new/edit group” view.

// FREEBIE
2017-04-06 20:59:07 -04:00
Matthew Chen fd86495e26 Respond to CR.
// FREEBIE
2017-04-06 11:57:08 -04:00
Matthew Chen b5562fa126 Update “new 1:1 conversation” view.
* Don’t hide blocked users.  If selected, user needs to unblock to start conversation.
* Add “you have no contacts” indicator.
* Activate “block state indicator” in contact cell.

// FREEBIE
2017-04-05 21:39:15 -04:00
Matthew Chen f56227ce26 Respond to CR.
// FREEBIE
2017-04-05 12:22:35 -04:00
Matthew Chen 54e6d4400c Multiple improvements around contacts and the blocklist.
* Hide blocked users and current user in “new 1:1 conversation” view.
* Hide blocked users and current user in “new/edit group conversation” view.
* Hide blocked users and current user in “add to blocklist” view.
* Hide blocked users and current user in “blocklist” view.
* Improve thready safety around contact changes in views.

// FREEBIE
2017-04-05 12:18:44 -04:00
Matthew Chen d12a582ee3 Rename source directories with a space in their name.
// FREEBIE
2017-03-31 11:58:52 -04:00
Renamed from Signal/src/view controllers/MessageComposeTableViewController.m (Browse further)