Commit graph

785 commits

Author SHA1 Message Date
giomfo
f9db15888c 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
5c17d3fb3c Merge remote-tracking branch 'origin/develop' into riot_887
# Conflicts:
#	Vector/ViewController/StartChatViewController.m
2017-01-05 09:59:25 +01:00
giomfo
fa48d9c004 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
a2f35ab1cd 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
ad4086b76e Room Members / Invite screen: Split in two sections the search result.
one for the contact book, another for the room contacts
2016-12-28 17:44:55 +01:00
giomfo
588ec06ac2 Bug Fix - Room Members/Invite screen: Remove the current participants from the default displayed list. 2016-12-28 12:15:31 +01:00
giomfo
aaded64680 Bug Fix - App crashes when the user taps on an avatar in a search result.
#895
2016-12-27 16:30:45 +01:00
giomfo
5d86b291a4 Finalize Outgoing Messages Refactoring.
PR https://github.com/matrix-org/matrix-ios-sdk/pull/210.

- Add `MXEventSentStatePreparing` value in `MXEventSentState` enum:
The event is an outgoing event which is preparing by converting the data to sent, or uploading additional data.
2016-12-27 14:43:17 +01:00
manuroe
516e438f49 Launch: Add a timing log to check launch time 2016-12-23 09:15:29 +01:00
manuroe
e8efb56f8a Launch: Add a spinner under the GIF logo 2016-12-20 17:19:58 +01:00
manuroe
741f2928d9 Merge pull request #877 from vector-im/outgoing_msg_refactoring
Outgoing Messages Refactoring:
2016-12-19 15:33:31 +01:00
giomfo
f0052bf4ae Outgoing Messages Refactoring:
- Apply the MatrixKit changes in the `MXKAttachment` class
2016-12-16 18:24:24 +01:00
manuroe
a3a4568a73 Crypto: Add a padlock over the avatar of encrypted rooms in screens with list of rooms 2016-12-16 18:15:15 +01:00
manuroe
3614b15ae4 Crypto threading: Fix update after setDeviceVerification call 2016-12-15 08:53:05 +01:00
manuroe
7d1108dbfc Crypto threading: Follow changes in the sdk 2016-12-14 16:50:10 +01:00
giomfo
85c09faa37 Update Riot icons.
Run the Riot animation during the store loading.
2016-12-13 19:30:20 +01:00
giomfo
5d4d9377d3 Report MXEvent changes 2016-12-05 16:32:21 +01:00
giomfo
61fd4320ca MXKMediaManager has been moved to SDK level 2016-12-01 14:55:29 +01:00
giomfo
1cfe147a2a Bug Fix - Messages: App crashes during drag and drop. 2016-11-30 11:41:20 +01:00
giomfo
d2bb7e2967 Room member details: Add devices sections
- the device cell height is now adjustable
2016-11-28 17:16:21 +01:00
giomfo
afcefdccda Room member details: Add devices sections 2016-11-28 16:26:59 +01:00
giomfo
e36fee814d Merge pull request #832 from vector-im/fix_app_crash_table_view_data_source_not_set
Should fix App crash on exception: "UITableView dataSource is not set".
2016-11-28 08:52:55 +01:00
giomfo
9e24c8fe6e Device/Encryption Info View: remove horizontal scrolling
- move existing`DeviceView` and `EncryptionInfoView` to the matrixKit.
2016-11-25 16:49:27 +01:00
giomfo
f1724cbf91 Should fix App crash on exception: "UITableView dataSource is not set".
Check whether the table view data source is set before laying out the subviews immediately.
2016-11-25 10:50:16 +01:00
giomfo
62e3dd9b37 Buf Fix - [Direct Message] No little green man in direct chats from member's detail
#781
2016-11-25 09:52:50 +01:00
giomfo
dcdb2b5fee User settings: Display the cryptography info before the devices list. 2016-11-24 17:25:27 +01:00
giomfo
7b88a22f4c Bug Fix - Voip : decline call when room opened freeze riot
#764
2016-11-24 15:09:04 +01:00
giomfo
94101a1ff5 User Settings: List user's devices
- support the device deletion.
- support the device renaming.
2016-11-23 13:14:59 +01:00
giomfo
eb8bf84c3d Bug fix - User settings: The toggle buttons are disabled by mistake. 2016-11-23 09:34:06 +01:00
manuroe
28489c492e Crypto: Do not allow to redact the event that enabled encryption in a room (m.room.encryption) 2016-11-22 14:39:20 +01:00
giomfo
2e31836f55 Settings: Add cryptography information
- take into account Manu's comment
2016-11-22 14:19:41 +01:00
giomfo
92cbeec76e Settings: Add cryptography information 2016-11-22 11:16:59 +01:00
giomfo
b35da3217b Settings: Add olm version 2016-11-17 14:16:11 +01:00
manuroe
09f1a33431 Crypto: Show a popup when people updates their app and did not have a device id 2016-11-16 17:16:42 +01:00
manuroe
d5f6cea0bf Merge pull request #792 from vector-im/enable_voip_in_encrypted_room
Crypto: Enable voip in encrypted 1:1 room
2016-11-16 15:43:13 +01:00
manuroe
9ca702ca27 Crypto: Enable voip in encrypted 1:1 room 2016-11-16 15:35:46 +01:00
manuroe
ee776218d9 Crypto: Enable e2e by default
Once enabled, it is still not possible to disable it but do some cleaning in case of disabling in case we change our mind on this button.
2016-11-16 13:52:38 +01:00
manuroe
db2bac7f27 Crypto: Enable e2e by default
Once enabled, it is still not possible to disable it but do some cleaning in case of disabling in case we change our mind on this button.
2016-11-16 13:40:04 +01:00
giomfo
da7ba26933 Merge pull request #788 from vector-im/vector_723
End-to-end encryption UI/UX
2016-11-16 10:48:04 +01:00
giomfo
4c882811f9 End-to-end encryption UI/UX
#723

