Commit Graph

95 Commits

Author SHA1 Message Date
Gil Eluard 3ab8635344 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 84d49f1344 Merge branch 'element_4014' into element_4013
# Conflicts:
#	Riot/Modules/Room/DataSources/RoomDataSource.m
2021-03-09 13:22:13 +01:00
SBiOSoftWhare 5e724b893f Update PublicRoomsDirectoryDataSource with RiotSettings.shared.showNSFWPublicRooms value where needed. 2021-03-03 16:33:11 +01:00
Gil Eluard 5cb904d2ee 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
manuroe c27259936c MXSession: Make sure vc_canSetupSecureBackup is reusable
Put specific additional check out of this method
2020-10-01 16:46:32 +02:00
SBiOSoftWhare 1f6743f612 Remove old AppDelegate imports. 2020-08-31 19:38:06 +02:00
ismailgulek 83a29d1bee Namespace some settings 2020-08-03 16:07:39 +03:00
manuroe fbf8ed83b6 BuildSettings: Add options for Room directory 2020-07-31 15:14:26 +02:00
SBiOSoftWhare fe468c0c09 Theme: Update disclosure indicator with theme color. 2020-07-16 23:16:11 +02:00
SBiOSoftWhare ece9e77cd8 Refactor cross signing banner. 2020-06-30 21:46:10 +02:00
SBiOSoftWhare 9c66b5428b RecentsDataSource: Handle key verification setup banner. 2020-06-30 17:33:42 +02:00
SBiOSoftWhare dfb5627126 Refactoring secure backup references. 2020-06-26 14:13:37 +02:00
SBiOSoftWhare f3f1654007 Refactoring secure backup references. 2020-06-26 13:07:53 +02:00
SBiOSoftWhare 7c749a026f Fix refactoring. 2020-06-25 17:52:36 +02:00
SBiOSoftWhare 057890dd52 Fix Manu's remarks. 2020-06-25 17:31:46 +02:00
SBiOSoftWhare 2c30d7daa2 RecentsDataSource: Handle secure key backup banner display logic. 2020-06-25 16:01:32 +02:00
ismailgulek e77aceef7b Section header views adaptation to safe area insets
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 14:00:31 +03:00
Giom Foret f65b5e735e Bug Fix Key backup banner is not hidden correctly
#2899
2020-01-09 19:17:54 +01:00
SBiOSoftWhare 1371487821 Do not present key backup banner on HomeVIewController if there are no keys to backup 2019-03-05 15:35:39 +01:00
manuroe 9c806c4c6c Reskin: HomeVC: Use notices colors for badges background in section headers
#2292
2019-02-28 22:09:57 +00:00
manuroe ed3224cba0 Reskin: Text in badges should be white in dark theme
#2283
2019-02-21 13:07:37 +01:00
manuroe 5ba30e5913 Key backup: Fix crash when switching tabs if there is a banner on the home tab
This is a regression made in #2265 (Key backup: avoid to refresh the home room list on every backup state change).

On other tabs than `self.keyBackupBanner` must be reset to `KeyBackupBannerNone` so that there is no banner section.
2019-02-19 14:51:47 +01:00
manuroe 99439360d4 Key backup: avoid to refresh the home room list on every backup state change
A possible mitigation for #2265
2019-02-18 18:27:21 +01:00
manuroe 7c370e5feb Key backup: Check backup update on the homeserver
when opening the home or the settings screen in order to display the right banner and settings.
2019-02-06 17:34:16 +01:00
SBiOSoftWhare fafc09d862 Fix Manu's comments 2019-02-01 10:15:39 +01:00
SBiOSoftWhare b9c8d1501d Handle key backup recover banner display 2019-02-01 09:51:57 +01:00
SBiOSoftWhare 81d80d51fd Handle key backup setup banner display 2019-01-31 19:52:32 +01:00
manuroe 744a0b8d4f reskin: Create ThemeService.shared 2019-01-11 11:45:27 +01:00
manuroe 712a632120 reskin: Rename RiotDesignValues -> ThemeService 2019-01-11 10:46:00 +01:00
manuroe 96880a4e2c reskin: kill headerTextSecondaryColor 2019-01-10 18:10:10 +01:00
manuroe 936a26da1a reskin: kill kRiotSecondaryTextColor 2019-01-10 18:05:21 +01:00
manuroe 3518ffea04 reskin: kill kRiotPrimaryTextColor 2019-01-10 18:00:45 +01:00
manuroe 6eeeb2f8d6 reskin: kill kRiotSecondaryBgColor 2019-01-10 17:57:17 +01:00
manuroe f89848ef26 reskin: kill kRiotPrimaryBgColor 2019-01-10 17:50:26 +01:00
manuroe 2b32e32ac4 reskin: rename ColorValues to Theme 2019-01-10 15:32:59 +01:00
manuroe 6d69bfa167 reskin: ColorValues: suffix UIColor properties names with "Color" 2019-01-10 15:23:22 +01:00
manuroe af001664d0 Merge remote-tracking branch 'origin/develop' into reskin
# Conflicts:
#	Riot/Constants/RiotDesignValues.m
#	Riot/Modules/Authentication/AuthenticationViewController.m
2019-01-10 11:50:57 +01:00
manuroe a39a47a4e4 Merge remote-tracking branch 'origin/develop' into reskin 2019-01-09 16:38:49 +01:00
fridtjof 0e8c73344d make use of Obj-C's modern syntax for literals and subscripting 2019-01-08 00:24:11 +01:00
fridtjof 5f9058c043 fix almost all the warnings caused by -Wstrict-prototypes 2019-01-05 03:28:53 +01:00
manuroe d39c812d29 Reskin: Use current style color constants for section headers 2018-11-30 15:27:13 +01:00
manuroe 9c33f977c8 Recents: Recognise server notices room(s) and put them in the dedicated section
https://github.com/vector-im/riot-ios/issues/1937
2018-08-23 16:50:14 +02:00
manuroe c2faf3e7a3 MXRoomState: Apply new membership property 2018-07-17 18:00:56 +02:00
manuroe e3f204562b Make use of MXRoom.roomId and MXRoom.summary instead of MXRooms.state 2018-07-16 22:30:55 +02:00
SBiOSoftWhare c483cc4a82 Move cell data and data sources to corresponding modules. 2018-07-10 10:21:21 +02:00