Commit graph

394 commits

Author SHA1 Message Date
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
giomfo
a9b3526fff Image Picker: Launch must be speed up
issue #113
Retrieve user's album on a specific processing queue
2016-02-26 10:47:27 +01:00
giomfo
7f2d7cd14e Media Picker: fix layout issues
- Enlarge the touch area of the 'Close' and 'Camera switch' button.
- Crop album thumbnail to fit the display box.
- Remove the thumbnail of 'Recently Deleted' album.
- Fix simultaneous asset selection. Only the first selected asset is considered.
- Fix multiple selfies capture. Only one selfie is captured at once.
2016-02-26 10:10:32 +01:00
giomfo
28fc252e50 Chat Screen: Fix wrong activities view display.
Unsent messages may be deleted manually, so we have to force activities refresh on table refresh.
2016-02-25 15:47:30 +01:00
giomfo
7539e3a726 Chat screen: Display network status, and handle unsent messages. 2016-02-25 13:54:53 +01:00
giomfo
edf33d94ac Chat Screen: Bug fix - Hide expanded header when keyboard appears.
+ Hide keyboard when header is expanded.
2016-02-24 15:42:22 +01:00
giomfo
7260e321cc Bug Fix #96
I see my avatar moving down from the header down to the text input field when entering a room.
2016-02-24 13:04:29 +01:00
giomfo
239182eb30 RoomMemberDetailsVC: hide the bottom image on view will disappear. 2016-02-24 11:38:05 +01:00
giomfo
4824d6b535 Add Room Member Details screen
0.5 and 1 normalised values should be replaced by kVectorRoomModeratorLevel and kVectorRoomAdminLevel constant values.
2016-02-24 11:01:06 +01:00
giomfo
b91c183b1c Add Room Member Details screen 2016-02-24 10:08:21 +01:00
manuroe
0652f031a3 Merge pull request #107 from vector-im/event_timeline
Update to support MXEventTimeline
2016-02-23 16:09:21 +01:00
manuroe
0e39d19a4e Event timeline: Moves all pagination API from MXRoom to MXEventTimeline 2016-02-23 09:08:19 +01:00
manuroe
fb6d8b68f0 Event timeline: Made usage of MXEventTimeline 2016-02-22 18:07:30 +01:00
giomfo
29c7e5fc02 Media Picker: Force the camera zoom factor (1.0). 2016-02-22 17:06:28 +01:00
giomfo
27b2637ce4 BugFix: App crashes when user resumes it on push notif.
This crash happens when the app when backgrounded whereas the expanded header was displayed on chat screen.
2016-02-22 10:58:29 +01:00
manuroe
cfaede8064 Moving to R0 API: userId has been removed from MXEvent.
Note the impacted code was removed because it was wrong. Curiously, it was followed by a code block that does things right
2016-02-18 15:46:45 +01:00
giomfo
1925d5ba3f BugFix: vector-ios #87
Please can we have default ios long-tap to select and clipboard behaviour again?
2016-02-11 15:19:49 +01:00
giomfo
a0d0070cd6 Remove access token from Vector logs. 2016-02-11 11:29:33 +01:00
giomfo
6ef7b75011 Merge pull request #92 from vector-im/issue_90_Blank_screen_on_relaunch
BugFix Blank screen after restarting the app #90
2016-02-11 09:07:57 +01:00
giomfo
24dbee9e43 Merge pull request #91 from vector-im/issue_80_rageshake_handling
issue_80: Rageshake handling
2016-02-11 09:07:33 +01:00
giomfo
1e8e704ffb BugFix Blank screen after restarting the app #90 2016-02-11 00:02:56 +01:00
giomfo
d22417ee94 issue_80: Rageshake handling
Rageshake doesn't work on the image upload screen #80

