Commit Graph

143 Commits

Author SHA1 Message Date
Doug
68301a85a7 Handle SSO deep links via the AuthenticationServiceDelegate. 2022-05-25 17:38:21 +01:00
Doug
769ab02818 Send the Signup analytics event (#6118)
* Implement the Signup event from AuthenticationViewController.

Use AuthenticationFlow instead of MXKAuthenticationType.
Create new AuthenticationType that aligns with AnalyticsEvent naming.
Add additional cases from AnalyticsEvents.
2022-05-06 13:08:54 +01:00
Doug
7b043fabcf Refinements to onboarding personalisation flow.
Fix incorrect fonts and use autocapitalization on the display name field.
Fix bug where authentication view controller would become active again after registration.
Improve EffectsView API.
2022-03-30 16:44:19 +01:00
Andy Uhnak
f23a22b875 Ensure the login button is always visible 2022-03-22 11:44:52 +00:00
Doug
351cce0128 Make scrollEdgesAppearance singular to match UIKit 2022-03-16 08:58:21 +00:00
Doug
f64e81d4c2 Fix social button visibility during registration
Hide the back button at the same time.
Disable custom server entry when picking a different use case.
2022-03-10 11:28:03 +00:00
Doug
86c2b4ebb5 Remove MatrixKitL10n from SwiftGen
Uses VectorL10n everywhere.
2022-03-03 09:34:54 +00:00
Doug
e167f9c61a Move presentation of the loading spinner into AuthenticationCoordinator for new users.
Also moves key verification out of a bridge presenter in AuthenticationVC and into the AuthenticationCoordinator.
2022-02-17 17:31:43 +00:00
aringenbach
7964d314c8 Add objective C support to SwiftGen assets helpers (#5533)
* Add objective C support to SwiftGen assets helpers

* Use dot notation in ObjC & fix minor issues

Co-authored-by: Arnaud Ringenbach <arnaud.ringenbach@niji.fr>
2022-02-10 17:13:23 +01:00
Doug
9582707146 Updates following PR feedback. 2022-02-10 12:59:13 +00:00
Doug
f50a92d0a8 Tweaks to the Use Case screen ready for review.
Update strings.
Show the custom server field as needed.
Enable scroll edges appearance for white navigation bar.
2022-02-04 16:10:38 +00:00
David Langley
ac0bda01ec Merge pull request #5293 from vector-im/langleyd/5292_refresh_tokens
App: Refresh Tokens Implementation
2022-01-31 08:59:19 +00:00
Doug
cf46247e9f Fix drag sutters and enable swipe to pop gesture.
Add docs and last tweaks following a self review.
Add constants for max content size and disable splash screen via build settings.
2022-01-26 14:25:48 +00:00
Doug
af0785b2bb Polish for Onboarding Carousel
Add dark mode assets and colours.
Improve layout for 12" iPad and 4" iPhone.
Move isLockedToPortraitOnPhone to RiotNavigationController.
2022-01-26 14:25:48 +00:00
Doug
8cc6644378 Show social sign in buttons on register screen.
Set final strings for FTUE splash screen.
Add OnboardingSplashScreenTitleText to apply the accent colour to the "." in localised strings.
2022-01-26 14:25:48 +00:00
Doug
b1ace569e7 Begin implementing an onboarding flow. 2022-01-26 14:25:48 +00:00
Doug
b8e9179bbf Start implementing FTUE splash screens.
Present splash screens from AuthenticationViewController
2022-01-26 14:24:00 +00:00
David Langley
50defa7e3e Merge branch 'develop' of https://github.com/vector-im/element-ios into langleyd/5292_refresh_tokens 2022-01-24 12:19:45 +00:00
David Langley
efe7eb403b Add build setting to hide social login 2022-01-18 22:36:50 +00:00
David Langley
72bcae9d15 Merge branch 'develop' of https://github.com/vector-im/element-ios into langleyd/5292_refresh_tokens 2022-01-06 22:43:20 +00:00
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
Doug
33ef957053 Use matrix-analytics-events generated stubs (locally for now).
Track screens, removing any that aren't part of the schema.
2021-12-16 16:59:45 +00:00
Doug
a984028479 Begin migration from Matomo to PostHog
Add CocoaPods-Keys.
2021-12-16 16:59:26 +00:00
SBiOSoftWhare
e8d4af46d2 Update all Objective-C MatrixKit imports to handle new location. 2021-11-30 16:09: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
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
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
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
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
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
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
e3ecc33f37 AuthVC: Fix recaptcha view cropping. 2021-01-15 17:05:45 +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
21afba6256 AuthVC: Handle SSO authentication. 2020-12-18 18:44:08 +01:00
SBiOSoftWhare
bf54ba30c0 AuthVC: Support both password and social login display. 2020-12-18 18:44:08 +01:00
ismailgulek
014e5ff4cc Specify set pin view mode after auth 2020-09-17 20:42:49 +03:00
manuroe
c6c5b4234b * 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
33a4cf0b25 AuthVC: Make force PIN working for registration as well 2020-09-15 16:47:13 +02:00
manuroe
c8e8d76873 AuthVC: Fix PIN setup that broke cross-signing bootstrap 2020-09-15 16:43:29 +02:00