Skip to content

Commit bdc1b75

Browse files
committed
Merge branch 'release/0.7.6' into main
2 parents 9961852 + 8e6261e commit bdc1b75

File tree

771 files changed

+14804
-2460
lines changed

Some content is hidden

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

771 files changed

+14804
-2460
lines changed

.github/workflows/generate_github_pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'element-hq/element-x-android' }}
1313
steps:
1414
- name: ⏬ Checkout with LFS
15-
uses: nschloe/[email protected].2
15+
uses: nschloe/[email protected].3
1616
- name: Use JDK 21
1717
uses: actions/setup-java@v4
1818
with:

.github/workflows/nightlyReports.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
if: ${{ github.repository == 'element-hq/element-x-android' }}
1919
steps:
2020
- name: ⏬ Checkout with LFS
21-
uses: nschloe/[email protected].2
21+
uses: nschloe/[email protected].3
2222

2323
- name: Use JDK 21
2424
uses: actions/setup-java@v4

.github/workflows/recordScreenshots.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ jobs:
2424
labels: Record-Screenshots
2525
- name: ⏬ Checkout with LFS (PR)
2626
if: github.event.label.name == 'Record-Screenshots'
27-
uses: nschloe/[email protected].2
27+
uses: nschloe/[email protected].3
2828
with:
2929
persist-credentials: false
3030
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || github.ref }}
3131
- name: ⏬ Checkout with LFS (Branch)
3232
if: github.event_name == 'workflow_dispatch'
33-
uses: nschloe/[email protected].2
33+
uses: nschloe/[email protected].3
3434
with:
3535
persist-credentials: false
3636
- name: ☕️ Use JDK 21

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
sudo swapon /mnt/swapfile
3434
sudo swapon --show
3535
- name: ⏬ Checkout with LFS
36-
uses: nschloe/[email protected].2
36+
uses: nschloe/[email protected].3
3737
with:
3838
# Ensure we are building the branch and not the branch after being merged on develop
3939
# https://github.com/actions/checkout/issues/881

.github/workflows/validate-lfs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
name: Validate
99
steps:
10-
- uses: nschloe/[email protected].2
10+
- uses: nschloe/[email protected].3
1111

1212
- run: |
1313
./tools/git/validate_lfs.sh

.idea/kotlinc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.maestro/tests/roomList/createAndDeleteRoom.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,6 @@ appId: ${MAESTRO_APP_ID}
3030
# assert there's 1 member and 2 invitees
3131
- tapOn: "Back"
3232
- scroll
33+
- scroll
3334
- tapOn: "Leave room"
3435
- tapOn: "Leave"