- Define the navigation bar tint color.
- Disable navigation bar tint color change according to HS status.
- Set RageShake manager.
2016-02-10 22:12:17 +01:00
giomfo
ce4a283932 Chat: Expanded header
Fix issues on iPhone 6 plus (landscape).
2016-02-10 15:08:51 +01:00
giomfo
5b5679ebb6 Chat: Expanded header
Hide the header only on scroll down.
2016-02-10 12:25:40 +01:00
giomfo
7a9ac019da Chat: Expanded header
Fix issue: scroll to the top of the bubbles table failed
2016-02-10 11:13:30 +01:00
giomfo
f5fb047062 Chat: Expanded header 2016-02-10 10:59:48 +01:00
manuroe
96c8d76702 Merge remote-tracking branch 'origin/develop' into email_invitation
Conflicts:
	Vector/Categories/MXKRoomBubbleTableViewCell+Vector.m
2016-02-08 11:17:56 +01:00
manuroe
0d0d57dec3 Email invitation: Fixed addRoomRoomThirdPartyInviteToParticipants name 2016-02-08 11:13:36 +01:00
manuroe
192d1281a6 Email invitation: Do not uppercase the first letter entered in the room member list search text field 2016-02-08 11:06:34 +01:00
manuroe
e7733f86c4 Email invitation: MXKContact: Removed basic initMatrixContactWithDisplayName method as [MXKContact initMatrixContactWithDisplayName:andMatrixId:] can be used 2016-02-08 10:39:54 +01:00
manuroe
64a8ae7d43 Email invitation: Use an email keyboard when doing search in room members list as it seems more appropriated 2016-02-05 17:37:08 +01:00
manuroe
c2e2c13c1f Email invitation: Invite a user by the email entered by the user 2016-02-05 17:34:00 +01:00
manuroe
bc6984d43b Email invitation: Show the name the user is typing in the room member list search input in the first cell of the list 2016-02-05 16:42:17 +01:00
manuroe
485f79b51e VectorDesignValues: Load Vector colors at the app load time for the life of the app 2016-02-05 15:21:00 +01:00
giomfo
87ad785eda Bug Fix: Room members: Swipe mode is not available on iphone 5c iOS 8 #70 2016-02-05 10:44:15 +01:00
manuroe
314f9547d1 Email invitation: Update members list on a m.room.third_party_invite event 2016-02-04 11:51:46 +01:00
manuroe
4e1e209b1d Email invitation: Managed third_party_invite field in m.room.member events to deduplicate 3pid invite and room member 2016-02-04 11:40:25 +01:00
manuroe
3696093b4f Email invitation: Merge 3pid invites and room members into a single list with alphetical order 2016-02-03 17:57:34 +01:00
manuroe
0d306d0ec8 Email invitation: Room participants: Show 3pid invite 2016-02-03 17:30:20 +01:00
giomfo
674fbeafa2 Bug Fix: Blank chat screen #55 2016-01-29 18:16:30 +01:00
giomfo
d14de0a4d6 Fix wrong asset reference in xib 2016-01-29 13:15:30 +01:00
giomfo
609fafa1b9 Merge pull request #61 from vector-im/authentication_screen
Authentication screen
2016-01-29 11:32:03 +01:00
giomfo
c4f1df1c13 Sign in screen
Hide "Forgot password" option. This option will be supported later
2016-01-29 11:00:57 +01:00
giomfo
24d0f879c9 Settings: Hide global notification settings.
Invite user to use the web client to update global notification settings.
2016-01-29 10:43:38 +01:00
giomfo
4480e3d691 Sign in screen
Initialize the screen by selecting by default a auth flow with password type
2016-01-28 13:54:50 +01:00
giomfo
cfb81b8efb Sign in screen
Adjust text field color
2016-01-28 10:31:08 +01:00
giomfo
3a7bf4ad5e Sign in screen
Custom auth title screen with bundle display name.
2016-01-27 18:23:56 +01:00
giomfo
23a195ddd5 Sign in screen
Apply Design
2016-01-27 18:17:43 +01:00
giomfo
8ecc20e914 Sign in screen
Prepare sign in screen
2016-01-27 12:40:26 +01:00
giomfo
5db9040e10 Room Creation: Update existing room creation screen
- Remove account info when only one account is active.
- Support room avatar.
- TODO: Apply Ribot design.
2016-01-22 10:50:51 +01:00
giomfo
bb808eaad9 MediaPickerViewController: Remove wrong icon use 2016-01-22 10:47:47 +01:00
giomfo
1fb312aaeb MediaPickerViewController: Bug Fix - Navigation Bar is not restored 2016-01-22 10:47:12 +01:00
giomfo
3cc5487655 Chat: Bug Fix event timestamp is not aligned when username is hidden. 2016-01-21 17:57:02 +01:00
giomfo
4e64e7c48b Media Picker: Code cleaning 2016-01-20 11:58:30 +01:00
giomfo
d141268548 Media Picker: Support preview for selected video 2016-01-20 11:24:58 +01:00
giomfo
092ac321f4 Media Picker: Apply Ribot design 2016-01-19 18:59:40 +01:00
giomfo
54bb3eff40 Bug fix: Replace People with Members #51 2016-01-14 15:23:58 +01:00
giomfo
37406b16eb Bug Fix: move further the chevron in room title view #48
- Remove room topic
- Handle correctly tap on room title view
2016-01-13 19:03:27 +01:00
giomfo
cf56b94509 Bug Fix #43 Remove weird animation on the input field if you do a multiline input. 2016-01-13 10:06:18 +01:00
giomfo
9cc370c7d0 Bug Fix: background image is displayed over the search result. 2016-01-11 13:22:05 +01:00
giomfo
ed85f5aba5 Code cleaning: Remove useless Action 2016-01-11 13:00:19 +01:00
manuroe
b8e909cf7f Empty cells: hide them where it is needed 2016-01-05 18:18:07 +01:00
manuroe
ebfade0619 Search background image: HomeVC do not show the background image in landscape on iphone 5 & 6 because it overlaps the tabs header 2016-01-05 17:30:30 +01:00
manuroe
ef8e48d85b Search background image: Use new UIViewController+VectorSerch feature in the search in the homeVC 2016-01-05 16:59:22 +01:00
manuroe
a6863e13cb Search background image: UIViewController+VectorSerch: Keep Search background image bottom and keyboard top aligned 2016-01-05 16:27:50 +01:00
manuroe
8368f46b52 Search background image: Made it generic and updated UIViewController+VectorSerch to add it programmatically 2016-01-05 16:03:58 +01:00
manuroe
3f5d7e0c3d Search background image: added it to the "search in one room" page 2016-01-05 11:07:36 +01:00
manuroe
8838088876 Search in room: Applied Vector design (ie stole the cells from the RoomViewController to display search results) 2015-12-31 16:12:32 +01:00
manuroe
674aef23f3 Search in room: Small plumbery to make it work (still MatrixKit design) 2015-12-31 10:29:36 +01:00
manuroe
5078e25604 Search in room: Imported UI from MatrixKit 2015-12-31 10:12:45 +01:00
manuroe
7ee94863b0 Search API support: Fixed Wrong commit on RoomVC 2015-12-30 18:00:37 +01:00
manuroe
5fc47f6e52 Search Bar: HomeVC: Hide the create button and the transparency gradient when searching 2015-12-30 17:44:41 +01:00
manuroe
d0dacaa532 Search Bar: BF: Do not update the home search if we are hiding the search bar 2015-12-30 17:28:41 +01:00
manuroe
213aa8efaa Search API support: Customised search in user's rooms data processing for Vector 2015-12-30 17:03:49 +01:00
manuroe
66dbf4e402 Search API support: Customised search in user's rooms display according to the Vector design 2015-12-30 16:23:25 +01:00
manuroe
29c9d66606 Search API support: Added session search from MatrixKit 2015-12-30 15:15:08 +01:00
manuroe
e2864929ba Search Bar: The new category works for any UIViewController. Renamed it accordingly 2015-12-28 17:27:39 +01:00
manuroe
d695f61699 Search Bar: Changed strategy: add a category for doing search in Vector screens.
This is kind of multiple inheritance. It is more convenient for adding vector search to MatrixKit VCs.
Ex: a MXKRoomViewController can now have a Vector search
2015-12-28 16:50:08 +01:00
manuroe
3153e1f62f Search Bar: Created VectorViewController a mother class to Vector screens.
Its first feature is the management of the search bar.
2015-12-28 16:42:53 +01:00
manuroe
3f4d44f330 SegmentedVC: Notify its child on viewWillAppear/viewDidAppear.
This fixes the room selection in master when playing when doing screen rotation with the splitVC.
2015-12-23 11:46:27 +01:00
manuroe
cebcdc472e Public rooms search: Force hiding the keyboard too when clicking on the directory search result cell 2015-12-23 11:21:12 +01:00
manuroe
3fe34f7e1d Public rooms search: Fixed compilation 2015-12-23 11:15:04 +01:00
manuroe
4ec9d21924 Merge remote-tracking branch 'origin/develop' into public_rooms_search
Conflicts:
	Vector/Utils/AvatarGenerator.m
	Vector/ViewController/HomeViewController.m
