Skip to content

Commit ad022b0

Browse files
committed
Merge branch 'release/0.6.4' into main
2 parents cec945c + f61f309 commit ad022b0

File tree

380 files changed

+3445
-1481
lines changed

Some content is hidden

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

380 files changed

+3445
-1481
lines changed

.github/workflows/scripts/recordScreenshots.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ else
6666
fi
6767

6868
if [[ -z ${INPUT_AUTHOR_EMAIL} ]]; then
69-
git config user.email "benoitm+elementbot@element.io"
69+
git config user.email "android@element.io"
7070
else
7171
git config --local user.name "${INPUT_AUTHOR_EMAIL}"
7272
fi

CHANGES.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
1-
Changes in Element X v0.6.2 (2024-09-17)
1+
Changes in Element X v0.6.3 (2024-09-19)
22
========================================
33

4+
## What's Changed
5+
### 🙌 Improvements
6+
* Iterate send failure verification by @ganfra in https://github.com/element-hq/element-x-android/pull/3485
7+
### 🐛 Bugfixes
8+
* Make sure the logout action doesn't cause a crash by @jmartinesp in https://github.com/element-hq/element-x-android/pull/3480
9+
* Distinguish between roomId and roomAlias. by @bmarty in https://github.com/element-hq/element-x-android/pull/3486
10+
* Fix sliding sync proxy login not working after native SS failure by @jmartinesp in https://github.com/element-hq/element-x-android/pull/3489
11+
### Dependency upgrades
12+
* SDK 0.2.47 by @ganfra in https://github.com/element-hq/element-x-android/pull/3490
13+
### Others
14+
* Add tests on AccountDeactivationView by @bmarty in https://github.com/element-hq/element-x-android/pull/3481
15+
* Cleanup and fixtures for SDK classes. by @bmarty in https://github.com/element-hq/element-x-android/pull/3488
16+
* Timeline related improvements by @ganfra in https://github.com/element-hq/element-x-android/pull/3487
17+
* Room list : debounce subscribe to visible rooms. by @ganfra in https://github.com/element-hq/element-x-android/pull/3491
18+
* Improve code coverage metrics by @bmarty in https://github.com/element-hq/element-x-android/pull/3450
19+
420
### ✨ Features
521
* Account deactivation. by @bmarty in https://github.com/element-hq/element-x-android/pull/3479
622

