Commit graph

262 commits

Author SHA1 Message Date
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
manuroe
7e91ecf6b3 AuthVC: Remove NEW_CROSS_SIGNING_FLOW
because we consider riot-web ready
2020-06-26 18:37:15 +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
6858bd85a5 Merge branch 'develop' into riot_3293
# Conflicts:
#	CHANGES.rst
#	Riot/Generated/Strings.swift
2020-06-26 14:30:21 +02:00
manuroe
d8b09a8e42 Security: Plug UX for cross-signing setup
part of #3299
2020-06-26 07:42:37 +02:00
SBiOSoftWhare
9c060902c9 AuthenticationViewController: Fix refact. 2020-06-25 16:30:47 +02:00
manuroe
612fd7268d E2E by default: Do not bootstrap cross-signing automatically
if hs setting is disabled
2020-06-24 17:09:23 +02:00
ismailgulek
879461d4f0
Merge branch 'develop' into xcode11
# Conflicts:
#	CHANGES.rst
2020-06-05 16:00:24 +03:00
manuroe
46516107cb Cross-signing: Remove the bootstrap when using SSO
It needs to done differently
2020-06-03 12:23:46 +02:00
manuroe
b9e58025f9 Remove useless dispatch_async 2020-06-03 11:24:40 +02:00
manuroe
446244c726 Cross-signing: Use a compilation flag while riot-web is not ready 2020-06-03 09:26:13 +02:00
manuroe
b69e1885a2 Cross-Signing: Bootstrap when using SSO for registration
I have not tested it
2020-06-03 09:23:27 +02:00
manuroe
98f95e8a4e Cross-signing: Bootstrap cross-sign on registration (and login if applicable)
#3292

This action is now invisible to the user.
2020-06-02 14:19:37 +02:00
ismailgulek
e342deb72e Change all navigation controllers to RiotNavigationController's
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 12:12:46 +03:00
ismailgulek
a382538de5
Adapt UIWebView changes to AuthenticationViewController, fixes #3057 2020-05-13 15:44:18 +03:00
manuroe
66c952190d AuthenticationVC: Fix crash due to update to WKWebView
The crash was:

