Commit Graph

181 Commits

Author SHA1 Message Date
SBiOSoftWhare d07f9811e6 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 f192baf9d9 RecentsViewController: Handle RoomsDirectoryCoordinatorBridgePresenter did select room id or alias. 2021-06-14 16:13:46 +02:00
SBiOSoftWhare 847a6a88ba ShowDirectoryViewModel: Handle tap on search input cell. 2021-06-14 16:13:46 +02:00
Simon Wiedmer ddaf97797c Add check for PSTN support to dialpad 2021-06-08 13:39:28 +02:00
Simon Wiedmer 892cc7e02a Add 'Dial pad' option to plus menu on homescreen 2021-06-08 11:34:30 +02:00
Stefan Ceriu a8b0e8700e 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 06d3b265dd RecentsDataSource: Present the secure backup banner only if key backup is disabled. 2021-05-18 11:05:19 +02:00
SBiOSoftWhare 2131e10abb RecentsDataSource: Do not display secure backup banner when keys upload is in process. 2021-05-17 15:44:29 +02:00
SBiOSoftWhare c29a54daba Merge branch 'spaces_beta' into spaces_feature_unavailable 2021-05-07 12:24:01 +02:00
SBiOSoftWhare 161dad2455 SpaceFeatureUnaivableViewController: Update UI. 2021-05-06 13:31:49 +02:00
SBiOSoftWhare 7a02fd3a80 RecentsViewController: Allows to decline space invites. 2021-05-05 11:32:18 +02:00
SBiOSoftWhare 438725c64a RecentsDataSource: Hide spaces from home and room list but keep space invites. 2021-04-29 16:38:45 +02:00
SBiOSoftWhare e6d510ba2e RecentsViewController: Adverstize that spaces are not supported when tapping on a space invite. 2021-04-29 14:36:13 +02:00
Gil Eluard c4fe2f9fa7 Make joining public rooms configurable 2021-04-13 19:21:07 +02:00
Johannes Marbach f1a6ab4278 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 7c4490eade Room lists: Do not encryptedRoomIcon in the code
Let it sleep hidden in the xib
2021-03-19 09:19:02 +01:00
manuroe cb66b6971b 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 ddaa68fc1f Retrying & deleting failed messages
- Added unsent notice to tab bar room items
2021-03-11 09:01:44 +01:00
Gil Eluard 120425389f Retrying & deleting failed messages
- Update after code review
2021-03-10 22:19:04 +01:00
Gil Eluard c9f5e6cf0d 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 4a8bcbec1f Merge branch 'element_4014' into element_4013
# Conflicts:
#	Riot/Modules/Room/DataSources/RoomDataSource.m
2021-03-09 13:22:13 +01:00
Gil Eluard bb0f2819fa Retrying & deleting failed messages
- code and UI tweaks
2021-03-03 21:37:04 +01:00
SBiOSoftWhare 7a94aa4213 Update PublicRoomsDirectoryDataSource with RiotSettings.shared.showNSFWPublicRooms value where needed. 2021-03-03 16:33:11 +01:00
Gil Eluard d58f499871 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 3da61fc78b RecentsVC: Handle room directory display. HomeVC now show room directory on join room action. 2021-02-22 17:47:40 +01:00
Gil Eluard ba9f22c6b5 The Invite cell behaviour is not driven by MXRoom.isDirect property anymore 2021-02-05 10:25:27 +01:00
SBiOSoftWhare 698bd175ee Merge develop into element_3836 2020-11-30 17:54:16 +01:00
SBiOSoftWhare 0902e59fa4 Merge branch 'develop' into invites_quick_approval
# Conflicts:
#	Riot.xcodeproj/project.pbxproj
2020-11-27 14:50:04 +01:00
SBiOSoftWhare 941b57ef4a Empty screens: Implement empty view management in RecentsViewController. 2020-11-26 11:02:42 +01:00
SBiOSoftWhare f88b58ee55 Empty screens: Add RootTabEmptyView a view displayed when there is no UI item to display on a screen. 2020-11-26 10:41:29 +01:00
SBiOSoftWhare 72242fed72 HomeViewController: Integrate empty screen. 2020-11-20 14:54:02 +01:00
SBiOSoftWhare 14f992457c InviteRecentTableViewCell: Use MXRoomSummary.membershipTransitionState to calculate buttons loading state. 2020-11-19 22:38:27 +01:00
SBiOSoftWhare ad15230839 InviteRecentTableViewCell: Use "accept" as right button only for DM invite and restore "preview" action for room invite. 2020-11-17 22:40:37 +01:00
SBiOSoftWhare b58accec86 Update MXMembershipChangeState related code. 2020-11-17 21:27:57 +01:00
SBiOSoftWhare 49c55ca7ca RecentsViewController: Handle direct room invite approval. 2020-11-13 09:47:48 +01:00
ismailgulek 29b7d76606 Use the new extension where appropriate 2020-10-09 12:40:46 +03:00
manuroe baca9c78e1 MXSession: Make sure vc_canSetupSecureBackup is reusable
Put specific additional check out of this method
2020-10-01 16:46:32 +02:00
ismailgulek 8ec70bece7 Update localization keys 2020-09-28 12:51:34 +03:00
ismailgulek 2fa0bef123 Update leave strings 2020-09-24 13:00:50 +03:00
ismailgulek 7d4551c6b2 Default to the new flow 2020-09-11 16:12:12 +03:00
ismailgulek f86dcf2ce8 Go to room screen after creation 2020-09-11 15:02:24 +03:00
ismailgulek 32274da197 Retain new room creatino bridge presenter 2020-09-11 13:39:19 +03:00
ismailgulek b460ddf134 Add create room v2 to action sheet 2020-09-09 19:40:30 +03:00
SBiOSoftWhare 32a37d9041 Merge pull request #3603 from vector-im/reduce_warnings
Reduce Xcode warnings
2020-09-04 13:13:54 +02:00
SBiOSoftWhare 9e0adf7430 RecentsViewController: Remove warning. 2020-09-01 14:11:23 +02:00
SBiOSoftWhare 4995d71334 Remove old AppDelegate imports. 2020-08-31 19:38:06 +02:00
ismailgulek ca3c1b4633 Do not render swipe action images 2020-08-12 18:42:57 +03:00
ismailgulek 5dbc026d05 Namespace some settings 2020-08-03 16:07:39 +03:00
manuroe 59bf60feb8 BuildSettings: Add options for Room directory 2020-07-31 15:14:26 +02:00
ismailgulek afc46fdc03 Merge pull request #3434 from vector-im/fix_3433
Fix Crash on dequeue `CrossSigningSetupBannerCell`
2020-07-17 12:26:10 +03:00