Commit Graph

20 Commits

Author SHA1 Message Date
Matthew Chen
b316e18cfa Ensure contact delegate helper is set during initialization.
// FREEBIE
2017-05-12 11:42:38 -04:00
Matthew Chen
1b99671e0e Clean up ahead of PR.
// FREEBIE
2017-05-05 10:42:42 -04:00
Matthew Chen
6801963a1b Add SignalAccount class.
// 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
0a8c9e5622 Respond to CR.
// FREEBIE
2017-04-11 18:04:44 -04:00
Matthew Chen
8823b2884a Refine the “block list” view.
// FREEBIE
2017-04-05 21:58:51 -04:00
Matthew Chen
af6e51f83c Make local copy of contact list.
// FREEBIE
2017-04-05 12:18:44 -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
5fa1a3630f Respond to CR.
// FREEBIE
2017-04-04 09:32:26 -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
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
271cc6f07e Sketch out BlockListViewController and AddToBlockListViewController.
// FREEBIE
2017-04-03 17:49:06 -04:00
Matthew Chen
a155df161f Pull out OWSTableViewController.
// FREEBIE
2017-04-03 17:49:06 -04:00