- Display device information when user taps on the encryption icon.
- Add this option in event context menu
2016-11-16 09:31:58 +01:00
giomfo
3e629c6834 End-to-end encryption UI/UX
#723

- fix Manu's comments
2016-11-15 09:46:47 +01:00
giomfo
5692037925 End-to-end encryption UI/UX
#723

-Prompt the user to log in again when no device id is available.
2016-11-10 16:11:51 +01:00
giomfo
e312a08369 Disable voip call on members/contacts details.
Contact details: Start voice call failed silently #745
2016-11-10 15:21:28 +01:00
giomfo
6dc7d71c2e Merge pull request #769 from vector-im/vector_723
End-to-end encryption UI/UX
2016-11-09 11:00:36 +01:00
giomfo
92ca7493ca End-to-end encryption UI/UX
#723

- Let user send clear attachments in encrypted rooms
2016-11-09 10:58:11 +01:00
giomfo
3397539fae Merge pull request #762 from vector-im/vector_723
Vector 723
2016-11-08 17:59:31 +01:00
giomfo
cb5d333bbe End-to-end encryption UI/UX
#723

- Define bubbles cells used to displayed encrypted events
2016-11-08 17:31:24 +01:00
giomfo
4559998689 Merge pull request #758 from vector-im/vector_723
End-to-end encryption UI/UX
2016-11-07 21:15:41 +01:00
manuroe
5233ff7be5 Crypto: Once crypto is enabled, it is enabled until the user logs out 2016-11-07 18:11:34 +01:00
manuroe
b1f668d8ea Crypto: Once crypto is enabled, it is enabled until the user logs out 2016-11-07 18:02:19 +01:00
giomfo
3383f5f680 End-to-end encryption UI/UX
#723