2015-12-23 11:05:46 +01:00
manuroe
bace02e839 Public rooms search: Fixed bad animation when selecting a room with the keyboard open 2015-12-22 18:22:05 +01:00
manuroe
f2d847ea4d Public rooms search: Made sure the room is no more selected when leaving the rooom page 2015-12-22 17:43:25 +01:00
manuroe
0caeb839c6 Public rooms search: Changed UX when selecting a public room from the directory.
The directory screen now stays in the navigation stack.
Do things to select the right room when moving from detail-only to master-detail
2015-12-22 17:23:59 +01:00
manuroe
5d92132713 Public rooms search: auto join selected public room from the directory screen 2015-12-22 16:23:43 +01:00
manuroe
33664a9617 Public rooms search: Improved animations when selecting a public room from the directory 2015-12-22 15:42:53 +01:00
giomfo
5995b94453 Chat screen: Bug Fix: typing notif is not displayed
Typing notification was not displayed for member without display name.
2015-12-22 12:52:18 +01:00
Yannick LE COLLEN
722a9d788a Merge pull request #32 from vector-im/room_members_search
Room members search
2015-12-22 08:44:54 +01:00
yannick
badbc956a3 room_member_search
Updates after MatrixKit update and review
2015-12-22 08:43:55 +01:00
manuroe
d65efac3d5 Public rooms search: Do a AND search on public rooms 2015-12-21 16:41:41 +01:00
manuroe
056bf23f4d Public rooms search: Keep the search bar cancel button enabled when the keyboard is not displayed.
Thus, the user can quit the search more quickly
2015-12-21 14:56:01 +01:00
yannick
5941f2bb0f room_members_search
fix some refresh issues
2015-12-21 14:36:00 +01:00
yannick
fb7c2cf5a1 room_members_search
the session is not anymore provided in the contacttableviewcell.
2015-12-21 14:29:05 +01:00
giomfo
f25ac8dacf Bug Fix: Selected room is dismissed on iPhone 6+ on screen rotation. 2015-12-21 11:49:55 +01:00
manuroe
8c034bd809 Public rooms search: On new search, forget the previoud user search 2015-12-21 11:45:47 +01:00
manuroe
342d17e3cc Public rooms search: hide keyboard on scroll 2015-12-21 11:17:38 +01:00
yannick
a41fc1b5f2 room_members_search
-> the search bar is now a section header : it is always displayed during a search.
2015-12-21 11:14:57 +01:00
manuroe
6ff5cadfee Public rooms search: Automatically scroll to the top on each new seach 2015-12-21 11:13:46 +01:00
manuroe
68fd187509 Merge remote-tracking branch 'origin/develop' into public_rooms_search
Conflicts:
	Vector/Base.lproj/Main.storyboard
	Vector/Model/RoomList/RecentsDataSource.m
