Commit graph

3145 commits

Author SHA1 Message Date
Matthew Chen
372d6b9bfd Don’t let user block themselves.
// FREEBIE
2017-04-07 13:02:30 -04:00
Matthew Chen
1ab4417687 Fix paste when pasteboard has multiple items.
// FREEBIE
2017-04-07 12:04:04 -04:00
Matthew Chen
3ac1e75b5f Ensure keyboard doesn't hide "safety numbers changed" interaction.
// FREEBIE
2017-04-07 11:54:42 -04:00
Matthew Chen
5feca42821 Reformat phone number if user changes country code.
// FREEBIE
2017-04-07 11:52:21 -04:00
Michael Kirk
9d0c76ca56 debug action to reset session
// FREEBIE
2017-04-06 21:09:56 -04:00
Michael Kirk
033591aeca Remove unused code
// FREEBIE
2017-04-06 21:09:56 -04:00
Michael Kirk
caabae0024 Add new debug method to delete session
// FREEBIE
2017-04-06 21:06:13 -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
Michael Kirk
cc16b9c893 CR nit: add assert
// FREEBIE
2017-04-06 20:59:07 -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
74820d9ba9 Respond to CR.
// FREEBIE
2017-04-06 15:30:21 -04:00
Matthew Chen
a1bd2f66f8 Fix invalid assert in the OWS table views.
// FREEBIE
2017-04-06 12:07:51 -04:00
Matthew Chen
fd86495e26 Respond to CR.
// FREEBIE
2017-04-06 11:57:08 -04:00
Matthew Chen
8823b2884a Refine the “block list” view.
// FREEBIE
2017-04-05 21:58:51 -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
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
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
7273e6faa5 Respond to CR.
// FREEBIE
2017-04-05 12:18:01 -04:00
Matthew Chen
7f21a1bf62 Dismiss “block state indicator” if user scrolls message view.
// FREEBIE
2017-04-05 12:18:01 -04:00
Matthew Chen
c500e7890f Improve completion handling of block actions.
// FREEBIE
2017-04-05 12:18:01 -04:00
Matthew Chen
9c9060203e Block actions in message view for blocked group conversations.
* Add block status indicator view.

// FREEBIE
2017-04-05 12:18:01 -04:00
Matthew Chen
8c347699bb Block actions in message view for blocked contact conversations.
// FREEBIE
2017-04-05 12:18:01 -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
a7296db1fe Add contacts list to “add blocked number” view.
// FREEBIE
2017-04-04 09:12:11 -04:00
Matthew Chen
2e0c95c379 Respond to CR.
// FREEBIE
2017-04-03 17:49:06 -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
Matthew Chen
a155df161f Pull out OWSTableViewController.
// FREEBIE
2017-04-03 17:49:06 -04:00
Michael Kirk
9eb746a7a0 Fix crash when viewing changed safety numbers
Instantiate fingerprintVC programmatically since MVC was not built from
the storyboard and thus doesn't have it's storyboard-defined segues.

// FREEBIE
2017-03-31 14:53:28 -04:00
Michael Kirk
d2732751ad New debug action: print sessions
// FREEBIE
2017-03-31 13:51:38 -04:00
Matthew Chen
7306803ae7 Add explicit calling code state to registration view.
// FREEBIE
2017-03-31 13:25:03 -04:00
Matthew Chen
d12a582ee3 Rename source directories with a space in their name.
// FREEBIE
2017-03-31 11:58:52 -04:00