```
2020-05-11 17:53:44.125128+0200 Riot[60416:899392] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Configuration cannot be nil'
*** First throw call stack:
(
	0   CoreFoundation                      0x000000010b0e98db __exceptionPreprocess + 331
	1   libobjc.A.dylib                     0x0000000109d3dac5 objc_exception_throw + 48
	2   CoreFoundation                      0x000000010b0e9735 +[NSException raise:format:] + 197
	3   WebKit                              0x00000001080f112e -[WKWebView _initializeWithConfiguration:] + 88
	4   WebKit                              0x00000001080f35ab -[WKWebView initWithCoder:] + 131
2020-05-11 17:55:50 +02:00
ismailgulek
f47e929ea7
Prefill email field on registrations
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-28 19:55:02 +03:00
ismailgulek
699f7a924e
Remove login fallback to m.org when authentication failed
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-28 11:21:53 +03:00
ismailgulek
911eb38026
Merge pull request #3084 from vector-im/riot_3067
Consider Safe Area Insets for Some Screens
2020-04-23 20:56:58 +03:00
SBiOSoftWhare
ed99f45fa2 RoomMemberDetailsViewController: For current user present complete security when device is not trusted. 2020-04-23 11:58:19 +02:00
ismailgulek
9e01e22ad5
AuthenticationViewController scroll view respect to safe area
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 19:26:49 +03:00
ismailgulek
8f7b7fe232
AuthenticationViewController safe area insets
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 13:53:10 +03:00
manuroe
de13946fcd New Sign-in: Do not send key requests before completing the "security" 2020-04-14 12:55:25 +02:00
manuroe
ee62f3b6f2 KeyVerificationCoordinatorBridgePresenterDelegate: Add keyVerificationCoordinatorBridgePresenterDelegateDidCancel 2020-04-14 12:50:53 +02:00
SBiOSoftWhare
71e9188b60 AuthenticationViewController: Handle complete security screen presentation. 2020-04-03 16:30:06 +02:00
manuroe
7b24865be4
Room creation: Follow SDK changes (#2945)
Room creation: Follow SDK changes
2020-01-28 14:33:56 +01:00
manuroe
ead5e435b3
Merge branch 'develop' into privacy 2019-10-04 11:56:55 +02:00
manuroe
baa61a2cb8 i18n: Prefer "Cancel" rather than "Abort" 2019-09-23 16:49:16 +02:00
manuroe
17295a4cb5 Merge tag 'v0.9.4' into develop
Finish hotfix_Riot_2715

# Conflicts:
#	CHANGES.rst
2019-09-16 10:43:30 +02:00
manuroe
82af540d56 Send IS for adding MSISDNs only when required by HS
#2682
2019-09-11 15:00:35 +02:00
manuroe
bc9ca5575d Merge tag 'v0.9.3' into develop
Finish riot_2703

# Conflicts:
#	CHANGES.rst
2019-09-10 16:30:45 +02:00
manuroe
76923cae11 Authentication: Create a way to filter and prioritise flows (with handleSupportedFlowsInAuthenticationSession). 2019-09-10 14:33:56 +02:00
manuroe
2e86379b2a Support Riot configuration link to customise HS and IS
#2703
2019-09-10 11:51:49 +02:00
manuroe
b080407533
Merge pull request #2699 from vector-im/riot_2657
Privacy: Allow email registration when no IS
2019-09-09 10:08:28 +02:00
manuroe
c41d1e3b51 Privacy: Allow email registration when no IS: Make is_url optional in the next_link of the validation email
#2657
2019-09-06 10:48:27 +02:00
manuroe
5f773d4299 Privacy: Allow email registration when no IS if the HS supports it
#2657
2019-09-06 10:42:19 +02:00
manuroe
93b8b29d7f Privacy: Allow email registration when no IS but return an error if not supported by the HS.
#2657
2019-09-06 10:30:20 +02:00
manuroe
35ec07d477 Do not use anymore MXRestClient.credentials.identityServer 2019-09-05 12:16:31 +02:00
manuroe
5faf7eca0d Privacy: Allow password reset when no IS
#2658

Display an error if IS is required but empty
2019-09-03 15:02:02 +02:00
manuroe
1e39cc6dd9 Fix build after small API break 2019-09-02 17:14:22 +02:00
manuroe
571c3af774 Privacy: Remove the ability to set an IS at login/registration
#2661
2019-08-30 16:27:49 +02:00
SBiOSoftWhare
6488dd39cb Merge branch 'privacy' into identity_server_v2
# Conflicts:
#	CHANGES.rst
#	Riot/Modules/Authentication/Views/AuthInputsView.m
2019-08-30 16:11:22 +02:00
manuroe
101509dd63 Privacy: Email help text on registration should be updated without binding
Update them again after review
2019-08-30 10:21:57 +02:00
manuroe
82676bf80c Privacy: Email help text on registration should be updated without binding
#2675

We use new strings ids as the meaning changed.
2019-08-29 17:02:10 +02:00
manuroe
8e5e376e20 Privacy: Remove the bind true flag from 3PID calls on registration
#2648
2019-08-29 11:11:23 +02:00
SBiOSoftWhare
a6cd9e32f1 AuthInputsView: Check identity server presence before email registration. 2019-08-21 16:00:53 +02:00
SBiOSoftWhare
d772f212f3 AuthInputsView: Take into account MXIdentityService identity server URL when MSISDN is validated. 2019-08-21 12:03:52 +02:00
SBiOSoftWhare
face1dec11 Use lower case for the term identity server. 2019-08-14 15:08:58 +02:00
SBiOSoftWhare
b8362ed3b5 AuthenticationViewController: Show error alert instead of disabling password reset action when Identity Server is not set. 2019-08-14 14:11:06 +02:00
SBiOSoftWhare
e9df6c9b28 AuthenticationViewController: When register do not propose to add 3rd party ids if there is no configured Identity Server. 2019-08-13 17:03:05 +02:00
SBiOSoftWhare
799b731642 AuthenticationViewController: Disable password reset action when Identity Server is not set. 2019-08-13 17:01:01 +02:00
manuroe
9579b59bba Soft logout: SSO support: Make sure the "Sign in with SSO" button does not overlap the explanation of the soft logout 2019-07-24 15:24:37 +02:00
manuroe
d126db5e49 Soft logout: SSO support: Display the clear data section upper 2019-07-24 14:59:40 +02:00
manuroe
3fa4de6722 Soft logout: Retain MXFileStore instance while getting user display name 2019-07-24 12:14:31 +02:00
manuroe
45f864b90c Soft logout: Display the message about keys only if there are keys not yet backed ip 2019-07-23 17:36:10 +02:00
manuroe
3fc4ed9884 Soft logout: Do not show the clear data section on the forgot password flow 2019-07-23 17:17:05 +02:00
manuroe
18d7ca6b62 Soft logout: Do not try to log against matrix.org if the password was wrong 2019-07-23 17:03:24 +02:00
manuroe
f7e2da7b1b Soft logout: Implement the clear data button
#2540
2019-07-23 16:20:07 +02:00
manuroe
f182073551 Soft logout: Implement design for the clear data section
#2540
2019-07-23 14:45:51 +02:00
manuroe
400b9c140e Soft logout: Implement design
This is an adapted version of the zeplin design. It uses the current app login look and feel with the copy of the zeplin design

#2540
2019-07-23 11:51:46 +02:00
manuroe
07505b08dc Soft logout: Support soft logout
#2540
2019-07-19 14:25:45 +02:00
SBiOSoftWhare
f14cbf759e Registration: Fix infinite loop when register with email and validate from mobile. 2019-05-23 16:46:00 +02:00
Aaron Raimist
d710b3788d
home server -> homeserver (#2345)
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2019-04-19 21:27:10 -05:00
manuroe
65203d5ea0 Authentication: .well-known support
Fix Steve's remark
2019-03-07 10:08:39 +01:00
manuroe
4b571ac6dd Authentication: .well-known support (#2117). 2019-03-06 18:30:13 +01:00
manuroe
32a2dd9653 AuthVC: Style the authentication fallback webview screen so that its header matches to navigation bar style 2019-03-04 18:20:30 +01:00
manuroe
6015555e30 Authentication: support SSO by using the fallback URL
#2306

Disable register button on SSO
2019-03-04 17:25:21 +01:00
manuroe
6b2377b763 Authentication: support SSO by using the fallback URL
#2306
2019-03-04 16:52:22 +01:00
SBiOSoftWhare
a4e2e6ee6f Fix SwiftLint warnings 2019-02-27 10:07:51 +01:00
SBiOSoftWhare
f4aa2e66b4 Apply new lineBreakColor where needed 2019-02-18 12:53:13 +01:00
manuroe
c48856afde reskin: kill dead code around placeholderTextColor
#2174
2019-01-23 12:03:55 +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
c9965ab700 reskin: Fix theming in registration screens 2019-01-11 16:52:28 +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
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
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
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
a50c9f55b1 Reskin: Kill kRiotColorGreen and use RiotDesignValues.colorValues.accent instead 2018-11-30 17:10:28 +01:00
manuroe
d996dab096 Login flow: Fix Steve's remarks 2018-11-30 12:42:31 +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
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
manuroe
1342637cc6
Merge pull request #2067 from aaronraimist/password-autofill
Add UITextContentType values to AuthInputsView
2018-10-31 12:04:20 +01:00
Aaron Raimist
c0c1e8a1c6
Remove all calls of [NSUserDefaults synchronize] (#1924)
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2018-10-15 16:58:10 -05:00
Aaron Raimist
f93759f612
Add UITextContentType values to AuthInputsView
Improves #2066

Signed-off-by: Aaron Raimist <aaron@raim.ist>
2018-10-06 14:45:16 -05:00
manuroe
65704002ec AuthenticationVC: Show a "Resource Limit Exceeded" popup if it happens server side
#1937
2018-08-20 18:30:50 +02:00
SBiOSoftWhare
0e3ee5a5c8 Fix image references in xib and storyboards by removing .png suffix 2018-07-10 17:16:26 +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