Commit graph

542 commits

Author SHA1 Message Date
giomfo
4d26f571b8 Authentication: Support forgot password option
Finalize implementation
2016-05-10 00:00:07 +02:00
giomfo
66dc2b42a9 Merge remote-tracking branch 'origin/develop' into auth_forgot_password 2016-05-09 15:44:23 +02:00
giomfo
f98e53284c Merge pull request #310 from vector-im/update_default_hs
Authentication: Update the default login flow to the vector.im HS.
2016-05-09 15:16:47 +02:00
giomfo
6328c786e3 Authentication: Update the default login flow to the vector.im HS.
Support automatic fallback to matrix.org HS for existing users.
2016-05-09 13:56:37 +02:00
manuroe
7437aa6a9a Permalimks: Use the beta path of the web app instead of /develop 2016-05-09 10:23:46 +02:00
manuroe
b112e52f6f Merge pull request #300 from vector-im/report_abuse
Report abuse and ignore user
2016-05-04 18:45:19 +02:00
manuroe
cccae814a0 Ignore user: ignoreUsers method has been updated 2016-05-04 17:37:06 +02:00
manuroe
1d7dcff471 Ignore user: [MXSession isUserIgnored] now exists 2016-05-04 16:44:44 +02:00
giomfo
f1a689bfa3 BugFix: 'Enable notifications on your device' toggle spills over the side on an iPhone 5 display.
https://github.com/vector-im/vector-ios/issues/167
2016-05-04 11:58:50 +02:00
giomfo
e12f7220ae Report abusif content and Ignore user.
Add unignore option
2016-05-04 10:54:46 +02:00
giomfo
95d36c8033 Merge remote-tracking branch 'origin/develop' into report_abuse 2016-05-04 09:58:14 +02:00
giomfo
70b4264138 Chat screen: Open member details when user taps on avatar 2016-05-03 23:30:46 +02:00
giomfo
8168641c42 Report abusif content and Ignore user.
- Room member: Add new option Ignore to ignore content from a room member
- Chat screen: Add report option in the contextual per-message menu + Option to ignore the event sender
2016-05-03 18:29:54 +02:00
giomfo
4f304ce01d Authentication: Support forgot password option 2016-05-03 15:54:05 +02:00
manuroe
8c3b8ffec8 Fixed regression on opening of normal web links.
Removed the dev logs
2016-05-03 11:05:47 +02:00
manuroe
10a1136c42 Merge pull request #291 from vector-im/mediapicker_video_preview_buttons
Mediapicker: Improved video preview buttons
2016-05-03 10:04:03 +02:00
manuroe
6b2dd85cb0 Media Picker: Fixed center position of the video buttons (play or stop) 2016-05-03 10:03:15 +02:00
giomfo
51be82a17c BugFix Room Participants - Search session: the return key must be 'Done' instead of 'Search'
https://github.com/vector-im/vector-ios/issues/292
2016-05-03 09:58:49 +02:00
manuroe
15005367ce Media Picker: Fixed center position of the video buttons (play or stop) 2016-05-02 17:48:49 +02:00
manuroe
ebdfd16a9c Temporary develop commit for testing web links on jenkins builds 2016-05-02 10:59:53 +02:00
manuroe
673772d074 Universal link: Moved isUniversalLink and fixURLWithSeveralHashKeys methods from AppDelegate to Tools 2016-04-29 16:19:13 +02:00
manuroe
1ff7cf836f Merge pull request #285 from vector-im/update_room_members_list
Update room members list
2016-04-29 14:30:36 +02:00
manuroe
9372f2e6bf Room member details: Bug fix: when sorting invitees, use their display name 2016-04-29 14:30:12 +02:00
manuroe
36a810ada5 Presence: Renaming to look more like js sdk: MXUser.isCurrentlyActive -> MXUser.currentlyActive 2016-04-29 13:49:29 +02:00
giomfo
b3a05776e3 BugFix: Room member details: only the "start chat" text is clickable, not that whole button area.
https://github.com/vector-im/vector-ios/issues/282
2016-04-29 11:45:02 +02:00
giomfo
11a5fdde0c Bug Fix: Authentication screen: inputs fields are missing (blank screen) on first app launch. 2016-04-29 10:29:08 +02:00
manuroe
64d93e36b2 Room member details: Factorised the pretty string for presence in [Tools presenceText] 2016-04-29 09:54:43 +02:00
giomfo
cc58e873b0 BugFix: 6+/iPad: Better manage user with no room in landscape
https://github.com/vector-im/vector-ios/issues/268
2016-04-28 19:22:50 +02:00
giomfo
4790dac377 BugFix: Media Picker: user's albums are missing
https://github.com/vector-im/vector-ios/issues/208
2016-04-28 18:09:17 +02:00
giomfo
bc9d72b4f3 RecentsDataSource: Remove InviteRecentTableViewCell dependency
Add sanity check
2016-04-28 16:48:09 +02:00
giomfo
32b61335fc RecentsDataSource: Remove InviteRecentTableViewCell dependency 2016-04-28 16:26:37 +02:00
manuroe
7120fe73af Room member details: Sort members with the same algo as Vector web: 412512570b/src/components/views/rooms/MemberList.js (L363) 2016-04-28 16:14:05 +02:00
manuroe
32ee933d95 Room member details: Removed the "(admin)" string as we now show a sheriff badge on them 2016-04-28 15:08:12 +02:00
manuroe
339a375100 Room member details: Order members by power levels (me, admins then moderators then others)
Reduced numbers of NSMutableArray
2016-04-28 14:39:02 +02:00
manuroe
f75eeb3413 Room member details: Order members by power levels (me, admins then moderators then others) 2016-04-28 11:58:05 +02:00
manuroe
9d1db3f2ec RoomViewController: Fixed crash on 6+: "Starting the app in portrait, then rotate the device in landscaped" made the app crash.
The reason is that in these conditions, there is no selected room. So, self.previewScrollView is nil
2016-04-27 10:41:46 +02:00
manuroe
42a86e4130 Merge pull request #264 from vector-im/vector_246
Fixed #246: universal link on an unjoined room + an event iD is not properly managed
2016-04-26 19:21:35 +02:00
manuroe
1fd18aa727 https://github.com/vector-im/vector-ios/issues/225: Ability to copy message permalinks 2016-04-26 17:55:37 +02:00
manuroe
bbe7bcaf8e Fixed https://github.com/vector-im/vector-ios/issues/246: universal link on an unjoined room + an event iD is not properly managed 2016-04-26 17:10:06 +02:00
giomfo
a1fee4e41f Chat Screen: Keep visible the expanded header or the preview on screen rotation 2016-04-26 09:49:48 +02:00
giomfo
7007b18c88 Expanded Header: the height is now variable. 2016-04-25 17:26:39 +02:00
giomfo
eefb1526d3 BugFix: multiple 'showAuth' are triggered. 2016-04-25 11:29:47 +02:00
giomfo
b6ff515cc7 Merge pull request #258 from vector-im/vector_ios_243
Bug Fix: Room avatar is missing at room creation
2016-04-25 10:41:43 +02:00
giomfo
156b796bd8 Merge pull request #257 from vector-im/vector_ios_249
Bug Fix - Messages: Room creation button does not respond.
2016-04-25 10:41:14 +02:00
giomfo
ebf9c9e910 Bug Fix: Room avatar is missing at room creation
https://github.com/vector-im/vector-ios/issues/243
2016-04-23 00:56:21 +02:00
giomfo
e47cb8a078 Bug Fix - Messages: Room creation button does not respond.
https://github.com/vector-im/vector-ios/issues/249
2016-04-23 00:32:17 +02:00
giomfo
a5192f16c6 Merge remote-tracking branch 'origin/develop' into fix_registration_from_multi_devices
# Conflicts:
#	Vector/ViewController/HomeViewController.m
2016-04-22 20:54:30 +02:00
giomfo
7d21e7e057 Authentication: Support next_link from email validation as universal link.
https://github.com/vector-im/vector-ios/issues/202
2016-04-22 18:42:14 +02:00
manuroe
430131d73e Fixed the UX issue in https://github.com/vector-im/vector-ios/issues/249.
A popup is shown if the user presses the create room buttom while a creation is already in progress.
2016-04-22 15:17:58 +02:00
manuroe
968316e4a7 Merge pull request #252 from vector-im/next_link_incoming
Universal link + next_link
2016-04-22 09:46:32 +02:00
manuroe
35a787bb0e Universal link + next link: Improved logout #2 2016-04-22 08:35:15 +02:00
manuroe
be37b0ae77 Universal link + next link: Improved logout 2016-04-21 18:29:14 +02:00
giomfo
e04c768170 Authentication: Fix registration cancellation
Bug Fix: https://github.com/vector-im/vector-ios/issues/240
2016-04-21 17:53:52 +02:00
manuroe
78565218b5 Universal link + next link: Logout and show Authentication screen anytime the user click on an email validation link 2016-04-21 17:49:52 +02:00
manuroe
d58016b47b Universal link + next link: Forward the next_link parameters to AuthenticationVC 2016-04-21 16:19:16 +02:00
giomfo
efa2cbd732 Merge pull request #242 from vector-im/improve_chat_header
Improve chat header
2016-04-21 11:09:31 +02:00
giomfo
65fb296c87 Chat Screen: Prepare scrolling on preview 2016-04-21 10:36:53 +02:00
manuroe
a043a4ca81 Registration: Added the next link to registration request 2016-04-21 10:26:15 +02:00
giomfo
1055c6cffe Chat Screen: Prepare scrolling on preview 2016-04-20 18:50:03 +02:00
giomfo
cbc3ec6aa0 Chat Screen: Collapse the expanded header when user touches it during scrolling 2016-04-20 14:09:14 +02:00
giomfo
ea761d9edf Merge remote-tracking branch 'origin/develop' into improve_chat_header 2016-04-20 09:53:56 +02:00
giomfo
a0f3ee1643 Chat Screen: Expanded header
Use a swipe gesture recognizer to hide the header.
Remove the UIScrollView use
2016-04-20 09:52:49 +02:00
manuroe
6218c44f57 AppDelegate: Added fixURLWithSeveralHashKeys method in order to fix iOS NSURLs with several hash keys in it. vector.im has plenty of such URLs.
Use this method on in-app and from outside links.
2016-04-20 09:21:46 +02:00
manuroe
06b9470e43 Merge pull request #232 from vector-im/show_loading_wheel_on_ulink
Show a loading wheel on universal link
2016-04-19 17:21:17 +02:00
manuroe
9657c36da2 HomeViewController: Show the activity indicator on the right child vc 2016-04-19 17:15:24 +02:00
manuroe
4f183fe2b3 SegmentedViewController: Expose the child view controllers 2016-04-19 17:14:09 +02:00
giomfo
7abcadf0e6 Chat Screen: Improve Room header
- add topic in preview header
- remove new line characters in topic string
- collapse expander header when user scrolls it down.
2016-04-19 15:28:15 +02:00
manuroe
607157d4a8 Univeral links: Improved UX: Display a loading wheel while the app is gathering information from the hs about the universal link 2016-04-19 15:23:26 +02:00
manuroe
998371317d Univeral links: Improved UX: Display a loading wheel while the app is gathering information from the hs about the universal link 2016-04-19 15:18:24 +02:00
manuroe
9198551cdc Merge pull request #231 from vector-im/ulink_within_the_app
Univeral links: Handle universal links clicked within the app
2016-04-18 18:27:19 +02:00
manuroe
1c6b35b97e Univeral links: Handle universal links clicked within the app 2016-04-18 17:53:30 +02:00
giomfo
861119edb2 Chat Screen: Expand header on new created room.
https://github.com/vector-im/vector-ios/issues/229
2016-04-18 16:56:44 +02:00
giomfo
e7fd6f90d9 Bug Fix Room Preview: the navigation bar bottom border is visible.
https://github.com/vector-im/vector-ios/issues/227
2016-04-18 15:22:57 +02:00
manuroe
7016b4ad92 Room preview of room link: Fixed the display of the text input after joining the room 2016-04-15 15:31:55 +02:00
manuroe
2d95b4bb23 Room preview of room link: made join work 2016-04-15 14:25:57 +02:00
manuroe
b4e7537301 Room preview: Use generic data from RoomPreviewData instead of RoomPreviewData.emailInvitation 2016-04-15 10:46:14 +02:00
manuroe
0e224ec968 Room preview of email invitation: Replaced [RoomVC displayEmailInvitation] by [RoomVC displayRoomPreview], a more generic function that handles email invitation and simple link to a room
Connected AppDelegate to this method
2016-04-15 09:43:56 +02:00
manuroe
97a674ca4d Room preview of email invitation: Made join work 2016-04-14 17:44:12 +02:00
manuroe
12dacfbddb Room preview of email invitation: Fixed [RoomVC displayEmailInvitation] to display the email invitation 2016-04-14 13:06:38 +02:00
giomfo
d68c017794 Prepare Room Preview support. 2016-04-14 02:34:30 +02:00
giomfo
59ebabceeb Chat screen: Initialize correctly the header class 2016-04-13 13:58:29 +02:00
giomfo
f61b51a942 Fix Room details opening is delayed
https://github.com/vector-im/vector-ios/issues/181
2016-04-13 09:32:26 +02:00
giomfo
f78e6c359f Room member details: display matrix id when user taps on display name.
https://github.com/vector-im/vector-ios/issues/129
2016-04-12 14:00:37 +02:00
giomfo
e0c5fc589f Merge pull request #217 from vector-im/154
Room members: Support search option
2016-04-12 12:17:58 +02:00
giomfo
89c8b4ff84 Room member: adjust badge size 2016-04-12 12:12:05 +02:00
giomfo
4006cec998 Room members: Support search option
https://github.com/vector-im/vector-ios/issues/154
2016-04-12 11:59:39 +02:00
giomfo
189766f75f Room Members: Add Admin/Moderator badge on members's picture 2016-04-11 21:28:11 +02:00
manuroe
44fb8e348f Merge pull request #215 from vector-im/universal_link
Universal link: Enabled universal links declared at vector.im.
2016-04-11 13:58:57 +02:00
giomfo
3c6f54636b Room Members: BugFix - Handle correctly the power level.
Remove 'memberNormalizedPowerLevel' use.
2016-04-08 19:32:43 +02:00
giomfo
eef696b65c Fix Room members: Add a specific section INVITED
#132
2016-04-08 17:26:42 +02:00
manuroe
25cbee45c0 HomeVC: Added optional eventId param to [HomeViewController selectRoomWithId::] 2016-04-07 17:36:18 +02:00
giomfo
9717bd19b6 BugFix: Room members search
Keyboard is dismissed at each tap (when search result has been scrolled)
2016-04-07 15:43:39 +02:00
giomfo
345f5a06d1 Room member details: Failed to display member invited by email #133
For the moment, no details are available for member invited by email.
2016-04-07 14:07:49 +02:00
giomfo
183d5a224c BugFix: Need a way to cancel registration #203 2016-04-07 09:28:27 +02:00
giomfo
37877b9083 BugFix: Include address book emails in search result #196 2016-04-06 18:33:26 +02:00
manuroe
cbceed3be5 Merge pull request #198 from vector-im/email_bind
Email bind
2016-04-06 10:56:17 +02:00
manuroe
0b1f7d7572 Email binding: Keep ref to the MXKAlert to be able to dismiss it viewWillDisappear (incoming call) 2016-04-06 10:55:16 +02:00
giomfo
66b68ba482 BugFix: Tapping on room name in expanded header should let you edit it #195 2016-04-06 09:41:23 +02:00
giomfo
b26280f941 Authentication screen: Handle correctly custom server option 2016-04-05 18:43:52 +02:00
manuroe
eec411f876 Email binding: SettingsVC binding email: Added loading wheel 2016-04-05 18:12:55 +02:00
manuroe
6d54098423 Email binding: SettingsVC binding email: dismiss the keyboard when the user click on the + button in the nav bar 2016-04-05 17:53:43 +02:00
manuroe
891fb3cb6b Email binding: SettingsVC: Added binding of a new email 2016-04-05 17:44:02 +02:00
giomfo
3feb915aeb Bug Fix: Do not stop registration process when app is backgrounded. 2016-04-05 15:31:52 +02:00
manuroe
e4726eeef9 SettingsVC: BF: Removed the firstResponder thing.
I believe it was here to hide the keyboard on tableview scroll but this feature is already enabled in the storyboard.
The bug was that it unexpectly hides the keyboard when editing the displayname in landscape.
2016-04-05 14:53:01 +02:00
manuroe
7eeb341daa Email binding: SettingsVC: Display users linked emails 2016-04-05 10:44:22 +02:00
manuroe
3e8b6567c1 Email binding: SettingsVC: Made the user settings section rows dynamic 2016-04-05 09:33:53 +02:00
giomfo
d82dd99420 Merge remote-tracking branch 'origin/develop' into registration_support 2016-04-01 16:36:57 +02:00
giomfo
2e1aed9254 BugFix: App crashes on iPhone 6S in case of rotation on login screen.
Previous fix was incomplete (f1b0917a87)
2016-04-01 16:35:55 +02:00
giomfo
87811e8350 Registration support.
Support the 2 following flows: m.login.email.identity and m.login.recaptcha.
2016-04-01 16:31:13 +02:00
giomfo
236d202142 Registration support - Room Members: Use MXTools method to validate email address. 2016-03-29 17:08:26 +02:00
giomfo
95a97b0db4 Registration support - Prepare authentication screen. 2016-03-29 15:35:37 +02:00
giomfo
f1b0917a87 BugFix: App crashes on iPhone 6S in case of rotation on login screen.
The crash reason was the following:
Terminating app due to uncaught exception 'NSRangeException', reason: 'Cannot remove an observer <RoomViewController> for the key path "isOffline" from <AppDelegate> because it is not registered as an observer.
2016-03-29 14:37:18 +02:00
manuroe
35ec0dff7f https://github.com/vector-im/vector-ios/issues/178: Make room members UI more intuitive
Used the stock UITableCellView.accessoryView instead of .customAccessoryView
2016-03-25 10:21:16 +01:00
manuroe
ea7f0f24bd https://github.com/vector-im/vector-ios/issues/178: Make room members UI more intuitive
The keyboard Done button acts as a cancelation of the invitation process.
Fixed the plus icon that was unexpectedly displayed when trying to remove a member
2016-03-25 09:18:54 +01:00
manuroe
46d12292cd https://github.com/vector-im/vector-ios/issues/178: Make room members UI more intuitive
In the UI for adding people, add a + icon
2016-03-25 08:53:00 +01:00
giomfo
8ddb769ba5 BugFix - Chat screen: the user's avatar is missing in input toolbar 2016-03-22 17:23:44 +01:00
giomfo
c5bf34d8ff Should fix: Messages - Plus button (new room creation) is inactive.
+ Enlarge touchable area of this button
2016-03-22 10:08:01 +01:00
giomfo
9fbdca56df Bug Fix: Invite text box uses the email keyboard which has no colon! #146 2016-03-22 09:12:23 +01:00
giomfo
634f6d0b7f Fix App crashes on Media picker.
App crashes when the user did not grant permission to access Photos.
2016-03-21 15:55:04 +01:00
giomfo
701ab26d14 Bug Fix: Messages - Wait for the end of action before hiding swipe menu #52 2016-03-18 17:56:59 +01:00
giomfo
4dc79472ea BugFix: People search is shown in UI but not yet implemented #165 2016-03-18 09:42:51 +01:00
giomfo
7da31788d6 BugFix: Sliding animation on recents entries can be quite stuttery #162
Recents refresh is now blocked when a recent cell is in editing mode.
2016-03-17 23:31:30 +01:00
giomfo
677a576af4 Room Creation: handle new created room as an empty room. 2016-03-17 11:32:18 +01:00
giomfo
529cc58789 Report matrix-ios-sdk change: power level are signed. 2016-03-16 11:12:08 +01:00
giomfo
692fe36cd8 BugFix: Room member details: "reset to normal user" option #149 2016-03-15 18:59:50 +01:00
giomfo
cf838de1bd Auth screen: Hide forgot password button
Hide this button until the option is handled correctly
2016-03-15 17:50:12 +01:00
giomfo
7fb19bfb8e BugFix: I get sometimes typing notifications for myself #123 2016-03-14 11:34:01 +01:00
giomfo
95f4e18bd8 Media Picker: Remove red placeholder images on videos #157 2016-03-11 17:19:22 +01:00
giomfo
bf621131e8 Media Picker: Enlarge touch area of the X and switch-camera 2016-03-11 14:53:29 +01:00
giomfo
6c24f9e108 BugFix: Call button is still visible in production builds #142
The call button is hidden when no call manager is available.
2016-03-11 14:45:06 +01:00
giomfo
23787ce1ef BugFix: T&Cs and Privacy Policy buttons need that text #143 2016-03-11 13:50:17 +01:00
giomfo
aafeeef28c Messages screen: Update the swipe menu icons. 2016-03-10 16:04:47 +01:00
giomfo
59ec9cab07 Chat screen: Leave message edition mode when user is typing. 2016-03-09 18:42:25 +01:00
giomfo
507abb294d Chat screen: Timestamp and message edition display.
We unify here the design across iOS and Android:
- The messages is over the full width.
- The time stamp is at the user name level.
- If several messages are sent in a row, clicking on a message (not the first one) will make it move slightly down to display the timestamp just above.
- On the right side of the timestamp we would have an "Edit" icon.
2016-03-09 18:29:39 +01:00
giomfo
05ed8ea43c MediaPicker: Upgrade picture resolution
Use preset suitable for high resolution photo quality.
2016-03-07 14:45:13 +01:00
giomfo
41987f1575 Chat: Handle tap on icon in case of unsent messages notification. 2016-03-07 13:56:52 +01:00
manuroe
b1ddad13c3 Search result display: Fixed stupid room blank screen bug 2016-03-04 17:14:50 +01:00
manuroe
5a1c4c6377 Search result display: Improved display of search result timelines on 6+ landscape 2016-03-04 16:46:43 +01:00
manuroe
d5852e411d initialEventIdSearch result display: renaming tweaks 2016-03-04 15:50:47 +01:00
manuroe
bca667a693 Search result display: BF: a Room VC showing a search result from the home screen was not released 2016-03-04 15:47:27 +01:00
manuroe
d649f403ca Search result display: in the room VC, show only the room display name. No user action except the back button 2016-03-04 14:14:08 +01:00
manuroe
5a3f415e2f Search result display: Open a timeline from the home search - the search over all rooms 2016-03-04 09:16:57 +01:00
manuroe
e9e521654a Search result display: Fixed some UX bugs when navigating back to RoomSearchVC 2016-03-02 16:23:56 +01:00
manuroe
bc99b74051 Search result display: Display the result in a RoomVC from RoomSearchVC 2016-03-02 11:57:04 +01:00
giomfo
a6c220ad3f MediaPicker: Do not save captured media in user's library 2016-02-29 17:49:07 +01:00
giomfo
cd2c8b3c03 Room member details: remove custom power level handling 2016-02-29 15:05:22 +01:00
giomfo
1dd1efb630 Bug Fix: Chat screen: wrong keyboard animation #121 2016-02-27 00:23:46 +01:00
giomfo
80bd51d4d6 Bug Fix Unexpected Recents scrolling
Clicking into a favourite room and then back to recents can leave you scrolled to the 'wrong' point in the recents list #105
2016-02-26 18:18:04 +01:00
manuroe
48ba653b85 Renamed MXEventDirection* to MXTimelineDirection because of https://github.com/matrix-org/matrix-ios-sdk/pull/80 2016-02-26 17:08:53 +01:00
giomfo
d2da88a729 Media Picker: Remove ugly navigation bar (Cancel/Camera). 2016-02-26 12:08:24 +01:00