- Prompt user before turning on the room encryption
- Check power level before displaying toggle button
2016-11-07 16:31:48 +01:00
giomfo
5ff022ca9b Merge pull request #757 from vector-im/vector_723
End-to-end encryption UI/UX
2016-11-07 15:47:58 +01:00
manuroe
277c1d1ef3 Crypto: Refresh room data source when changing e2e user settings 2016-11-07 15:07:14 +01:00
giomfo
3a77967085 End-to-end encryption UI/UX
#723

- Chat screen: Display a padlock in the bottom tool bar in case of encrypted room.
2016-11-07 11:36:32 +01:00
giomfo
9cab08e8f3 fix compilation warning 2016-11-04 15:45:21 +01:00
giomfo
a0f4e097f5 Merge pull request #752 from vector-im/vector_715
Converting existing rooms to/from DMs
2016-11-04 09:34:47 +01:00
giomfo
58769b1fc1 Converting existing rooms to/from DMs
#715

Use the new method added in MXSession API `directJoinedRoomWithUserId:`: returns the first joined direct chat listed in account data for this user.
2016-11-03 18:12:08 +01:00
giomfo
c8dcf5691e Converting existing rooms to/from DMs
#715

Apply MatrixSDK changes (matrix-org/matrix-ios-sdk#158): Remove privateOneToOneRoomWithUserId: and privateOneToOneUsers (the developer must use the directRooms property instread).
2016-11-03 16:56:19 +01:00
manuroe
0d144a01c1 Merge pull request #750 from vector-im/e2e
E2e
2016-11-03 15:29:23 +01:00
manuroe
5c71c927bc Crypto: Fix naming in SettingsViewController 2016-11-03 15:29:04 +01:00
manuroe
8cdcbadb40 Crypto: RoomSettings: Add encryption switch button 2016-11-03 11:57:08 +01:00
giomfo
3f1a3bd3f1 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
f74a384daf 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
6d7335dfca Feature - Converting existing rooms to/from DMs
#715

- 'Start chat' in the Member Details page should instead list the rooms you have in common with the user, as per vector-web.
2016-11-02 14:32:02 +01:00
manuroe
7df923c474 Crypto: Add Settings > LABS > End-to-End Encryption 2016-10-28 17:09:24 +02:00
giomfo
760b75dcbc Logs Improvement: HTTP errors are logged by MXHTTPClient. Remove this error from other logs. 2016-10-21 17:10:02 +02:00
giomfo
2ec885b3cf Converting existing rooms to/from DMs
#715

Add ability to tag/untag direct rooms in Messages screen.
2016-10-21 14:02:51 +02:00
giomfo
65ce316b0b Feature - Tag explicitly the invite as DM or not DM
#714
2016-10-21 11:45:19 +02:00
giomfo
df56795a3c Feature - Tag explicitly the invite as DM or not DM
#714
2016-10-19 14:00:10 +02:00
giomfo
e065dd89e2 Merge remote-tracking branch 'origin/develop' into mention_only 2016-10-14 16:02:34 +02:00
giomfo
bb9f464ea4 RoomFilesViewController: Hide line separators of empty cells 2016-10-13 16:36:11 +02:00
giomfo
f339597102 Room Details: Add 'Files' tab
Fix issues
2016-10-12 13:54:34 +02:00
giomfo
0b3af50ee3 Room Details: Add 'Files' tab
Display now the index of room files
2016-10-12 12:03:39 +02:00
giomfo
38184be389 Merge pull request #696 from vector-im/vector_652
Bug Fix - Use contains_url filter for navigating files and showing a …
2016-10-06 13:44:57 +02:00
giomfo
d12bf98348 Bug Fix - Use contains_url filter for navigating files and showing a file index for a room
#652

Support file search at room level.
2016-10-06 10:56:52 +02:00
giomfo
8263ae0c9b Bug Fix - Use contains_url filter for navigating files and showing a file index for a room
#652

Support file search at room level.
2016-10-05 09:36:52 +02:00
giomfo
34fdc63251 Bug Fix - Search messages tab : background picture covering up the tabs when device is turned horizontally.
#654
2016-10-04 18:19:31 +02:00
giomfo
4d1335be8f Use contains_url filter for navigating files and showing a file index for a room.
#652
2016-10-03 15:26:58 +02:00
giomfo
030e87872c Enhancement - Messages search display
- display the full text message
- display room name and sender name
- display attachment if any
- refresh the search result on new joined room or left room.
2016-09-30 11:17:12 +02:00
giomfo
9626d1f63b Bug Fix: App crashes when user taps on room alias with multiple # in chat history.
#668
2016-09-29 17:50:20 +02:00
giomfo
612d6f1f38 RoomSearchDataSource: Remove the matrix session from the parameters in initWithRoomDataSource API.
Use the matrix session of the provided room data source.
2016-09-29 11:47:02 +02:00
giomfo
b5d9075bdb Bug Fix - App may crash when the user logs out while a request is pending. 2016-09-26 10:50:19 +02:00
giomfo
fac36b26ff Bug Fix - Media picker: Support video capture 2/2
#533

- press and hold the capture button would take video and single tap would take a photo in the live camera view.
2016-09-22 11:10:30 +02:00
manuroe
e9f6ba3b61 Merge pull request #644 from vector-im/vector_641
Quoting a msg overrides what I already typed
2016-09-21 12:19:55 +02:00
manuroe
9dd1f772ec Quoting a msg overrides what I already typed #641. 2016-09-21 09:29:05 +02:00
giomfo
a6981424e2 Bug Fix -Media picker: Switching camera button and exit button are not very visible
#610

We added a black translucent background.
2016-09-20 10:47:17 +02:00
giomfo
cd05e3a4c1 Design - Better UI for outbound VoIP call screen (1/2)
#598

- Update call controls icons
2016-09-19 18:10:43 +02:00
giomfo
4a01ebf2b5 Design - Media picker: Support video capture (1/2)
#533

- Update video indicator on media collections
2016-09-19 16:40:36 +02:00
giomfo
980fb24f1d Settings screen headers slide down over the already fully displayed screen
#636

Refresh all the table on account profile update (A slide down animation is observed when we limit the refresh to the concerned section).
2016-09-16 17:47:23 +02:00
giomfo
a0e0386d8c Bug Fix - Login screen: Stuck on flashing loading wheel
in case of invalid credentials

#637
2016-09-16 14:27:20 +02:00
giomfo
fe7eb03e92 Auth screen: Update assets size 2016-09-16 13:46:24 +02:00
giomfo
e7046aadf1 Authentication screen: Update logo size 2016-09-15 11:53:29 +02:00
giomfo
4320ce71d1 Merge remote-tracking branch 'origin/develop' into release-v0.2.0 2016-09-15 10:56:21 +02:00
giomfo
56a01f1be2 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
manuroe
484e5a074a Update IS 2016-09-14 17:28:59 +02:00
manuroe
86aafbe292 Merge pull request #622 from vector-im/vectore_517
Tap on avatar in Member Info page to zoom to view avatar full page
2016-09-14 16:47:30 +02:00
manuroe
e95d3a05a2 Tap on avatar in Member Info page to zoom to view avatar full page #517
Do it on the contact details screen too.
2016-09-14 16:38:25 +02:00
manuroe
9e787c0f03 Tap on avatar in Member Info page to zoom to view avatar full page #517
Fix the tap area. Tap worked only at the top of the avatar, not when tapping on the middle or the bottom
2016-09-14 16:22:05 +02:00
giomfo
f170393da5 People tab: support email and matrix id selection.
The user is now able to file an email or a matrix id in contact picker
2016-09-14 15:44:36 +02:00
giomfo
6c093cf044 Enable voip call options on contact details 2016-09-14 15:39:02 +02:00