Skip to content

Commit bdd431d

Browse files
committed
Merge branch 'release/1.5.22' into main
2 parents 3e947e4 + 67ad1d8 commit bdd431d

File tree

235 files changed

+4779
-1003
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

235 files changed

+4779
-1003
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,10 @@ jobs:
2525
cancel-in-progress: true
2626
steps:
2727
- uses: actions/checkout@v3
28-
- uses: actions/cache@v3
28+
- name: Configure gradle
29+
uses: gradle/gradle-build-action@v2
2930
with:
30-
path: |
31-
~/.gradle/caches
32-
~/.gradle/wrapper
33-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
34-
restore-keys: |
35-
${{ runner.os }}-gradle-
31+
cache-read-only: ${{ github.ref != 'refs/heads/develop' }}
3632
- name: Assemble ${{ matrix.target }} debug apk
3733
run: ./gradlew assemble${{ matrix.target }}Debug $CI_GRADLE_ARG_PROPERTIES
3834
- name: Upload ${{ matrix.target }} debug APKs
@@ -50,14 +46,10 @@ jobs:
5046
cancel-in-progress: ${{ github.ref != 'refs/head/main' }}
5147
steps:
5248
- uses: actions/checkout@v3
53-
- uses: actions/cache@v3
49+
- name: Configure gradle
50+
uses: gradle/gradle-build-action@v2
5451
with:
55-
path: |
56-
~/.gradle/caches
57-
~/.gradle/wrapper
58-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
59-
restore-keys: |
60-
${{ runner.os }}-gradle-
52+
cache-read-only: ${{ github.ref != 'refs/heads/develop' }}
6153
- name: Assemble GPlay unsigned apk
6254
run: ./gradlew clean assembleGplayRelease $CI_GRADLE_ARG_PROPERTIES
6355
- name: Upload Gplay unsigned APKs

.github/workflows/danger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- run: |
1212
npm install --save-dev @babel/plugin-transform-flow-strip-types
1313
- name: Danger
14-
uses: danger/danger-js@11.2.0
14+
uses: danger/danger-js@11.2.2
1515
with:
1616
args: "--dangerfile ./tools/danger/dangerfile.js"
1717
env:

.github/workflows/nightly.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,10 @@ jobs:
1919
uses: actions/setup-python@v4
2020
with:
2121
python-version: 3.8
22-
- uses: actions/cache@v3
22+
- name: Configure gradle
23+
uses: gradle/gradle-build-action@v2
2324
with:
24-
path: |
25-
~/.gradle/caches
26-
~/.gradle/wrapper
27-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
28-
restore-keys: |
29-
${{ runner.os }}-gradle-
25+
cache-read-only: ${{ github.ref != 'refs/heads/develop' }}
3026
- name: Install towncrier
3127
run: |
3228
python3 -m pip install towncrier

.github/workflows/post-pr.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,25 +44,21 @@ jobs:
4444
uses: actions/setup-python@v4
4545
with:
4646
python-version: 3.8
47-
- uses: actions/cache@v3
47+
- uses: actions/setup-java@v3
4848
with:
49-
path: |
50-
~/.gradle/caches
51-
~/.gradle/wrapper
52-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
53-
restore-keys: |
54-
${{ runner.os }}-gradle-
49+
distribution: 'adopt'
50+
java-version: '11'
51+
- name: Configure gradle
52+
uses: gradle/gradle-build-action@v2
53+
with:
54+
cache-read-only: ${{ github.ref != 'refs/heads/develop' }}
5555
- name: Start synapse server
5656
uses: michaelkaye/setup-matrix-synapse@v1.0.4
5757
with:
5858
uploadLogs: true
5959
httpPort: 8080
6060
disableRateLimiting: true
6161
public_baseurl: "http://10.0.2.2:8080/"
62-
- uses: actions/setup-java@v3
63-
with:
64-
distribution: 'adopt'
65-
java-version: '11'
6662
- name: Run sanity tests on API ${{ matrix.api-level }}
6763
uses: reactivecircus/android-emulator-runner@v2
6864
with:

.github/workflows/quality.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
yarn add danger-plugin-lint-report --dev
6767
- name: Danger lint
6868
if: always()
69-
uses: danger/danger-js@11.2.0
69+
uses: danger/danger-js@11.2.2
7070
with:
7171
args: "--dangerfile ./tools/danger/dangerfile-lint.js"
7272
env:

.github/workflows/tests.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -139,14 +139,10 @@ jobs:
139139
# with:
140140
# distribution: 'adopt'
141141
# java-version: 11
142-
# - uses: actions/cache@v3
142+
# - name: Configure gradle
143+
# uses: gradle/gradle-build-action@v2
143144
# with:
144-
# path: |
145-
# ~/.gradle/caches
146-
# ~/.gradle/wrapper
147-
# key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
148-
# restore-keys: |
149-
# ${{ runner.os }}-gradle-
145+
# cache-read-only: ${{ github.ref != 'refs/heads/develop' }}
150146
# - name: Build Android Tests
151147
# run: ./gradlew clean assembleAndroidTest $CI_GRADLE_ARG_PROPERTIES
152148

