Commit Graph

287 Commits

Author SHA1 Message Date
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 06385415fd BetaAnnounceCell: Update close button. 2021-05-06 15:46:06 +02:00
SBiOSoftWhare 161dad2455 SpaceFeatureUnaivableViewController: Update UI. 2021-05-06 13:31:49 +02:00
SBiOSoftWhare 404a57b369 CloseButton: Update UI. 2021-05-06 12:07:20 +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
ismailgulek 94314a07df Merge branch 'voip_2746' into voip_dialpad 2021-02-10 00:38:23 +03:00
Gil Eluard ba9f22c6b5 The Invite cell behaviour is not driven by MXRoom.isDirect property anymore 2021-02-05 10:25:27 +01:00
ismailgulek 6128a96805 Merge branch 'voip_2746' into voip_dialpad
# Conflicts:
#	Riot.xcodeproj/project.pbxproj
2021-01-20 16:25:36 +03:00
Gil Eluard 99602bf612 Prevent navigation controller from pushing same view controller 2021-01-14 10:57:12 +01:00
ismailgulek 8ad6038d63 Fix warnings, pass properties to new instance 2021-01-13 22:28:22 +03:00
ismailgulek 8f1836564a Implement dialpad view controller 2021-01-13 21:51:47 +03:00
SBiOSoftWhare abc1f285fb Add CustomRoundedButton: Button to customized from the outside. 2021-01-11 18:22:43 +01:00
SBiOSoftWhare 267d91245a Add SourceImage that represents a local or remote image. 2020-12-18 18:44:08 +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
SBiOSoftWhare 658803358d Merge pull request #3690 from vector-im/settings_security_modularity
SecurityViewController: Makes table content easier to customize
2020-09-28 17:47:37 +02:00
SBiOSoftWhare 374e2b5924 Update Riot/Modules/Common/Models/Section.swift
Co-authored-by: ismailgulek <ismailgulek@users.noreply.github.com>
2020-09-28 16:10:37 +02:00
SBiOSoftWhare d10115c827 Section: Add a convenient method to add an amount of rows. 2020-09-28 14:23:39 +02:00
ismailgulek 8ec70bece7 Update localization keys 2020-09-28 12:51:34 +03:00
ismailgulek 3321d8ccfb Merge branch 'develop' into wording_for_dm 2020-09-25 11:59:51 +03:00
ismailgulek 6f2f1e5fde Merge branch 'develop' into convert_to_coordinators
# Conflicts:
#	CHANGES.rst
2020-09-24 14:13:53 +03:00
ismailgulek 2fa0bef123 Update leave strings 2020-09-24 13:00:50 +03:00
SBiOSoftWhare e878ed475e Merge branch 'develop' into convert_to_coordinators
# Conflicts:
#	CHANGES.rst
#	Riot/Modules/TabBar/MasterTabBarController.h
#	Riot/Modules/TabBar/MasterTabBarController.m
2020-09-24 11:37:24 +02:00
ismailgulek 4c161752c4 Stop using a cell for basic info, remove unneccessary GroupedTableViewCell 2020-09-23 13:35:34 +03:00
ismailgulek 89a2c278cd Rename TableViewHeaderFooterView 2020-09-23 11:48:26 +03:00