Commit Graph

514 Commits

Author SHA1 Message Date
Doug 547955bba8 Merge branch 'develop' into doug/4521_remove_directory_from_rooms_tab 2021-07-22 14:37:25 +01:00
Gil Eluard 18bc5f1b63 [Spaces] Show spaces in left panel #4509
- Display the none hierarchical list of spaces in the left panel
- Space switching when new space selected
- Refresh space list and recents data after sync
2021-07-15 14:10:01 +02:00
Doug 9eea959032 Merge branch 'develop' into doug/fix_warnings
# Conflicts:
#	Riot/Modules/Room/RoomInfo/RoomInfoList/RoomInfoListViewController.swift
2021-07-12 17:54:34 +01:00
langleyd 33ddec46d2 Fix logging, add "Notify me for" label, fix theme on avatar and add changes 2021-07-08 20:54:32 +01:00
Doug 3340f3bd72 Remove uninitialised header views. 2021-07-07 15:05:40 +01:00
Doug c2c53fab15 Remove custom section header for room directory from RecentsDataSource. 2021-07-07 14:31:52 +01:00
Doug f9f3dad1fa Don't include directorySection in RecentsDataSource when in RecentsDataSourceModeRooms mode. 2021-07-07 11:48:23 +01:00
langleyd d2a0a35e7c Merge branch 'develop' of github.com:vector-im/element-ios into roomNotificationSettings 2021-07-06 19:51:17 +01:00
langleyd 6a8c64ea5a Keep old mute behaviour enabled on slide menu and long press when new build setting is not enabled. 2021-07-06 11:59:54 +01:00
langleyd dd3cab44e2 spacing and cleanup dead code 2021-07-05 16:49:06 +01:00
langleyd 6a48bacd36 Add entry points at long press on home view and slide on recents. 2021-07-02 20:19:46 +01:00
Doug 6575447f51 Fix documentation warnings. 2021-07-02 16:46:27 +01:00
SBiOSoftWhare b06e6c49e9 AvatarView: Update AvatarViewDataProtocol, add possibility to set a defaut image. 2021-06-30 23:25:15 +02:00
ismailgulek ca40e8d0c7 Hide invited rooms in recents if auto-accept option enabled 2021-06-21 14:51:09 +03:00
manuroe a27a4d235f Update Riot/Modules/Common/Recents/DataSources/RecentsDataSource.m
Co-authored-by: ismailgulek <ismailgulek@users.noreply.github.com>
2021-06-18 16:34:38 +02:00
manuroe dbe56829f1 Room lists: Avoid app freezes by building them on a separated thread
#3777
2021-06-18 15:49:20 +02:00
SBiOSoftWhare 6f568ab19c RecentsViewController: Improve room management when select a room id or alias from directory. 2021-06-16 11:22:29 +02:00
SBiOSoftWhare 32dddc0ce7 RecentsViewController: Try to open a room preview when select a room id or alias from directory. 2021-06-15 16:17:43 +02:00
SBiOSoftWhare 53bf4e75e6 RecentsViewController: Handle RoomsDirectoryCoordinatorBridgePresenter did select room id or alias. 2021-06-14 16:13:46 +02:00
SBiOSoftWhare 3dafa93705 ShowDirectoryViewModel: Handle tap on search input cell. 2021-06-14 16:13:46 +02:00
simonwiedmer 9cceaeb66a Merge branch 'develop' into dial_pad_home 2021-06-09 11:21:03 +02:00
SBiOSoftWhare 1ecffcdebb AvatarView: Advertize on subclassing necessity. 2021-06-08 17:49:11 +02:00
Simon Wiedmer a53355c211 Add check for PSTN support to dialpad 2021-06-08 13:39:28 +02:00
Simon Wiedmer 53a88d425c Add 'Dial pad' option to plus menu on homescreen 2021-06-08 11:34:30 +02:00
SBiOSoftWhare da86c29768 Add AlertPresentable that absracts an alert presenter. 2021-06-07 18:46:16 +02:00
SBiOSoftWhare 71af441ab3 Create AvatarView: Base class to support an avatar view. 2021-06-07 18:46:16 +02:00
Stefan Ceriu b00d07ffca Adopt consolidated logging mechanism (#4370)
* Adopted the new MXLog and replaced NSLog throughout the application - vector-im/element-ios/issues/4351
* Replaced NSLog() and print() usages with MXLog.debug()
* Added swiftlint rules for NSLog(), print(), println() and os_log()
* Escape paths used to run script build phases for swiftlint and swiftgen
2021-06-03 11:30:07 +03:00
SBiOSoftWhare 1a6a533189 RecentsDataSource: Present the secure backup banner only if key backup is disabled. 2021-05-18 11:05:19 +02:00
SBiOSoftWhare 9ade0261f4 RecentsDataSource: Do not display secure backup banner when keys upload is in process. 2021-05-17 15:44:29 +02:00
SBiOSoftWhare bd2644a0e2 Merge branch 'spaces_beta' into spaces_feature_unavailable 2021-05-07 12:24:01 +02:00
SBiOSoftWhare c9f9764a95 BetaAnnounceCell: Update close button. 2021-05-06 15:46:06 +02:00
SBiOSoftWhare ba549d15ff SpaceFeatureUnaivableViewController: Update UI. 2021-05-06 13:31:49 +02:00
SBiOSoftWhare 22ee7e35d0 CloseButton: Update UI. 2021-05-06 12:07:20 +02:00
SBiOSoftWhare 0fd608619b RecentsViewController: Allows to decline space invites. 2021-05-05 11:32:18 +02:00
SBiOSoftWhare e9287782cf RecentsDataSource: Hide spaces from home and room list but keep space invites. 2021-04-29 16:38:45 +02:00
SBiOSoftWhare 7cc9e185b8 RecentsViewController: Adverstize that spaces are not supported when tapping on a space invite. 2021-04-29 14:36:13 +02:00
Gil Eluard 954b1cdf2e Make joining public rooms configurable 2021-04-13 19:21:07 +02:00
Johannes Marbach fe8ef21659 Fix memory leak in [RecentsDataSource dataSource:didStateChange:]
The block passed into `[MXSession listenToEventsOfTypes:onEvent:]` is stored with a strong
reference in the `listenerBlock` property of `MXSessionEventListener`. The method also
returns the listener and it is then stored into the `roomTagsListenerByUserId` dictionary
on `self`. Since a strong reference to `self` is captured in the block that means the block
retains `self` (via the capture) and `self` retains the block (via `roomTagsListenerByUserId`)
so there is a memory leak.

The bug is most easily reproduced during testing #4168 which involves closing the current
and creating a new session.

Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
2021-04-08 20:54:03 +02:00
manuroe 7d6ef07d5f Room lists: Do not encryptedRoomIcon in the code
Let it sleep hidden in the xib
2021-03-19 09:19:02 +01:00
manuroe c128a81792 Room lists: Remove shields on room avatars
#4115

but keep it in the room screen
2021-03-17 15:32:01 +01:00
Gil Eluard d625a4405a Retrying & deleting failed messages
- Added unsent notice to tab bar room items
2021-03-11 09:01:44 +01:00
Gil Eluard b7bf281c57 Retrying & deleting failed messages
- Update after code review
2021-03-10 22:19:04 +01:00
Gil Eluard b3b10d1a4d Update Riot/Modules/Common/Recents/DataSources/RecentsDataSource.m
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2021-03-10 21:31:24 +01:00
Gil Eluard 5014af92d3 Merge branch 'element_4014' into element_4013
# Conflicts:
#	Riot/Modules/Room/DataSources/RoomDataSource.m
2021-03-09 13:22:13 +01:00
Gil Eluard ebf94c781f Retrying & deleting failed messages
- code and UI tweaks
2021-03-03 21:37:04 +01:00
SBiOSoftWhare e74d61b68a Update PublicRoomsDirectoryDataSource with RiotSettings.shared.showNSFWPublicRooms value where needed. 2021-03-03 16:33:11 +01:00
Gil Eluard bcb1682a11 Retrying & deleting failed messages
- Display an exclamation mark (on a red background). In case of a multi-line message
- When a message with an error is selected, show a bottom bar with the 4 following actions: Retry - Delete - Edit - Copy
- If users press on Delete, a confirmation dialog is displayed
- When error messages occur, a general error message appears above the composer. Selecting Delete will delete all error messages. Pressing on Retry will attempt to resend error messages
- If users press on Delete, a confirmation dialog is displayed
- In room lists, decorate rooms with errored messages with the error icon. Rooms with errors should be sorted first
2021-03-02 21:56:50 +01:00
SBiOSoftWhare 93c6b93ab5 RecentsVC: Handle room directory display. HomeVC now show room directory on join room action. 2021-02-22 17:47:40 +01:00
ismailgulek 690afd773d Merge branch 'voip_2746' into voip_dialpad 2021-02-10 00:38:23 +03:00
Gil Eluard b77b2410ea The Invite cell behaviour is not driven by MXRoom.isDirect property anymore 2021-02-05 10:25:27 +01:00