2015-12-21 10:35:48 +01:00
yannick
f9b8a0d53e room_members_search
-> rename VectorContactTableViewCell to ContactTableViewCell
2015-12-21 10:27:07 +01:00
yannick
6bb821e965 room_members_search
-> improve vectorContactTableViewCell to display a custom accessory view
-> Update the room creation step 2 viewcontroller.
2015-12-21 10:00:49 +01:00
manuroe
92e0fdbe92 Public rooms search: Added selection in the directory screen 2015-12-18 18:25:39 +01:00
manuroe
e71a4a090d Public rooms search: Directory page starts to work (with cells from MatrixKit) 2015-12-18 17:17:03 +01:00
yannick
29a3ca8e4e room_members_search
Add a dedicated delete button instead of the sliding menu.
2015-12-18 16:00:38 +01:00
giomfo
c0be7ac0fe Chat screen: update localized string used during event edition 2015-12-18 15:37:28 +01:00
giomfo
623af56397 Chat screen : support event edition 2015-12-18 15:20:57 +01:00
yannick
9c64a33638 room_members_search
-> add the swipe to remove member / to leave the room
-> add member when selecting a cell.
2015-12-18 15:00:20 +01:00
yannick
fdba00db3c room_members_search
-> apply the Vector design to the cells
-> apply the Vector design to the search bar.
2015-12-18 11:55:35 +01:00
giomfo
b426835a21 Project update: Upgrade IPHONEOS_DEPLOYMENT_TARGET: iOS 8.0 2015-12-17 21:52:37 +01:00
giomfo
5a144eac55 Chat Screen: Support tap on bubble cell content view 2015-12-17 21:44:27 +01:00
yannick
4deed38635 Update the room settings page to respect the Zeplin requiremenents (font size, color...) 2015-12-17 15:09:42 +01:00
yannick
76a4d6a67d room_members_search
mxUsers is renamed contacts.
2015-12-17 14:47:20 +01:00
Yannick LE COLLEN
27690a4333 Merge pull request #28 from vector-im/room_photo_selection
Room photo selection