app/src/main/kotlin/io/element/android/x/MainActivity.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ import io.element.android.libraries.architecture.bindings
3434
import io.element.android.libraries.core.log.logger.LoggerTag
3535
import io.element.android.libraries.designsystem.theme.ElementThemeApp
3636
import io.element.android.libraries.designsystem.utils.snackbar.LocalSnackbarDispatcher
37+
import io.element.android.services.analytics.compose.LocalAnalyticsService
3738
import io.element.android.x.di.AppBindings
3839
import io.element.android.x.intent.SafeUriHandler
3940
import kotlinx.coroutines.launch
@@ -64,6 +65,7 @@ class MainActivity : NodeActivity() {
6465
CompositionLocalProvider(
6566
LocalSnackbarDispatcher provides appBindings.snackbarDispatcher(),
6667
LocalUriHandler provides SafeUriHandler(this),
68+
LocalAnalyticsService provides appBindings.analyticsService(),
6769
) {
6870
Box(
6971
modifier = Modifier

app/src/main/kotlin/io/element/android/x/di/AppBindings.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import io.element.android.libraries.designsystem.utils.snackbar.SnackbarDispatch
1616
import io.element.android.libraries.di.AppScope
1717
import io.element.android.libraries.matrix.api.tracing.TracingService
1818
import io.element.android.libraries.preferences.api.store.AppPreferencesStore
19+
import io.element.android.services.analytics.api.AnalyticsService
1920

2021
@ContributesTo(AppScope::class)
2122
interface AppBindings {
@@ -32,4 +33,6 @@ interface AppBindings {
3233
fun migrationEntryPoint(): MigrationEntryPoint
3334

3435
fun lockScreenEntryPoint(): LockScreenEntryPoint
36+
37+
fun analyticsService(): AnalyticsService
3538
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
3+
<string name="banner_migrate_to_native_sliding_sync_action">"Выйсці і абнавіць"</string>
4+
</resources>

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ allprojects {
4848
config.from(files("$rootDir/tools/detekt/detekt.yml"))
4949
}
5050
dependencies {
51-
detektPlugins("io.nlopez.compose.rules:detekt:0.4.11")
51+
detektPlugins("io.nlopez.compose.rules:detekt:0.4.12")
5252
}
5353

5454
// KtLint
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Main changes in this version: mainly bug fixes.
2+
Full changelog: https://github.com/element-hq/element-x-android/releases

features/analytics/impl/src/main/res/values-et/translations.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
<string name="screen_analytics_prompt_read_terms">"Sa võid lugeda meie kasutustingimusi %1$s"</string>
66
<string name="screen_analytics_prompt_read_terms_content_link">"siin"</string>
77
<string name="screen_analytics_prompt_settings">"Selle valiku saad igal ajal välja lülitada"</string>
8-
<string name="screen_analytics_prompt_third_party_sharing">"Me ei jaga andmeid kolmandate osapooltega"</string>
9-
<string name="screen_analytics_prompt_title">"Aita parandada %1$s rakendust"</string>
8+
<string name="screen_analytics_prompt_third_party_sharing">"Me ei jaga sinu andmeid kolmandate osapooltega"</string>
9+
<string name="screen_analytics_prompt_title">"Aita parandada rakendust %1$s"</string>
1010
</resources>

features/call/impl/src/main/kotlin/io/element/android/features/call/impl/ui/ElementCallActivity.kt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,11 @@ class ElementCallActivity :
281281

282282
@RequiresApi(Build.VERSION_CODES.O)
283283
override fun enterPipMode(): Boolean {
284-
return enterPictureInPictureMode(getPictureInPictureParams())
284+
return if (lifecycle.currentState.isAtLeast(Lifecycle.State.RESUMED)) {
285+
enterPictureInPictureMode(getPictureInPictureParams())
286+
} else {
287+
false
288+
}
285289
}
286290

287291
@RequiresApi(Build.VERSION_CODES.O)
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
3+
<string name="screen_deactivate_account_confirmation_dialog_content">"Potvrďte prosím, že chcete svůj účet deaktivovat. Tuto akci nelze vrátit zpět."</string>
4+
<string name="screen_deactivate_account_delete_all_messages">"Smazat všechny mé zprávy"</string>
5+
<string name="screen_deactivate_account_delete_all_messages_notice">"Upozornění: Budoucí uživatelé mohou vidět neúplné konverzace."</string>
6+
<string name="screen_deactivate_account_description">"Deaktivace vašeho účtu je %1$s, což způsobí:"</string>
7+
<string name="screen_deactivate_account_description_bold_part">"nezvratná"</string>
8+
<string name="screen_deactivate_account_list_item_1">"%1$s váš účet (nemůžete se znovu přihlásit a vaše ID nelze znovu použít)."</string>
9+
<string name="screen_deactivate_account_list_item_1_bold_part">"Trvale zakázat"</string>
10+
<string name="screen_deactivate_account_list_item_2">"Odebere vás ze všech chatovacích místností."</string>
11+
<string name="screen_deactivate_account_list_item_3">"Odstraní informace o vašem účtu z našeho serveru identit."</string>
12+
<string name="screen_deactivate_account_list_item_4">"Vaše zprávy budou stále viditelné registrovaným uživatelům, ale nebudou dostupné novým ani neregistrovaným uživatelům, pokud se rozhodnete je smazat."</string>
13+
<string name="screen_deactivate_account_title">"Deaktivovat účet"</string>
14+
</resources>

0 commit comments

Comments
 (0)