Commit Graph

24 Commits

Author SHA1 Message Date
giomfo ca918d1d00 ContactsTableViewController: refresh the matrix ids in the local contacts when view will appear. 2017-01-23 18:40:30 +01:00
giomfo 60907cf97b Bug Fix - Search from rooms list: bg bubbles recovering known contacts list
#946
2017-01-19 14:28:44 +01:00
giomfo 821f9ee75a Feature - Improve the people invite screens
#904.

+"Add contact" button should be added on Room Member list #905
2017-01-13 12:08:24 +01:00
giomfo d0dcf2eaa9 Feature - "Add contact" button should be added on Room Member list
#905

+ Improve the people invite screens #904.
2017-01-13 02:24:50 +01:00
giomfo 11bb9703c3 Prepare #904: Improve the people invite screens
- Make `HomePeopleSearchViewController` inherit of the new class `ContactsTableViewController` to handle room members.
2017-01-12 17:30:09 +01:00
giomfo 69182bdfd5 Prepare #904: Improve the people invite screens
- Make `RoomParticipantsViewController` inherit of the new class `ContactsTableViewController` to handle room members.
2017-01-11 18:58:11 +01:00
giomfo f83485d319 Prepare #904: Improve the people invite screens
- Rename `ContactPickerViewController` with `HomePeopleSearchViewController`.
- Define a basic view controller class `ContactsTableViewController` to display/filter a contacts list.
- Make `StartChatViewController` inherit of this new class `ContactsTableViewController` to handle contact invite.
2017-01-10 17:56:30 +01:00
giomfo b74099d652 Prepare #904: Improve the people invite screens
Handle 'Start chat' and 'Add new member' screens. (TODO update people search screen)

- Display by default all the local contacts with at least one contact method (email, phone number...) in alphabetic order, mixing Matrix enabled and non-Matrix enabled users.
- The search result lists only the contacts who have the search pattern as prefix in their display name, their matrix identifiers and/or their contact methods (emails, phones).

- The search result is displayed in 2 sections: “Local Contacts" and “Known Contacts”.

- Local contacts with several contact methods are split in several contacts.
2017-01-09 19:29:31 +01:00
giomfo d6fcfc8bef Enhancement - Improve the people invite screens.
#904

- MXKContactManager: List the local contacts with methods (instead of handling only the emails).
- ContactTableViewCell: Highlight the Matrix-enabled contacts in local contacts section.
2017-01-06 15:09:18 +01:00
giomfo cfaa041d0d The contact book is used to search for users by email or phone number on Riot.
- Update `NSContactsUsageDescription` to turn on by default the matrix user discovering when the user allows the access to the local contacts.

- Ask to the existing users the permission to upload emails when the contact access is already granted.

- Update matrix ids for all the local contacts in only one request when device contacts are loaded and an identity server is available.
2017-01-05 15:44:00 +01:00
giomfo 23ddccd6d0 Merge remote-tracking branch 'origin/develop' into riot_887
# Conflicts:
#	Vector/ViewController/StartChatViewController.m
2017-01-05 09:59:25 +01:00
giomfo 941bb3ea22 Bug Fix - Performance on searching people when inviting is terrible.
#887

- Improve the contact search in the 'Start Chat' screen.
- TODO: Report this changes in 'Room Settings' to add new members, and in 'People Search' screen.
2017-01-03 17:52:42 +01:00
giomfo b5af0a295c Improvement - View controller: Remove properties initialization from 'viewDidLoad'.
see https://github.com/matrix-org/matrix-ios-kit/issues/94
2017-01-03 14:40:23 +01:00
giomfo 2ab4c6821c Feature - Converting existing rooms to/from DMs
https://github.com/vector-im/vector-ios/issues/715

- If there is already a DM for the user, we should reuse it when hitting 'start chat'.
2016-11-02 17:54:28 +01:00
giomfo b0aae89347 Feature - Converting existing rooms to/from DMs
#715

Ensure 1:1 rooms are created with equal ops on both sides (the trusted_private_chat preset)
2016-11-02 16:35:45 +01:00
giomfo fa8380804d Feature - Tag explicitly the invite as DM or not DM
#714
2016-10-19 14:00:10 +02:00
giomfo 48dcef6922 Local contacts: Consider the local contacts when the access is authorized even if the server sync option is disabled. 2016-09-15 09:44:22 +02:00
giomfo 53683752ff Update logs 2016-09-14 15:37:39 +02:00
giomfo f09c2c4977 Code cleaning: use the right enum value for keyboard autocapitalization type 2016-09-14 11:42:15 +02:00
manuroe d571de0b73 Warn explicitly that your addressbook's emails are uploaded for discovering matrix IDs if you enable that permission (#602)
* Settings: Add "LOCAL CONTACTS" > "Use emails to discover users" toggle button

Related to #551

* Users discovery: Warn explicitly that your addressbook's emails are uploaded for discovering matrix IDs if you enable that permission #551.

* FR keyboard typo
2016-09-12 09:46:23 +02:00
giomfo c391a32b37 Contact picker: display by default all the contacts who share a private room with the current user. 2016-09-08 16:26:27 +02:00
giomfo cd809e8e8c Room Creation - Invite people: Cancel room creation when cancel is pressed whereas the participants list is empty 2016-09-08 10:08:36 +02:00
giomfo 75cf1a9b8a Bug Fix - Room participants: the same email address is coming up twice
#367
2016-09-07 09:33:30 +02:00
giomfo 73d21eac29 Enhancement: Improve room creation process
#529

Prompt user to let him choose betwwen:
- Start chat by selecting people
or
- Create a new empty room
2016-09-06 17:37:22 +02:00