Skip to content

Commit

Permalink
Merge branch 'release/1.9.9/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
gulekismail committed Oct 18, 2022
2 parents 7c5ab6b + 3502a08 commit 87e2e12
Show file tree
Hide file tree
Showing 357 changed files with 15,103 additions and 1,582 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/enhancement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ body:
- type: markdown
attributes:
value: |
Thank you for taking the time to propose a new feature or make a suggestion.
Thank you for taking the time to propose an enhancement to an existing feature. If you would like to propose a new feature or a major cross-platform change, please [start a discussion here](https://github.com/vector-im/element-meta/discussions/new?category=ideas)
- type: textarea
id: usecase
attributes:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,5 @@ jobs:

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
flags: unittests
2 changes: 2 additions & 0 deletions .github/workflows/ci-ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,6 @@ jobs:

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
flags: uitests

7 changes: 6 additions & 1 deletion .github/workflows/release-alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:

# Triggers the workflow on any pull request
pull_request:
types: [ labeled, synchronized, opened, reopened ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -27,7 +28,11 @@ jobs:
build:
# Run job if secrets are available (not available for forks).
needs: [check-secret]
if: needs.check-secret.outputs.out-key == 'true'
if: |
needs.check-secret.outputs.out-key == 'true' &&
(github.event_name == 'push' ||
(github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'Trigger-PR-Build')))
name: Release
runs-on: macos-12

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/triage-priority-bugs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- uses: alex-page/github-project-automation-plus@bb266ff4dde9242060e2d5418e120a133586d488
with:
project: iOS App Team
column: P1
column: "Important Issues & Topics (P1)"
repo-token: ${{ secrets.ELEMENT_BOT_TOKEN }}

P1_issues_to_crypto_team_workboard:
Expand Down
57 changes: 57 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,60 @@
## Changes in 1.9.9 (2022-10-18)

✨ Features

- Added RendezvousService and secure channel establishment implementation ([#6806](https://github.com/vector-im/element-ios/pull/6806))
- Implemented login with QR code flows when scanning from mobile ([#6857](https://github.com/vector-im/element-ios/pull/6857))

🙌 Improvements

- User agents: Ignore OS version for web based sessions (PSG-826). ([#6852](https://github.com/vector-im/element-ios/pull/6852))
- Upgrade MatrixSDK version ([v0.24.1](https://github.com/matrix-org/matrix-ios-sdk/releases/tag/v0.24.1)).
- Display push toggle for sessions with m.local_notification_settings.<device-id> events in account_data ([#6797](https://github.com/vector-im/element-ios/issues/6797))
- CryptoV2: Incoming verification requests ([#6809](https://github.com/vector-im/element-ios/issues/6809))
- Check enabled field in notification settings push toggles ([#6814](https://github.com/vector-im/element-ios/issues/6814))
- Only use device type name as fallback for session display name ([#6820](https://github.com/vector-im/element-ios/issues/6820))
- Include app name in default session display name ([#6828](https://github.com/vector-im/element-ios/issues/6828))
- Tidy up TabBarCoordinator now that AllChatsCoordinator exists. ([#6853](https://github.com/vector-im/element-ios/issues/6853))
- Sign Out: Add a SignOutFlowPresenter and use this in All Chats, Settings and the Device Manager. ([#6854](https://github.com/vector-im/element-ios/issues/6854))
- Improved the Rich Text Editor to match design requirements. ([#6903](https://github.com/vector-im/element-ios/issues/6903))

🐛 Bugfixes

- Filter out application section in session details if needed. ([#6898](https://github.com/vector-im/element-ios/pull/6898))
- Rich text editor now supports interactive dismissal by dragging the timeline. ([#6919](https://github.com/vector-im/element-ios/pull/6919), [#6900](https://github.com/vector-im/element-ios/issues/6900))
- Location sharing: removing the loader. ([#5571](https://github.com/vector-im/element-ios/issues/5571))
- Element freezes after searching in a room. ([#6762](https://github.com/vector-im/element-ios/issues/6762))
- Settings: Use regular titles for all of the sub-screens. ([#6804](https://github.com/vector-im/element-ios/issues/6804))
- All Chats: Fix a header glitch when aborting a pop gesture. ([#6833](https://github.com/vector-im/element-ios/issues/6833))
- Device manager: Fixes from x-platform testing. ([#6864](https://github.com/vector-im/element-ios/issues/6864))
- All chats shows no rooms in the list. ([#6869](https://github.com/vector-im/element-ios/issues/6869))
- Device Manager: Navigating to session overview goes to session details. ([#6877](https://github.com/vector-im/element-ios/issues/6877))
- "Notifications on this device" not refreshed in user settings screen ([#6888](https://github.com/vector-im/element-ios/issues/6888))
- Rich text editor now always focuses if field is tapped within the border. ([#6897](https://github.com/vector-im/element-ios/issues/6897))
- Device Manger: Device client information not updated. ([#6904](https://github.com/vector-im/element-ios/issues/6904))

🧱 Build

- Remove the (now unused) FFMPEG pod. ([#6419](https://github.com/vector-im/element-ios/issues/6419))
- Update build tools from Cocoapods. ([#6886](https://github.com/vector-im/element-ios/issues/6886))

🚧 In development 🚧

- Device manager: Inactive sessions screen. ([#6786](https://github.com/vector-im/element-ios/issues/6786))
- Device manager: Unverified sessions screen. ([#6801](https://github.com/vector-im/element-ios/issues/6801))
- Device Manager: Add logout actions to UserSessionsOverview and UserSessionOverview ([#6802](https://github.com/vector-im/element-ios/issues/6802))
- Device Manager: 'View all' button in other sessions list. ([#6817](https://github.com/vector-im/element-ios/issues/6817))
- Device manager: Add UserSessionName and Rename actions to UserSessionsOverview and UserSessionOverview. ([#6823](https://github.com/vector-im/element-ios/issues/6823))
- Device Manager: Filter sessions. ([#6838](https://github.com/vector-im/element-ios/issues/6838))
- Device manager: Add verify device actions to UserSessionsOverview and UserSessionOverview. ([#6845](https://github.com/vector-im/element-ios/issues/6845))
- Device manager: Identify inactive sessions. ([#6881](https://github.com/vector-im/element-ios/issues/6881))

Others

- Expose AuthenticationRestClient async login token generation method ([#6827](https://github.com/vector-im/element-ios/pull/6827))
- Use unstable prefixes for login with QR flows. ([#6899](https://github.com/vector-im/element-ios/pull/6899))


## Changes in 1.9.8 (2022-10-04)

🙌 Improvements
Expand Down
5 changes: 3 additions & 2 deletions Config/AppConfiguration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ class AppConfiguration: CommonConfiguration {
// Enable CallKit for app
MXKAppSettings.standard()?.isCallKitEnabled = true

// Get modular widget events in rooms histories
// Get additional events (modular widget, voice broadcast...)
MXKAppSettings.standard()?.addSupportedEventTypes([kWidgetMatrixEventTypeString,
kWidgetModularEventTypeString])
kWidgetModularEventTypeString,
VoiceBroadcastSettings.eventType])

// Hide undecryptable messages that were sent while the user was not in the room
MXKAppSettings.standard()?.hidePreJoinedUndecryptableEvents = true
Expand Down
4 changes: 2 additions & 2 deletions Config/AppVersion.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
//

// Version
MARKETING_VERSION = 1.9.8
CURRENT_PROJECT_VERSION = 1.9.8
MARKETING_VERSION = 1.9.9
CURRENT_PROJECT_VERSION = 1.9.9
15 changes: 15 additions & 0 deletions Config/BuildSettings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,10 @@ final class BuildSettings: NSObject {
static let defaultTileServerMapStyleURL = URL(string: "https://api.maptiler.com/maps/streets/style.json?key=fU3vlMsMn4Jb6dnEIFsx")!

static let locationSharingEnabled = true

// MARK: - Voice Broadcast
static let voiceBroadcastChunkLength: Int = 600
static let voiceBroadcastMaxLength: UInt64 = 144000

// MARK: - MXKAppSettings
static let enableBotCreation: Bool = false
Expand All @@ -420,4 +424,15 @@ final class BuildSettings: NSObject {

// MARK: - New App Layout
static let newAppLayoutEnabled = true

// MARK: - QR Login

/// Flag indicating whether the QR login enabled from login screen
static let qrLoginEnabledFromNotAuthenticated = true
/// Flag indicating whether the QR login enabled from Device Manager screen
static let qrLoginEnabledFromAuthenticated = false
/// Flag indicating whether displaying QRs enabled for the QR login screens
static let qrLoginEnableDisplayingQRs = false

static let rendezvousServerBaseURL = URL(string: "https://rendezvous.lab.element.dev/")!
}
2 changes: 1 addition & 1 deletion Config/CommonConfiguration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class CommonConfiguration: NSObject, Configurable {

func setupSettingsWhenLoaded(for matrixSession: MXSession) {
// Do not warn for unknown devices. We have cross-signing now
matrixSession.crypto.warnOnUnknowDevices = false
matrixSession.crypto?.warnOnUnknowDevices = false
}

}
10 changes: 5 additions & 5 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.24.0'
$matrixSDKVersion = '= 0.24.1'
# $matrixSDKVersion = :local
# $matrixSDKVersion = { :branch => 'develop'}
# $matrixSDKVersion = { :specHash => { git: 'https://git.io/fork123', branch: 'fix' } }
Expand Down Expand Up @@ -61,6 +61,7 @@ end
def import_SwiftUI_pods
pod 'Introspect', '~> 0.1'
pod 'DSBottomSheet', '~> 0.3'
pod 'ZXingObjC', '~> 3.6.5'
end

abstract_target 'RiotPods' do
Expand All @@ -80,8 +81,9 @@ abstract_target 'RiotPods' do
pod 'zxcvbn-ios'

# Tools
pod 'SwiftGen', '~> 6.3'
pod 'SwiftLint', '~> 0.44.0'
pod 'SwiftGen'
pod 'SwiftLint'
pod 'SwiftFormat/CLI'

target "Riot" do
import_MatrixSDK
Expand All @@ -92,14 +94,12 @@ abstract_target 'RiotPods' do
pod 'UICollectionViewRightAlignedLayout', '~> 0.0.3'
pod 'UICollectionViewLeftAlignedLayout', '~> 1.0.2'
pod 'KTCenterFlowLayout', '~> 1.3.1'
pod 'ZXingObjC', '~> 3.6.5'
pod 'FlowCommoniOS', '~> 1.12.0'
pod 'ReadMoreTextView', '~> 3.0.1'
pod 'SwiftBase32', '~> 0.9.0'
pod 'SwiftJWT', '~> 3.6.200'
pod 'SideMenu', '~> 6.5'
pod 'DSWaveformImage', '~> 6.1.1'
pod 'ffmpeg-kit-ios-audio', '4.5.1'

pod 'FLEX', '~> 4.5.0', :configurations => ['Debug'], :inhibit_warnings => true

Expand Down
40 changes: 20 additions & 20 deletions Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ PODS:
- DTFoundation/Core
- DTFoundation/UIKit (1.7.18):
- DTFoundation/Core
- ffmpeg-kit-ios-audio (4.5.1)
- FLEX (4.5.0)
- FlowCommoniOS (1.12.2)
- GBDeviceInfo (6.6.0):
Expand All @@ -56,22 +55,22 @@ PODS:
- LoggerAPI (1.9.200):
- Logging (~> 1.1)
- Logging (1.4.0)
- MatrixSDK (0.24.0):
- MatrixSDK/Core (= 0.24.0)
- MatrixSDK/Core (0.24.0):
- MatrixSDK (0.24.1):
- MatrixSDK/Core (= 0.24.1)
- MatrixSDK/Core (0.24.1):
- AFNetworking (~> 4.0.0)
- GZIP (~> 1.3.0)
- libbase58 (~> 0.1.4)
- MatrixSDK/CryptoSDK
- OLMKit (~> 3.2.5)
- Realm (= 10.27.0)
- SwiftyBeaver (= 1.9.5)
- MatrixSDK/CryptoSDK (0.24.0):
- MatrixSDKCrypto (= 0.1.0)
- MatrixSDK/JingleCallStack (0.24.0):
- MatrixSDK/CryptoSDK (0.24.1):
- MatrixSDKCrypto (= 0.1.2)
- MatrixSDK/JingleCallStack (0.24.1):
- JitsiMeetSDK (= 5.0.2)
- MatrixSDK/Core
- MatrixSDKCrypto (0.1.0)
- MatrixSDKCrypto (0.1.2)
- OLMKit (3.2.12):
- OLMKit/olmc (= 3.2.12)
- OLMKit/olmcpp (= 3.2.12)
Expand All @@ -92,14 +91,15 @@ PODS:
- Sentry/Core (7.15.0)
- SideMenu (6.5.0)
- SwiftBase32 (0.9.0)
- SwiftFormat/CLI (0.50.2)
- SwiftGen (6.6.2)
- SwiftJWT (3.6.200):
- BlueCryptor (~> 1.0)
- BlueECC (~> 1.1)
- BlueRSA (~> 1.0)
- KituraContracts (~> 1.2)
- LoggerAPI (~> 1.7)
- SwiftLint (0.44.0)
- SwiftLint (0.49.1)
- SwiftyBeaver (1.9.5)
- UICollectionViewLeftAlignedLayout (1.0.2)
- UICollectionViewRightAlignedLayout (0.0.3)
Expand All @@ -115,26 +115,26 @@ DEPENDENCIES:
- DSBottomSheet (~> 0.3)
- DSWaveformImage (~> 6.1.1)
- DTCoreText (~> 1.6.25)
- ffmpeg-kit-ios-audio (= 4.5.1)
- FLEX (~> 4.5.0)
- FlowCommoniOS (~> 1.12.0)
- GBDeviceInfo (~> 6.6.0)
- Introspect (~> 0.1)
- KeychainAccess (~> 4.2.2)
- KTCenterFlowLayout (~> 1.3.1)
- libPhoneNumber-iOS (~> 0.9.13)
- MatrixSDK (= 0.24.0)
- MatrixSDK/JingleCallStack (= 0.24.0)
- MatrixSDK (= 0.24.1)
- MatrixSDK/JingleCallStack (= 0.24.1)
- OLMKit
- PostHog (~> 1.4.4)
- ReadMoreTextView (~> 3.0.1)
- Reusable (~> 4.1)
- Sentry (~> 7.15.0)
- SideMenu (~> 6.5)
- SwiftBase32 (~> 0.9.0)
- SwiftGen (~> 6.3)
- SwiftFormat/CLI
- SwiftGen
- SwiftJWT (~> 3.6.200)
- SwiftLint (~> 0.44.0)
- SwiftLint
- UICollectionViewLeftAlignedLayout (~> 1.0.2)
- UICollectionViewRightAlignedLayout (~> 0.0.3)
- WeakDictionary (~> 2.0)
Expand All @@ -152,7 +152,6 @@ SPEC REPOS:
- DSWaveformImage
- DTCoreText
- DTFoundation
- ffmpeg-kit-ios-audio
- FLEX
- FlowCommoniOS
- GBDeviceInfo
Expand All @@ -176,6 +175,7 @@ SPEC REPOS:
- Sentry
- SideMenu
- SwiftBase32
- SwiftFormat
- SwiftGen
- SwiftJWT
- SwiftLint
Expand Down Expand Up @@ -207,7 +207,6 @@ SPEC CHECKSUMS:
DSWaveformImage: 3c718a0cf99291887ee70d1d0c18d80101d3d9ce
DTCoreText: ec749e013f2e1f76de5e7c7634642e600a7467ce
DTFoundation: a53f8cda2489208cbc71c648be177f902ee17536
ffmpeg-kit-ios-audio: 662ce2064e56733ca7d8216705efbc38d9e1c3fe
FLEX: e51461dd6f0bfb00643c262acdfea5d5d12c596b
FlowCommoniOS: ca92071ab526dc89905495a37844fd7e78d1a7f2
GBDeviceInfo: ed0db16230d2fa280e1cbb39a5a7f60f6946aaec
Expand All @@ -221,8 +220,8 @@ SPEC CHECKSUMS:
libPhoneNumber-iOS: 0a32a9525cf8744fe02c5206eb30d571e38f7d75
LoggerAPI: ad9c4a6f1e32f518fdb43a1347ac14d765ab5e3d
Logging: beeb016c9c80cf77042d62e83495816847ef108b
MatrixSDK: 196ae670143c5169ca9d02ff4d4a87f1e4dd8f08
MatrixSDKCrypto: 4b9146d5ef484550341be056a164c6930038028e
MatrixSDK: 0cb0727dd82f88d0115da93ce94ed9556a195c9b
MatrixSDKCrypto: e6e69cb16f9e459761567d078af0c17929f6a3c2
OLMKit: da115f16582e47626616874e20f7bb92222c7a51
PostHog: 4b6321b521569092d4ef3a02238d9435dbaeb99f
ReadMoreTextView: 19147adf93abce6d7271e14031a00303fe28720d
Expand All @@ -231,16 +230,17 @@ SPEC CHECKSUMS:
Sentry: 63ca44f5e0c8cea0ee5a07686b02e56104f41ef7
SideMenu: f583187d21c5b1dd04c72002be544b555a2627a2
SwiftBase32: 9399c25a80666dc66b51e10076bf591e3bbb8f17
SwiftFormat: 710117321c55c82675c0dc03055128efbb13c38f
SwiftGen: 1366a7f71aeef49954ca5a63ba4bef6b0f24138c
SwiftJWT: 88c412708f58c169d431d344c87bc79a87c830ae
SwiftLint: e96c0a8c770c7ebbc4d36c55baf9096bb65c4584
SwiftLint: 32ee33ded0636d0905ef6911b2b67bbaeeedafa5
SwiftyBeaver: 84069991dd5dca07d7069100985badaca7f0ce82
UICollectionViewLeftAlignedLayout: 830bf6fa5bab9f9b464f62e3384f9d2e00b3c0f6
UICollectionViewRightAlignedLayout: 823eef8c567eba4a44c21bc2ffcb0d0d5f361e2d
WeakDictionary: 8cd038acd77e5d54ca4ebaec3d20853d732b45e0
zxcvbn-ios: fef98b7c80f1512ff0eec47ac1fa399fc00f7e3c
ZXingObjC: fdbb269f25dd2032da343e06f10224d62f537bdb

PODFILE CHECKSUM: f8957c6eb2617c1f8a9174c1c5eac5f2bd67a599
PODFILE CHECKSUM: 82fb79d0a6b074f77950ec73304a749eb0329d12

COCOAPODS: 1.11.2
8 changes: 8 additions & 0 deletions Riot.xcworkspace/xcshareddata/swiftpm/Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@
"version" : "5.12.2"
}
},
{
"identity" : "matrix-wysiwyg-composer-swift",
"kind" : "remoteSourceControl",
"location" : "https://github.com/matrix-org/matrix-wysiwyg-composer-swift",
"state" : {
"revision" : "11dad16e3e589dba423f6cc5707e9df8aace89b0"
}
},
{
"identity" : "ogg-swift",
"kind" : "remoteSourceControl",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"images" : [
{
"filename" : "Secure connection.svg",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 87e2e12

Please sign in to comment.