Improve the room settings page
-> add the room photo management 
-> display if a room is public or private
-> enable / disable the room notification

Else
Improve the room naming.
2015-12-17 12:05:20 +01:00
yannick
6cafd37dbf room_photo_selection
rename isSuperUser to isModerator
2015-12-17 11:56:06 +01:00
giomfo
93958ed07c Chat screen: implementation
Apply Ribot design on toolbar view.
2015-12-16 22:36:14 +01:00
yannick
e2cf0564eb room_photo_selection
-> swipe on invited room should not display any action.
2015-12-16 17:17:02 +01:00
manuroe
2082bcc7e0 Public rooms search: Start 2015-12-16 16:29:34 +01:00
yannick
9ddd479772 Merge remote-tracking branch 'origin/develop' into room_photo_selection 2015-12-16 15:53:42 +01:00
yannick
7512760387 room_photo_selection
Factorize the room notifications management.
2015-12-16 10:47:15 +01:00
yannick
cdf8623b80 room_photo_selection
-> add the public / private status
-> factorize the room avatar management.
-> the room avatar was rendered in scaleToFit instead of scaleToFill.
2015-12-16 10:28:58 +01:00
yannick
d081a58930 Add the recents drag & drop feature
-> to be able to drag in favourites / low priority sections, they must exist (created with the swipe menu)
2015-12-16 09:17:28 +01:00
yannick
4bb827480a recents_category_drag_drop
Updates after internal reviews
2015-12-16 08:59:40 +01:00
manuroe
d6e66cb0e8 SegmentedVC improvement: Oops. Fixed buggy renaming. 2015-12-15 18:22:38 +01:00
yannick
4b38e1f286 room_photo_selection
-> add the room rules management
-> fix issues while updating the topic.
2015-12-15 18:17:20 +01:00
manuroe
7fdd6ed6e6 SegmentedVC improvement: Improve animation when quitting searh in HomeVC 2015-12-15 17:43:32 +01:00
manuroe
39e57199c5 SegmentedVC improvement: Renamed displayedViewController to selectedViewController to be uniform with selectedIndex 2015-12-15 17:31:16 +01:00
manuroe
b74975cf49 SegmentedVC improvement: Made selectedIndex public so that it can be changed outside.
Use it from the HomeVC
2015-12-15 17:13:59 +01:00
manuroe
c1402cc7e4 SegmentedVC improvement: Make SegmentedVC call viewWillAppear on the currently selected child.
This fixes the handling of keyboard which is centrally managed in [MXKViewController viewWillAppear]
2015-12-15 16:20:21 +01:00
yannick
ae1757ff79 room_photo_selection
The room photo can be updated when saving.
2015-12-15 13:14:37 +01:00
yannick
0c104c6991 room_photo_selection
add the PHAsset management.
2015-12-15 13:13:50 +01:00
yannick
d2c5611a26 room_photo_selection
Display the room photo in the settings
2015-12-15 10:46:34 +01:00
yannick
2010554782 recents_category_drag_drop
-> the moving room was not always the expected one
-> update after SDK update (room tag order computation)
2015-12-15 08:34:46 +01:00
yannick
644996aa1e recents_category_drag_drop
fix a refresh issue / crash after updating the room order.
2015-12-14 11:08:57 +01:00
yannick
513a54f7a0 recents_category_drag_drop
Hide the moving cell.
2015-12-14 10:47:10 +01:00
yannick
3ed9696716 recents_category_drag_drop
fix some crashes
2015-12-11 16:20:26 +01:00
yannick
26fe1ba0ba recents_category_drag_drop
fix a refresh issue.
2015-12-11 15:30:26 +01:00
yannick
922607d521 recents_category_drag_drop
Add the cell drag and drop.
2015-12-11 14:59:55 +01:00
giomfo
3b5db63660 Chat screen implementation
Handle event selection when user taps on text message view.

