Commit Graph

54 Commits

Author SHA1 Message Date
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
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 e9287782cf RecentsDataSource: Hide spaces from home and room list but keep space invites. 2021-04-29 16:38:45 +02: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
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
manuroe 9b61ac5d78 MXSession: Make sure vc_canSetupSecureBackup is reusable
Put specific additional check out of this method
2020-10-01 16:46:32 +02:00
SBiOSoftWhare bc6306bda9 Remove old AppDelegate imports. 2020-08-31 19:38:06 +02:00
ismailgulek 704f09e65b Namespace some settings 2020-08-03 16:07:39 +03:00
manuroe e6e04e131c BuildSettings: Add options for Room directory 2020-07-31 15:14:26 +02:00
SBiOSoftWhare 832f1d219c Theme: Update disclosure indicator with theme color. 2020-07-16 23:16:11 +02:00
SBiOSoftWhare e4938d088c Refactor cross signing banner. 2020-06-30 21:46:10 +02:00
SBiOSoftWhare 3522c817c6 RecentsDataSource: Handle key verification setup banner. 2020-06-30 17:33:42 +02:00
SBiOSoftWhare 40f7a5f9f3 Refactoring secure backup references. 2020-06-26 14:13:37 +02:00
SBiOSoftWhare 17c5cdf06e Refactoring secure backup references. 2020-06-26 13:07:53 +02:00
SBiOSoftWhare 808de8b15c Fix refactoring. 2020-06-25 17:52:36 +02:00
SBiOSoftWhare 6ab80012f8 Fix Manu's remarks. 2020-06-25 17:31:46 +02:00
SBiOSoftWhare daafc53482 RecentsDataSource: Handle secure key backup banner display logic. 2020-06-25 16:01:32 +02:00
ismailgulek 483b35fcf5 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 70d9d0d378 Bug Fix Key backup banner is not hidden correctly
#2899
2020-01-09 19:17:54 +01:00
SBiOSoftWhare 0fdd3fc90b Do not present key backup banner on HomeVIewController if there are no keys to backup 2019-03-05 15:35:39 +01:00
manuroe 1b150fcaac Reskin: HomeVC: Use notices colors for badges background in section headers
#2292
2019-02-28 22:09:57 +00:00
manuroe 16d0fbeadb Reskin: Text in badges should be white in dark theme
#2283
2019-02-21 13:07:37 +01:00
manuroe 234d48dac6 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 589b4ad33f 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 87b349a94e 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 a79d4db2d4 Fix Manu's comments 2019-02-01 10:15:39 +01:00
SBiOSoftWhare 1885afb68f Handle key backup recover banner display 2019-02-01 09:51:57 +01:00
SBiOSoftWhare a7052bd7ce Handle key backup setup banner display 2019-01-31 19:52:32 +01:00
manuroe bed6b151cb reskin: Create ThemeService.shared 2019-01-11 11:45:27 +01:00
manuroe d94284a100 reskin: Rename RiotDesignValues -> ThemeService 2019-01-11 10:46:00 +01:00
manuroe 5c3c5f0f67 reskin: kill headerTextSecondaryColor 2019-01-10 18:10:10 +01:00
manuroe b7de21c61c reskin: kill kRiotSecondaryTextColor 2019-01-10 18:05:21 +01:00
manuroe 469a0b7031 reskin: kill kRiotPrimaryTextColor 2019-01-10 18:00:45 +01:00
manuroe cb5e03af4a reskin: kill kRiotSecondaryBgColor 2019-01-10 17:57:17 +01:00
manuroe cc250b79b8 reskin: kill kRiotPrimaryBgColor 2019-01-10 17:50:26 +01:00
manuroe de0f5522ff reskin: rename ColorValues to Theme 2019-01-10 15:32:59 +01:00
manuroe a7fa1134cc reskin: ColorValues: suffix UIColor properties names with "Color" 2019-01-10 15:23:22 +01:00
manuroe 802e8d49bc 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 50f5d9b99b Merge remote-tracking branch 'origin/develop' into reskin 2019-01-09 16:38:49 +01:00
fridtjof a310741536 make use of Obj-C's modern syntax for literals and subscripting 2019-01-08 00:24:11 +01:00
fridtjof b834c69fae fix almost all the warnings caused by -Wstrict-prototypes 2019-01-05 03:28:53 +01:00
manuroe b7e8c97efc Reskin: Use current style color constants for section headers 2018-11-30 15:27:13 +01:00