Commit Graph

12250 Commits

Author SHA1 Message Date
Giom Foret 7459f529e6 Read markers should be synchronised across clients
The read marker may be defined on an event which is not displayed in the room history.
The MatrixKit has been updated to handle this kind of event in the MXKRoomBubbleCellData object.
Previously these events were ignored during the bubbles rendering. Now a bubble component is created even if the event has no actual display.
This component is useful to display the read marker in the room history, and to allow the user to jump on this read marker.

vector-im/riot-meta#8
2017-06-13 17:43:32 +02:00
manuroe 7101af2bc1 Update 3rd party pods 2017-06-13 09:29:08 +02:00
manuroe 2b3f4cac95 Pods: Update WebRTC and Realm pods 2017-06-12 17:58:48 +02:00
manuroe 315db742e5 Merge pull request #1282 from vector-im/riot_657
Fix App crashes on [AvatarGenerator imageFromText:withBackgroundColor:]
2017-06-12 16:44:32 +02:00
manuroe 865dc0da38 Fix App crashes on [AvatarGenerator imageFromText:withBackgroundColor:]
https://github.com/vector-im/riot-ios/issues/657

Do not call [AvatarGenerator imageFromText:withBackgroundColor:] outside main thread.
2017-06-12 15:06:35 +02:00
manuroe 3c66e60d32 Merge pull request #1281 from vector-im/rageshake_36
Fix crash in [MXKContactManager localContactsSplitByContactMethod]
2017-06-12 09:38:16 +02:00
manuroe 4d9ced4786 Fix crash in [MXKContactManager localContactsSplitByContactMethod]
https://github.com/matrix-org/riot-ios-rageshakes/issues/36

