Commit graph

342 commits

Author SHA1 Message Date
SBiOSoftWhare
a612150df3 Fix header tint color issue in SegmentedViewController. Fix #2260. 2019-02-18 15:31:56 +01:00
fridtjof
e138dd8d2c
use the Matrix SDK's method for percent encoding 2019-02-18 15:31:55 +01:00
SBiOSoftWhare
3d675245db
Merge pull request #2262 from vector-im/reskin_linebreakcolor
Reskin: Apply theme line break color
2019-02-18 13:50:06 +01:00
SBiOSoftWhare
f4aa2e66b4 Apply new lineBreakColor where needed 2019-02-18 12:53:13 +01:00
manuroe
f2424f3f2a Reskin: Fix navigation bar background after accepting an invite 2019-02-18 10:59:57 +01:00
manuroe
992ebcdbff Reskin: Fix text color in room preview 2019-02-18 10:59:36 +01:00
SBiOSoftWhare
e73e050fd0
Merge pull request #2255 from vector-im/export_keys
Key backup: Handle manual key export in key backup setup intro screen
2019-02-15 19:22:38 +01:00
SBiOSoftWhare
28f9025c4c Update KeyBackupSetupCoordinator to handle coming from sign out info 2019-02-15 19:06:08 +01:00
SBiOSoftWhare
b3a523da05 Handle manual export in key backup setup intro screen 2019-02-15 19:04:54 +01:00
SBiOSoftWhare
76cb151be6 Create encryption keys export presenter 2019-02-15 19:04:03 +01:00
manuroe
5044dc6e2e BF: Reskin: Sometimes the roomVC navigation bar is tranparent
#2252
2019-02-15 15:21:33 +01:00
manuroe
8701de43dd Fix: Jump to first unread message doesn't show up
#2218
2019-02-15 13:45:09 +01:00
SBiOSoftWhare
bcbb2f00d6 Fix sign out warning presentation on iPad 2019-02-15 12:42:07 +01:00
manuroe
84ec248a3e
Merge pull request #2246 from vector-im/settings_backup_update_copy
Backup settings: Update wording and rendering to match riot-web
2019-02-14 19:18:56 +01:00
SBiOSoftWhare
2897c03382
Merge pull request #2245 from vector-im/riot_2195
Key backup: logout warning
2019-02-14 18:52:50 +01:00
SBiOSoftWhare
dfa6be548f Update SignOutAlertPresenter to handle backup in progress case 2019-02-14 18:06:37 +01:00
manuroe
d144db8ad7 Backup settings: Update wording and rendering to match riot-web
Verify button has been removed and replaced by "Use key backup", which makes a restore, because we trust on decrypt now.
2019-02-14 17:47:59 +01:00
manuroe
d3423c7b51 Key recovery: Trust on decrypt
Fixed Steve's comments
2019-02-14 17:30:53 +01:00
manuroe
f2ed385630 Key recovery: Trust on decrypt
Fixed Steve's comments
2019-02-14 17:28:29 +01:00
SBiOSoftWhare
1decf99626 Handle sign out alert present present in SettingsViewController 2019-02-14 16:04:08 +01:00
SBiOSoftWhare
e8f58f301d Create a sign out alert presenter 2019-02-14 16:03:07 +01:00
manuroe
07be13e130 Key recovery: Show errors on invalid passphrase or recovery key 2019-02-14 13:14:00 +01:00
manuroe
d48763635e Key recovery: Trust on decrypt
#2223
2019-02-14 12:48:54 +01:00
manuroe
309ee56feb Key recovery: Do not show anymore an error for empty backup 2019-02-14 12:46:53 +01:00
manuroe
b0c0c193d0 Key backup: Update SDK api break 2019-02-14 12:28:56 +01:00
SBiOSoftWhare
e8dc757401 Use new lineBreakColor in KeyBackupSetupSuccessFromRecoveryKeyViewController 2019-02-13 15:26:51 +01:00
SBiOSoftWhare
d668ba28a4 Remove former key backup setup success scene 2019-02-13 15:02:31 +01:00
SBiOSoftWhare
f20a4dd592 Update key backup logo on key backup recover screens 2019-02-13 14:58:17 +01:00
SBiOSoftWhare
66b46d5afe Update KeyBackupSetupCoordinator, handle new success controllers 2019-02-13 14:58:16 +01:00
SBiOSoftWhare
90974c0f8e Update key backup setup passphrase scene 2019-02-13 14:58:16 +01:00
SBiOSoftWhare
d596b7f097 Update KeyBackupSetupIntroViewController 2019-02-13 14:58:16 +01:00
SBiOSoftWhare
d3efbd2633 Create new key backup setup success view controllers 2019-02-13 14:58:16 +01:00
SBiOSoftWhare
ccf075b00d Update KeyBackupBannerCell and handle safe area when compute cell size 2019-02-13 14:58:16 +01:00
manuroe
e37d07c4ce
Merge pull request #2240 from vector-im/riot_2237
Reskin: Update colors
2019-02-13 10:11:33 +01:00
manuroe
d40c446f87 Reskin: Replace separatorColor with lineBreakColor, the color introduced in the new uniformed palette 2019-02-13 09:39:32 +01:00
manuroe
f45303baad RoomVC: Remove the beta warning modal when opening an e2e room
#2239
2019-02-12 19:24:08 +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
SBiOSoftWhare
3eacd21b2f Handle section header tint color update when theme change in SegmentedViewController 2019-02-08 15:17:58 +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
8c4b5d092b
replace contact availability checks with the iOS 9+ way 2019-02-05 01:36:13 +01:00
fridtjof
d14d472b60
take care of percent encoding related deprecations 2019-02-04 21:22:43 +01:00
SBiOSoftWhare
6a175d4838 Enhance tap on room predecessor cell used to go back to the old version of the room (Fix issue #2179) 2019-02-04 15:49:49 +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
e7e8a57c79 Use one key backup banner for recover and setup cases 2019-02-01 09:51:01 +01:00
SBiOSoftWhare
8cbd453fff Handle key backup recover banner preferences 2019-02-01 09:35:54 +01:00
manuroe
33fd408d22 key backup settings: Fix Steve's comment 2019-01-31 21:22:10 +01:00
manuroe
1ca5ee4356
Merge branch 'develop' into riot_2173 2019-01-31 21:17:47 +01:00
manuroe
c6c8c044ed key backup settings: Fix Steve's comment 2019-01-31 21:15:50 +01:00
manuroe
d0981c3e04 Key backup: Fix some recovery setup bugs 2019-01-31 20:00:38 +01:00
SBiOSoftWhare
873c332b37 Handle key backup setup banner display 2019-01-31 19:52:32 +01:00
SBiOSoftWhare
f593a62455 Create key backup setup banner cell 2019-01-31 19:50:58 +01:00
SBiOSoftWhare
b97097a5e6 Create KeyBackupBannerPreferences to handle key backup banner display preferences 2019-01-31 19:50:22 +01:00
manuroe
19e699a91d key backup settings: Manage checking state 2019-01-31 18:48:35 +01:00
manuroe
fe78e6b479 key backup settings: Manage backup created from the device 2019-01-31 18:41:00 +01:00
manuroe
94bd0bcb75 key backup settings: Make it look like more to https://github.com/vector-im/riot-meta/issues/251#issuecomment-458566684
2/2

Manage not trusted backup
2019-01-31 18:19:20 +01:00
manuroe
61f439eb55 key backup settings: Make it look like more to https://github.com/vector-im/riot-meta/issues/251#issuecomment-458566684
1/2
2019-01-31 16:58:41 +01:00
manuroe
f12fc71b4a key backup settings: Fix cell reuse mechanism 2019-01-31 15:45:43 +01:00
manuroe
0e91edb8e3 key backup settings: Make it display loading wheel and error 2019-01-31 10:19:27 +01:00
manuroe
0de85dd93c key backup settings: add delete confirmation dialog 2019-01-31 09:45:03 +01:00
manuroe
91861ef4df key backup: Add a dedicated section to settings
#2193

Still WIP
2019-01-31 03:06:47 +01:00
SBiOSoftWhare
dc217a1bde Update key backup recover coordinator initializers to give right instance of MXKeyBackup 2019-01-30 15:55:25 +01:00
SBiOSoftWhare
1e7a7adf00 Fix Manu's remarks 2019-01-30 15:35:57 +01:00
SBiOSoftWhare
97c08984dd Create KeyBackupRecoverCoordinatorBridgePresenter which enables to start KeyBackupRecoverCoordinator from a view controller 2019-01-30 11:14:03 +01:00
SBiOSoftWhare
0896fe68c6 Create key backup recover coordinator 2019-01-30 11:14:03 +01:00
SBiOSoftWhare
846d5a8e30 Create key backup recover success view controller 2019-01-30 11:14:03 +01:00
SBiOSoftWhare
d0f8412108 Create key backup recover from recovery key scene with coordinator, view model, view controller 2019-01-30 11:14:03 +01:00
SBiOSoftWhare
5ec3ae8086 Create key backup recover from passphrase scene with coordinator, view model, view controller 2019-01-30 11:14:03 +01:00
SBiOSoftWhare
04b6cb9182 Create KeyBackupSetupCoordinatorBridgePresenter which enables to start KeyBackupSetupCoordinator from a view controller 2019-01-30 11:14:03 +01:00
SBiOSoftWhare
64bc55445c Make small improvements on KeyBackupSetupCoordinator and KeyBackupSetupPassphraseViewController 2019-01-30 11:14:03 +01:00
SBiOSoftWhare
a5f7b46d52 Remove a Swift 4.2 API usage as project use Swift 4.0 for the moment. 2019-01-23 15:31:31 +01:00
manuroe
e4d0cf4523
Merge pull request #2200 from vector-im/riot_2174
Fix iOS side of #2174
2019-01-23 14:22:48 +01:00
manuroe
fef9d5f84d reskin: Use unreadRoomIndentColor
#2174
2019-01-23 12:43:53 +01:00
SBiOSoftWhare
951afb1e5f
Merge pull request #2198 from vector-im/keybackup_setup
key backup: Implement setup screen
2019-01-23 12:15:57 +01:00
SBiOSoftWhare
86586dd6e2 Add commodity methods on OperationQueue and use them in key backup setup view models. 2019-01-23 12:11:30 +01:00
manuroe
c48856afde reskin: kill dead code around placeholderTextColor
#2174
2019-01-23 12:03:55 +01:00
SBiOSoftWhare
2ab1c33ebd Revert "Add CoordinatorDelegateQueuable protocol used by view models to handle coordinator delegation in an operation queue."
This reverts commit 01bc067c22.
2019-01-23 11:47:10 +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
SBiOSoftWhare
01bc067c22 Add CoordinatorDelegateQueuable protocol used by view models to handle coordinator delegation in an operation queue. 2019-01-23 10:49:54 +01:00
SBiOSoftWhare
3b9100c00e Add coordinatorDelegate call in coordinatorDelegateQueue in KeyBackupSetupRecoveryKeyViewModel 2019-01-22 17:49:11 +01:00
SBiOSoftWhare
22da270e03 Update coordinator delegates in order to use coordinator protocol as parameter 2019-01-22 17:44:45 +01:00
SBiOSoftWhare
883f2902a9 Move coordinator delegates definitions in coordinator protocols definitions 2019-01-22 17:31:40 +01:00
SBiOSoftWhare
3c546ba6fc Update some copyright years 2019-01-22 17:20:28 +01:00
manuroe
c7552f4ad9 BF: Ban and kick reasons are silently discarded
#2162
2019-01-22 17:18:42 +01:00
manuroe
58fcdc7421
Update Riot/Modules/Common/KeyboardAvoiding/KeyboardAvoider.swift
Co-Authored-By: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2019-01-22 17:14:11 +01:00
SBiOSoftWhare
06f8297ee4 Fix typo in UIView extension 2019-01-22 17:09:15 +01:00
SBiOSoftWhare
240d83e281 Update reveal password margin on KeyBackupSetupPassphraseViewController 2019-01-22 15:46:26 +01:00
SBiOSoftWhare
71cc499503 Update ActivityIndicatorView and ActivityIndicatorPresenter to match activity indicator UI in MXKViewController 2019-01-22 15:26:34 +01:00
SBiOSoftWhare
735e2e44c2 Handle key backup setup navigation flow with KeyBackupSetupCoordinator 2019-01-22 11:05:48 +01:00
SBiOSoftWhare
d4d551bea1 Implement key backup setup recovery key scene with view controller, view model and coordinator 2019-01-22 11:04:06 +01:00
SBiOSoftWhare
2cbd85fa89 Implement key backup setup passphrase scene with view controller, view model, coordinator 2019-01-22 10:25:36 +01:00
SBiOSoftWhare
78a5cf0b8b Create key back setup intro view controller 2019-01-22 10:05:57 +01:00
SBiOSoftWhare
9703cdfd11 Create KeyboardAvoider that help to avoid keyboard overlap with scroll view content. 2019-01-22 00:18:54 +01:00
SBiOSoftWhare
3591f4a416 Create ActivityIndicatorView in order to wrap activity indicator customization and create ActivityIndicatorPresenter in order to manage activity indicator presentation. 2019-01-22 00:15:20 +01:00
fridtjof
bb8d7bae64
MasterTabBarController: Use @available instead of instancesRespondToSelector 2019-01-18 18:09:31 +01:00
manuroe
9371f0e1cb reskin: kill riotColorRed & riotColorPinkRed
Merge them into Theme.warningColor

Part of #2174
2019-01-18 13:40:09 +01:00
manuroe
40ef4d5f64 Registration: improve scrolling on the reCaptcha screen
#2165
2019-01-17 16:02:55 +01:00
manuroe
4e1736b9d4 Reskin: Fix regression: Wrong status bar color on login/registration screens
#2184
2019-01-17 15:35:40 +01:00
manuroe
6da0bfd07f Registration: improve validation UX on the terms screen
#2164

Do like on android (https://github.com/vector-im/riot-ios/issues/2164#issuecomment-455108199)
2019-01-17 12:04:42 +01:00
manuroe
c88676018b BF: Registration: fix tap gesture on checkboxes in the terms screen 2019-01-17 11:59:21 +01:00
manuroe
6e4a7224bf reskin: Kill KVO on theme setting 2019-01-14 10:53:43 +01:00
manuroe
c9965ab700 reskin: Fix theming in registration screens 2019-01-11 16:52:28 +01:00
manuroe
c61144cf78 reskin: Theme: rename colors as it is in the palette now 2019-01-11 13:13:31 +01:00
manuroe
93b01f9e17 reskin: Fix color of display name in RoomMemberDetailsVC 2019-01-11 12:55:23 +01:00
manuroe
403a09dc26 reskin: kill ThemeService.kRiotRoomXxxxLevel 2019-01-11 12:43:47 +01:00
manuroe
6eeef644d3 reskin: Kill kRiotColorXxxx 2019-01-11 11:57:02 +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
373be3b64c reskin: kill kRiotTopicTextColor 2019-01-10 18:08: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
da0b5d7d56 reskin: Kill RiotDesignValues.kRiotKeyboard and replace it by Theme.keyboardAppearance 2019-01-10 17:42:43 +01:00
manuroe
8b47ac54ca reskin: Kill RiotDesignValues.kRiotKeyboardColor and replace it by Theme.matrixSearchBackgroundImageTintColor 2019-01-10 17:36:36 +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
e66ffe4cb2 reskin: Put back riot colors in the main tab bar icons 2019-01-10 15:12:24 +01:00
manuroe
4aba851079 reskin: Fix header display of room preview 2019-01-10 14:47:58 +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
db0a1b8864 reskin: Fix display of RoomMemberDetailsVC header.
Apply the same logic as in RoomVC in the previous commit
2018-12-28 17:54:19 +01:00
manuroe
fc86a37d11 reskin: Improve a bit RoomVC expanded header display
RoomVC is displayed in another UINavigationController. Its bar can be translucent. Then, we just need to make sure that the main UINavigationController navigationBar is translucent when displaying the expanded header.

Note: there is a UI glitch when navigating back when the expanded header is displayed but that bug existed before (in v0.7.8)
2018-12-28 17:52:45 +01:00
manuroe
8f9af0ea1f BF: Registration: email or phone number is no more skippable
#2140

Note: There is no more conditions linked to kMXLoginFlowTypeRecaptcha in the code, which makes it look more flexible.
2018-12-28 09:19:14 +01:00
manuroe
2edf1d88a9 reskin: Fix display of expanded header in Room VC 2018-12-28 09:16:24 +01:00
manuroe
bf418edf03 BF: Registration: email or phone number is no more skippable
#2140

Note: There is no more conditions linked to kMXLoginFlowTypeRecaptcha in the code, which makes it look more flexible.
2018-12-27 11:56:00 +01:00
manuroe
2041f6b4e1 Reskin: New TermsView screen 2018-12-21 11:41:43 +01:00
manuroe
b40f9e88ae Merge remote-tracking branch 'origin/develop' into reskin 2018-12-21 09:15:06 +01:00
manuroe
9aff401878 Registration: reCAPTCHA does not work anymore on iOS 10
#2119
2018-12-11 17:46:09 +01:00
manuroe
5c3b5aceb4 Reskin: Apply RiotDesignValues.colorValues.accent on swith buttons 2018-12-03 18:02:02 +01:00
manuroe
c4b6cfdaf4 Reskin: Paint icons with RiotDesignValues.colorValues.accent when possible 2018-12-03 17:14:32 +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
d996dab096 Login flow: Fix Steve's remarks 2018-11-30 12:42:31 +01:00
manuroe
d2d401ed8b Reskin: Factorise *RoomTitleViews
and apply them kRiotDesignNavigationBarBarTintColor as background color to mimic the nav bar color
2018-11-29 17:47:42 +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
1108d8a1ac Reskin: RiotDesignValues: Make use of the new ColorValues 2018-11-29 16:20:20 +01:00
manuroe
8d20e326ad Login flow: Make User Agreement part of the registration flow
Some fixes
2018-11-27 18:36:06 +01:00
manuroe
84ce5374e6 AuthInputsView: Refactor a bit updateAuthSessionWithCompletedStages 2018-11-27 17:06:30 +01:00
manuroe
8b11786109 Login flow: Make User Agreement part of the registration flow
#1939
2018-11-27 16:22:33 +01:00
manuroe
55e10bdcf7 Login flow: Make more usage of the isFlowCompleted: method 2018-11-27 11:20:17 +01:00
manuroe
9f500ac1fc Login flow: Add generic isFlowSupported: and isFlowCompleted: methods 2018-11-27 11:20:17 +01:00