Commit Graph

298 Commits

Author SHA1 Message Date
Jorge Martín b76a71ebf5 Start migrating Anvil KSP to Metro 2025-09-04 16:48:34 +02:00
Jorge Martín 9e69cb0f0f Setting version for the release 25.09.0 2025-08-27 10:15:08 +02:00
Jorge Martín 6a7b7b70dd Setting version for the release 25.08.4 2025-08-26 15:18:34 +02:00
Benoit Marty 4e5bbaf946 Split module deeplink to api and impl. 2025-08-25 11:36:42 +02:00
Benoit Marty 976beff1de Build release with build tools from SDK 36 and add a not to not forget last time we update the value of COMPILE_SDK 2025-08-14 14:31:22 +02:00
Benoit Marty 19a98b9fba Setting version for the release 25.08.3 2025-08-14 12:06:32 +02:00
Jorge Martín cb486e93d7 Remove libs.showkase entry in composeDependencies
Add it only to the needed library modules.
2025-08-13 11:43:57 +02:00
Benoit Marty 139b34013e Workaround to fix error "No matching variant of com.airbnb.android:showkase:1.0.5 was found".
Replace `implementation` by `debugImplementation` and `releaseImplementation`
2025-08-13 10:23:35 +02:00
Benoit Marty 36cdf6c21d Compile and target SDK 36. 2025-08-12 09:57:30 +02:00
Benoit Marty 216ba060b4 Merge branch 'develop' into feature/bma/rageshakeConfigStep2 2025-08-11 17:35:06 +02:00
Benoit Marty 275c5b41c5 Fix compilation issue 2025-08-08 18:08:30 +02:00
Jorge Martín 8bde0592e5 Setting version for the release 25.08.2 2025-08-08 15:42:43 +02:00
Jorge Martín 9105a89c02 Setting version for the release 25.08.1 2025-08-06 12:39:51 +02:00
ganfra d670bf805b Setting version for the release 25.08.0 2025-08-01 13:48:43 +02:00
ganfra fc1ef3d654 Setting version for the release 25.07.1 2025-07-15 17:01:21 +02:00
Benoit Marty 5e73e0b9d0 Setting version for the release 25.07.0 2025-07-04 16:49:23 +02:00
Benoit Marty c3b7f38dab Change minSDK to 33 for Element enterprise. #4905 2025-06-30 17:00:56 +02:00
Benoit Marty 7f449fef81 Introduce MIN_SDK_FOSS and MIN_SDK_ENTERPRISE const. 2025-06-30 17:00:55 +02:00
bmarty 284241a4ec Sync Strings from Localazy 2025-06-30 00:33:54 +00:00
Jorge Martín cbee14d75a Setting version for the release 25.06.3 2025-06-19 12:30:49 +02:00
ganfra 8907af3dc2 Setting version for the release 25.06.2 2025-06-10 20:12:25 +02:00
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