CHANGES.md

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,72 @@
1+
Changes in Element X v0.7.5 (2024-12-06)
2+
========================================
3+
4+
## What's Changed
5+
### ✨ Features
6+
* Allow to set caption when uploading file and audio files, and allow adding / edit / remove caption on Event with attachment (also works on local echo) by @bmarty in https://github.com/element-hq/element-x-android/pull/3902
7+
* Enable all notification actions: quick reply, accept/decline invite, mark as read from notification. by @bmarty in https://github.com/element-hq/element-x-android/pull/3916
8+
* Video player controller by @bmarty in https://github.com/element-hq/element-x-android/pull/3959
9+
### 🙌 Improvements
10+
* change : confirm biometric before allowing biometric unlock. by @ganfra in https://github.com/element-hq/element-x-android/pull/3930
11+
* Hide media preprocessing by @bmarty in https://github.com/element-hq/element-x-android/pull/3943
12+
* changes: iterate on room create screen by @ganfra in https://github.com/element-hq/element-x-android/pull/3966
13+
* change : knock message supporting text display number of characters by @ganfra in https://github.com/element-hq/element-x-android/pull/3970
14+
* feat(design) : update send button background by @ganfra in https://github.com/element-hq/element-x-android/pull/4000
15+
### 🐛 Bugfixes
16+
* Min size for hidden media by @bmarty in https://github.com/element-hq/element-x-android/pull/3906
17+
* fix : use RoomMembershipObserver to close room screen when leaving by @ganfra in https://github.com/element-hq/element-x-android/pull/3887
18+
* fix : protect some usages of client to avoid crashes by @bmarty in https://github.com/element-hq/element-x-android/pull/3886
19+
* Fix long click not working on pinned events timeline by @jmartinesp in https://github.com/element-hq/element-x-android/pull/3940
20+
* Element Call: display error dialog only when loading the main URL by @jmartinesp in https://github.com/element-hq/element-x-android/pull/3962
21+
* Fix navigation issue when entering recovery key after navigating from the banner by @bmarty in https://github.com/element-hq/element-x-android/pull/3961
22+
* navigation : clear backstack when opening room from outer node by @ganfra in https://github.com/element-hq/element-x-android/pull/3984
23+
* fix : hide keyboard when TextComposer is removed from composition by @ganfra in https://github.com/element-hq/element-x-android/pull/3985
24+
* fix(room_preview) : catch all exception instead by @ganfra in https://github.com/element-hq/element-x-android/pull/3989
25+
* fix(room_detail) : hide room avatar preview by @ganfra in https://github.com/element-hq/element-x-android/pull/3992
26+
* fix(composer) : use HideKeyboardWhenDisposed only in MessagesView by @ganfra in https://github.com/element-hq/element-x-android/pull/3993
27+
### 🗣 Translations
28+
* Sync Strings by @ElementBot in https://github.com/element-hq/element-x-android/pull/3936
29+
* Sync Strings by @ElementBot in https://github.com/element-hq/element-x-android/pull/3975
30+
### Dependency upgrades
31+
* Update dependency io.sentry:sentry-android to v7.18.0 by @renovate in https://github.com/element-hq/element-x-android/pull/3891
32+
* Update plugin sonarqube to v6 - autoclosed by @renovate in https://github.com/element-hq/element-x-android/pull/3895
33+
* Update dependency org.matrix.rustcomponents:sdk-android to v0.2.64 by @renovate in https://github.com/element-hq/element-x-android/pull/3907
34+
* Update dependency com.autonomousapps.dependency-analysis to v2.5.0 by @renovate in https://github.com/element-hq/element-x-android/pull/3909
35+
* Update dependency org.robolectric:robolectric to v4.14.1 by @renovate in https://github.com/element-hq/element-x-android/pull/3924
36+
* Update dependency io.element.android:compound-android to v0.2.0 by @renovate in https://github.com/element-hq/element-x-android/pull/3915
37+
* Update dependency org.matrix.rustcomponents:sdk-android to v0.2.65 by @renovate in https://github.com/element-hq/element-x-android/pull/3932
38+
* Update media3 to v1.5.0 by @renovate in https://github.com/element-hq/element-x-android/pull/3942
39+
* Update plugin ktlint to v12.1.2 by @renovate in https://github.com/element-hq/element-x-android/pull/3944
40+
* Update wysiwyg to v2.37.14 by @renovate in https://github.com/element-hq/element-x-android/pull/3948
41+
* Update mobile-dev-inc/action-maestro-cloud action to v1.9.7 by @renovate in https://github.com/element-hq/element-x-android/pull/3914
42+
* Update dependency com.lemonappdev:konsist to v0.17.0 by @renovate in https://github.com/element-hq/element-x-android/pull/3947
43+
* deps : update rust sdk to 0.2.67 and fix breaking changes by @ganfra in https://github.com/element-hq/element-x-android/pull/3957
44+
* Update dependency com.lemonappdev:konsist to v0.17.1 by @renovate in https://github.com/element-hq/element-x-android/pull/3983
45+
* Update plugin sonarqube to v6.0.1.5171 by @renovate in https://github.com/element-hq/element-x-android/pull/3958
46+
* Update dagger to v2.53 by @renovate in https://github.com/element-hq/element-x-android/pull/3986
47+
* Update dependency com.sigpwned:emoji4j-core to v16 by @renovate in https://github.com/element-hq/element-x-android/pull/3899
48+
* dependencies : update rust sdk to 0.2.68 by @ganfra in https://github.com/element-hq/element-x-android/pull/3988
49+
* Update plugin dependencycheck to v11.1.1 by @renovate in https://github.com/element-hq/element-x-android/pull/3994
50+
* chore(dependencies) : update rust sdk to 0.2.69 by @ganfra in https://github.com/element-hq/element-x-android/pull/3999
51+
### Others
52+
* Send button iteration by @bmarty in https://github.com/element-hq/element-x-android/pull/3901
53+
* Fix photo / video name by @bmarty in https://github.com/element-hq/element-x-android/pull/3903
54+
* Render edited caption. by @bmarty in https://github.com/element-hq/element-x-android/pull/3904
55+
* Rely on the SDK to decide if a caption is editable or not by @bmarty in https://github.com/element-hq/element-x-android/pull/3917
56+
* Remove AttachmentsState and use the MessagesNavigator by @bmarty in https://github.com/element-hq/element-x-android/pull/3918
57+
* Fix element call crash when resuming from notification by @bmarty in https://github.com/element-hq/element-x-android/pull/3926
58+
* Ensure that the SDK is syncing during an incoming call so that the app can cancel the notification by @bmarty in https://github.com/element-hq/element-x-android/pull/3931
59+
* Add feature flag to temporary disable sending caption by default in production by @bmarty in https://github.com/element-hq/element-x-android/pull/3953
60+
* Add timeline action item to copy caption by @bmarty in https://github.com/element-hq/element-x-android/pull/3963
61+
* Fix wrong name of classes and method by @bmarty in https://github.com/element-hq/element-x-android/pull/3971
62+
* Rework on media module by @bmarty in https://github.com/element-hq/element-x-android/pull/3967
63+
* Add warning when adding a caption. by @bmarty in https://github.com/element-hq/element-x-android/pull/3977
64+
* Do not auto-play videos. by @bmarty in https://github.com/element-hq/element-x-android/pull/3978
65+
* MediaViewer: iterate on design by @bmarty in https://github.com/element-hq/element-x-android/pull/3979
66+
* feat(crypto): Support new expected UTD causes UX + Analytics by @BillCarsonFr in https://github.com/element-hq/element-x-android/pull/3980
67+
* increase ringing timeout from 15 seconds to 90 seconds by @fkwp in https://github.com/element-hq/element-x-android/pull/3991
68+
* MediaViewer: Align title to left and move action bottom to top bar. by @bmarty in https://github.com/element-hq/element-x-android/pull/4003
69+
170
Changes in Element X v0.7.4 (2024-11-20)
271
========================================
372

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Element X Android supports many languages. You can help us to translate the app
5959

