Commit graph

148 commits

Author SHA1 Message Date
manuroe
01ed7f63c8 MELS: implement [MXKRoomBubbleCellDataStoring collaspseWith:] 2017-07-07 14:32:49 +02:00
manuroe
54b8ba2399 MELS: Add RoomMembershipExpandedBubbleCell that displays the first membership event of serie that can be collapsable. 2017-07-07 11:11:42 +02:00
manuroe
9a818ea5b3 MELS: expand them on collapsed cell tap 2017-07-07 08:36:47 +02:00
manuroe
fd76c0d506 MELS: membership events are collapsable. Collapse them by default 2017-07-06 18:21:24 +02:00
manuroe
ed8d0547c5 Merge pull request #1380 from vector-im/riot_1102
Bug Fix: Add the m.audio attachments support
2017-07-06 14:02:49 +02:00
Giom Foret
aa4694d390 Bug Fix: Add the m.audio attachments support
We support here the display of the attached audio files, but we are still not able to attach audio file.

#1102
2017-07-06 11:06:12 +02:00
manuroe
75f759db01 RoomVC: Make membership events use less screen
Fix senderInformation (avatar and displayname) for the 1st message when an user joins and talks in a row
2017-07-05 14:54:12 +02:00
manuroe
8e0bc6ef68 RoomVC: Make membership events use less screen
Use MXKRoomBubbleCellDataStoring.tag to identify membership cells
2017-07-05 09:05:23 +02:00
giomfo
3fac2a0b63 Merge pull request #1341 from aramsargsyan/read-receipts-details
Read receipts details
2017-06-30 10:33:06 +02:00
Aram Sargsyan
ea3ae98952 Merge branch 'read-receipts-details' of https://github.com/aramsargsyan/riot-ios into read-receipts-details 2017-06-29 15:05:21 +04:00
Aram Sargsyan
9bb18971f1 Handled the creation of the attributed receipt description, added in Vector.strings for translation 2017-06-29 15:05:12 +04:00
Giom Foret
6747ec692e Bug Fix - Chat screen: the message overlaps its timestamp
(related to #1361)
2017-06-28 18:51:05 +02:00
Giom Foret
d7360068fb Read Receipts Details - RoomDataSource: Add RR container in the cell content view
instead of the overlay container to not disturb tag gesture handling.

https://github.com/vector-im/riot-ios/issues/59
2017-06-27 11:05:43 +02:00
Aram Sargsyan
e688c61715 Removed the ReceiptsContainerDelegate, used didRecognizeAction: instead 2017-06-26 19:33:53 +04:00
Aram Sargsyan
f32ccaef38 Review changes 2017-06-23 16:40:09 +04:00
Aram Sargsyan
ee47992c8e Merge branch 'develop' of https://github.com/aramsargsyan/riot-ios into read-receipts-details 2017-06-22 01:58:48 +04:00
Aram Sargsyan
6243eecd5c Created ReadReceiptsViewController 2017-06-21 22:28:16 +04:00
manuroe
3787c00419 Fix: Room directory: "No public rooms available" is displayed while loading
#1336
2017-06-21 15:58:37 +02:00
Giom Foret
05d39d3893 Bug Fix - Contact search: Unexpected empty search result.
To reproduce:
1- search with "tst" pattern
2- erase the 2 last characters of the pattern to set "test" -> empty result NOK
2017-06-20 14:36:14 +02:00
Giom Foret
ec465e82c8 version ++ 2017-06-16 17:59:04 +02:00
Giom Foret
0a982f6a37 UX Rework - Home: Put the new ordering behind a setting.
Add 2 settings: Pin rooms with missed notif and pin rooms with unread messages
this will pin the rooms at the beginning of the list on your home page
2017-06-16 15:18:33 +02:00
giomfo
a483e90f6b Merge pull request #1295 from vector-im/riot_1268
Bug Fix: Home View sometimes is empty
2017-06-14 17:56:08 +02:00
Giom Foret
553e6bbd95 Bug Fix: Home View sometimes is empty
- RecentsDataSource: check configuration change before reloading the table view.

 #1268
2017-06-14 17:53:26 +02:00
Giom Foret
c9d7493593 UX-Rework - Home: Badge handling.
- Add missed notifications badge in section header.
- Improve invites display.
2017-06-14 13:58:26 +02:00
giomfo
13991c8af5 Merge pull request #1286 from vector-im/home_sort_rooms_collections
UX Rework - Home Tab: Sort the rooms collections
2017-06-14 08:56:00 +02:00
Giom Foret
f3b68580e0 Read marker: Improvement 2017-06-13 19:51:25 +02:00
Giom Foret
ecb95f8d2b UX Rework - Home Tab: Sort the rooms collections
by displaying first the rooms with some missed notifs, the rooms with unread, then the others.
2017-06-13 18:43:03 +02:00
Giom Foret
80f3a8ed8b Merge commit 'f3d65120e04dcfe49020921f0a08e949c70caa83' into read_marker 2017-06-13 17:43:55 +02:00
Giom Foret
51f0d977e5 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
e4cc9a4ec5 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
844ce6874a 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
manuroe
0d295ed641 UX rework: low priority people rooms shouldn't be displayed in the people tab 2017-06-08 16:01:24 +02:00
manuroe
6ffc328543 UX rework: low priority people rooms shouldn't be displayed in the people tab 2017-06-08 15:19:34 +02:00
manuroe
d5766c069c 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
4ab0751e56 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
71d5131837 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
Giom Foret
4974908be4 Read markers should be synchronised across clients
- Support jump to the last unread message.

vector-im/riot-meta#8
2017-06-06 10:53:17 +02:00
Giom Foret
a13ad2c270 Read markers should be synchronised across clients
- Handle read marker display
- TODO: Support jump to the last unread message.

vector-im/riot-meta#8
2017-06-01 17:20:08 +02:00
Giom Foret
2d0682ef88 Bug Fix: App crashes while the user switches the selected tab
#1233
2017-05-19 17:22:26 +02:00
Giom Foret
4203f46548 Bug Fix: Avatar with emoji is not displayed in room preview page
#1227
2017-05-19 10:12:50 +02:00
Giom Foret
5d3d74fd51 UX Rework: Add home page
- Improve filter handling
- Fix empty people section

https://github.com/vector-im/riot-meta/issues/75
2017-05-12 17:39:05 +02:00
Giom Foret
e95776bca0 UX Rework: Add home page
- reduce room avatar size
- improve badge display

https://github.com/vector-im/riot-meta/issues/75
2017-05-11 14:58:55 +02:00
Giom Foret
74a3f3e8aa UX Rework: Add home page
- Add people section
- Order favourites according to their activities

https://github.com/vector-im/riot-meta/issues/75
2017-05-11 11:51:42 +02:00
Giom Foret
0742c727f8 Prepare UX Rework - People tab:
- Hide the known contacts section when no filter is defined
2017-05-09 10:35:00 +02:00
Giom Foret
477020c6bf Remove warnings and useless methods 2017-05-09 10:03:55 +02:00
Giom Foret
220f64f8ab UX Rework: Update room sections headers display 2017-05-05 18:11:44 +02:00
Giom Foret
2d41307290 Prepare UX Rework:
- Add Home tab
2017-05-05 15:30:35 +02:00
manuroe
86506821c5 rooms: Add "Network" to the "ROOM DIRECTORY" section header 2017-05-04 09:26:02 +02:00
manuroe
84653fcab4 Merge pull request #1198 from vector-im/fix-matrix-only-rooms-names
Public rooms: BF: when selecting Matrix, it should display Matrix, no…
2017-05-03 08:14:05 +02:00
manuroe
9c9565971e Public rooms: BF: when selecting Matrix, it should display Matrix, not matrix.org 2017-05-02 16:34:18 +02:00
Giom Foret
b3d82d5192 UX rework: Add favorites rooms in Rooms tab 2017-05-02 14:59:21 +02:00
Giom Foret
a319f47057 Prepare UX rework:
- Handle the missed conversation badges for each tabBar icon.
2017-04-28 14:06:58 +02:00
Giom Foret
ecd8ffbc39 Bug Fix: Files search: display the attachment thumbnail
#1135
2017-04-27 16:55:38 +02:00
Giom Foret
2f11466ff8 Prepare UX rework:
- Display informative cell in empty sections
2017-04-26 11:10:44 +02:00
manuroe
449dd8c85c UX rework: Preload public rooms only at the !st screen display 2017-04-21 17:58:41 +02:00
manuroe
3345347df8 UX rework: Get more control on public room pagination 2017-04-21 17:58:14 +02:00
manuroe
5c1f726133 Directory server list: List user's HS directories too
List the rooms of the selected HS
2017-04-21 16:35:27 +02:00
manuroe
9ec99c4cf7 Directory server list: List user's HS directories too 2017-04-21 16:06:42 +02:00
Giom Foret
a30e13877f Bug Fix - App crashes during searching in room directory
- Add sanity check
2017-04-21 11:24:51 +02:00
manuroe
91f4873f8a UX rework: Make the UI of the directory section header
Update after PR review
2017-04-21 10:00:01 +02:00
manuroe
78eabad9ea UX rework: Make the UI of the directory section header
Show it only in RecentsDataSourceModeRooms
2017-04-21 08:53:00 +02:00
manuroe
7baac5f848 UX rework: Make the UI of the directory section header
Fix some spacing.
2017-04-21 08:37:58 +02:00
manuroe
163181db07 UX rework: Make the UI of the directory section header 2017-04-21 08:30:27 +02:00
manuroe
d5b26fdfa9 UX rework: Make the UI of the directory section header 2017-04-20 18:06:49 +02:00
manuroe
79a64ee653 UX rework: directory sticky header: Make RoomsVC able to display the DirectoryServerPickerViewController 2017-04-20 15:58:44 +02:00
manuroe
446db2ca56 UX rework: directory sticky header: list public rooms from any kind of directory server 2017-04-20 11:58:25 +02:00
giomfo
e596aff05c Merge pull request #1165 from vector-im/tab_badges
Add the badge value for Home tab bar item.
2017-04-18 16:28:37 +02:00
Giom Foret
4947224051 Add the badge value for Home tab bar item.
Fix the missed discussion count
2017-04-18 15:55:51 +02:00
Giom Foret
d25ca80bf8 Prepare UX rework:
- Handle optional sticky headers at RecentsViewController level.

TODO fix some flickering effects observed on the sticky headers during scrolling.
2017-04-14 11:49:14 +02:00
Giom Foret
30375ffd78 Prepare UX rework:
- Fix sections handling in unified search screen.
- Prepare sticky headers in RecentsViewController.
2017-04-11 17:58:59 +02:00
Giom Foret
c57d9b7d2d Create a ContactDataSource from the existing ContactsTableViewController 2017-04-11 09:36:22 +02:00
Giom Foret
0b49e69bb9 Create a ContactDataSource from the existing ContactsTableViewController 2017-04-07 16:42:16 +02:00
manuroe
c832554859 UX rework: Fix Giom's remarks 2017-04-07 15:44:29 +02:00
manuroe
7bdb131f99 UX rework: Directory section: Fix issue when there is invites
But we need to expose RecentsDataSource.directorySection. So expose all the family
2017-04-07 15:33:48 +02:00
manuroe
3744548afc UX rework: Directory section: Do inconspicuous pagination 2017-04-07 14:44:34 +02:00
manuroe
361eb2a139 UX rework: Directory section: plug publicRoomsDirectoryDataSource 2017-04-07 14:09:23 +02:00
Giom Foret
50ddff54dc Import RageShakeManager.h and RiotDesignValues.h in App Delegate header 2017-04-07 11:52:53 +02:00
Giom Foret
d9679c2988 Prepare UX rework:
- Update correctly tab bar title
- Add Invites section in the Rooms tab
2017-04-06 15:49:47 +02:00
Giom Foret
85b5899355 Merge branch 'develop' into ux_rework 2017-04-06 14:56:02 +02:00
Giom Foret
9c67c0200c Prepare UX Rework:
- Define the 4 tabs: Home, Fav, People and Rooms
2017-04-06 14:27:45 +02:00
Giom Foret
d1f45b1677 RecentsDataSource: comments 2017-04-05 16:39:32 +02:00
Giom Foret
f73ca5cd0c RecentsDataSource: Improve data handling 2017-04-05 14:08:17 +02:00
Giom Foret
8fe1526a80 RecentsDataSource: Improve data handling 2017-04-05 14:03:59 +02:00
Giom Foret
833378b7bd RecentsDataSource: Improve data handling 2017-04-05 11:26:59 +02:00
manuroe
f230aa8f00 Room summary: fix "No timestamp on last bubble" (vector-im/riot-ios#1129 - 2)
By simplifying the way how the last message cell is computed
2017-04-03 08:44:31 +02:00
manuroe
3c0ccc1a2a Merge commit '2d178343b17e1ece55d595d904aeeba87e3d9938' into room_summary 2017-03-31 15:42:11 +02:00
manuroe
e40be18306 Public rooms: Support new directory search pagination & search APIs #628
^ that was for ref. This commit improves comments.
2017-03-29 11:44:16 +02:00
manuroe
2b3db77bd6 Public rooms: Avoid the flickering of the public room cell when display search 2017-03-29 11:31:15 +02:00
manuroe
34873c80f5 Public rooms: Do not send a /publicRooms request for every keystroke. Let user finish typing 2017-03-29 10:37:53 +02:00
manuroe
eb00ba44c2 Public rooms: Do inconspicuous pagination 2017-03-29 10:02:33 +02:00
manuroe
9dc2f58ff8 Public rooms: Make search homeserver-side 2017-03-28 16:36:21 +02:00
manuroe
e2fe9df08f Room summary: MXKSessionRecentsDataSource.eventFormatter has been removed. Overide the EventFormatter by another mean 2017-03-17 16:46:44 +01:00
manuroe
d90423e78a Merge remote-tracking branch 'origin/develop' into room_summary
# Conflicts:
#	Riot/Categories/MXRoom+Riot.m
#	Riot/Model/RoomList/RecentCellData.m
2017-03-15 17:24:54 +01:00
Giom Foret
7928cd5e47 Rebranding: replace Vector by Riot everywhere in the git and github repos
- Rename categories
2017-03-09 11:50:12 +01:00
Giom Foret
61a1723069 Rebranding: replace Vector by Riot everywhere in the git and github repos
- Rename categories
2017-03-09 11:18:18 +01:00
giomfo
ae558ebbe6 Bug Fix - default room avatar for an empty room should not be your own face
Changes:
- If the room has only two members, use the avatar of the second member even if this member is invited.
- The plain solid circle (without initial) is used only for an "empty room" without display name (We name "empty room" a room in which the current user is the only active member).
2017-03-08 18:54:20 +01:00
giomfo
7860d46996 Rebranding: replace Vector by Riot everywhere in the git and github repos
- Rename VectorDesignValues with RiotDesignValues
2017-03-08 16:14:41 +01:00
giomfo
568af33fdf Rebranding: replace Vector by Riot everywhere in the git and github repos
- Rename "Vector" directory with "Riot"
2017-03-08 11:08:03 +01:00