Commit graph

774 commits

Author SHA1 Message Date
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
f24de88a0e Merge remote-tracking branch 'origin/develop' into release-v0.1.6 2016-05-04 19:27:21 +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
bdb9005934 Ignore user: Reload entirely the app when a user has been ignored or unignored 2016-05-04 18:35:59 +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
f1f8c31340 Prepare vector-ios release v0.1.6 2016-05-04 13:07:04 +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
29484a28b6 Report abusif content and Ignore user.
Apply Matthew's suggestions
(see https://github.com/vector-im/vector-ios/issues/295)
2016-05-04 11:21:32 +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
658b3a0eb7 Report abusif content and Ignore user.
Rename "Ban" with "Ban from this room"
2016-05-03 21:53:04 +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
0341872f09 Temporary develop commit for testing web links on jenkins builds 2016-05-03 10:59:08 +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
5cccbaa10b Media Picker: Use the same video buttons as MatrixKit 2016-05-02 17:41:51 +02:00
manuroe
ebdfd16a9c Temporary develop commit for testing web links on jenkins builds 2016-05-02 10:59:53 +02:00
manuroe
b78bb5fb3e Room member details: Fixed presence displayed when it is undefined 2016-05-02 08:38:03 +02:00
manuroe
0286ed4dd0 Merge pull request #288 from vector-im/www_vector_im
Manage www.vector.im urls as universal links
2016-04-29 16:37:54 +02:00
manuroe
673772d074 Universal link: Moved isUniversalLink and fixURLWithSeveralHashKeys methods from AppDelegate to Tools 2016-04-29 16:19:13 +02:00
manuroe
04e24a2979 Universal link: Add www.vector.im as associated domain 2016-04-29 16:18:01 +02:00
giomfo
9a983dbc80 Fix OM CAS authentication on iOS 9.
We need to completely disable the security checking and allow plain http for OM CAS to work.
2016-04-29 16:05:36 +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
09ff1fe615 Presence: Display (X ago) only if X > 0 2016-04-29 14:22:02 +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
878b6c63ce Prepare vector-ios release v0.1.5. Forgot to upgrade the version in the app 2016-04-27 14:13:24 +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
00268e0193 Merge pull request #265 from vector-im/vector_225
#225: Ability to copy message permalinks
2016-04-26 19:21:12 +02:00
giomfo
77b1bb5999 Prepare vector-ios release v0.1.4 2016-04-26 17:56:30 +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
f91ddac917 Bug Fix: Wrong application icon badge number
https://github.com/vector-im/vector-ios/issues/254
2016-04-26 14:45:19 +02:00
giomfo
b3eedde3ba Disable temporarily 'refreshApplicationIconBadgeNumber, 2016-04-26 11:24:43 +02:00
giomfo
be0f660ee5 Log refreshApplicationIconBadgeNumber 2016-04-26 10:28:55 +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
b3b51a03fc Remove runtime warning on constraints 2016-04-25 16:53:50 +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
790f5b61d7 Merge pull request #255 from vector-im/email_validation_universal_link
Universal link: Manage email validation link as universal link
2016-04-22 18:12:46 +02:00
manuroe
16e743f2d9 Universal link: Manage email validation link as universal link 2016-04-22 17:54:57 +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
1f54022fbd Universal link + next link: Logout and show Authentication screen anytime the user click on an email validation link 2016-04-21 17:53:10 +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
548db6a303 Authentication: Fix registration from multi device 2016-04-21 15:06:36 +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
manuroe
ec96a6ac6f Registration: Use a key for the Vector web app URL. This key is for the develop version. There will be another when the prod version of https://vector.im will exist 2016-04-21 11:03:44 +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
ada9980bfb Merge remote-tracking branch 'origin/develop' into improve_chat_header 2016-04-20 18:50:58 +02:00
giomfo
1055c6cffe Chat Screen: Prepare scrolling on preview 2016-04-20 18:50:03 +02:00
manuroe
903c095c3f AppDelegate: Fixed fixURLWithSeveralHashKeys: Do not systematically fix NSURL. They can be right 2016-04-20 18:03:12 +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
5e4ed17eca AppDelegate: fixed dev code in fixURLWithSeveralHashKeys. 2016-04-20 09:39:38 +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
8021482056 Room preview: Show members count 2016-04-19 17:46:33 +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
93f73d5c2b Chat Screen: Improve room header
- hide members status on room invitation if the status is unknown.
2016-04-19 16:05:32 +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
dd4327b9ab AppDelegate: Improved popToHomeViewControllerAnimated again
When opening a link to Matrix HQ within the app, the navigation was stuck in a bad state. The nav bar was empty and nothing happened. This change fixes that.
2016-04-19 09:14:32 +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
21ee7b6454 Room preview of room link: Try to get more information to display from the hs 2016-04-15 11:55:41 +02:00
manuroe
b4e7537301 Room preview: Use generic data from RoomPreviewData instead of RoomPreviewData.emailInvitation 2016-04-15 10:46:14 +02:00
manuroe
47fe1c1dbb Room preview of room link: added appropriate message on the preview display 2016-04-15 10:44:10 +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
manuroe
323962b003 Room preview of email invitation: the avatar should be rounded 2016-04-14 13:03:01 +02:00
manuroe
21abda40a9 Merge pull request #222 from vector-im/room_preview
Prepare Room Preview support.
2016-04-14 09:48:11 +02:00
giomfo
d68c017794 Prepare Room Preview support. 2016-04-14 02:34:30 +02:00
manuroe
6338661850 Universal link: do nothing on /register/... universal links. The app should already display the right screen 2016-04-13 17:56:46 +02:00
manuroe
05e53a6c40 AppDelegate: Improved popToHomeViewControllerAnimated: Fixed display of the auth VC at startup 2016-04-13 17:27:54 +02:00
manuroe
0b47306ae1 Merge remote-tracking branch 'origin/develop' into ulink_3pid_invite 2016-04-13 17:13:24 +02:00
manuroe
f4dbb41e2a Universal link: "" query params are now nil 2016-04-13 17:10:35 +02:00
manuroe
98db74c2cd AppDelegate: Improved popToHomeViewControllerAnimated: there is now a completion callback called when we are sure that HomeVC is the visibile VC. 2016-04-13 17:08:02 +02:00
giomfo
59ebabceeb Chat screen: Initialize correctly the header class 2016-04-13 13:58:29 +02:00
giomfo
8c5bc15c07 Expanded Room Header: Code cleaning 2016-04-13 13:56:19 +02:00
manuroe
90e6f5374a Added RoomEmailInvitation. The data model of link in email invitation 2016-04-13 12:14:20 +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
manuroe
3b2726e173 Universal link: clear race condition on u links. The app manages only one at a time. 2016-04-12 17:44:06 +02:00
manuroe
4e32929f03 Universal link: Handle the case where the user is not yet logged in 2016-04-12 15:56:17 +02:00
manuroe
ac0cc5d0ff Universal link: Handle the case where the session is not yet ready 2016-04-12 15:30:02 +02:00
giomfo
1c4c744acf Chat Header: adjust labels position when room topic is empty
https://github.com/vector-im/vector-ios/issues/134
2016-04-12 14:57:24 +02:00
manuroe
f053f2ff5b Universal link: Handle the case where the link contains a room alias that only the HS knows.
Do it by asking hs to resolve the alias into a room id
2016-04-12 14:19:38 +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
manuroe
143038a4e7 Universal link: Factorisation. Extract ulinks args from a dedicated method 2016-04-12 11:19:50 +02:00
manuroe
5f49d313f3 Universal link: AppDelegate moved the code into a dedicated section 2016-04-12 10:23:48 +02:00
giomfo
fab1d0ce9a Shrink/unshrink sections
The user should be able to shrink/expand each section (Invites, Favourites, Conversations...).
2016-04-12 09:20:38 +02:00
giomfo
189766f75f Room Members: Add Admin/Moderator badge on members's picture 2016-04-11 21:28:11 +02:00
manuroe
bef69701f4 Universal link: parse query params like those sent in email invitation links 2016-04-11 18:06:49 +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
dbf4402df8 VoIP: Show an action sheet when the user clicks on the call button. He will be able to select Voice or Video Call 2016-04-08 16:34:52 +02:00
giomfo
87fa72db35 Prepare vector-ios release v0.1.3 2016-04-08 11:25:31 +02:00
manuroe
02a277ca9d Universal link: Implemented the happy path: links to rooms (and permalinks) known by the user 2016-04-07 17:38:19 +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
bdf32eb43a Merge pull request #204 from vector-im/vector_ios_196
BugFix: Include address book emails in search result #196
2016-04-07 09:17:39 +02:00
giomfo
8dd7751cec BugFix Entering invalid email address into registration
gives error saying it's not supported #201
2016-04-06 18:51:48 +02:00
giomfo
37877b9083 BugFix: Include address book emails in search result #196 2016-04-06 18:33:26 +02:00
manuroe
6d444184c5 Universal link: Added vector.im as associated-domains 2016-04-06 18:05:26 +02:00
giomfo
018f72e58c BugFix: Chat: Resume on empty room (Please select a room) #128 2016-04-06 11:28:45 +02:00