Commit graph

174 commits

Author SHA1 Message Date
Giom Foret
fd1f5bcb26 Bug Fix - Switching network filter in room directory is ignored when searching the dir
Search is working well, but it takes time. We add "Searching..." string to improve the UX

#1579
2017-10-16 16:32:39 +02:00
Giom Foret
e4bf4f7dfa Handle the room display name and its avatar at the room summary level.
- Update the room display name and its avatar url when the Room Summary is updated on state events change (see `[session: updateRoomSummary: withStateEvents:]`).
- Store the riot display room name and its avatar url in the Room Summary.
- Add a new category `MXRoomSummary+Riot` to handle avatar display.

TODO: Increase file store version in `MXFileStore.h`.
2017-09-14 16:00:50 +02:00
Giom Foret
0ad5b737a3 Dark theme - Improvements
- some hairlines being too bright
- fading behind dialog modals being white rather than dark
- grey highlight bar in room list being too light (i think)?
2017-09-11 11:27:47 +02:00
manuroe
1f50c270c3 Jitsi widget: always accept to join ongoing jitsi conf. Only the creation is under the settings 2017-08-17 18:59:58 +02:00
manuroe
f13baec441 Merge remote-tracking branch 'origin/develop' into jitsi_widget
# Conflicts:
#	Riot.xcodeproj/project.pbxproj
2017-08-16 17:14:20 +02:00
manuroe
1e62fcadaa Jitsi widget: Create a specific [NSUserDefaults standardUserDefaults] key for useJitsiForConferenceCalls 2017-08-16 11:51:56 +02:00
Giom Foret
f7b3534960 Dark Theme - Bug Fix
Wrong sub-title color in section header after a UI theme change.
2017-08-14 20:30:16 +02:00
Giom Foret
98d2cb21d4 Dark Theme
fix App freeze when user changes the theme
2017-08-11 17:41:22 +02:00
Giom Foret
e9bc00959d Enable Dark theme
TODO:
- fix the app freeze when user changes the app theme.
2017-08-11 16:56:09 +02:00
Giom Foret
dc737d6c37 Prepare Dark theme - Handle table view cell customization 2017-08-08 16:05:43 +02:00
manuroe
094886fab1 Jitsi widget: RoomVC: Show it in the banner when there is an active jitsi conference in a room. 2017-08-04 13:47:50 +02:00
manuroe
4c409151a0 User directory: Display "Search in progress..." instead of "No results" when we are searching 2017-07-28 15:24:25 +02:00
manuroe
f4ea25ea81 User directory: Display "> nn" when the search results is limited.
Reduce the requested number of users from 100 to 50 (but the hs still returns **51** users...)
2017-07-28 15:16:25 +02:00
manuroe
9e04de4c8e User directory: kill all strings referring to known contacts 2017-07-28 15:04:28 +02:00
manuroe
736d9bb0c0 User directory: Use the new hs api (https://github.com/vector-im/riot-meta/issues/95) 2017-07-28 15:00:45 +02:00
manuroe
c0bd8ac83f MELS: For now, do not merge VoIP conference events 2017-07-17 15:59:43 +02:00
manuroe
ec701c5813 MELS: s/serie/series 2017-07-17 10:30:46 +02:00
manuroe
fd69cb5908 MELS: Simplify check condition 2017-07-17 10:17:16 +02:00
manuroe
a0031a0d00 MELS: Fix typo 2017-07-17 09:15:41 +02:00
manuroe
6a5f92eda3 MELS: Improve detection on how to configure a cell 2017-07-13 17:10:15 +02:00
manuroe
31e04ffdc9 MELS: Do not show read receipts on collapsed bubbles 2017-07-11 16:51:31 +02:00
manuroe
fcbbb8569c MELS: Fix call of bubbleCell.blurred when selected an event 2017-07-11 16:26:59 +02:00
manuroe
71ef89170c MELS: Remove attributedTextMessageBackup and let MXKRoomBubleCellDataStoring implementation display attributedTextMessage or collapsedAttributedTextMessage 2017-07-11 15:35:11 +02:00
manuroe
8fdcefec03 MXKRoomBubbleCellData: Add the hasAttributedTextMessage property to avoid to do recomputation in MXKRoomBubbleCellData.attributedTextMessage when there is no strings to compose 2017-07-11 11:47:18 +02:00
manuroe
cee4115452 MELS: Add RoomMembershipCollapsedWithPaginationTitleBubbleCell 2017-07-10 14:30:53 +02:00
manuroe
d2d31532a9 MELS: Do not expand cell with single membership event 2017-07-07 17:46:37 +02:00
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