Note: The read receipts are still displayed by MatrixKit, they may overlap timestamp until Vector handle them correctly.
2015-12-11 14:01:56 +01:00
yannick
27a72ae7db recents_category_drag_drop
the drag and drop is implemented : the cell can be move in the recents sections.
2015-12-11 11:50:13 +01:00
yannick
5e8e81d019 recents_category_drag_drop
Implement the cell selection and its moving (with tableview);
2015-12-11 09:11:44 +01:00
Yannick LE COLLEN
c54b69a2b0 Merge pull request #20 from vector-im/add_invite_rooms_section
Add invite rooms section
2015-12-10 17:08:42 +01:00
yannick
1b7f4e3939 add_invite_rooms_section
Update after Giom's review
2015-12-10 17:08:09 +01:00
giomfo
82f82edf76 Messages screen: Apply Ribot layout for Create Room button 2015-12-10 14:38:20 +01:00
yannick
362772a476 Merge remote-tracking branch 'origin/develop' into add_invite_rooms_section 2015-12-10 12:44:17 +01:00
yannick
6c9784e40a add_invite_rooms_section
fix some UI issues.
2015-12-10 10:16:22 +01:00
yannick
09567f1c29 add_invite_rooms_section
Plug the join/reject button
The join does not refresh properly the recents.
2015-12-10 09:00:57 +01:00
manuroe
e99b575968 Merge remote-tracking branch 'origin/develop' into search_api_support
Conflicts:
	Vector.xcodeproj/project.pbxproj
2015-12-09 18:28:53 +01:00