Commit graph

8547 commits

Author SHA1 Message Date
Joe Groocock
469ee2c891 Prevent crash with duplicate room suggestion
If two rooms have the same canonical alias, e.g. the recently tombstoned
and upgraded #foundation-office:matrix.org, typing `#foun` into the
composer could cause the app to crash. This avoids that by using the
(hopefully) globally unique room id as the key instead.

Signed-off-by: Joe Groocock <me@frebib.net>
2024-10-02 09:47:29 +00:00
Jorge Martin Espinosa
5fcc80a383 Don't display security banner for unknown RecoveryState (#3579)
* Don't display security banner for unknown `RecoveryState`

* Don't display 'set up recovery' if its status is unknown.

Add more screenshot tests.

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2024-10-02 09:28:33 +00:00
Benoit Marty
31c2acec2c Git ignore .idea/runConfigurations.xml 2024-10-02 11:05:00 +02:00
Benoit Marty
1cc3b6265b Merge pull request #3578 from element-hq/renovate/com.google.firebase-firebase-bom-33.x
Update dependency com.google.firebase:firebase-bom to v33.4.0
2024-10-02 10:05:31 +02:00
renovate[bot]
907bfff1b0 Update dependency com.google.firebase:firebase-bom to v33.4.0 2024-10-01 22:38:27 +00:00
Jorge Martin Espinosa
12948b147d Don't delete uploaded logs (#3540) 2024-10-01 13:31:34 +02:00
renovate[bot]
bb11bc5494 Update dependency org.matrix.rustcomponents:sdk-android to v0.2.50 (#3565)
* Adapt to changes in the SDK

* Update dependency org.matrix.rustcomponents:sdk-android to v0.2.50

* Use lambda instead of overriding the `EventDebugInfoProvider` interface

* Fix test proposal.
We may find a better way to compare data class instance if we need to do more comparison in the future...

---------

Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-10-01 09:44:52 +02:00
Benoit Marty
6b257dcef0 Merge pull request #3567 from frebib/frebib/captioned-filename
Use MSC2530 filename when loading media
2024-09-30 23:06:31 +02:00
Joe Groocock
5820e06e0b Use MSC2530 filename when loading media
In the case of captioned images, the `body` of the event is the caption,
and is ill suited to be a filename. Often the caption can be
prohibitively long, causing the media to fail to load in some cases.

Fixes: https://github.com/element-hq/element-x-android/issues/2882
Signed-off-by: Joe Groocock <me@frebib.net>
2024-09-30 20:05:58 +00:00
Jorge Martin Espinosa
ac79fed2af Update Gradle impl module template with setupAnvil() call (#3563) 2024-09-30 14:28:06 +02:00
Jorge Martin Espinosa
2efdb3ae45 Centralise the DI code generation logic (#3562)
* Create Anvil extension helper

* Use the helper everywhere
2024-09-30 12:20:28 +00:00
Benoit Marty
3ee686f250 Merge pull request #3349 from frebib/fix/warnings
Fix a couple of build-time warnings in Gradle output
2024-09-30 11:47:21 +02:00
Benoit Marty
7b453bf895 Merge pull request #3561 from element-hq/feature/bma/fixAspectRatioIssue
Fix crash when aspectRatio is null.
2024-09-30 11:08:55 +02:00
ElementBot
41ced3d1a6 Update screenshots 2024-09-30 08:02:28 +00:00
Benoit Marty
49ec7d736a Fix crash when aspectRatio is null. 2024-09-30 09:48:59 +02:00
Benoit Marty
b43b0d3ecb Merge pull request #3400 from element-hq/renovate/accompanist
Update dependency com.google.accompanist:accompanist-permissions to v0.36.0
2024-09-30 09:12:59 +02:00
Benoit Marty
1cc1fd99c5 Merge pull request #3560 from element-hq/sync-localazy
Sync Strings
2024-09-30 09:09:56 +02:00
bmarty
3f359d7f0a Sync Strings from Localazy 2024-09-30 00:26:52 +00:00
Benoit Marty
8e9815e8bd Merge pull request #3398 from element-hq/renovate/lifecycle
Update lifecycle to v2.8.5
2024-09-27 17:32:20 +02:00
renovate[bot]
4c8974bc1f Update lifecycle to v2.8.6 2024-09-27 12:03:47 +00:00
renovate[bot]
f5acca4a66 Update dependency org.matrix.rustcomponents:sdk-android to v0.2.49 (#3553)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-27 11:08:18 +00:00
Benoit Marty
3aa7a0ff28 Merge pull request #3504 from element-hq/renovate/android.gradle.plugin
Update android.gradle.plugin to v8.6.1
2024-09-27 12:58:25 +02:00
Benoit Marty
d07b820d98 Merge pull request #3371 from element-hq/renovate/com.lemonappdev-konsist-0.x
Update dependency com.lemonappdev:konsist to v0.16.1
2024-09-27 12:33:21 +02:00
Benoit Marty
6506aa81aa Merge pull request #3551 from element-hq/renovate/gradle-update-update-gradle-wrapper-action-2.x
Update gradle-update/update-gradle-wrapper-action action to v2
2024-09-27 12:28:35 +02:00
Benoit Marty
46b41ea363 Konsist: implement another workaround. 2024-09-27 12:14:51 +02:00
Benoit Marty
5f27c3ccc3 Konsist: fix compilation issue and implement workaround. 2024-09-27 11:59:32 +02:00
renovate[bot]
2f5b69f222 Update dependency com.lemonappdev:konsist to v0.16.1 2024-09-27 08:19:53 +00:00
Benoit Marty
dc33e483f6 Merge pull request #3548 from element-hq/feature/fga/timeline_remove_item_animation
timeline : remove animateItem
2024-09-27 10:11:54 +02:00
Benoit Marty
e80dc50a3b Merge pull request #3547 from element-hq/feature/bma/you
Prefix message sent by the current user by `You` instead of the sender name.
2024-09-27 10:11:21 +02:00
renovate[bot]
87750224fe Update dependency com.posthog:posthog-android to v3.7.4 (#3546)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-27 07:47:29 +02:00
ganfra
1e31f0c770 Merge pull request #3520 from element-hq/renovate/androidx.webkit-webkit-1.x
Update dependency androidx.webkit:webkit to v1.12.0
2024-09-26 20:32:27 +02:00
renovate[bot]
8661aadd5f Update gradle-update/update-gradle-wrapper-action action to v2 2024-09-26 18:31:03 +00:00
ganfra
3596791cc6 Merge pull request #3505 from element-hq/renovate/org.maplibre.gl-android-plugin-annotation-v9-3.x
Update dependency org.maplibre.gl:android-plugin-annotation-v9 to v3.0.1
2024-09-26 20:30:40 +02:00
ganfra
3c1a934dc1 Merge pull request #3550 from element-hq/renovate/org.maplibre.gl-android-sdk-11.x
Update dependency org.maplibre.gl:android-sdk to v11.5.0
2024-09-26 20:29:53 +02:00
ganfra
c67b78b0a1 Merge branch 'develop' into renovate/accompanist 2024-09-26 20:02:06 +02:00
ganfra
a214b4edde maplib-plugins : remove workaround 2024-09-26 19:58:45 +02:00
renovate[bot]
1bb5e34716 Update dependency org.maplibre.gl:android-sdk to v11.5.0 2024-09-26 15:38:08 +00:00
renovate[bot]
bdc63a6e98 Update dependency com.google.firebase:firebase-bom to v33.3.0 (#3549)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-26 15:36:54 +00:00
renovate[bot]
461677c425 Update dependency io.element.android:compound-android to v0.1.0 (#3524)
* Update dependency io.element.android:compound-android to v0.1.0

* Fix usages of `AvatarColorsProvider`

* Update screenshots

* Fix tests and lint issues

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <android@element.io>
2024-09-26 14:54:25 +00:00
ganfra
017a7732b0 timeline : remove animateItem 2024-09-26 16:05:05 +02:00
Benoit Marty
8118ae7ae1 Prefix with You instead of display name #3470 2024-09-26 15:54:15 +02:00
Benoit Marty
2468592ec0 Use prefixIfNeeded (equivalent code) 2024-09-26 15:31:42 +02:00
Benoit Marty
bc9ea1c18c Rework: create extension method for cleaner code. 2024-09-26 15:27:33 +02:00
Benoit Marty
87f642918e Merge pull request #3527 from element-hq/feature/bma/elementCallNoNetwork
Handle no network error when starting Element Call.
2024-09-26 14:43:50 +02:00
Jorge Martin Espinosa
84c6a2f59b Fix room settings not treating unencrypted DMs as DMs (#3545) 2024-09-26 09:37:08 +00:00
ganfra
5bc89f3c7b Merge pull request #3537 from element-hq/feature/fga/fix_image_viewer_glitch
Fix image viewer glitch
2024-09-26 11:28:34 +02:00
Benoit Marty
7f56660203 Merge pull request #3544 from element-hq/renovate/compose.bom
Update dependency androidx.compose:compose-bom to v2024.09.02
2024-09-26 11:26:49 +02:00
renovate[bot]
6fa1863d52 Update dependency androidx.compose:compose-bom to v2024.09.02 2024-09-26 07:31:26 +00:00
renovate[bot]
0dac449fec Update dependency androidx.compose:compose-bom to v2024.09.00 (#3399)
* Update dependency androidx.compose:compose-bom to v2024.09.00

* Adapt code for changes.

* Workaround crash when closing the RTE

* Fix broken bottom sheet colors and shape

* Fix tons of warnings and deprecations

* Fix lint issues

* Fix more M3 update changes

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: ganfra <francoisg@matrix.org>
Co-authored-by: ElementBot <android@element.io>
2024-09-26 09:30:20 +02:00
ganfra
65fd0f59da Merge pull request #3542 from element-hq/feature/valere/rename_invisible_crypto_flag
rename invisible flag to onlySignedDeviceIsolation flag
2024-09-26 09:27:29 +02:00