Commit Graph

277 Commits

Author SHA1 Message Date
Jorge Martín 9bca411f7f Setting version for the release 25.06.1 2025-06-09 12:32:09 +02:00
ganfra 8231e0dedf Setting version for the release 25.06.0 2025-06-03 15:41:57 +02:00
ElementBot e8f29a38bf Sync Strings (#4775) 2025-05-30 08:47:39 +00:00
Benoit Marty bb87e7a7b8 Setting version for the release 25.05.4 2025-05-21 17:43:25 +02:00
Benoit Marty 0255111528 Improve audio focus management (#4707)
* Extract Audio focus management to its own modules.

* Request Audio focus when playing a voice message.

* Add missing dependency.
(and remove a duplicated one)

* Request Audio focus when playing a video/audio in the media viewer.

* Pause audio when audio focus is lost.

* Rename class

* Fix tests

* Fix detekt issue.

* Audio focus: let the system handle automatic ducking when playing media.

* Document and update API

* Remove useless space.
2025-05-13 09:54:58 +00:00
Jorge Martín b396ca3159 Setting version for the release 25.05.3 2025-05-12 17:10:08 +02:00
Jorge Martín e9f87e35fe Setting version for the release 25.05.2 2025-05-12 16:43:34 +02:00
Jorge Martín d2efaaddbd Setting version for the release 25.05.1 2025-05-08 11:23:31 +02:00
Jorge Martín 0628b780e1 Setting version for the release 25.05.0 2025-05-06 15:57:37 +02:00
Benoit Marty c61ee59528 Improve the callback uri format and customization. (#4664)
* Remove unused SUPPORT_EMAIL_ADDRESS

* Improve the callback uri format and customization.

Use io.element.android for the scheme of Oidc redirection for Element X.
For nightly the scheme will be io.element.android.nightly
For debug the scheme will be  io.element.android.debug

Element Pro is using `io.element`
2025-05-05 17:46:17 +02:00
Jorge Martin Espinosa 619aa6f2de Split MatrixRoom into BaseRoom and JoinedRoom (#4561)
`JoinedRoom` will now contain both a mandatory live timeline reference and all the functionality associated to it.

`BaseRoom` on the other hand will contain only functionality that's shared for both joined and not joined rooms.

`NotJoinedRoom` is a wrapper around `RoomPreviewInfo` data and a possible local `BaseRoom`, if it exists.

The `RustRoomFactory` cache is now gone since the persistent event cache should have the same effect.
2025-04-23 15:53:40 +02:00
Benoit Marty b068597a25 OIDC configuration (#4623)
* Login: more logs.

* Login: map Oidc error to provide more information in the error dialog.

* Oidc: use the application name.

* Oidc: move configuration from OidcConfigurationProvider to OidcConfig and add some comments.

* Oidc: limit to only 1 contact in the configuration.

* Oidc: Move configuration to BuildConfig file.

* Remove unused const.

* Add missing test on Exception mapping

* Remove contacts from OidcConfiguration.

https://github.com/matrix-org/matrix-rust-sdk/pull/4958
2025-04-23 11:58:38 +02:00
ganfra 68c766a6c5 Setting version for the release 25.04.3 2025-04-23 11:02:23 +02:00
Benoit Marty 4b9c9ccb7d Push gateway config (#4608)
* Read PushProvidersConfig parameter from BuildTimeConfig

* Update submodule link.
2025-04-22 13:58:12 +02:00
Benoit Marty dc64d9cf74 Merge commit from fork
* Check validity of Element Call url host.

* Prepare release 25.04.2
2025-04-17 11:39:38 +02:00
ElementBot d9bfcc6c52 Sync Strings (#4590)
* Sync Strings from Localazy

* Fix strings usage after some were moved

* Fix Norwegian string that was causing lint to fail

* Update screenshots

---------

Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-04-14 11:24:28 +02:00
Benoit Marty de23fd6f19 Setting version for the release 25.04.1 2025-04-11 16:01:58 +02:00
renovate[bot] 1dcd6088d3 fix(deps): update kotlin (#4552)
* fix(deps): update kotlin

* Fix deprecation warning

* Remove this workaround, it's not needed anymore, and was causing a compilation error:

* What went wrong:
A problem occurred configuring project ':libraries:session-storage:impl'.
> Failed to notify project evaluation listener.
   > Element 'kspDebugKotlin' of type 'com.google.devtools.ksp.gradle.KspAATask_Decorated' from container 'task set' cannot be cast to 'org.jetbrains.kotlin.gradle.tasks.KotlinCompile'.
   > Element 'kspReleaseKotlin' of type 'com.google.devtools.ksp.gradle.KspAATask_Decorated' from container 'task set' cannot be cast to 'org.jetbrains.kotlin.gradle.tasks.KotlinCompile'.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2025-04-09 16:45:48 +02:00
Benoit Marty e138b5f2c3 Setting version for the release 25.04.0 2025-04-08 15:42:29 +02:00
Jorge Martín 920ed0d881 Merge tag 'v25.03.4' into develop
Version 25.03.4
2025-03-27 11:28:13 +01:00
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 Martín d9ba39a9a9 Setting version for the release 25.03.4 2025-03-27 11:20:15 +01:00
Jorge Martín 790eb6a855 Setting version for the release 25.03.3 2025-03-26 12:52:55 +01: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
ganfra 3cdec66e95 Merge tag '25.03.2' into develop 2025-03-24 09:26:51 +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 efe160c042 Setting version for the release 25.03.2 2025-03-21 15:03:24 +01:00
bmarty 9a75f40855 Sync Strings from Localazy 2025-03-10 00:28:38 +00:00
Benoit Marty 182d1af620 Setting version for the release 25.03.1 2025-03-06 16:53:03 +01:00
Benoit Marty 60241dec27 Setting version for the release 25.03.0 2025-02-27 17:32:27 +01:00
Benoit Marty 03e05ffd7b Improve the way we include all modules for clarity. 2025-02-21 16:14:56 +01:00
Benoit Marty e5ed0a0641 Move build parameters to a common file 2025-02-20 17:58:41 +01:00
bmarty f549e7bba2 Sync Strings from Localazy 2025-02-17 00:30:17 +00:00
Benoit Marty ad33151968 Exclude some class from State coverage check
> Rule 'Check code coverage of states' violated:
    instructions covered percentage for class 'io.element.android.libraries.mediaviewer.impl.local.player.MediaPlayerControllerState' is 0.000000, but expected minimum is 90
    instructions covered percentage for class 'io.element.android.libraries.textcomposer.components.FormattingOptionState' is 0.000000, but expected minimum is 90
2025-02-06 16:51:18 +01:00
Benoit Marty 57158ff948 Setting version for the release 25.02.0 2025-02-04 11:46:35 +01:00
bmarty be91da966a Sync Strings from Localazy 2025-02-03 00:29:01 +00:00
Benoit Marty 6dca2bf53d Merge pull request #4192 from element-hq/feature/bma/calver2
CalVer: use 2 digits for the year and 2 digits for the month.
2025-01-29 16:22:17 +01:00
Jorge Martin Espinosa 9b5b76203f Use secret Sentry DSN value (#4210)
* Use secret Sentry DSN value.

We realised our DSN entry has been shipped along with the code and it was being used in several forks as is, resulting in wrong bug reports coming into our Sentry dashboard and making it very hard to debug actual issues in the app.
2025-01-29 13:47:06 +01:00
Benoit Marty 8a1e530ece Kover: include back :libraries:matrix:impl module. 2025-01-27 09:55:57 +01:00
Benoit Marty e5aecbbf8d CalVer: use 2 digits for the year and 2 digits for the month. 2025-01-23 18:29:19 +01:00
Benoit Marty 536832dcac Migrate to CalVer-like versioning 2025-01-23 11:10:53 +01:00
bmarty bd1165179b Sync Strings from Localazy 2025-01-13 00:30:35 +00:00
Benoit Marty 97f3be3dc5 Apply dual licenses: AGPL + Element Commercial to file headers.
2 replace all actions have been performed:
- "SPDX-License-Identifier: AGPL-3.0-only" to "SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial"
- "Please see LICENSE in the repository root for full details." to "Please see LICENSE files in the repository root for full details."
2025-01-07 10:05:04 +01:00
ganfra d460e6bf18 version++ 2024-12-20 14:41:53 +01:00
Benoit Marty f74258d794 Extract voice message player to its own module 2024-12-13 15:44:58 +01:00
ganfra 3058739461 version++ 2024-12-06 11:56:04 +01:00
Benoit Marty 9a5d4fc2f5 Fix kover rule (PdfViewerState has moved)
Remove obsolete items
Reorder items.
2024-11-29 15:15:24 +01:00
Benoit Marty c209245c2b Exclude Konsist code from Kover. 2024-11-26 15:59:29 +01:00
ganfra caa17ee598 version++ 2024-11-20 11:39:33 +01:00
ElementBot bc59a70043 Sync Strings - add translations to Finnish (#3883)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-11-18 11:37:17 +00:00