CHANGES.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,43 @@
1+
Changes in Element v1.5.22 (2023-01-25)
2+
=======================================
3+
4+
Features ✨
5+
----------
6+
- [Poll] Warning message on decryption failure of some events ([#7824](https://github.com/vector-im/element-android/issues/7824))
7+
- [Poll] Render ended polls ([#7900](https://github.com/vector-im/element-android/issues/7900))
8+
- [Rich text editor] Update list item bullet appearance ([#7930](https://github.com/vector-im/element-android/issues/7930))
9+
- [Voice Broadcast] Handle connection errors while recording ([#7890](https://github.com/vector-im/element-android/issues/7890))
10+
- [Voice Broadcast] Use MSC3912 to delete server side all the related events ([#7967](https://github.com/vector-im/element-android/issues/7967))
11+
12+
Bugfixes 🐛
13+
----------
14+
- Fix OOM crashes. ([#7962](https://github.com/vector-im/element-android/issues/7962))
15+
- Fix can't get out of a verification dialog ([#4025](https://github.com/vector-im/element-android/issues/4025))
16+
- Fix rendering of edited polls ([#7938](https://github.com/vector-im/element-android/issues/7938))
17+
- [Voice Broadcast] Fix unexpected "live broadcast" in the room list ([#7832](https://github.com/vector-im/element-android/issues/7832))
18+
- Send voice message should not be allowed during a voice broadcast recording ([#7895](https://github.com/vector-im/element-android/issues/7895))
19+
- Voice Broadcast - Fix playback scrubbing not working if the playback is in a stopped state ([#7961](https://github.com/vector-im/element-android/issues/7961))
20+
- Handle exceptions when listening a voice broadcast ([#7829](https://github.com/vector-im/element-android/issues/7829))
21+
22+
In development 🚧
23+
----------------
24+
- [Voice Broadcast] Only display a notification on the first voice chunk ([#7845](https://github.com/vector-im/element-android/issues/7845))
25+
- [Poll] History list: Load more UI mechanism ([#7864](https://github.com/vector-im/element-android/issues/7864))
26+
27+
SDK API changes ⚠️
28+
------------------
29+
- Implement [MSC3912](https://github.com/matrix-org/matrix-spec-proposals/pull/3912): Relation-based redactions ([#7988](https://github.com/vector-im/element-android/issues/7988))
30+
31+
Other changes
32+
-------------
33+
- Upgrade to Kotlin 1.8 ([#7936](https://github.com/vector-im/element-android/issues/7936))
34+
- Sentry: Report sync duration and metrics for initial sync and for sync after pause. Not for regular sync. ([#7960](https://github.com/vector-im/element-android/issues/7960))
35+
- [Voice Broadcast] Rework internal media players coordination ([#7979](https://github.com/vector-im/element-android/issues/7979))
36+
- Support reactions on Voice Broadcast ([#7807](https://github.com/vector-im/element-android/issues/7807))
37+
- Pause voice broadcast listening on new VB recording ([#7830](https://github.com/vector-im/element-android/issues/7830))
38+
- Tapping slightly left or right of the 30s buttons highlights the whole cell instead of registering as button presses ([#7929](https://github.com/vector-im/element-android/issues/7929))
39+
40+
141
Changes in Element v1.5.20 (2023-01-10)
242
=======================================
343

SECURITY.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Reporting a Vulnerability
2+
3+
**If you've found a security vulnerability, please report it to security@matrix.org**
4+
5+
For more information on our security disclosure policy, visit https://www.matrix.org/security-disclosure-policy/

build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ buildscript {
2424
classpath libs.gradle.gradlePlugin
2525
classpath libs.gradle.kotlinPlugin
2626
classpath libs.gradle.hiltPlugin
27-
classpath 'com.google.firebase:firebase-appdistribution-gradle:3.1.1'
28-
classpath 'com.google.gms:google-services:4.3.14'
27+
classpath 'com.google.firebase:firebase-appdistribution-gradle:3.2.0'
28+
classpath 'com.google.gms:google-services:4.3.15'
2929
classpath 'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:3.5.0.2730'
3030
classpath 'com.google.android.gms:oss-licenses-plugin:0.10.6'
31-
classpath "com.likethesalad.android:stem-plugin:2.2.3"
32-
classpath 'org.owasp:dependency-check-gradle:7.4.4'
31+
classpath "com.likethesalad.android:stem-plugin:2.3.0"
32+
classpath 'org.owasp:dependency-check-gradle:8.0.1'
3333
classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.7.20"
3434
classpath "org.jetbrains.kotlinx:kotlinx-knit:0.4.0"
3535
classpath 'com.jakewharton:butterknife-gradle-plugin:10.2.3'
@@ -45,10 +45,10 @@ plugins {
4545
// Detekt
4646
id "io.gitlab.arturbosch.detekt" version "1.22.0"
4747
// Ksp
48-
id "com.google.devtools.ksp" version "1.7.22-1.0.8"
48+
id "com.google.devtools.ksp" version "1.8.0-1.0.8"
4949

5050
// Dependency Analysis
51-
id 'com.autonomousapps.dependency-analysis' version "1.17.0"
51+
id 'com.autonomousapps.dependency-analysis' version "1.18.0"
5252
// Gradle doctor
5353
id "com.osacky.doctor" version "0.8.1"
5454
}

coverage.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ task generateCoverageReport(type: JacocoReport) {
8080

8181
task unitTestsWithCoverage(type: GradleBuild) {
8282
// the 7.1.3 android gradle plugin has a bug where enableTestCoverage generates invalid coverage
83-
startParameter.projectProperties.coverage = [enableTestCoverage: false]
83+
startParameter.projectProperties.coverage = "false"
8484
tasks = ['testDebugUnitTest']
8585
}
8686

8787
task instrumentationTestsWithCoverage(type: GradleBuild) {
88-
startParameter.projectProperties.coverage = [enableTestCoverage: true]
88+
startParameter.projectProperties.coverage = "true"
8989
startParameter.projectProperties['android.testInstrumentationRunnerArguments.notPackage'] = 'im.vector.app.ui'
9090
tasks = [':vector-app:connectedGplayDebugAndroidTest', ':vector:connectedDebugAndroidTest', 'matrix-sdk-android:connectedDebugAndroidTest']
9191
}

0 commit comments

Comments
 (0)