Skip to content

Commit 9a4602b

Browse files
committed
Merge branch 'release/1.6.22' into main
2 parents fca16b6 + cfedc00 commit 9a4602b

File tree

164 files changed

+394
-7611
lines changed

Some content is hidden

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

164 files changed

+394
-7611
lines changed

CHANGES.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
Changes in Element v1.6.22 (2024-09-23)
2+
=======================================
3+
4+
Important: this version removes the dependency of the deprecated libolm library.
5+
Application installations that have not been updated to the first version with the migration (1.6.3 release at 2023-06-27) will not be able to migrate the account.
6+
More details in ([#8901](https://github.com/element-hq/element-android/issues/8901))
7+
8+
Other changes
9+
-------------
10+
- Remove legacy QR code login. ([#8889](https://github.com/element-hq/element-android/issues/8889))
11+
12+
113
Changes in Element v1.6.20 (2024-07-25)
214
=======================================
315

@@ -13,7 +25,7 @@ Bugfixes 🐛
1325
----------
1426
- Fix redacted events not grouped correctly when hidden events are inserted between. ([#8840](https://github.com/element-hq/element-android/issues/8840))
1527
- Element-Android session doesn't encrypt for a dehydrated device ([#8842](https://github.com/element-hq/element-android/issues/8842))
16-
- Intercept only links from `element.io` well known hosts. The previous behaviour broke OIDC login in Element X. ([#8894](https://github.com/element-hq/element-android/issues/8894))
28+
- Intercept only links from `element.io` well known hosts. The previous behaviour broke OIDC login in Element X. ([#8849](https://github.com/element-hq/element-android/issues/8849))
1729

1830
Other changes
1931
-------------

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ allprojects {
9696
}
9797
// Jitsi repo
9898
maven {
99-
url "https://github.com/element-hq/jitsi_libre_maven/raw/main/android-sdk-8.1.1"
99+
url "https://github.com/element-hq/jitsi_libre_maven/raw/main/mobile-sdk-10.2.0"
100100
// Note: to test Jitsi release you can use a local file like this:
101-
// url "file:///Users/bmarty/workspaces/jitsi_libre_maven/android-sdk-8.1.1"
101+
// url "file:///Users/bmarty/workspaces/jitsi_libre_maven/mobile-sdk-10.2.0"
102102
content {
103103
groups.jitsi.regex.each { includeGroupByRegex it }
104104
groups.jitsi.group.each { includeGroup it }

dependencies_groups.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ ext.groups = [
7272
'com.facebook.flipper',
7373
'com.facebook.fresco',
7474
'com.facebook.infer.annotation',
75+
'com.facebook.react',
7576
'com.facebook.soloader',
7677
'com.facebook.stetho',
7778
'com.facebook.yoga',

docs/jitsi.md

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,18 @@ The generated maven repository is then host in the project https://github.com/el
2828

2929
#### Jitsi version
3030

31-
Update the script `./tools/jitsi/build_jisti_libs.sh` with the tag of the project `https://github.com/jitsi/jitsi-meet`.
31+
Update the script `./tools/jitsi/build_jitsi_libs.sh` with the tag of the project `https://github.com/jitsi/jitsi-meet`.
3232

3333
Latest tag can be found from this page: https://github.com/jitsi/jitsi-meet-release-notes/blob/master/CHANGELOG-MOBILE-SDKS.md
3434

35-
Currently we are building the version with the tag `android-sdk-8.1.1`.
35+
Currently we are building the version with the tag `mobile-sdk-10.2.0`.
3636

3737
#### Run the build script
3838

3939
At the root of the Element Android, run the following script:
4040

4141
```shell script
42-
./tools/jitsi/build_jisti_libs.sh
42+
./tools/jitsi/build_jitsi_libs.sh
4343
```
4444

4545
It will build the Jitsi Meet Android library and put every generated files in the folder `/tmp/jitsi`
@@ -49,21 +49,15 @@ It will build the Jitsi Meet Android library and put every generated files in th
4949
- Update the file `./build.gradle` to use the previously created local Maven repository. Currently we have this line:
5050

5151
```groovy
52-
url "https://github.com/element-hq/jitsi_libre_maven/raw/main/android-sdk-8.1.1"
52+
url "https://github.com/element-hq/jitsi_libre_maven/raw/main/mobile-sdk-10.2.0"
5353
```
5454

5555
You can uncomment and update the line starting with `// url "file://...` and comment the line starting with `url`, to test the library using the locally generated Maven repository.
5656

5757
- Update the dependency of the Jitsi Meet library in the file `./vector/build.gradle`. Currently we have this line:
5858

5959
```groovy
60-
api('org.jitsi.react:jitsi-meet-sdk:8.1.1')
61-
```
62-
63-
- Update the dependency of the WebRTC library in the file `./vector/build.gradle`. Currently we have this line:
64-
65-
```groovy
66-
implementation('com.facebook.react:react-native-webrtc:111.0.0-jitsi-13672566@aar')
60+
api('org.jitsi.react:jitsi-meet-sdk:10.2.0')
6761
```
6862

6963
- Perform a gradle sync and build the project
@@ -88,7 +82,7 @@ If all the tests are passed, you can export the generated Jitsi library to our M
8882
- Update the file `./build.gradle` to use the previously created Maven repository. Currently we have this line:
8983

9084
```groovy
91-
url "https://github.com/element-hq/jitsi_libre_maven/raw/main/android-sdk-8.1.1"
85+
url "https://github.com/element-hq/jitsi_libre_maven/raw/main/mobile-sdk-10.2.0"
9286
```
9387

9488
- Build the project and perform the sanity tests again.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Main changes in this version: crypto sdk upgrade.
2+
Full changelog: https://github.com/element-hq/element-android/releases

library/ui-strings/src/main/res/values-fa/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2966,4 +2966,4 @@
29662966
\n%s</string>
29672967
<string name="create_room_unknown_users_dialog_submit">آغاز گپ به هر حال</string>
29682968
<string name="invite_unknown_users_dialog_submit">دعوت به هر حال</string>
2969-
</resources>
2969+
</resources>

library/ui-strings/src/main/res/values-zh-rCN/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2865,4 +2865,4 @@
28652865
<string name="room_polls_wait_for_display">显示投票</string>
28662866
<string name="rich_text_editor_quote">切换引用</string>
28672867
<string name="rich_text_editor_numbered_list">切换有序列表</string>
2868-
</resources>
2868+
</resources>

library/ui-strings/src/main/res/values/strings.xml

Lines changed: 82 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,9 +1175,9 @@
11751175

11761176
<!-- room settings : alias -->
11771177
<string name="room_settings_alias_title">Room addresses</string>
1178-
<string name="room_settings_alias_subtitle">See and managed addresses of this room, and its visibility in the room directory.</string>
1178+
<string name="room_settings_alias_subtitle">See and manage addresses of this room, and its visibility in the room directory.</string>
11791179
<string name="space_settings_alias_title">Space addresses</string>
1180-
<string name="space_settings_alias_subtitle">See and managed addresses of this space.</string>
1180+
<string name="space_settings_alias_subtitle">See and manage addresses of this space.</string>
11811181

11821182
<string name="room_alias_published_alias_title">Published Addresses</string>
11831183
<string name="room_alias_published_alias_subtitle">Published addresses can be used by anyone on any server to join your room. To publish an address, it needs to be set as a local address first.</string>
@@ -2228,7 +2228,8 @@
22282228
<string name="login_signin_matrix_id_password_notice">If you don’t know your password, go back to reset it.</string>
22292229
<string name="login_signin_matrix_id_error_invalid_matrix_id">This is not a valid user identifier. Expected format: \'@user:homeserver.org\'</string>
22302230
<string name="autodiscover_well_known_error">Unable to find a valid homeserver. Please check your identifier</string>
2231-
<string name="login_scan_qr_code">Scan QR code</string>
2231+
<!-- TODO TO BE REMOVED -->
2232+
<string tools:ignore="UnusedResources" name="login_scan_qr_code">Scan QR code</string>
22322233

22332234
<string name="seen_by">Seen by</string>
22342235

@@ -3475,9 +3476,10 @@
34753476
<string name="device_manager_session_rename_edit_hint">Session name</string>
34763477
<string name="device_manager_session_rename_description">Custom session names can help you recognize your devices more easily.</string>
34773478
<string name="device_manager_session_rename_warning">Please be aware that session names are also visible to people you communicate with.</string>
3478-
<string name="device_manager_sessions_sign_in_with_qr_code_title">Sign in with QR Code</string>
3479-
<string name="device_manager_sessions_sign_in_with_qr_code_description">You can use this device to sign in a mobile or web device with a QR code. There are two ways to do this:</string>
3480-
3479+
<!-- TODO TO BE REMOVED -->
3480+
<string tools:ignore="UnusedResources" name="device_manager_sessions_sign_in_with_qr_code_title">Sign in with QR Code</string>
3481+
<!-- TODO TO BE REMOVED -->
3482+
<string tools:ignore="UnusedResources" name="device_manager_sessions_sign_in_with_qr_code_description">You can use this device to sign in a mobile or web device with a QR code. There are two ways to do this:</string>
34813483
<string name="device_manager_learn_more_sessions_inactive_title">Inactive sessions</string>
34823484
<string name="device_manager_learn_more_sessions_inactive">Inactive sessions are sessions you have not used in some time, but they continue to receive encryption keys.\n\nRemoving inactive sessions improves security and performance, and makes it easier for you to identify if a new session is suspicious.</string>
34833485
<string name="device_manager_learn_more_sessions_unverified_title">Unverified sessions</string>
@@ -3515,45 +3517,82 @@
35153517
<string name="onboarding_new_app_layout_feedback_message">Tap top right to see the option to feedback.</string>
35163518
<string name="onboarding_new_app_layout_button_try">Try it out</string>
35173519

3518-
<string name="one">1</string>
3519-
<string name="two">2</string>
3520-
<string name="three">3</string>
3520+
<!-- TODO TO BE REMOVED -->
3521+
<string tools:ignore="UnusedResources" name="one">1</string>
3522+
<!-- TODO TO BE REMOVED -->
3523+
<string tools:ignore="UnusedResources" name="two">2</string>
3524+
<!-- TODO TO BE REMOVED -->
3525+
<string tools:ignore="UnusedResources" name="three">3</string>
35213526

35223527
<!-- QR Code Login -->
3523-
<string name="qr_code_login_header_scan_qr_code_title">Scan QR code</string>
3524-
<string name="qr_code_login_header_scan_qr_code_description">Use the camera on this device to scan the QR code shown on your other device:</string>
3525-
<string name="qr_code_login_header_show_qr_code_title">Sign in with QR code</string>
3526-
<string name="qr_code_login_header_show_qr_code_new_device_description">Use your signed in device to scan the QR code below:</string>
3527-
<string name="qr_code_login_header_show_qr_code_link_a_device_description">Scan the QR code below with your device that’s signed out.</string>
3528-
<string name="qr_code_login_header_connected_title">Secure connection established</string>
3529-
<string name="qr_code_login_header_connected_description">Check your signed in device, the code below should be displayed. Confirm that the code below matches with that device:</string>
3530-
<string name="qr_code_login_header_failed_title">Unsuccessful connection</string>
3531-
<string name="qr_code_login_header_failed_device_is_not_supported_description">Linking with this device is not supported.</string>
3532-
<string name="qr_code_login_header_failed_timeout_description">The linking wasn’t completed in the required time.</string>
3533-
<string name="qr_code_login_header_failed_denied_description">The request was denied on the other device.</string>
3534-
<string name="qr_code_login_header_failed_other_description">The request failed.</string>
3535-
<string name="qr_code_login_header_failed_e2ee_security_issue_description">A security issue was encountered setting up secure messaging. One of the following may be compromised: Your homeserver; Your internet connection(s); Your device(s);</string>
3536-
<string name="qr_code_login_header_failed_other_device_already_signed_in_description">The other device is already signed in.</string>
3537-
<string name="qr_code_login_header_failed_other_device_not_signed_in_description">The other device must be signed in.</string>
3538-
<string name="qr_code_login_header_failed_invalid_qr_code_description">That QR code is invalid.</string>
3539-
<string name="qr_code_login_header_failed_user_cancelled_description">The sign in was cancelled on the other device.</string>
3540-
<string name="qr_code_login_header_failed_homeserver_is_not_supported_description">The homeserver doesn\'t support sign in with QR code.</string>
3541-
<string name="qr_code_login_new_device_instruction_1">Open the app on your other device</string>
3542-
<string name="qr_code_login_new_device_instruction_2">Go to Settings -> Security &amp; Privacy</string>
3543-
<string name="qr_code_login_new_device_instruction_3">Select \'Show QR code\'</string>
3544-
<string name="qr_code_login_link_a_device_scan_qr_code_instruction_1">Start at the sign in screen</string>
3545-
<string name="qr_code_login_link_a_device_scan_qr_code_instruction_2">Select \'Sign in with QR code\'</string>
3546-
<string name="qr_code_login_link_a_device_show_qr_code_instruction_1">Start at the sign in screen</string>
3547-
<string name="qr_code_login_link_a_device_show_qr_code_instruction_2">Select \'Scan QR code\'</string>
3548-
<string name="qr_code_login_show_qr_code_button">Show QR code in this device</string>
3549-
<string name="qr_code_login_signing_in_a_mobile_device">Signing in a mobile device?</string>
3550-
<string name="qr_code_login_scan_qr_code_button">Scan QR code</string>
3551-
<string name="qr_code_login_connecting_to_device">Connecting to device</string>
3552-
<string name="qr_code_login_signing_in">Signing you in</string>
3553-
<string name="qr_code_login_status_no_match">No match?</string>
3554-
<string name="qr_code_login_try_again">Try again</string>
3555-
<string name="qr_code_login_confirm_security_code">Confirm</string>
3556-
<string name="qr_code_login_confirm_security_code_description">Please ensure that you know the origin of this code. By linking devices, you will provide someone with full access to your account.</string>
3528+
<!-- TODO TO BE REMOVED -->
3529+
<string tools:ignore="UnusedResources" name="qr_code_login_header_scan_qr_code_title">Scan QR code</string>
3530+
<!-- TODO TO BE REMOVED -->
3531+
<string tools:ignore="UnusedResources" name="qr_code_login_header_scan_qr_code_description">Use the camera on this device to scan the QR code shown on your other device:</string>
3532+
<!-- TODO TO BE REMOVED -->
3533+
<string tools:ignore="UnusedResources" name="qr_code_login_header_show_qr_code_title">Sign in with QR code</string>
3534+
<!-- TODO TO BE REMOVED -->
3535+
<string tools:ignore="UnusedResources" name="qr_code_login_header_show_qr_code_new_device_description">Use your signed in device to scan the QR code below:</string>
3536+
<!-- TODO TO BE REMOVED -->
3537+
<string tools:ignore="UnusedResources" name="qr_code_login_header_show_qr_code_link_a_device_description">Scan the QR code below with your device that’s signed out.</string>
3538+
<!-- TODO TO BE REMOVED -->
3539+
<string tools:ignore="UnusedResources" name="qr_code_login_header_connected_title">Secure connection established</string>
3540+
<!-- TODO TO BE REMOVED -->
3541+
<string tools:ignore="UnusedResources" name="qr_code_login_header_connected_description">Check your signed in device, the code below should be displayed. Confirm that the code below matches with that device:</string>
3542+
<!-- TODO TO BE REMOVED -->
3543+
<string tools:ignore="UnusedResources" name="qr_code_login_header_failed_title">Unsuccessful connection</string>
3544+
<!-- TODO TO BE REMOVED -->
3545+
<string tools:ignore="UnusedResources" name="qr_code_login_header_failed_device_is_not_supported_description">Linking with this device is not supported.</string>
3546+
<!-- TODO TO BE REMOVED -->
3547+
<string tools:ignore="UnusedResources" name="qr_code_login_header_failed_timeout_description">The linking wasn’t completed in the required time.</string>
3548+
<!-- TODO TO BE REMOVED -->
3549+
<string tools:ignore="UnusedResources" name="qr_code_login_header_failed_denied_description">The request was denied on the other device.</string>
3550+
<!-- TODO TO BE REMOVED -->
3551+
<string tools:ignore="UnusedResources" name="qr_code_login_header_failed_other_description">The request failed.</string>
3552+
<!-- TODO TO BE REMOVED -->
3553+
<string tools:ignore="UnusedResources" name="qr_code_login_header_failed_e2ee_security_issue_description">A security issue was encountered setting up secure messaging. One of the following may be compromised: Your homeserver; Your internet connection(s); Your device(s);</string>
3554+
<!-- TODO TO BE REMOVED -->
3555+
<string tools:ignore="UnusedResources" name="qr_code_login_header_failed_other_device_already_signed_in_description">The other device is already signed in.</string>
3556+
<!-- TODO TO BE REMOVED -->
3557+
<string tools:ignore="UnusedResources" name="qr_code_login_header_failed_other_device_not_signed_in_description">The other device must be signed in.</string>
3558+
<!-- TODO TO BE REMOVED -->
3559+
<string tools:ignore="UnusedResources" name="qr_code_login_header_failed_invalid_qr_code_description">That QR code is invalid.</string>
3560+
<!-- TODO TO BE REMOVED -->
3561+
<string tools:ignore="UnusedResources" name="qr_code_login_header_failed_user_cancelled_description">The sign in was cancelled on the other device.</string>
3562+
<!-- TODO TO BE REMOVED -->
3563+
<string tools:ignore="UnusedResources" name="qr_code_login_header_failed_homeserver_is_not_supported_description">The homeserver doesn\'t support sign in with QR code.</string>
3564+
<!-- TODO TO BE REMOVED -->
3565+
<string tools:ignore="UnusedResources" name="qr_code_login_new_device_instruction_1">Open the app on your other device</string>
3566+
<!-- TODO TO BE REMOVED -->
3567+
<string tools:ignore="UnusedResources" name="qr_code_login_new_device_instruction_2">Go to Settings -> Security &amp; Privacy</string>
3568+
<!-- TODO TO BE REMOVED -->
3569+
<string tools:ignore="UnusedResources" name="qr_code_login_new_device_instruction_3">Select \'Show QR code\'</string>
3570+
<!-- TODO TO BE REMOVED -->
3571+
<string tools:ignore="UnusedResources" name="qr_code_login_link_a_device_scan_qr_code_instruction_1">Start at the sign in screen</string>
3572+
<!-- TODO TO BE REMOVED -->
3573+
<string tools:ignore="UnusedResources" name="qr_code_login_link_a_device_scan_qr_code_instruction_2">Select \'Sign in with QR code\'</string>
3574+
<!-- TODO TO BE REMOVED -->
3575+
<string tools:ignore="UnusedResources" name="qr_code_login_link_a_device_show_qr_code_instruction_1">Start at the sign in screen</string>
3576+
<!-- TODO TO BE REMOVED -->
3577+
<string tools:ignore="UnusedResources" name="qr_code_login_link_a_device_show_qr_code_instruction_2">Select \'Scan QR code\'</string>
3578+
<!-- TODO TO BE REMOVED -->
3579+
<string tools:ignore="UnusedResources" name="qr_code_login_show_qr_code_button">Show QR code in this device</string>
3580+
<!-- TODO TO BE REMOVED -->
3581+
<string tools:ignore="UnusedResources" name="qr_code_login_signing_in_a_mobile_device">Signing in a mobile device?</string>
3582+
<!-- TODO TO BE REMOVED -->
3583+
<string tools:ignore="UnusedResources" name="qr_code_login_scan_qr_code_button">Scan QR code</string>
3584+
<!-- TODO TO BE REMOVED -->
3585+
<string tools:ignore="UnusedResources" name="qr_code_login_connecting_to_device">Connecting to device</string>
3586+
<!-- TODO TO BE REMOVED -->
3587+
<string tools:ignore="UnusedResources" name="qr_code_login_signing_in">Signing you in</string>
3588+
<!-- TODO TO BE REMOVED -->
3589+
<string tools:ignore="UnusedResources" name="qr_code_login_status_no_match">No match?</string>
3590+
<!-- TODO TO BE REMOVED -->
3591+
<string tools:ignore="UnusedResources" name="qr_code_login_try_again">Try again</string>
3592+
<!-- TODO TO BE REMOVED -->
3593+
<string tools:ignore="UnusedResources" name="qr_code_login_confirm_security_code">Confirm</string>
3594+
<!-- TODO TO BE REMOVED -->
3595+
<string tools:ignore="UnusedResources" name="qr_code_login_confirm_security_code_description">Please ensure that you know the origin of this code. By linking devices, you will provide someone with full access to your account.</string>
35573596

35583597
<!-- Rich text editor -->
35593598
<string name="rich_text_editor_format_bold">Apply bold format</string>

library/ui-styles/src/main/res/values/stylable_qr_code_instructions_view.xml

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)