Commit graph

26 commits

Author SHA1 Message Date
Matthew Chen
0c4351a908 Use SignalAccount class to sync contacts.
// FREEBIE
2017-05-05 20:57:35 -04:00
Matthew Chen
2bec1db541 Respond to CR.
// FREEBIE
2017-05-02 10:54:07 -04:00
Matthew Chen
6801963a1b Add SignalAccount class.
// FREEBIE
2017-05-02 09:28:50 -04:00
Matthew Chen
93700f1044 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
e36b5a4602 Improve group members view.
// FREEBIE
2017-04-19 11:37:27 -04:00
Matthew Chen
5feca42821 Reformat phone number if user changes country code.
// FREEBIE
2017-04-07 11:52:21 -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
b6f944f3d3 Tweak appearance of “add to block list” view.
// FREEBIE
2017-04-05 21:37:07 -04:00
Michael Kirk
4494a95a62 Block list is two words. Update code/comments/constants
// FREEBIE
2017-04-05 17:37:08 -04:00
Matthew Chen
e0c7457eca Refine appearance of “add to block list” view.
// FREEBIE
2017-04-05 13:47:56 -04:00
Matthew Chen
b3d6a82c4f Show blocked users in “add to block list” view.
// FREEBIE
2017-04-05 13:27:29 -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
71007cc3d1 Respond to CR.
// FREEBIE
2017-04-05 09:09:14 -04:00
Matthew Chen
dcb7eef3fc Respond to CR.
// FREEBIE
2017-04-05 09:09:13 -04:00
Matthew Chen
54cd8cfa3c Add blacklist controls to 1:1 conversation view.
// FREEBIE
2017-04-05 09:09:13 -04:00
Matthew Chen
8dadc3ba22 Don’t update contacts in the blacklist views.
// FREEBIE
2017-04-04 09:12:11 -04:00
Matthew Chen
6c1d46c4d7 Use contact names where possible in the block list view.
// FREEBIE
2017-04-04 09:12:11 -04:00
Matthew Chen
a7296db1fe Add contacts list to “add blocked number” view.
// FREEBIE
2017-04-04 09:12:11 -04:00
Matthew Chen
db31454320 Respond to CR.
// FREEBIE
2017-04-03 17:49:06 -04:00
Matthew Chen
89e244ee0a Update to reflect changes to SSK.
// FREEBIE
2017-04-03 17:49:06 -04:00
Matthew Chen
8578390ee9 Clean up blocklist views.
// FREEBIE
2017-04-03 17:49:06 -04:00
Matthew Chen
922d48904f Refine BlockListViewController and AddToBlockListViewController.
// FREEBIE
2017-04-03 17:49:06 -04:00
Matthew Chen
271cc6f07e Sketch out BlockListViewController and AddToBlockListViewController.
// FREEBIE
2017-04-03 17:49:06 -04:00