Commit Graph

192 Commits

Author SHA1 Message Date
manuroe dff3da0b35 i18n: Standardise casing of identity server and integration manager. 2021-10-01 11:51:30 +01:00
Stefan Ceriu 04bc95a85c vector-im/element-ios/issues/4899 - Replaced (*almost*) all NSLocalizedString calls with newly generated ObjC methods. 2021-09-30 09:40:12 +03:00
Stefan Ceriu f1d3e5af9d Revert "Revert "#4693 - Drop iOS 11 support."" 2021-09-14 11:41:36 +03:00
Chelsea Finnie 85a3f3a26d Updated SSOAuthenticationService.swift to append / to redirect path if using an identity provider 2021-09-14 10:57:35 +12:00
Chelsea Finnie 5d84d364dd Fix redirection issue when logging in with single sign on. Fixes #4785.
Signed-off-by: Chelsea Finnie <chelseafinnie@catalyst.net.nz>
2021-09-10 15:14:38 +12:00
Stefan Ceriu c686a6b653 Revert "#4693 - Drop iOS 11 support."
This reverts commit a2b359f21960e1b9f75139d94adc7aeb35fa479f.
2021-09-06 18:24:26 +03:00
Stefan Ceriu 9457c25981 #4693 - Drop iOS 11 support. 2021-09-01 15:55:41 +03:00
Paulo Pinto 7ad705d92d Standardise casing of identity server
Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
2021-08-18 17:30:45 +01:00
ismailgulek ba83da8f64 Update Riot/Modules/Authentication/SSO/SSOURLConstants.swift
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2021-08-09 18:06:08 +03:00
ismailgulek 0c8ae463bc stable ids for MSC 2858 2021-08-03 14:07:05 +03:00
Doug c9f0371ec3 Remove the observer in destroy. 2021-07-26 15:16:27 +01:00
Doug de37c77f08 Fix crash from potentially calling removeObserver multiple times.
Let the system remove it for us.
2021-07-26 15:01:55 +01:00
Doug c411097256 Fix class keyword deprecation warnings everywhere!
Using 'class' keyword for protocol inheritance is deprecated; use 'AnyObject' instead
2021-07-09 17:05:43 +01:00
Doug 356f6ba6a4 Move authenticationActivityIndicator into a container.
Observe the indicator's hidden property to show and hide the container.
2021-06-30 12:33:43 +01:00
Doug 5c11b32d77 Merge remote-tracking branch 'origin/develop' into element_4485 2021-06-29 10:32:19 +01:00
Doug 9762cddca2 Ensure authenticationActivityIndicator is in front of the input fields. 2021-06-29 09:45:07 +01:00
Doug 6c95425578 Use secondary colour from the theme for authenticationActivityIndicator.
This allows the indicator to be seen when using a dark theme.
2021-06-28 16:38:54 +01:00
SBiOSoftWhare a82bf17c3f SSOAuthenticationService: Handle login callback URL with HTML entities. 2021-06-28 16:49:05 +02:00
SBiOSoftWhare d01ca09928 AuthenticationVC: Show an error alert on SSO authentication failure. 2021-06-28 16:45: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 7129c7582c MXSession: Remove vc_isE2EByDefaultEnabledByHSAdmin method and expose vc_homeserverConfiguration. 2021-04-29 12:37:57 +02:00
SBiOSoftWhare 7788afcb8e AuthVC: Setup cross-signing without authentication parameters in case if a grace period is enabled. 2021-02-05 18:32:36 +01:00
SBiOSoftWhare df2bfb8aad Merge branch 'develop' into element_3995 2021-02-03 17:16:36 +01:00
SBiOSoftWhare 83b4bf273e SSOAuthenticationPresenterError: Use SFSafariViewController below iOS 13.0 instead of SFAuthenticationSession atm due to an app name Apple issue. 2021-02-03 12:13:37 +01:00
Gil Eluard b305d44553 Merge branch 'develop' into element_3969
# Conflicts:
#	CHANGES.rst
2021-02-02 12:07:10 +01:00
Gil Eluard 3c126cddc1 Update after review 2021-02-01 09:53:17 +01:00
Gil Eluard fa545ba2f7 Merge branch 'develop' into element_3969 2021-01-29 11:32:22 +01:00
SBiOSoftWhare 07e91b0345 SocialLoginListView: Update social login buttons sorting. 2021-01-28 19:51:59 +01:00
SBiOSoftWhare 646b655a15 Social login: In SocialLoginButtonFactory handle MXLoginSSOIdentityProvider brand property and handle Gitlab style. 2021-01-28 19:50:33 +01:00
Gil Eluard adbefc1187 Avoid megolm share requests if the device is not verified 2021-01-26 17:33:05 +01:00
SBiOSoftWhare fb9f4a5feb AuthVC: Fix social login layout issue. 2021-01-22 11:13:25 +01:00
SBiOSoftWhare c902b585f4 TermsView: Improve rendering. 2021-01-15 17:06:21 +01:00
SBiOSoftWhare 855f718abe AuthVC: Fix recaptcha view cropping. 2021-01-15 17:05:45 +01:00
SBiOSoftWhare 5091ddb9cd Fix typo with SSO authentication completion handler type alias. 2021-01-08 16:33:31 +01:00
SBiOSoftWhare 01c541789a Fix typo in SSOURLConstants. 2021-01-08 16:21:12 +01:00
SBiOSoftWhare 271a971f26 Update SocialLoginButton. 2021-01-08 16:19:18 +01:00
SBiOSoftWhare 122194a46c AuthVC: Do use fallback page when using SSO without idp. 2021-01-07 16:01:17 +01:00
SBiOSoftWhare 81e10d9b81 SSO: Handle transaction id in AuthVC and SSOAuthenticationPresenter. 2021-01-07 14:38:27 +01:00
SBiOSoftWhare 2d57e6e53b SSOAuthenticationService: Update callback scheme property and handle transaction id. 2021-01-07 14:27:18 +01:00
SBiOSoftWhare a89510c4a0 AuthVC: Handle SSO authentication. 2020-12-18 18:44:08 +01:00
SBiOSoftWhare a9ee4f0546 Add SSOAuthenticationPresenter enables to present single sign-on authentication. 2020-12-18 18:44:08 +01:00
SBiOSoftWhare 24c7c573c6 SSO authentication: Abstract and support both SFAuthenticationSession and ASWebAuthenticationSession. 2020-12-18 18:44:08 +01:00
SBiOSoftWhare ab39a42a7b Add SSOAuthenticationService 2020-12-18 18:44:08 +01:00
SBiOSoftWhare 1886a5a736 SocialLoginListView: Remove debug background. 2020-12-18 18:44:08 +01:00
SBiOSoftWhare 6f90184d2a AuthVC: Support both password and social login display. 2020-12-18 18:44:08 +01:00
SBiOSoftWhare aa31e14ae5 Social login: Add SocialLoginListView displays a list of social login buttons according to a given array of SSO Identity Providers. 2020-12-18 18:44:08 +01:00
SBiOSoftWhare dfbb97030f Social login: Add SocialLoginButtonFactory that builds SocialLoginButton and apply dedicated theme if needed. 2020-12-18 18:44:08 +01:00
SBiOSoftWhare c543fe1058 Social login: Add SocialLoginButton that represents a button associated to a social login provider. 2020-12-18 18:44:08 +01:00
ismailgulek db18116c59 Specify set pin view mode after auth 2020-09-17 20:42:49 +03:00
manuroe d81d03b29a * Loading animation: Fix the bug where, after authentication, the animation disappeared too early and made auth screen flashed. 2020-09-15 16:48:35 +02:00