Commit graph

10358 commits

Author SHA1 Message Date
Benoit Marty
3c1deff79c
Element config (#4471)
* Add handy extension "VariantDimension.buildConfigFieldStr"

* Update configuration for MapTiler.

* Update configuration for Sentry.

* Build AnalyticsConfig depending on analytics configuration.

* Configure analytics policy url.

* Add handy extension "VariantDimension.buildConfigFieldBoolean"

* Configure legal urls.

* Add a way to disable rageshake / reporting bugs.

* Update screenshots

* Quality

* Fix test

* Use `ifBlank` extension

* Add missing configuration for PostHog

* Update configuration for Rageshake.

* Add build log.

* Disable crash detection if rageshake feature is not available.
Disabled twice.

* Hide link to analytics policy if the link is missing.

* Fix test when run in enterprise context.

* Use RageshakeFeatureAvailability where appropriate.

* Rename file.

* Move some classes to their correct module.

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2025-03-27 11:25:04 +01:00
Jorge Martin Espinosa
c6b99c853c
Upgrade embedded EC version to v0.9.0-rc.4 (#4489)
This should fix an issue with sending rageshakes from EC.
2025-03-27 10:03:37 +01:00
ganfra
a1f7497772
Merge pull request #4485 from element-hq/feature/fga/composer_suggestions_update
Change : composer suggestions
2025-03-27 09:49:19 +01:00
ganfra
e6985b1e5f change (composer suggestions) : add filtering rooms by name 2025-03-26 21:46:48 +01:00
ganfra
bfe1aa7edf change (composer suggestions) : remove feature flag 2025-03-26 21:46:23 +01:00
Jorge Martin Espinosa
9fbe110bc5
Fix flaky incoming verification tests (#4479) 2025-03-26 16:03:30 +01:00
Jorge Martín
48c7e46e47 Changelog for version 25.03.3 2025-03-26 12:54:03 +01:00
Jorge Martín
57589e5c88 Adding fastlane file for version 25.03.3 2025-03-26 12:52:55 +01:00
Jorge Martín
790eb6a855 Setting version for the release 25.03.3 2025-03-26 12:52:55 +01:00
renovate[bot]
68c8e2a4b0
fix(deps): update dependencyanalysis to v2.13.2 (#4473)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-26 12:08:37 +01:00
ganfra
076c166781
Merge pull request #4472 from element-hq/renovate/dagger
fix(deps): update dagger to v2.56.1
2025-03-26 12:02:58 +01:00
Jorge Martin Espinosa
ba626fc173
Use embedded version of Element Call (#4470)
* Use embedded version of Element Call: for in-app room calls, the app will use an embedded version of Element Call shipped with the app instead of using an external service.

* Remove `ElementCallBaseUrlProvider` so we don't use the Element well known file to get the base URL anymore

* Remove `ElementCallConfig.DEFAULT_BASE_URL` since it's not used anymore

* Restore the usage of the custom EC base URL in developer settings as the actual base URL, it present

* Add a way to customise the embedded EC analytic credentials

* Update CI to use the EC analytic credentials as secrets

* Improve the custom URL placeholder to include the `/room` suffix
2025-03-26 09:35:21 +01:00
renovate[bot]
3a94a5ed93
fix(deps): update dagger to v2.56.1 2025-03-25 23:28:40 +00:00
renovate[bot]
03f4122b3f
fix(deps): update android.gradle.plugin to v8.9.1 (#4465)
* fix(deps): update android.gradle.plugin to v8.9.1

* Fix AAB issues and AGP deprecations

* Fix `importSupportedLocalesFromLocalazy` to format `en-US` locale properly

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-03-25 18:18:02 +01:00
Benoit Marty
68c1d30743
Check link click (#4463)
* Warn when opening a suspicious link.

Upgrade RTE to 2.38.3

* Update screenshots

* Add tests on LinkPresenter and LinkView.

* Format file

---------

Co-authored-by: ElementBot <android@element.io>
2025-03-25 18:17:20 +01:00
renovate[bot]
f3193d904a
chore(deps): update plugin sonarqube to v6.1.0.5360 (#4468)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-25 18:15:30 +01:00
Jorge Martin Espinosa
5e64898de7
Fix 'unverified session' flow displayed when creating account (#4467)
* Fix 'unverified session' after creating an account: when creating an account, wait until the session is verified before marking the authentication flow as completed.
2025-03-25 16:25:41 +01:00
Jorge Martin Espinosa
b9e286d9d6
Add 'unencrypted room' badges and labels (#4445)
* Add 'unencrypted room' icon and label to composer

* Modify colors for room details screen info labels

* Add exception to Konsist's preview check

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2025-03-25 11:26:25 +00:00
Andy Balaam
f969dcf42e
Use 'Dismiss' to close pinned identity changes, instead of 'Ok' (#4454) 2025-03-25 10:57:51 +01:00
renovate[bot]
6ae9e33377
fix(deps): update dependencyanalysis to v2.13.1 (#4464)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-25 08:47:43 +01:00
ElementBot
8f0075e367
Sync Strings (#4461)
* Sync Strings from Localazy

* Fix UI tests

---------

Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-03-24 16:45:24 +00:00
renovate[bot]
3597774dd2
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.3.24 (#4394)
* fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.3.24

* Fix SDK changes related to:
    - OIDC authentication.
    - Element Call widget URL generation.
    - Forced trace logging in the SDK.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-03-24 17:07:44 +01:00
renovate[bot]
5f3cf874e2
fix(deps): update dependency com.google.firebase:firebase-bom to v33.11.0 (#4448)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-24 10:15:43 +01:00
renovate[bot]
94a5186ec8
fix(deps): update dependency org.maplibre.gl:android-sdk to v11.8.4 (#4450)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-24 09:31:01 +01:00
renovate[bot]
8826db5955
chore(deps): update plugin licensee to v1.13.0 (#4447)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-24 09:29:58 +01:00
renovate[bot]
c784787a8c
chore(deps): update rnkdsh/action-upload-diawi action to v1.5.8 (#4457)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-24 09:28:17 +01:00
ganfra
3cdec66e95 Merge tag '25.03.2' into develop 2025-03-24 09:26:51 +01:00
ganfra
4ea40480d3 Changelog for version 25.03.2 2025-03-21 17:48:57 +01:00
Benoit Marty
2fd1c21df0
Let element enterprise be able to configure id for mapTiler. (#4446)
* Let element enterprise configure the ids for maptiler service.

* Disable location sharing and location viewer is the service is not available.

* Fix compilation issue on connected test

* Do not allow to reload the map if the mapId is not available.

* Update screenshots

* Rename file.

* Better to inject a string provider here, so we can unit test DefaultLocationService.

---------

Co-authored-by: ElementBot <android@element.io>
2025-03-21 17:06:52 +01:00
ganfra
bee248e2d5 Merge branch 'release/25.03.2' into main 2025-03-21 15:03:59 +01:00
ganfra
a3ab1db0ed Adding fastlane file for version 25.03.2 2025-03-21 15:03:56 +01:00
ganfra
efe160c042 Setting version for the release 25.03.2 2025-03-21 15:03:24 +01:00
ganfra
60f1c9500f
Merge pull request #4451 from element-hq/feature/bma/revertAgp
Revert agp to 8.8.1
2025-03-21 14:52:36 +01:00
ganfra
d215b5cfa1
Merge pull request #4452 from element-hq/feature/fga/update_rust_sdk_25.03.20
deps(rust sdk) : update to 25.03.20 and fix api change
2025-03-21 13:09:15 +01:00
Benoit Marty
aa6f556563 Just compile the nightly source. 2025-03-21 12:49:40 +01:00
ganfra
17d5d1e15a deps(rust sdk) : update to 25.03.20 and fix api change 2025-03-21 12:43:28 +01:00
Benoit Marty
b4bf46dcf1 Ensure that release and nightly can be bundled. 2025-03-21 12:33:03 +01:00
Benoit Marty
e17dcf44b6 Revert AGP to 8.8.1.
There is an issue when building the release version of the app.
2025-03-21 12:20:19 +01:00
Jorge Martin Espinosa
a06619780c
Make verification screens scrollable and emoji labels multiline (#4449)
* Make self verification screens scrollable

* Remove unused fields from `VerificationEmoji`

* Make only the header and content scroll in `HeaderFooterPage`.

* Use the right 'emoji' icon in both flows (`ReactionSolid`)

---------

Co-authored-by: ElementBot <android@element.io>
2025-03-21 12:18:38 +01:00
Benoit Marty
dd3a6af3cf
Clear SDK cache properly (#4396)
* Use close() instead of destroy, because close() is synchronized.

* Use new method to clear the SDK cache.

* Format file.

* Remove the legacy way to clear the SDK cache.

* Remove unused import

* revert name change
2025-03-20 13:33:59 +00:00
ganfra
811ba95ffc
Merge pull request #4399 from element-hq/feat/add-timeline-prefetching-mechanism
Add timeline item prefetching
2025-03-20 11:11:57 +01:00
ElementBot
6ad969e5fc
Update Gradle Wrapper from 8.12.1 to 8.13 (#4308)
Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc>
Co-authored-by: gradle-update-robot <gradle-update-robot@regolo.cc>
2025-03-20 10:52:11 +01:00
renovate[bot]
339bb668e5
fix(deps): update dependency com.google.crypto.tink:tink-android to v1.17.0 (#4422)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-20 10:51:21 +01:00
renovate[bot]
f32f2a7e98
Update dependencyAnalysis to v2.13.0 (#4442)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-20 10:51:00 +01:00
renovate[bot]
09123dd141
fix(deps): update dependency io.sentry:sentry-android to v8.5.0 (#4433)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-20 10:50:41 +01:00
renovate[bot]
1f8e404a3a
Update dagger to v2.56 (#4440)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-20 10:50:16 +01:00
Benoit Marty
f33c1110b7 Ignore .idea/AndroidProjectSystem.xml 2025-03-19 18:00:57 +01:00
Benoit Marty
65ef59a576
Add a filter to avoid stack overflow when pressing the back button several times. (#4430)
Fixes #4181
2025-03-19 15:31:06 +01:00
Jorge Martin Espinosa
fccd881b1f
Update SDK version to 25.03.13 and fix breaking changes (#4406)
Breaking changes addressed:
* Make `MatrixClient.getNotificationSettings()` async, cache its result.
* Use `RoomInfo` for accessing the updated room's info.
* Refactor `MatrixRoom` so it always receives an initial `MatrixRoomInfo` value: this value will be used to make `MatrixRoom.roomInfoFlow` a `StateFlow` so we can assume the initial updated Room data will be present.
* Fetch encryption state when loading a room if it's unknown
2025-03-19 12:52:57 +01:00
Jorge Martín
badca699e6 Use snapshotFlow inside a LaunchedEffect, improve pre-fetching strategy 2025-03-19 11:41:34 +01:00