6060
Note that for now, we keep control on the French and German translations.
6161

62-
Translations can be checked screen per screen using our tool Element X Android Gallery, available at https://element-hq.github.io/element-x-android/. Note that this page is updated every Tuesday.
62+
Translations can be checked screen per screen using our tool Element X Android Gallery, available at https://element-hq.github.io/element-x-android/. Note that this page is updated every Tuesday.
6363

6464
More instructions about translating the application can be found at [CONTRIBUTING.md](CONTRIBUTING.md#strings).
6565

@@ -83,8 +83,11 @@ You can also come chat with the community in the Matrix [room](https://matrix.to
8383

8484
## Build instructions
8585

86-
Just clone the project and open it in Android Studio.
87-
Makes sure to select the `app` configuration when building (as we also have sample apps in the project).
86+
Just clone the project and open it in Android Studio. Make sure to select the
87+
`app` configuration when building (as we also have sample apps in the project).
88+
89+
To build against a local copy of the Rust SDK, see the [Developer
90+
onboarding](docs/_developer_onboarding.md#build-the-sdk-locally) instructions.
8891

8992
## Support
9093

appnav/src/main/kotlin/io/element/android/appnav/LoggedInFlowNode.kt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ import kotlinx.coroutines.flow.combine
8888
import kotlinx.coroutines.flow.debounce
8989
import kotlinx.coroutines.flow.launchIn
9090
import kotlinx.coroutines.flow.onEach
91+
import kotlinx.coroutines.flow.onStart
9192
import kotlinx.coroutines.launch
9293
import kotlinx.parcelize.Parcelize
9394
import timber.log.Timber
@@ -196,6 +197,10 @@ class LoggedInFlowNode @AssistedInject constructor(
196197
) { syncState, networkStatus ->
197198
Pair(syncState, networkStatus)
198199
}
200+
.onStart {
201+
// Temporary fix to ensure that the sync is started even if the networkStatus is offline.
202+
syncService.startSync()
203+
}
199204
.collect { (syncState, networkStatus) ->
200205
Timber.d("Sync state: $syncState, network status: $networkStatus")
201206
if (syncState != SyncState.Running && networkStatus == NetworkStatus.Online) {

0 commit comments

Comments
 (0)