Commit Graph

24 Commits (2c20cb9e7b4f74da394f5c2f9598bc63168ac974)

Author SHA1 Message Date
Matthew Chen 9258b0883e Clean up TSStorageManager usage. 7 years ago
Matthew Chen 6e840ff956 Fix build warnings from XCode 9. 8 years ago
Matthew Chen c1139a3a28 Fix many leaks in the view controllers.
// FREEBIE
8 years ago
Matthew Chen eaacac9d8b DRY up common table cell patterns.
// FREEBIE
8 years ago
Matthew Chen b316e18cfa Ensure contact delegate helper is set during initialization.
// FREEBIE
8 years ago
Matthew Chen 1b99671e0e Clean up ahead of PR.
// FREEBIE
8 years ago
Matthew Chen 6801963a1b Add SignalAccount class.
// FREEBIE
8 years ago
Matthew Chen da7dd1b128 Clean up debug scaffolding.
// FREEBIE
8 years ago
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
8 years ago
Matthew Chen 0a8c9e5622 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 8823b2884a Refine the “block list” view.
// FREEBIE
8 years ago
Matthew Chen af6e51f83c Make local copy of contact list.
// FREEBIE
8 years ago
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
8 years ago
Matthew Chen 71007cc3d1 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen dcb7eef3fc Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 54cd8cfa3c Add blacklist controls to 1:1 conversation view.
// FREEBIE
8 years ago
Matthew Chen 5fa1a3630f Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 8dadc3ba22 Don’t update contacts in the blacklist views.
// FREEBIE
8 years ago
Matthew Chen 6c1d46c4d7 Use contact names where possible in the block list view.
// FREEBIE
8 years ago
Matthew Chen db31454320 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 89e244ee0a Update to reflect changes to SSK.
// FREEBIE
8 years ago
Matthew Chen 8578390ee9 Clean up blocklist views.
// FREEBIE
8 years ago
Matthew Chen 271cc6f07e Sketch out BlockListViewController and AddToBlockListViewController.
// FREEBIE
8 years ago
Matthew Chen a155df161f Pull out OWSTableViewController.
// FREEBIE
8 years ago