Commit Graph

173 Commits

Author SHA1 Message Date
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
manuroe dfbaf2c9e0 AuthVC: Make force PIN working for registration as well 2020-09-15 16:47:13 +02:00
manuroe dd5f8bfd4e AuthVC: Fix PIN setup that broke cross-signing bootstrap 2020-09-15 16:43:29 +02:00
manuroe f973ef8ca0 AuthVC: Make sure the initial sync is done before checking cross-signing state 2020-09-15 16:42:34 +02:00
SBiOSoftWhare e7c212c3b5 Merge pull request #3603 from vector-im/reduce_warnings
Reduce Xcode warnings
2020-09-04 13:13:54 +02:00
SBiOSoftWhare e16d495ea6 Remove deprecated -[UIApplication openURL] usage. 2020-09-01 12:20:44 +02:00
SBiOSoftWhare bc6306bda9 Remove old AppDelegate imports. 2020-08-31 19:38:06 +02:00
ismailgulek afc0b2d703 Avoid email validation link to redirect to web app 2020-08-20 14:41:24 +03:00
SBiOSoftWhare c3e83fa996 AuthenticationVC: Fix show forgot password conditions. 2020-08-20 10:47:52 +02:00
SBiOSoftWhare 5609059269 AuthInputsView: Handle phone number text field display with BuildSettings. 2020-08-19 17:36:07 +02:00
SBiOSoftWhare bbaffcef63 AuthenticationVC: Handle forgot button display customization with BuildSettings. 2020-08-19 17:32:35 +02:00
ismailgulek 61a7eef542 Move scroll method to an extension 2020-08-05 15:22:27 +03:00
ismailgulek 4a14887f16 Move scroll logic to KeyboardAvoider 2020-08-05 14:49:37 +03:00
ismailgulek b43b1a895d Use KeyboardAvoider instead of keyboard height 2020-08-04 17:01:26 +03:00
ismailgulek dd91225cf5 Change auth scrollView contentInsets to automatic 2020-08-04 17:01:01 +03:00
ismailgulek 87b074ddcd Auto scroll to the custom server textfield 2020-08-04 13:08:44 +03:00
ismailgulek e13b8a7da4 Adjust scrollView scrollIndicatorInsets 2020-08-04 13:06:44 +03:00
ismailgulek c06a633abc Fix contentSize when custom servers option hidden 2020-08-04 13:03:44 +03:00
ismailgulek eb0e6f3920 Make scrollView dismiss mode interactive 2020-08-04 13:02:11 +03:00
manuroe b830e272b7 BuildSettings: Integrate default HS and IS URLs
We still have them in user defaults but default values are defined in BuildSettings
2020-07-31 12:47:28 +02:00