354 Commits

Author SHA1 Message Date
Benoit Marty
4e720cecb1 Rename anvil modules to annotations and codegen 2025-09-05 14:26:27 +02:00
Benoit Marty
606b1d132e Format 2025-09-05 14:03:09 +02:00
bmarty
676d7f6c8f Sync Strings from Localazy 2025-09-05 07:44:19 +00:00
Jorge Martín
dca1c5b516 Remove dagger and anvil dependencies, try to simplify gradle build scripts a bit 2025-09-04 16:49:21 +02:00
Jorge Martín
e06bacbff3 Redo DI gradle setup code 2025-09-04 16:49:20 +02:00
Jorge Martín
60cdf61cf2 Use version 0.6.3 of Metro, with the bugfix we need 2025-09-04 16:49:20 +02:00
Jorge Martín
92a4b8b66b Start migrating Anvil KSP to Metro 2025-09-04 16:48:34 +02:00
Jorge Martín
f98b603af2 Setting version for the release 25.09.0 2025-08-27 10:15:08 +02:00
Jorge Martín
b7a67d4130 Setting version for the release 25.08.4 2025-08-26 15:18:34 +02:00
Benoit Marty
2b42271615 Split module deeplink to api and impl. 2025-08-25 11:36:42 +02:00
Benoit Marty
08f869c6f9 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
facddbf3d5 Setting version for the release 25.08.3 2025-08-14 12:06:32 +02:00
Jorge Martín
4bebd1d2ac Remove libs.showkase entry in composeDependencies
Add it only to the needed library modules.
2025-08-13 11:43:57 +02:00
Benoit Marty
657b8e92a4 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
7f88dd96b9 Compile and target SDK 36. 2025-08-12 09:57:30 +02:00
Benoit Marty
37b50e0139 Merge branch 'develop' into feature/bma/rageshakeConfigStep2 2025-08-11 17:35:06 +02:00
Benoit Marty
7810bf49fd Fix compilation issue 2025-08-08 18:08:30 +02:00
Jorge Martín
ed6b311092 Setting version for the release 25.08.2 2025-08-08 15:42:43 +02:00
Jorge Martín
5367b3102b Setting version for the release 25.08.1 2025-08-06 12:39:51 +02:00
ganfra
48079fec63 Setting version for the release 25.08.0 2025-08-01 13:48:43 +02:00
ganfra
0556d4967b Setting version for the release 25.07.1 2025-07-15 17:01:21 +02:00
Benoit Marty
09ba7a4ff8 Setting version for the release 25.07.0 2025-07-04 16:49:23 +02:00
Benoit Marty
fab744e566 Change minSDK to 33 for Element enterprise. #4905 2025-06-30 17:00:56 +02:00
Benoit Marty
d836c389b2 Introduce MIN_SDK_FOSS and MIN_SDK_ENTERPRISE const. 2025-06-30 17:00:55 +02:00
bmarty
2e8f8ec057 Sync Strings from Localazy 2025-06-30 00:33:54 +00:00
Jorge Martín
362cd96e06 Setting version for the release 25.06.3 2025-06-19 12:30:49 +02:00
ganfra
b10b76c386 Setting version for the release 25.06.2 2025-06-10 20:12:25 +02:00
Jorge Martín
28fa63aa94 Setting version for the release 25.06.1 2025-06-09 12:32:09 +02:00
ganfra
bb52dc0dbe Setting version for the release 25.06.0 2025-06-03 15:41:57 +02:00
ElementBot
498cf15d38 Sync Strings (#4775) 2025-05-30 08:47:39 +00:00
Benoit Marty
c3c21bcfcc Setting version for the release 25.05.4 2025-05-21 17:43:25 +02:00
Benoit Marty
93499910ba 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
c6a9d99441 Setting version for the release 25.05.3 2025-05-12 17:10:08 +02:00
Jorge Martín
e58939ce4d Setting version for the release 25.05.2 2025-05-12 16:43:34 +02:00
Jorge Martín
57648315be Setting version for the release 25.05.1 2025-05-08 11:23:31 +02:00
Jorge Martín
eb687e2286 Setting version for the release 25.05.0 2025-05-06 15:57:37 +02:00
Benoit Marty
9ea4853e88 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
c537e94146 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
4486d5205c 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
4716d0e67e Setting version for the release 25.04.3 2025-04-23 11:02:23 +02:00
Benoit Marty
cd65d121f8 Push gateway config (#4608)
* Read PushProvidersConfig parameter from BuildTimeConfig

* Update submodule link.
2025-04-22 13:58:12 +02:00
Benoit Marty
4c21f48661 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
270b420575 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
e46e98e26e Setting version for the release 25.04.1 2025-04-11 16:01:58 +02:00
renovate[bot]
88727098ec 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
8a35db0b79 Setting version for the release 25.04.0 2025-04-08 15:42:29 +02:00
Jorge Martín
1578c1d00c Merge tag 'v25.03.4' into develop
Version 25.03.4
2025-03-27 11:28:13 +01:00
Benoit Marty
87fd1372a9 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
1c9911b240 Setting version for the release 25.03.4 2025-03-27 11:20:15 +01:00
Jorge Martín
e1cf48b0a0 Setting version for the release 25.03.3 2025-03-26 12:52:55 +01:00