mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-17 15:09:31 +02:00
Merge branch 'release/1.11.17/master'
This commit is contained in:
3
.github/workflows/ci-tests.yml
vendored
3
.github/workflows/ci-tests.yml
vendored
@@ -62,6 +62,7 @@ jobs:
|
||||
run: bundle exec fastlane test
|
||||
|
||||
- name: Upload coverage to Codecov
|
||||
uses: codecov/codecov-action@v3
|
||||
uses: codecov/codecov-action@v4
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
flags: unittests
|
||||
|
||||
4
.github/workflows/ci-ui-tests.yml
vendored
4
.github/workflows/ci-ui-tests.yml
vendored
@@ -57,7 +57,7 @@ jobs:
|
||||
run: bundle exec fastlane uitest
|
||||
|
||||
- name: Upload coverage to Codecov
|
||||
uses: codecov/codecov-action@v3
|
||||
uses: codecov/codecov-action@v4
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
flags: uitests
|
||||
|
||||
4
.github/workflows/sonarcloud.yml
vendored
4
.github/workflows/sonarcloud.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
||||
with:
|
||||
# Additional arguments for the sonarcloud scanner
|
||||
args:
|
||||
-Dsonar.projectKey=vector-im_element-ios
|
||||
-Dsonar.organization=new_vector_ltd_organization
|
||||
-Dsonar.projectKey=element-ios
|
||||
-Dsonar.organization=element-hq
|
||||
-Dsonar.inclusions=RiotSwiftUI/**
|
||||
# For more info about the parameters, please refer to https://docs.sonarcloud.io/advanced-setup/analysis-parameters/
|
||||
@@ -1,3 +1,10 @@
|
||||
## Changes in 1.11.17 (2024-08-20)
|
||||
|
||||
🙌 Improvements
|
||||
|
||||
- Check power level before starting live sharing location ([#7808](https://github.com/element-hq/element-ios/pull/7808))
|
||||
|
||||
|
||||
## Changes in 1.11.16 (2024-07-23)
|
||||
|
||||
No significant changes.
|
||||
|
||||
@@ -15,5 +15,5 @@
|
||||
//
|
||||
|
||||
// Version
|
||||
MARKETING_VERSION = 1.11.16
|
||||
CURRENT_PROJECT_VERSION = 1.11.16
|
||||
MARKETING_VERSION = 1.11.17
|
||||
CURRENT_PROJECT_VERSION = 1.11.17
|
||||
|
||||
2
Podfile
2
Podfile
@@ -61,7 +61,7 @@ abstract_target 'RiotPods' do
|
||||
pod 'SideMenu', '~> 6.5'
|
||||
pod 'DSWaveformImage', '~> 6.1.1'
|
||||
|
||||
pod 'FLEX', '~> 4.5.0', :configurations => ['Debug'], :inhibit_warnings => true
|
||||
pod 'FLEX', '~> 5.22.10', :configurations => ['Debug'], :inhibit_warnings => true
|
||||
|
||||
target 'RiotTests' do
|
||||
inherit! :search_paths
|
||||
|
||||
@@ -20,7 +20,7 @@ PODS:
|
||||
- Down (0.11.0)
|
||||
- DSBottomSheet (0.3.0)
|
||||
- DSWaveformImage (6.1.1)
|
||||
- FLEX (4.5.0)
|
||||
- FLEX (5.22.10)
|
||||
- FlowCommoniOS (1.12.2)
|
||||
- GBDeviceInfo (7.1.0):
|
||||
- GBDeviceInfo/Core (= 7.1.0)
|
||||
@@ -94,7 +94,7 @@ DEPENDENCIES:
|
||||
- Down (~> 0.11.0)
|
||||
- DSBottomSheet (~> 0.3)
|
||||
- DSWaveformImage (~> 6.1.1)
|
||||
- FLEX (~> 4.5.0)
|
||||
- FLEX (~> 5.22.10)
|
||||
- FlowCommoniOS (~> 1.12.0)
|
||||
- GBDeviceInfo (~> 7.1.0)
|
||||
- Introspect (~> 0.1)
|
||||
@@ -173,7 +173,7 @@ SPEC CHECKSUMS:
|
||||
Down: b6ba1bc985c9d2f4e15e3b293d2207766fa12612
|
||||
DSBottomSheet: ca0ac37eb5af2dd54663f86b84382ed90a59be2a
|
||||
DSWaveformImage: 3c718a0cf99291887ee70d1d0c18d80101d3d9ce
|
||||
FLEX: e51461dd6f0bfb00643c262acdfea5d5d12c596b
|
||||
FLEX: f21ee4f498eed3f8a1eded66b21939fd3b7a22ce
|
||||
FlowCommoniOS: ca92071ab526dc89905495a37844fd7e78d1a7f2
|
||||
GBDeviceInfo: 5d62fa85bdcce3ed288d83c28789adf1173e4376
|
||||
GZIP: 3c0abf794bfce8c7cb34ea05a1837752416c8868
|
||||
@@ -207,6 +207,6 @@ SPEC CHECKSUMS:
|
||||
zxcvbn-ios: fef98b7c80f1512ff0eec47ac1fa399fc00f7e3c
|
||||
ZXingObjC: 8898711ab495761b2dbbdec76d90164a6d7e14c5
|
||||
|
||||
PODFILE CHECKSUM: b622ffadc1a0fe5442787bd9023ca3d110384814
|
||||
PODFILE CHECKSUM: 7e14a7efb021fca69b3ffc2ffbe5fe632e6df7ea
|
||||
|
||||
COCOAPODS: 1.14.3
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
[](https://buildkite.com/matrix-dot-org/element-ios/builds?branch=develop)
|
||||
[](https://translate.riot.im/engage/riot-ios/?utm_source=widget)
|
||||
[](https://codecov.io/gh/element-hq/element-ios)
|
||||
[](https://sonarcloud.io/summary/new_code?id=vector-im_element-ios)
|
||||
[](https://sonarcloud.io/summary/new_code?id=vector-im_element-ios)
|
||||
[](https://sonarcloud.io/summary/new_code?id=vector-im_element-ios)
|
||||
[](https://sonarcloud.io/summary/new_code?id=element-ios)
|
||||
[](https://sonarcloud.io/summary/new_code?id=element-ios)
|
||||
[](https://sonarcloud.io/summary/new_code?id=element-ios)
|
||||
[](https://matrix.to/#/#element-ios:matrix.org)
|
||||

|
||||
[](https://twitter.com/element_hq)
|
||||
@@ -17,7 +17,7 @@ Element iOS is an iOS [Matrix](https://matrix.org/) client provided by [Element]
|
||||
|
||||
<p align="center">
|
||||
<a href=https://itunes.apple.com/us/app/element/id1083446067?mt=8>
|
||||
<img alt="Download on the app store" src="https://linkmaker.itunes.apple.com/images/badges/en-us/badge_appstore-lrg.svg" width=160>
|
||||
<img alt="Download on the app store" src="https://www.apple.com/lae/itunes/link/images/link_badge_appstore_large_2x.png" width=160>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
|
||||
@@ -166,17 +166,16 @@ final class LocationSharingCoordinator: Coordinator, Presentable {
|
||||
|
||||
// Check if user can send beacon info state event
|
||||
private func canShareLiveLocation() -> Bool {
|
||||
guard let myUserId = parameters.roomDataSource.mxSession.myUserId else {
|
||||
guard let myUserId = parameters.roomDataSource.mxSession.myUserId,
|
||||
let roomPowerLevels = parameters.roomDataSource.roomState.powerLevels,
|
||||
let userPowerLevel = RoomPowerLevel(rawValue: roomPowerLevels.powerLevelOfUser(withUserID: myUserId)) else {
|
||||
return false
|
||||
}
|
||||
|
||||
let userPowerLevelRawValue = parameters.roomDataSource.roomState.powerLevels.powerLevelOfUser(withUserID: myUserId)
|
||||
|
||||
guard let userPowerLevel = RoomPowerLevel(rawValue: userPowerLevelRawValue) else {
|
||||
return false
|
||||
}
|
||||
|
||||
return userPowerLevel.rawValue >= RoomPowerLevel.moderator.rawValue
|
||||
// CHeck user power level in room against power level needed to post geolocation state event.
|
||||
let liveSharingPowerLevel = roomPowerLevels.minimumPowerLevelForSendingStateEvent(.beaconInfo)
|
||||
|
||||
return userPowerLevel.rawValue >= liveSharingPowerLevel
|
||||
}
|
||||
|
||||
private func showLabFlagPromotionIfNeeded(completion: @escaping ((Bool) -> Void)) {
|
||||
|
||||
Submodule matrix-ios-sdk updated: 1c4b3f5c32...1f3fa5aa79
Reference in New Issue
Block a user