Commit graph

10647 commits

Author SHA1 Message Date
ganfra
54fceaa736 change (room member moderation) : fix copyright 2025-06-03 10:58:25 +02:00
ganfra
abc5547aa3 Merge branch 'develop' into feature/fga/user_moderation_bottomsheet 2025-06-03 10:46:12 +02:00
ganfra
07c007e491
Merge pull request #4799 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-25.x
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.5.29
2025-06-02 21:58:33 +02:00
ganfra
be2d83b4da dependencies (rust sdk) : replace RoomTombstone by SuccessorRoom 2025-06-02 20:33:34 +02:00
Benoit Marty
b398fb47d2
Fix mobile link (#4805)
* Fix path of mobile link. Adding a trailing `/`

* Reduce brain pressure.
2025-06-02 16:11:30 +02:00
Jorge Martin Espinosa
e02053d85e
Make sure HeaderFooterPage can contents be scrolled (#4704)
Co-authored-by: ElementBot <android@element.io>
2025-06-02 14:28:46 +02:00
Lucas
df62dd1dd5
fix: exclude more domains from being backed up by the system (#4773)
tries* to fix #3465
2025-06-02 14:17:43 +02:00
renovate[bot]
1f6a657f19
fix(deps): update android.gradle.plugin to v8.10.1 (#4795)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-02 12:34:02 +02:00
Jorge Martin Espinosa
d5b97ed5af
Use Localazy's langAliases for Indonesian (#4801) 2025-06-02 12:05:55 +02:00
ElementBot
87c376cfb6
Sync Strings from Localazy (#4804)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-06-02 12:05:08 +02:00
Benoit Marty
2c96fb8871
Cleanup testImplementation dependencies (#4790) 2025-06-02 10:51:02 +02:00
renovate[bot]
6b82e62e7a
fix(deps): update dependencyanalysis to v2.18.0 (#4796)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-30 17:30:55 +02:00
renovate[bot]
f604d0542e
fix(deps): update dependency io.element.android:element-call-embedded to v0.12.0 (#4743)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-30 10:48:33 +02:00
ElementBot
e8f29a38bf
Sync Strings (#4775) 2025-05-30 08:47:39 +00:00
renovate[bot]
b8afce8664
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.5.29 2025-05-29 13:49:21 +00:00
renovate[bot]
7e4b1eab22
fix(deps): update dependency com.posthog:posthog-android to v3.16.0 (#4789)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-28 07:25:29 +00:00
ganfra
4441a251f7
Merge pull request #4765 from element-hq/feature/fga/fix_left_room_membership_change
Fix left room membership change
2025-05-27 22:35:32 +02:00
ganfra
091d41b09d Merge branch 'develop' into feature/fga/fix_left_room_membership_change 2025-05-27 22:08:17 +02:00
Benoit Marty
4572419ed2
Stronger lambda error (#4771)
* Make sure lambdaError() make the test fail in all circumstances.

* Fix existing errors on tests.

* Uniformize the way we are creating class under test.

* Cleanup

* Fix typo

* Fix failing test after rebase.
2025-05-27 15:32:09 +00:00
Benoit Marty
5b9da3c41b
Hide Element Call entry point if Element Call service is not available. (#4783)
* Hide Element Call entry point if Element Call service is not available.

* No need to preview the case RoomCallState.Unavailable

* Hide start call action from user profile if Element Call is not available.

* Add mising `use` and cover the problem by a test.

* Update screenshots

* Update enterprise submodule ref.

* Ensure `enterpriseService.isElementCallAvailable()` is not called several times.
And fix unit tests on CI

---------

Co-authored-by: ElementBot <android@element.io>
2025-05-27 16:31:05 +02:00
renovate[bot]
730fb684b0
fix(deps): update dependency com.posthog:posthog-android to v3.15.1 (#4787)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-27 13:33:23 +02:00
renovate[bot]
985b9e8c20
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.5.26 (#4781)
Adapt SDK changes:
- `RoomListItem` is gone, we should use `Room` now.
- `SyncService.withUtdHook` has been replaced with `Client.setUtdDelegate`.
- `ClientDelegate.didRefreshTokens` has been removed. It wasn't in use since a long time ago.
- `TracingConfiguration` for the SDK now contains a `sentryDsn` parameter.

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-05-27 11:29:40 +02:00
Jorge Martin Espinosa
f455085e08
Notification events resolving and rendering in batches (#4722)
- Use `NotiticationService.getNotifications()` function so we resolve the events in bulk.
- Added `NotifierResolverQueue` to group the notifications to resolve based on a debounce strategy.
- Batch rendering of these events as notifications.
2025-05-26 17:10:20 +02:00
ElementBot
5625e28770 Update screenshots 2025-05-26 13:09:20 +00:00
renovate[bot]
f0c9f8294a
fix(deps): update sqldelight to v2.1.0 (#4735)
* fix(deps): update sqldelight to v2.1.0

* Ignore new returned value from database query which know have type QueryResult<Long>.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2025-05-26 14:58:57 +02:00
Benoit Marty
61075c7a9b
Update UnifiedPush library (#4358)
* Upgrade `com.github.UnifiedPush:android-connector` from 2.4.0 to 3.0.4

* Do not use jitpack to get the unified push library

* implementation is ok

* Exclude com.google.crypto.tink to fix a compilation issue

* Fix tests.

* Update log.

* Revert "Exclude com.google.crypto.tink to fix a compilation issue"

This reverts commit f431ebe3b78a06282e0ee74c9f428702d463df45.

* Fix compilation issue after rebase.

* Exclude com.google.crypto.tink again.

* Try version 3.0.8

* Use latest version 3.0.9

* Replace tink exclusion with dependency resolution

---------

Co-authored-by: Jorge Martín <jorgem@element.io>
2025-05-26 14:56:54 +02:00
ElementBot
7306154cce
Update Gradle Wrapper from 8.14 to 8.14.1 (#4766)
Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc>
Co-authored-by: gradle-update-robot <gradle-update-robot@regolo.cc>
Co-authored-by: Jorge Martin Espinosa <jorgem@element.io>
2025-05-26 14:56:14 +02:00
Jorge Martin Espinosa
9b9d75aa5f
Add ActiveRoomsHolder to manage the active rooms for a session (#4758) 2025-05-26 11:03:55 +00:00
夜坂雅
630e1d19c0
fix: Ignore global proxy settings if system thinks there's none (#4744)
Otherwise a :0 proxy would break in Rust SDK.
2025-05-26 09:33:04 +02:00
ganfra
37bf88d53f change (member moderation) : clean up 2025-05-24 11:23:09 +02:00
ganfra
5eef211b04 change (member moderation) : add test on RoomMemberModerationView 2025-05-24 11:16:33 +02:00
Benoit Marty
b926f5f5dc
On boarding flow: add a screen to select account provider among a fixed list (#4769)
* Hide login with QrCode when the app is opened by a link

* Fix UI on ChangeAccountProviderView.

* Add flow to choose between a fixed list of account provider

* Update screenshots

* Fix licence header

* Rename preview.

* Ensure that the default account provider cannot be "*"
This should not happen IRL, but better be robust against issue in application configuration.

* Create const of any account provider value

* Fix typo

---------

Co-authored-by: ElementBot <android@element.io>
2025-05-23 18:36:48 +02:00
ganfra
2e1eb900a4 Merge branch 'develop' into feature/fga/user_moderation_bottomsheet 2025-05-23 17:28:48 +02:00
ganfra
0e5fc8f634
Merge pull request #4755 from element-hq/renovate/com.google.firebase-firebase-bom-33.x
fix(deps): update dependency com.google.firebase:firebase-bom to v33.14.0
2025-05-23 12:18:14 +02:00
ganfra
e3c20de6d5
Merge pull request #4733 from element-hq/renovate/media3
fix(deps): update media3 to v1.7.1
2025-05-23 12:15:17 +02:00
ganfra
d5a9da494e
Merge branch 'develop' into renovate/com.google.firebase-firebase-bom-33.x 2025-05-23 11:50:27 +02:00
ganfra
d51bdf3b24
Merge branch 'develop' into renovate/media3 2025-05-23 11:47:35 +02:00
ganfra
3588259448
Merge pull request #4767 from element-hq/renovate/org.jlleitschuh.gradle.ktlint-12.x
chore(deps): update plugin ktlint to v12.3.0
2025-05-23 11:47:13 +02:00
renovate[bot]
6e560a0bbb
chore(deps): update plugin ktlint to v12.3.0 2025-05-23 00:34:57 +00:00
Jorge Martin Espinosa
c2e28f5fbc
Maestro: fix MAS and EC breaking the tests (#4762) 2025-05-22 22:31:51 +02:00
ganfra
2b87281704 fix (left room membership) : use correct membership change and add test 2025-05-22 21:41:44 +02:00
renovate[bot]
b016f2e0ac
fix(deps): update dependency org.maplibre.gl:android-sdk to v11.8.8 (#4721)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-22 09:29:14 +02:00
ganfra
1ac5674c18 change (member moderation) : clean and add tests on Presenter 2025-05-21 18:31:08 +02:00
ganfra
b1441e1afd change (member moderation) : sync strings 2025-05-21 18:30:45 +02:00
Benoit Marty
5a2aeac6b6
Add support for login link (#4752)
* Add support for login link

https://mobile.element.io/element?account_provider=example.org&login_hint=mxid:@alice:example.org

* Update screenshots

* Reduce code duplication

* Add test on OnBoardingPresenter

* Fix tool

* Ignore login parameter if user is not allowed to connect to the provided server.

* Improve tests.

* Cleanup

* Revert change on Project.xml.

* Add documentation

* Improve LoginHelper

* Rename LoginFlow to LoginMode

Move LoginFlow to package io.element.android.features.login.impl.login
Rename some implementation of LoginMode
Rename LoginFlowView to LoginModeView

* Change launchMode of MainActivity from `singleTop` to `singleTask`

Using launchMode singleTask to avoid multiple instances of the Activity when the app is already open. This is important for incoming share and for opening the application from a mobile.element.io link.

Closes #4074

---------

Co-authored-by: ElementBot <android@element.io>
2025-05-21 18:19:42 +02:00
renovate[bot]
60c4155108
fix(deps): update datastore to v1.1.7 (#4754)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-21 18:19:24 +02:00
Benoit Marty
538a8441cd Changelog for version 25.05.4 2025-05-21 18:18:42 +02:00
Benoit Marty
25274ae38f Merge tag 'v25.05.4' into develop
tag
2025-05-21 17:45:19 +02:00
Benoit Marty
0fab33ae06 Merge branch 'release/25.05.4' into main 2025-05-21 17:45:01 +02:00
Benoit Marty
20008625c6 Adding fastlane file for version 25.05.4 2025-05-21 17:44:55 +02:00