Do not call this method from another thread than main to avoid race conditions within MXKContactManager queues.
This does not affect performance on the UI. CPU eating processing seems to be in the for-loops in the block.
2017-06-12 09:17:53 +02:00
giomfo 36df0c14d2 Merge pull request #1279 from vector-im/read_marker
Read Marker: Fix wrong room header display
2017-06-09 19:27:31 +02:00
Giom Foret 83c6417253 Read Marker: Fix wrong room header display 2017-06-09 15:58:27 +02:00
giomfo 0f673b05a9 Merge pull request #1278 from vector-im/read_marker
Read marker: Fix issues on marker handling
2017-06-09 15:47:02 +02:00
manuroe 91bdedf85f Merge pull request #1277 from vector-im/locales_in_bug_report
Bug report: add "locale", the device language and "app_language", the…
2017-06-09 14:54:00 +02:00
manuroe 3e8386da57 Merge pull request #1276 from vector-im/rageshake_32
Fix crash in global search
2017-06-09 14:49:18 +02:00
Giom Foret 78b2f73c0a Read marker: Fix issues on marker handling
https://github.com/vector-im/riot-meta/issues/8
2017-06-09 14:20:00 +02:00
manuroe ba43b03faf Bug report: add "locale", the device language and "app_language", the lang used within the app 2017-06-09 12:11:18 +02:00
manuroe 728082c663 Fix crash in global search (https://github.com/matrix-org/riot-ios-rageshakes/issues/32)
I was able to reproduce the bug by using bad network conditioner.
2017-06-09 12:09:20 +02:00
manuroe bb8c79d65f Merge pull request #1275 from vector-im/rageshake_39
Fix Crash after hitting create button
2017-06-09 10:21:10 +02:00
giomfo 713a702080 Merge pull request #1272 from vector-im/read_marker
RoomViewController:  The unread messages label is displayed whereas t…
2017-06-09 09:45:59 +02:00
manuroe cec6c05fd3 Fix Crash after hitting create button (https://github.com/matrix-org/riot-ios-rageshakes/issues/39)
It happened when selecting "Start Chat" from the RoomsVC. Fixed by a missing segue.
2017-06-09 09:42:12 +02:00
Giom Foret 6e4fbff5ae Read marker:
- Initialize the read marker if it does not exist yet, except for the room preview.
- Disable the events acknowledgement in case of room preview.
2017-06-09 09:40:22 +02:00
Giom Foret ac3d0e0680 RoomViewController: The unread messages label is displayed whereas the bubbles table is not visible yet 2017-06-08 16:27:19 +02:00
manuroe 1db1272208 UX rework: low priority people rooms shouldn't be displayed in the people tab 2017-06-08 16:01:24 +02:00
manuroe 1b691afd92 Merge pull request #1270 from vector-im/do_not_come_back_to_home_tab
UX rework: do not automatically come back to the home tab when openin…
2017-06-08 15:21:19 +02:00
manuroe f3352bd3a0 Merge pull request #1269 from vector-im/no_low_priority_room_in_people_tab
UX rework: low priority people rooms shouldn't be displayed in the pe…
2017-06-08 15:20:04 +02:00
manuroe ba4cc56708 UX rework: low priority people rooms shouldn't be displayed in the people tab 2017-06-08 15:19:34 +02:00
giomfo ab30755ea3 Merge pull request #1267 from vector-im/read_marker
Read Marker: Center the bubbles table content on the bottom of the re…
2017-06-08 15:12:33 +02:00
manuroe e86bea831f UX rework: low priority people rooms shouldn't be displayed in the people tab (https://github.com/vector-im/riot-ios/issues/1264)
and https://github.com/vector-im/riot-meta/issues/77#issuecomment-300101488
2017-06-08 15:07:43 +02:00
manuroe 01782943a1 UX rework: do not automatically come back to the home tab when opening a permalink
This fixes https://github.com/vector-im/riot-meta/issues/54#issuecomment-300428202
2017-06-08 14:27:38 +02:00
Giom Foret 3ad94887f8 Read Marker: Center the bubbles table content on the bottom of the read marker event
in order to display correctly the read marker view.
2017-06-08 12:29:23 +02:00
manuroe c59f53489b Merge pull request #1266 from vector-im/move_loading_wheel_with_keyboard
RoomVC: Make the activity indicator follow the keyboard
2017-06-08 11:26:44 +02:00
giomfo 2826269520 Merge pull request #1265 from vector-im/read_marker
Initialise the read marker if it does not exist yet.
2017-06-08 11:10:58 +02:00
manuroe eabc946514 RoomVC: Make the activity indicator follow the keyboard
This avoids that the indicator view hides the text input.
2017-06-08 10:52:03 +02:00
Giom Foret 33a4897ef1 Initialise the read marker if it does not exist yet.
Set it to the current read receipt position by default
2017-06-08 10:30:29 +02:00
manuroe 37cbeb31dc Merge pull request #1258 from vector-im/contact_permission
Contact permission
2017-06-08 09:28:15 +02:00
manuroe a16f2046b6 Contact access permission: Ask permission on [ContactsTableViewController viewWillAppear] 2017-06-08 08:47:09 +02:00
manuroe 217a8f9703 Merge pull request #1259 from vector-im/make-plus-the-same
Make the plus button open the same menu in all tabs
2017-06-08 08:39:20 +02:00
manuroe 6d5f71e206 Merge pull request #1260 from vector-im/no-badge-on-home-tab-button
No notif badge on home tab button
2017-06-08 08:39:06 +02:00
manuroe b83eb117f7 Merge pull request #1261 from vector-im/scrollback_collections_to_the_left
HomeVC: Automatically scrollback to the left every time the screen is…
2017-06-08 08:37:55 +02:00
manuroe a3d76eeb20 HomeVC: Automatically scrollback to the left every time the screen is displayed 2017-06-07 17:52:12 +02:00
manuroe 758e5b5c1c No notif badge on home tab button 2017-06-07 17:35:02 +02:00
manuroe 60a12f16f4 Make the plus button open the same menu in all tabs 2017-06-07 17:24:51 +02:00
manuroe f38e36f013 Contact access permission: Display "You didn't allow Riot to access your local contacts" instead of "No local contacts" when the user has denied the phonebook permission 2017-06-07 15:34:11 +02:00
manuroe b78378e7bc Contact access permission: make it work again.
Ask the permission when the user displays the people tab.
2017-06-07 14:28:52 +02:00
manuroe 8c103bf4d4 Merge pull request #1257 from vector-im/read_marker
Chat room read marker:
2017-06-07 13:48:03 +02:00
Giom Foret ee7afa86f2 Chat room read marker:
- Do not launch the read marker animation if the marker is outside the visible area.
2017-06-07 13:07:44 +02:00
manuroe b5a04bcbf3 Merge remote-tracking branch 'origin/ux_rework' into develop
# Conflicts:
#	Riot/AppDelegate.m
#	Riot/ViewController/ContactsTableViewController.m
#	Riot/ViewController/RoomViewController.m
2017-06-07 11:19:25 +02:00
manuroe 943471298b Merge pull request #1253 from vector-im/riot-1252
Fix Crash in MediaPickerViewController
2017-06-07 10:43:37 +02:00
manuroe 102e65abed Fix Crash in MediaPickerViewController (https://github.com/vector-im/riot-ios/issues/1252)
Release objects on the same thread they have been created. This avoids race conditions on retry.
2017-06-06 16:17:13 +02:00
manuroe e01741a5f6 Fix compilation errors due to forward declarations set in .h 2017-06-06 14:30:36 +02:00
giomfo ac1e625bbc Merge pull request #1251 from vector-im/riot_meta_8
Riot meta 8
2017-06-06 14:11:38 +02:00
Giom Foret 549fe4d77c Read markers should be synchronised across clients
- move the check on read marker visibility in viewDidAppear method

vector-im/riot-meta#8
2017-06-06 13:31:58 +02:00