Commit graph

58 commits

Author SHA1 Message Date
SBiOSoftWhare
892f6d7718 RecentsDataSource: Factorize section reset management and do not make it in refreshRoomsSection method. 2021-07-23 10:42:08 +02:00
Doug
7ae3953167 Remove uninitialised header views. 2021-07-07 15:05:40 +01:00
Doug
ce88d3b7e2 Remove custom section header for room directory from RecentsDataSource. 2021-07-07 14:31:52 +01:00
Doug
b5c3cbe93e Don't include directorySection in RecentsDataSource when in RecentsDataSourceModeRooms mode. 2021-07-07 11:48:23 +01:00
ismailgulek
787571ba86
Hide invited rooms in recents if auto-accept option enabled 2021-06-21 14:51:09 +03:00
manuroe
848f0cedf8
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
ddd1a852be Room lists: Avoid app freezes by building them on a separated thread
#3777
2021-06-18 15:49:20 +02:00
Stefan Ceriu
f7a8163947
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
ab6e68614b RecentsDataSource: Present the secure backup banner only if key backup is disabled. 2021-05-18 11:05:19 +02:00
SBiOSoftWhare
bb3620135d RecentsDataSource: Do not display secure backup banner when keys upload is in process. 2021-05-17 15:44:29 +02:00
SBiOSoftWhare
f04105af88 RecentsDataSource: Hide spaces from home and room list but keep space invites. 2021-04-29 16:38:45 +02:00
Gil Eluard
522d6a3eee Retrying & deleting failed messages
- Added unsent notice to tab bar room items
2021-03-11 09:01:44 +01:00
Gil Eluard
877356138b Retrying & deleting failed messages
- Update after code review
2021-03-10 22:19:04 +01:00
Gil Eluard
986a8a8bb0
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
d0e0dc856e Merge branch 'element_4014' into element_4013
# Conflicts:
#	Riot/Modules/Room/DataSources/RoomDataSource.m
2021-03-09 13:22:13 +01:00
SBiOSoftWhare
3a0d133cd0 Update PublicRoomsDirectoryDataSource with RiotSettings.shared.showNSFWPublicRooms value where needed. 2021-03-03 16:33:11 +01:00
Gil Eluard
9a41f0d4b8 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
0c036e4cc2 MXSession: Make sure vc_canSetupSecureBackup is reusable
Put specific additional check out of this method
2020-10-01 16:46:32 +02:00
SBiOSoftWhare
be0ceb1759 Remove old AppDelegate imports. 2020-08-31 19:38:06 +02:00
ismailgulek
d3c539d59e
Namespace some settings 2020-08-03 16:07:39 +03:00
manuroe
b7db285704 BuildSettings: Add options for Room directory 2020-07-31 15:14:26 +02:00
SBiOSoftWhare
a504a8f8be Theme: Update disclosure indicator with theme color. 2020-07-16 23:16:11 +02:00
SBiOSoftWhare
4bac9f1e9c Refactor cross signing banner. 2020-06-30 21:46:10 +02:00
SBiOSoftWhare
8d5e809633 RecentsDataSource: Handle key verification setup banner. 2020-06-30 17:33:42 +02:00
SBiOSoftWhare
77b726189b Refactoring secure backup references. 2020-06-26 14:13:37 +02:00
SBiOSoftWhare
123faa56ac Refactoring secure backup references. 2020-06-26 13:07:53 +02:00
SBiOSoftWhare
c625ea42af Fix refactoring. 2020-06-25 17:52:36 +02:00
SBiOSoftWhare
d7dbd13cf8 Fix Manu's remarks. 2020-06-25 17:31:46 +02:00
SBiOSoftWhare
de1efde09e RecentsDataSource: Handle secure key backup banner display logic. 2020-06-25 16:01:32 +02:00
ismailgulek
a50358f9bb
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
e6c1f9a949 Bug Fix Key backup banner is not hidden correctly
#2899
2020-01-09 19:17:54 +01:00
SBiOSoftWhare
5ff2eb8f8d Do not present key backup banner on HomeVIewController if there are no keys to backup 2019-03-05 15:35:39 +01:00
manuroe
670952c8e9 Reskin: HomeVC: Use notices colors for badges background in section headers
#2292
2019-02-28 22:09:57 +00:00
manuroe
95f3c07b54 Reskin: Text in badges should be white in dark theme
#2283
2019-02-21 13:07:37 +01:00
manuroe
e49e576c7a 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
7ff02a0e5e 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
848ffe2bf7 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
a83432d98f Fix Manu's comments 2019-02-01 10:15:39 +01:00
SBiOSoftWhare
d8a86c6e2e Handle key backup recover banner display 2019-02-01 09:51:57 +01:00
SBiOSoftWhare
873c332b37 Handle key backup setup banner display 2019-01-31 19:52:32 +01:00
manuroe
744208ae25 reskin: Create ThemeService.shared 2019-01-11 11:45:27 +01:00
manuroe
b3b6e2c80c reskin: Rename RiotDesignValues -> ThemeService 2019-01-11 10:46:00 +01:00
manuroe
19ebc9317b reskin: kill headerTextSecondaryColor 2019-01-10 18:10:10 +01:00
manuroe
dfecc403ec reskin: kill kRiotSecondaryTextColor 2019-01-10 18:05:21 +01:00
manuroe
52869d8c05 reskin: kill kRiotPrimaryTextColor 2019-01-10 18:00:45 +01:00
manuroe
39ffac13b1 reskin: kill kRiotSecondaryBgColor 2019-01-10 17:57:17 +01:00
manuroe
21a9a7c9f3 reskin: kill kRiotPrimaryBgColor 2019-01-10 17:50:26 +01:00
manuroe
eca85776a1 reskin: rename ColorValues to Theme 2019-01-10 15:32:59 +01:00
manuroe
6f30f88b03 reskin: ColorValues: suffix UIColor properties names with "Color" 2019-01-10 15:23:22 +01:00
manuroe
cecba319cf 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