Commit graph

215 commits

Author SHA1 Message Date
manuroe
b88d15242d 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
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
Gil Eluard
cde3bf64e6 Retrying & deleting failed messages
- code and UI tweaks
2021-03-03 21:37:04 +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
SBiOSoftWhare
c63256ad10 RecentsVC: Handle room directory display. HomeVC now show room directory on join room action. 2021-02-22 17:47:40 +01:00
Gil Eluard
771515aaed The Invite cell behaviour is not driven by MXRoom.isDirect property anymore 2021-02-05 10:25:27 +01:00
SBiOSoftWhare
ae43baff30 Merge develop into element_3836 2020-11-30 17:54:16 +01:00
SBiOSoftWhare
9d7ff0544d Merge branch 'develop' into invites_quick_approval
# Conflicts:
#	Riot.xcodeproj/project.pbxproj
2020-11-27 14:50:04 +01:00
SBiOSoftWhare
002c275b54 Empty screens: Implement empty view management in RecentsViewController. 2020-11-26 11:02:42 +01:00
SBiOSoftWhare
ba8f84bab9 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
a9cd4e173b HomeViewController: Integrate empty screen. 2020-11-20 14:54:02 +01:00
SBiOSoftWhare
b65a8459de InviteRecentTableViewCell: Use MXRoomSummary.membershipTransitionState to calculate buttons loading state. 2020-11-19 22:38:27 +01:00
SBiOSoftWhare
7c02cbf1ee 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
88f90d8746 Update MXMembershipChangeState related code. 2020-11-17 21:27:57 +01:00
SBiOSoftWhare
1d29988eaf RecentsViewController: Handle direct room invite approval. 2020-11-13 09:47:48 +01:00
ismailgulek
95a987d2f8 Use the new extension where appropriate 2020-10-09 12:40:46 +03: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
ismailgulek
7ed79429c3 Update localization keys 2020-09-28 12:51:34 +03:00
ismailgulek
a665d2119e Update leave strings 2020-09-24 13:00:50 +03:00
ismailgulek
c08ee003d5 Default to the new flow 2020-09-11 16:12:12 +03:00
ismailgulek
091ea58d72 Go to room screen after creation 2020-09-11 15:02:24 +03:00
ismailgulek
500a80d0d0 Retain new room creatino bridge presenter 2020-09-11 13:39:19 +03:00
ismailgulek
52f1d62bf3 Add create room v2 to action sheet 2020-09-09 19:40:30 +03:00
SBiOSoftWhare
1e6b0da7ca
Merge pull request #3603 from vector-im/reduce_warnings
Reduce Xcode warnings
2020-09-04 13:13:54 +02:00
SBiOSoftWhare
82d73b39f9 RecentsViewController: Remove warning. 2020-09-01 14:11:23 +02:00
SBiOSoftWhare
be0ceb1759 Remove old AppDelegate imports. 2020-08-31 19:38:06 +02:00
ismailgulek
933a9484b1 Do not render swipe action images 2020-08-12 18:42:57 +03: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
ismailgulek
c38010c40f
Merge pull request #3434 from vector-im/fix_3433
Fix Crash on dequeue `CrossSigningSetupBannerCell`
2020-07-17 12:26:10 +03:00
ismailgulek
e1c2dcb550
Move cell registrations to superclass, so other children can dequeue it 2020-07-17 11:57:55 +03:00
SBiOSoftWhare
a504a8f8be Theme: Update disclosure indicator with theme color. 2020-07-16 23:16:11 +02:00
SBiOSoftWhare
bc6192ff40 Tab bar root view controllers now use the same floating button. 2020-07-10 15:23:50 +02:00
SBiOSoftWhare
bf99f6f5cc RoomsViewController: Update room actions colors. 2020-07-08 23:59:29 +02:00
SBiOSoftWhare
26823284da RoomsVC: Update swipe actions for iOS 11+ and use new icons. 2020-07-07 02:30:51 +02:00
ismailgulek
387cfb7787
Merge branch 'develop' into xcode11
# Conflicts:
#	CHANGES.rst
#	Gemfile.lock
#	Riot.xcodeproj/project.pbxproj
#	Riot/SupportingFiles/Info.plist
#	RiotShareExtension/SupportingFiles/Info.plist
#	SiriIntents/Info.plist
2020-07-01 09:59:29 +03: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
ismailgulek
ed9750e53f
Merge branch 'develop' into xcode11
# Conflicts:
#	CHANGES.rst
#	Riot.xcodeproj/project.pbxproj
2020-06-26 17:33:09 +03: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
95767ba452 Override preferredStatusBarStyle for missing pages and ensure setNeedsStatusBarAppearanceUpdate will be called
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 12:10:27 +03:00
ismailgulek
c5d8034518
Fix RecentsViewController after rebase again
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 14:51:00 +03: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
ismailgulek
42590b3ba8
RecentsViewController plus button respect to safe area
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 13:58:35 +03:00
ismailgulek
c7fe30d194
RecentsViewController safe area insets
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 13:53:12 +03:00
ismailgulek
9a2bdef0f2
RecentsViewController searchBar safe area insets, fixes #3070
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 13:53:12 +03:00
ismailgulek
ac3f3b2aa4
RecentsViewController safe area insets 2020-04-22 13:53:11 +03:00
giomfo
5cd59cb430
Merge branch 'develop' into giomfo/bugfix2899 2020-04-13 14:53:31 +02:00
manuroe
fb97b498c6 Room decoration: Make shields bigger 2020-01-31 16:20:28 +01:00
manuroe
c70452661a Room decoration: Use shields instead of padlocks
#2906
2020-01-31 14:59:54 +01:00
Giom Foret
e6c1f9a949 Bug Fix Key backup banner is not hidden correctly
#2899
2020-01-09 19:17:54 +01:00
SBiOSoftWhare
a1c5d219bc Fix code formatting in RecentsViewController. 2019-10-18 15:38:01 +02:00
SBiOSoftWhare
4b4f590323 Room cell: Fix states of direct chat and favorite buttons in the menu (Fix #2788). 2019-10-18 15:12:13 +02:00
manuroe
87b1e15f36 Join Room: Support via parameters to better handle federation
#2547
2019-07-08 11:15:44 +02:00
SBiOSoftWhare
3e430e7b45 Fix room details navigation from rooms list. 2019-04-29 14:24:20 +02:00
SBiOSoftWhare
24d7c087fb Remove check for +[UIFont systemFontOfSize:weight:] availability. 2019-04-25 12:27:31 +02:00
SBiOSoftWhare
afedb617ec Use one external entry point on AppDelegate to navigate to a room 2019-04-08 13:32:46 +02: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
b9df55535f
Merge pull request #2221 from fridtjof/deprecations/percent_encoding
Take care of percent encoding related deprecations
2019-02-20 15:06:11 +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
fridtjof
e138dd8d2c
use the Matrix SDK's method for percent encoding 2019-02-18 15:31:55 +01:00
SBiOSoftWhare
f4aa2e66b4 Apply new lineBreakColor where needed 2019-02-18 12:53:13 +01:00
manuroe
338fa64bd4 Reskin: Use same color names as in https://app.zeplin.io/project/5c122fa790c5b4241ffa6be7/screen/5c619592daff2f1241d82e75 2019-02-12 19:06:22 +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
fridtjof
d14d472b60
take care of percent encoding related deprecations 2019-02-04 21:22:43 +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
fef9d5f84d reskin: Use unreadRoomIndentColor
#2174
2019-01-23 12:43:53 +01:00
manuroe
ac1cab56e4 BF: Ban and kick reasons are silently discarded
#2162

Fix Steve's remark everywhere we do `[self->currentAlert textFields].firstObject.text`
2019-01-23 11:01:53 +01:00
manuroe
c61144cf78 reskin: Theme: rename colors as it is in the palette now 2019-01-11 13:13:31 +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
bfa3eccacf reskin: kill last customisable kRiotXColors 2019-01-10 18:47:49 +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
91e20b59a5 reskin: remove bar style ivars from RiotDesignValues 2019-01-10 17:08:32 +01:00
manuroe
5cf4eb0bdc reskin: Delegate navigation and search bars styling to theme 2019-01-10 16:43:03 +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
manuroe
d7c3eef632 Merge remote-tracking branch 'origin/develop' into reskin 2019-01-09 16:38:49 +01:00
fridtjof
c7fbca7698
make use of Obj-C's modern syntax for literals and subscripting 2019-01-08 00:24:11 +01:00
fridtjof
8291c99542
fix almost all the warnings caused by -Wstrict-prototypes 2019-01-05 03:28:53 +01:00
manuroe
a50c9f55b1 Reskin: Kill kRiotColorGreen and use RiotDesignValues.colorValues.accent instead 2018-11-30 17:10:28 +01:00
manuroe
ac08e7670a Reskin: Change the 2 notifications colors 2018-11-30 16:36:34 +01:00
manuroe
6b1e5c6086 Reskin:Create [RiotDesignValues applyStyleOnSearchBar:] and use it 2018-11-30 15:57:19 +01:00
manuroe
1ec4c702d3 Reskin: Use current style color constants for section headers 2018-11-30 15:27:13 +01:00
manuroe
6f98822179 Reskin: Use the new [RiotDesignValues applyStyleOnNavigationBar:] method everywhere
Note that we do not change anymore the bar tint color when changing tabs. This is alwasy the same.
2018-11-29 17:31:41 +01:00
manuroe
e129e37fa4 Make code use the "Empty room" i18n string from MatrixKit 2018-09-20 11:05:46 +02:00
SBiOSoftWhare
402cadf579 Fix interaction disabled on RecentsViewController when presenting a room. 2018-08-27 17:15:33 +02:00
manuroe
ce791def2c Recents: Avoid to open a room twice
It crashed on room creation on quick HSes
2018-08-24 14:45:12 +02:00
manuroe
402c02be24 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
3668435d6f BF: Multiple rooms can be opened
Update following Steve's comment
2018-08-10 11:06:25 +02:00
manuroe
e28fddda63 BF: Multiple rooms can be opened
#1967
2018-08-10 10:15:02 +02:00
manuroe
b79b1b0c38 MXRoomState: Apply new membership property 2018-07-17 18:00:56 +02:00
manuroe
b64b5767fb Make use of MXRoom.roomId and MXRoom.summary instead of MXRooms.state 2018-07-16 22:30:55 +02:00
SBiOSoftWhare
0e3ee5a5c8 Fix image references in xib and storyboards by removing .png suffix 2018-07-10 17:16:26 +02:00
SBiOSoftWhare
c377f5f739 Move cell data and data sources to corresponding modules. 2018-07-10 10:21:21 +02:00
SBiOSoftWhare
421e8bc84b Organize views by feature 2018-07-10 10:21:20 +02:00
SBiOSoftWhare
3f3c4f471b Structure project almost by features. Start by organizing view controllers. 2018-07-10 10:21:20 +02:00