Merge branch 'master' into develop

This commit is contained in:
Doug
2022-10-04 18:12:15 +01:00
29 changed files with 78 additions and 38 deletions
+35
View File
@@ -1,3 +1,38 @@
## Changes in 1.9.8 (2022-10-04)
🙌 Improvements
- UserSessions: Extended device information (PSG-772). ([#6766](https://github.com/vector-im/element-ios/pull/6766))
- Settings: Add labs flags for new session manager (PSG-792, PSG-799). ([#6780](https://github.com/vector-im/element-ios/pull/6780))
- User session details: Include browser version for web sessions (PSG-761). ([#6788](https://github.com/vector-im/element-ios/pull/6788))
- Upgrade MatrixSDK version ([v0.24.0](https://github.com/matrix-org/matrix-ios-sdk/releases/tag/v0.24.0)).
- Include concrete device model in user agent (PSG-754) ([#6742](https://github.com/vector-im/element-ios/issues/6742))
- CryptoV2: Manual device verification ([#6781](https://github.com/vector-im/element-ios/issues/6781))
- User sessions: Add support for MSC3881 ([#6787](https://github.com/vector-im/element-ios/issues/6787))
🐛 Bugfixes
- Voiceover: Add labels to User Menu and My Spaces buttons on the All Chats view. ([#6580](https://github.com/vector-im/element-ios/issues/6580))
- Media: Avoid redundant reloads on media viewer. ([#6717](https://github.com/vector-im/element-ios/issues/6717))
- Pass country code into MSISDN requests ([#6723](https://github.com/vector-im/element-ios/issues/6723))
- Fix render of links with both characters requiring percent encoding and markdown-like syntax ([#6748](https://github.com/vector-im/element-ios/issues/6748))
- Fix crash when scrolling chat list ([#6749](https://github.com/vector-im/element-ios/issues/6749))
- App Layout: Unable to send message after filtering for room ([#6755](https://github.com/vector-im/element-ios/issues/6755))
- App Layout: Fix missing toolbar for users with no rooms. ([#6796](https://github.com/vector-im/element-ios/pull/6796))
- Fix code block background colour ([#6778](https://github.com/vector-im/element-ios/issues/6778))
- Fix navigation bars visibility on iOS 16. ([#6799](https://github.com/vector-im/element-ios/pull/6799))
🧱 Build
- Fix crash when scrolling chat list ([#6757](https://github.com/vector-im/element-ios/pull/6757))
🚧 In development 🚧
- Device manager: User session details screen. ([#6693](https://github.com/vector-im/element-ios/issues/6693))
- Device manager: Session overview screen. ([#6753](https://github.com/vector-im/element-ios/issues/6753))
- Device Manager: Link current session to session overview. ([#6770](https://github.com/vector-im/element-ios/issues/6770))
## Changes in 1.9.7 (2022-09-28)
🙌 Improvements
+1 -1
View File
@@ -16,7 +16,7 @@ use_frameworks!
# - `{ :specHash => {sdk spec hash}` to depend on specific pod options (:git => …, :podspec => …) for MatrixSDK repo. Used by Fastfile during CI
#
# Warning: our internal tooling depends on the name of this variable name, so be sure not to change it
$matrixSDKVersion = '= 0.23.19'
$matrixSDKVersion = '= 0.24.0'
# $matrixSDKVersion = :local
# $matrixSDKVersion = { :branch => 'develop'}
# $matrixSDKVersion = { :specHash => { git: 'https://git.io/fork123', branch: 'fix' } }
+9 -9
View File
@@ -56,9 +56,9 @@ PODS:
- LoggerAPI (1.9.200):
- Logging (~> 1.1)
- Logging (1.4.0)
- MatrixSDK (0.23.19):
- MatrixSDK/Core (= 0.23.19)
- MatrixSDK/Core (0.23.19):
- MatrixSDK (0.24.0):
- MatrixSDK/Core (= 0.24.0)
- MatrixSDK/Core (0.24.0):
- AFNetworking (~> 4.0.0)
- GZIP (~> 1.3.0)
- libbase58 (~> 0.1.4)
@@ -66,9 +66,9 @@ PODS:
- OLMKit (~> 3.2.5)
- Realm (= 10.27.0)
- SwiftyBeaver (= 1.9.5)
- MatrixSDK/CryptoSDK (0.23.19):
- MatrixSDK/CryptoSDK (0.24.0):
- MatrixSDKCrypto (= 0.1.0)
- MatrixSDK/JingleCallStack (0.23.19):
- MatrixSDK/JingleCallStack (0.24.0):
- JitsiMeetSDK (= 5.0.2)
- MatrixSDK/Core
- MatrixSDKCrypto (0.1.0)
@@ -123,8 +123,8 @@ DEPENDENCIES:
- KeychainAccess (~> 4.2.2)
- KTCenterFlowLayout (~> 1.3.1)
- libPhoneNumber-iOS (~> 0.9.13)
- MatrixSDK (= 0.23.19)
- MatrixSDK/JingleCallStack (= 0.23.19)
- MatrixSDK (= 0.24.0)
- MatrixSDK/JingleCallStack (= 0.24.0)
- OLMKit
- PostHog (~> 1.4.4)
- ReadMoreTextView (~> 3.0.1)
@@ -221,7 +221,7 @@ SPEC CHECKSUMS:
libPhoneNumber-iOS: 0a32a9525cf8744fe02c5206eb30d571e38f7d75
LoggerAPI: ad9c4a6f1e32f518fdb43a1347ac14d765ab5e3d
Logging: beeb016c9c80cf77042d62e83495816847ef108b
MatrixSDK: a60a00635006c539dce654253e8f0544ea996111
MatrixSDK: 196ae670143c5169ca9d02ff4d4a87f1e4dd8f08
MatrixSDKCrypto: 4b9146d5ef484550341be056a164c6930038028e
OLMKit: da115f16582e47626616874e20f7bb92222c7a51
PostHog: 4b6321b521569092d4ef3a02238d9435dbaeb99f
@@ -241,6 +241,6 @@ SPEC CHECKSUMS:
zxcvbn-ios: fef98b7c80f1512ff0eec47ac1fa399fc00f7e3c
ZXingObjC: fdbb269f25dd2032da343e06f10224d62f537bdb
PODFILE CHECKSUM: 400334cf1580361b831a632dcc025f2029e56b6e
PODFILE CHECKSUM: f8957c6eb2617c1f8a9174c1c5eac5f2bd67a599
COCOAPODS: 1.11.2
@@ -29,7 +29,8 @@
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
disableMainThreadChecker = "YES"
onlyGenerateCoverageForSpecifiedTargets = "NO">
codeCoverageEnabled = "YES"
onlyGenerateCoverageForSpecifiedTargets = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
@@ -53,6 +54,15 @@
</Testables>
<CommandLineArguments>
</CommandLineArguments>
<CodeCoverageTargets>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "57B13CC4586E9D43ED24DE1E"
BuildableName = "Riot.app"
BlueprintName = "Riot"
ReferencedContainer = "container:Riot.xcodeproj">
</BuildableReference>
</CodeCoverageTargets>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
@@ -93,6 +93,12 @@ FOUNDATION_EXPORT NSString *const RecentsViewControllerDataReadyNotification;
*/
@property (nonatomic, weak) RootTabEmptyView *emptyView;
/**
The bottom anchor used to layout `emptyView` in the absence of a FAB.
If this value is `nil` the empty view will be anchored to the bottom of its superview.
*/
@property (nonatomic, weak) NSLayoutYAxisAnchor *emptyViewBottomAnchor;
/**
The screen timer used for analytics if they've been enabled. The default value is nil.
*/
@@ -2226,7 +2226,8 @@ NSString *const RecentsViewControllerDataReadyNotification = @"RecentsViewContro
[self.view addSubview:emptyView];
}
emptyViewBottomConstraint = [emptyView.bottomAnchor constraintEqualToAnchor:emptyView.superview.bottomAnchor];
NSLayoutYAxisAnchor *bottomAnchor = self.emptyViewBottomAnchor ?: emptyView.superview.bottomAnchor;
emptyViewBottomConstraint = [emptyView.bottomAnchor constraintEqualToAnchor:bottomAnchor constant:-1]; // 1pt spacing for UIToolbar's divider.
emptyView.translatesAutoresizingMaskIntoConstraints = NO;
@@ -73,14 +73,6 @@ class VectorHostingController: UIHostingController<AnyView> {
bottomSheetPreferences?.setup(viewController: self)
}
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
if isNavigationBarHidden {
self.navigationController?.isNavigationBarHidden = true
}
}
override func viewDidAppear(_ animated: Bool) {
super.viewDidAppear(animated)
@@ -93,6 +85,14 @@ class VectorHostingController: UIHostingController<AnyView> {
}
}
override func viewWillLayoutSubviews() {
super.viewWillLayoutSubviews()
if let navigationController = navigationController, navigationController.isNavigationBarHidden != isNavigationBarHidden {
navigationController.isNavigationBarHidden = isNavigationBarHidden
}
}
override func viewDidLayoutSubviews() {
super.viewDidLayoutSubviews()
@@ -127,6 +127,7 @@ class AllChatsViewController: HomeViewController {
recentsTableView.contentInsetAdjustmentBehavior = .automatic
toolbarHeight = toolbar.frame.height
emptyViewBottomAnchor = toolbar.topAnchor
updateUI()
@@ -27,7 +27,7 @@ final class AnalyticsPromptCoordinator: Coordinator, Presentable {
// MARK: Private
private let parameters: AnalyticsPromptCoordinatorParameters
private let analyticsPromptHostingController: UIViewController
private let analyticsPromptHostingController: VectorHostingController
private var _analyticsPromptViewModel: Any?
fileprivate var analyticsPromptViewModel: AnalyticsPromptViewModel {
@@ -59,6 +59,7 @@ final class AnalyticsPromptCoordinator: Coordinator, Presentable {
let view = AnalyticsPrompt(viewModel: viewModel.context)
_analyticsPromptViewModel = viewModel
analyticsPromptHostingController = VectorHostingController(rootView: view)
analyticsPromptHostingController.isNavigationBarHidden = true
}
// MARK: - Public
@@ -45,6 +45,7 @@ final class OnboardingCelebrationCoordinator: Coordinator, Presentable {
onboardingCelebrationViewModel = viewModel
onboardingCelebrationHostingController = VectorHostingController(rootView: view)
onboardingCelebrationHostingController.enableNavigationBarScrollEdgeAppearance = true
onboardingCelebrationHostingController.isNavigationBarHidden = true
}
// MARK: - Public
@@ -58,6 +58,7 @@ final class OnboardingCongratulationsCoordinator: Coordinator, Presentable {
onboardingCongratulationsViewModel = viewModel
onboardingCongratulationsHostingController = VectorHostingController(rootView: view)
onboardingCongratulationsHostingController.statusBarStyle = .lightContent
onboardingCongratulationsHostingController.isNavigationBarHidden = true
}
// MARK: - Public
@@ -46,6 +46,7 @@ final class OnboardingSplashScreenCoordinator: OnboardingSplashScreenCoordinator
onboardingSplashScreenViewModel = viewModel
onboardingSplashScreenHostingController = VectorHostingController(rootView: view)
onboardingSplashScreenHostingController.vc_removeBackTitle()
onboardingSplashScreenHostingController.isNavigationBarHidden = true
indicatorPresenter = UserIndicatorTypePresenter(presentingViewController: onboardingSplashScreenHostingController)
}
-1
View File
@@ -1 +0,0 @@
Voiceover: Add labels to User Menu and My Spaces buttons on the All Chats view.
-1
View File
@@ -1 +0,0 @@
Device manager: User session details screen.
-1
View File
@@ -1 +0,0 @@
Media: Avoid redundant reloads on media viewer.
-1
View File
@@ -1 +0,0 @@
Pass country code into MSISDN requests
-1
View File
@@ -1 +0,0 @@
Include concrete device model in user agent (PSG-754)
-1
View File
@@ -1 +0,0 @@
Fix render of links with both characters requiring percent encoding and markdown-like syntax
-1
View File
@@ -1 +0,0 @@
Fix crash when scrolling chat list
-1
View File
@@ -1 +0,0 @@
Device manager: Session overview screen.
-1
View File
@@ -1 +0,0 @@
App Layout: Unable to send message after filtering for room
-1
View File
@@ -1 +0,0 @@
Device Manager: Link current session to session overview.
-1
View File
@@ -1 +0,0 @@
Fix code block background colour
-1
View File
@@ -1 +0,0 @@
CryptoV2: Manual device verification
-1
View File
@@ -1 +0,0 @@
User sessions: Add support for MSC3881
-1
View File
@@ -1 +0,0 @@
Fix crash when scrolling chat list
-1
View File
@@ -1 +0,0 @@
UserSessions: Extended device information (PSG-772).
-1
View File
@@ -1 +0,0 @@
Settings: Add labs flags for new session manager (PSG-792, PSG-799).
-1
View File
@@ -1 +0,0 @@
User session details: Include browser version for web sessions (PSG-761).