Commit Graph

219 Commits

Author SHA1 Message Date
Doug 3e4aab55cd 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 87ad400eb6 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 ee5d362b82 Merge pull request #5467 from vector-im/doug/5160_ftue_use_case
Add the FTUE use case screen for new users.
2022-02-10 14:28:28 +00:00
Doug 3548566070 Updates following PR feedback. 2022-02-10 12:59:13 +00:00
Stefan Ceriu bc60512101 Fixed various project warnings. Completely disabled nullability checks, went down from ~20k to 195. 2022-02-10 08:43:18 +02:00
Doug 7a61b83bb8 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
Doug d7e9cbf7c4 Add the Use Case selection screen to the onboarding flow. 2022-02-04 16:10:38 +00:00
David Langley 1e9fb6b625 Merge pull request #5293 from vector-im/langleyd/5292_refresh_tokens
App: Refresh Tokens Implementation
2022-01-31 08:59:19 +00:00
Doug f7f378b8dc Remove preload from AuthenticationCoordinator and instantiate early instead. 2022-01-28 11:53:50 +00:00
Doug 7deb71810d Updates following PR review.
Fix tests by moving constants out of Coordinator (as it is only part of the Riot target).
2022-01-27 15:19:54 +00:00
Doug 229ce51691 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 4fd06abc1b 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 957815c79e 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 819122133d Begin implementing an onboarding flow. 2022-01-26 14:25:48 +00:00
Doug 4ae76bd861 Start implementing FTUE splash screens.
Present splash screens from AuthenticationViewController
2022-01-26 14:24:00 +00:00
David Langley 21ec650e8f 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 79fd2e3ec4 Add build setting to hide social login 2022-01-18 22:36:50 +00:00
David Langley dc32c77f44 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 b8a242b66b 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 cea6cd145b 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 8ec27e8579 Begin migration from Matomo to PostHog
Add CocoaPods-Keys.
2021-12-16 16:59:26 +00:00
SBiOSoftWhare 5aa347814f AuthInputsView: Add Swift generated header import. 2021-11-30 17:06:52 +01:00
SBiOSoftWhare 860e7dbae2 Merge develop into steve/5020_matrixkit_merge 2021-11-30 16:16:52 +01:00
SBiOSoftWhare e6ef1be7b6 Update all Objective-C MatrixKit imports to handle new location. 2021-11-30 16:09:53 +01:00
SBiOSoftWhare 3593c1cfa5 Improve generated Swift header imports. 2021-11-25 23:11:53 +01:00
Philippe Loriaux af20d24960 Improve the Obj-C Generated Interface Header Name definition 2021-10-26 17:42:33 +02:00
Stefan Ceriu 715d1382ed vector-im/element-ios/issues/4899 - Fixed various localization issues. 2021-10-08 11:33:13 +03:00
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