Commit Graph

199 Commits

Author SHA1 Message Date
David Langley 756b1c3d1d Split MXKAccount from Data so just data can be loaded from disk without side effects. Also change force reload of accounts to stop double load on init. 2022-01-06 20:35:37 +00:00
SBiOSoftWhare 21ffa2bf41 AuthInputsView: Add Swift generated header import. 2021-11-30 17:06:52 +01:00
SBiOSoftWhare d4e8d9400f Merge develop into steve/5020_matrixkit_merge 2021-11-30 16:16:52 +01:00
SBiOSoftWhare e8d4af46d2 Update all Objective-C MatrixKit imports to handle new location. 2021-11-30 16:09:53 +01:00
SBiOSoftWhare 2709236dd5 Improve generated Swift header imports. 2021-11-25 23:11:53 +01:00
Philippe Loriaux 216924165d Improve the Obj-C Generated Interface Header Name definition 2021-10-26 17:42:33 +02:00
Stefan Ceriu 9ee68cb7d8 vector-im/element-ios/issues/4899 - Fixed various localization issues. 2021-10-08 11:33:13 +03:00
manuroe 0500f703b2 i18n: Standardise casing of identity server and integration manager. 2021-10-01 11:51:30 +01:00
Stefan Ceriu 8b80b3f4c7 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 62cdb29331 Revert "Revert "#4693 - Drop iOS 11 support."" 2021-09-14 11:41:36 +03:00
Chelsea Finnie 2b48ba3c29 Updated SSOAuthenticationService.swift to append / to redirect path if using an identity provider 2021-09-14 10:57:35 +12:00
Chelsea Finnie 4b74143460 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 8f46e037f2 Revert "#4693 - Drop iOS 11 support."
This reverts commit a2b359f21960e1b9f75139d94adc7aeb35fa479f.
2021-09-06 18:24:26 +03:00
Stefan Ceriu 0b2616ddb3 #4693 - Drop iOS 11 support. 2021-09-01 15:55:41 +03:00
Paulo Pinto a0699ab8bc Standardise casing of identity server
Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
2021-08-18 17:30:45 +01:00
ismailgulek 6aae1c0408 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 d7b63d9f41 stable ids for MSC 2858 2021-08-03 14:07:05 +03:00
Doug 885d8e3928 Remove the observer in destroy. 2021-07-26 15:16:27 +01:00
Doug c94ca89a90 Fix crash from potentially calling removeObserver multiple times.
Let the system remove it for us.
2021-07-26 15:01:55 +01:00
Doug a4075c89cb 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 c2cce13730 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 93a046fb90 Merge remote-tracking branch 'origin/develop' into element_4485 2021-06-29 10:32:19 +01:00
Doug 83cd179101 Ensure authenticationActivityIndicator is in front of the input fields. 2021-06-29 09:45:07 +01:00
Doug d36e40c7aa 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 f9cbacf2fb SSOAuthenticationService: Handle login callback URL with HTML entities. 2021-06-28 16:49:05 +02:00
SBiOSoftWhare 8cdb019fc4 AuthenticationVC: Show an error alert on SSO authentication failure. 2021-06-28 16:45:20 +02:00
Stefan Ceriu 43f6c44c78 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 9eb08d1c05 MXSession: Remove vc_isE2EByDefaultEnabledByHSAdmin method and expose vc_homeserverConfiguration. 2021-04-29 12:37:57 +02:00
SBiOSoftWhare 65d279cb32 AuthVC: Setup cross-signing without authentication parameters in case if a grace period is enabled. 2021-02-05 18:32:36 +01:00
SBiOSoftWhare c23fef850d Merge branch 'develop' into element_3995 2021-02-03 17:16:36 +01:00
SBiOSoftWhare 5a0c46b3cc 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 b1e4817ecd Merge branch 'develop' into element_3969
# Conflicts:
#	CHANGES.rst
2021-02-02 12:07:10 +01:00
Gil Eluard bc6f29b3f5 Update after review 2021-02-01 09:53:17 +01:00
Gil Eluard 92199f8833 Merge branch 'develop' into element_3969 2021-01-29 11:32:22 +01:00
SBiOSoftWhare d8441cd1e5 SocialLoginListView: Update social login buttons sorting. 2021-01-28 19:51:59 +01:00
SBiOSoftWhare 4653078ab8 Social login: In SocialLoginButtonFactory handle MXLoginSSOIdentityProvider brand property and handle Gitlab style. 2021-01-28 19:50:33 +01:00
Gil Eluard c4cde52e71 Avoid megolm share requests if the device is not verified 2021-01-26 17:33:05 +01:00
SBiOSoftWhare 55ae3089d9 AuthVC: Fix social login layout issue. 2021-01-22 11:13:25 +01:00
SBiOSoftWhare 9b96adb3e7 TermsView: Improve rendering. 2021-01-15 17:06:21 +01:00
SBiOSoftWhare e3ecc33f37 AuthVC: Fix recaptcha view cropping. 2021-01-15 17:05:45 +01:00
SBiOSoftWhare c8c959b4c1 Fix typo with SSO authentication completion handler type alias. 2021-01-08 16:33:31 +01:00
SBiOSoftWhare f158c72859 Fix typo in SSOURLConstants. 2021-01-08 16:21:12 +01:00
SBiOSoftWhare f0bc8486f1 Update SocialLoginButton. 2021-01-08 16:19:18 +01:00
SBiOSoftWhare 27cb7948b0 AuthVC: Do use fallback page when using SSO without idp. 2021-01-07 16:01:17 +01:00
SBiOSoftWhare 86b1f8d10a SSO: Handle transaction id in AuthVC and SSOAuthenticationPresenter. 2021-01-07 14:38:27 +01:00
SBiOSoftWhare db723289bb SSOAuthenticationService: Update callback scheme property and handle transaction id. 2021-01-07 14:27:18 +01:00
SBiOSoftWhare 21afba6256 AuthVC: Handle SSO authentication. 2020-12-18 18:44:08 +01:00
SBiOSoftWhare b86761c5c4 Add SSOAuthenticationPresenter enables to present single sign-on authentication. 2020-12-18 18:44:08 +01:00
SBiOSoftWhare 4dfa2e7833 SSO authentication: Abstract and support both SFAuthenticationSession and ASWebAuthenticationSession. 2020-12-18 18:44:08 +01:00
SBiOSoftWhare 5e42bf3556 Add SSOAuthenticationService 2020-12-18 18:44:08 +01:00