Commit graph

13950 commits

Author SHA1 Message Date
renovate[bot]
98acdadc6f
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.10.31 (#5657)
* fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.10.31

* Fix API breaks

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-11-03 10:48:06 +01:00
renovate[bot]
a654ff84d9
fix(deps): update metro to v0.7.3 (#5663)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-03 10:24:54 +01:00
renovate[bot]
7441919417
fix(deps): update firebaseappdistribution to v5.2.0 (#5640)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-03 09:30:28 +01:00
renovate[bot]
ec8822435d
fix(deps): update dependency com.google.firebase:firebase-bom to v34.5.0 (#5643)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-03 09:30:04 +01:00
Benoit Marty
fa55bfe70f Improve code. 2025-10-31 19:15:19 +01:00
Jorge Martin Espinosa
1ea4eabcc5
Enable SyncNotificationsWithWorkManager by default in release mode apps too (#5646) 2025-10-31 16:25:36 +01:00
ganfra
29de5bdea9 feature(space) : some code clean up 2025-10-31 15:34:55 +01:00
ganfra
fd980cf5bd feature(space) : prepare LeaveSpace for navigation to Roles&Permissions 2025-10-31 15:32:30 +01:00
ganfra
389c2f3452 feature(space) : some renaming on Space nodes 2025-10-31 15:10:55 +01:00
ganfra
4a56b13ecc feature(space) : update some strings 2025-10-31 15:01:03 +01:00
ganfra
0894e8b1f2 feature(space) : iterate on SpaceSettings 2025-10-31 15:01:03 +01:00
ganfra
9beed3aeba feature(space) : plumb up space settings screen 2025-10-31 15:01:03 +01:00
ganfra
f86a1c62a5 feature(space) : remove dead code
# Conflicts:
#	appnav/src/main/kotlin/io/element/android/appnav/room/RoomFlowNode.kt
2025-10-31 14:56:14 +01:00
ganfra
d49fecf345 feature(space) : starts space settings screen 2025-10-31 14:55:30 +01:00
renovate[bot]
e94e7624cf
chore(deps): update danger/danger-js action to v13.0.5 (#5652)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-31 13:18:26 +00:00
renovate[bot]
1c35ef9e58
fix(deps): update dependency io.element.android:element-call-embedded to v0.16.1 2025-10-31 12:45:27 +00:00
Benoit Marty
f6163f1ae3
Merge pull request #5641 from element-hq/feature/bma/callbackRenaming
Improve architecture around Nodes
2025-10-31 13:42:39 +01:00
Benoit Marty
07b6148035 Remove context(parentNode: Node) and provide the parent Node as a parameter. 2025-10-31 12:04:57 +01:00
ganfra
1979c4f141
Merge pull request #5644 from element-hq/renovate/okhttp-monorepo
fix(deps): update dependency com.squareup.okhttp3:okhttp-bom to v5.3.0
2025-10-31 10:31:12 +01:00
Benoit Marty
fed09eeefb Fix test. 2025-10-31 10:10:00 +01:00
Benoit Marty
6cbb679375 Fix issue after rebase. 2025-10-31 10:09:24 +01:00
renovate[bot]
4fc4fefd7a
fix(deps): update dependency com.squareup.okhttp3:okhttp-bom to v5.3.0 2025-10-31 08:47:43 +00:00
renovate[bot]
da2ed72147
fix(deps): update dependencyanalysis to v3.4.1 (#5642)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-31 09:45:43 +01:00
Benoit Marty
2b98a26694 Remove obsolete TODO 2025-10-31 09:32:41 +01:00
Benoit Marty
e759dca9db Small cleanup 2025-10-31 09:32:40 +01:00
Benoit Marty
674814e322 Move call to setGroup to configureWith 2025-10-31 09:31:57 +01:00
Benoit Marty
3382aa2cfc Use TestScope.backgroundScope 2025-10-31 09:29:48 +01:00
Benoit Marty
04e5d684d4 Let DefaultNotificationDrawerManager use NotificationDisplayer instead of NotificationManagerCompat 2025-10-31 09:29:48 +01:00
Benoit Marty
f4f623c417 Create const for diagnostic tag. 2025-10-31 09:27:35 +01:00
Benoit Marty
6fe85dc579 Use better names for API. 2025-10-31 09:27:34 +01:00
Benoit Marty
7ee00a65d8 Rename OneShotNotification.key to OneShotNotification.tag for clarity. 2025-10-31 09:25:04 +01:00
Benoit Marty
7d7ea5d67c NotificationDataFactory: improve API 2025-10-31 09:25:03 +01:00
Benoit Marty
57ac39673d Notification: show userId in notification when several accounts are configured. 2025-10-31 09:25:01 +01:00
Benoit Marty
f1822c5afd Fix typo in package name. 2025-10-30 18:47:20 +01:00
Benoit Marty
6298209ad9 Create Fake classes in test modules 2025-10-30 18:32:31 +01:00
Benoit Marty
fd6493bf4e More renaming 2025-10-30 16:32:54 +01:00
Benoit Marty
f174084942 Use context parameter for the parentNode 2025-10-30 16:32:53 +01:00
Benoit Marty
02dc71c4c3 Remove NodeBuilder to ensure that Params and Callback are always provided. 2025-10-30 16:32:52 +01:00
Benoit Marty
be03c50aaf Ensure a Callback and only one is provided in the Plugin. Also reduce boilerplate code in Nodes. 2025-10-30 16:32:51 +01:00
Benoit Marty
2e8785b36b More renaming 2025-10-30 16:32:50 +01:00
Benoit Marty
43972dba68 Rename fun in Callback for clarity. 2025-10-30 16:32:48 +01:00
Jorge Martin Espinosa
353c00e032
Display only valid emojis in recent emoji list (#5612)
* Create `:libraries:recentemojis` and move `AddRecentEmoji` and `GetRecentEmojis` there

- Make sure `GetRecentEmojis` won't return duplicate or invalid emojis.
- `ActionListPresenter` now handles merging suggested and recent emojis, not `ActionListView`.
2025-10-30 15:27:51 +00:00
Jorge Martin Espinosa
eb08639776
Split notifications for messages in threads (#5595)
* Separate thread notifications into their own notifications when the feature flag is enabled.

Otherwise, set the `threadId` to null so it'll behave as usual. It's done this way to avoid having to inject `FeatureFlagService` in several places.

* Add permalink navigation to threads from notifications, focusing on the latest event in the list of messages of the notification tapped

* Fix redactions in threads

* Clear notifications for a thread when visiting it

* Fix opening a thread happening twice, first because of the `openThreadId` value, then because of the `focusedEventId` one

* Make opening a room through a notification also focus on the latest event

* Add helper `NotificationCreator.messageTag` function

* Remove unused `ROOM_CALL_NOTIFICATION_ID`: `FOREGROUND_SERVICE_NOTIFICATION_ID`+ `ForegroundServiceType` is used instead

* Simplify `DefaultDeepLinkCreator`

* Make sure the main timeline focuses on the thread root id too when navigating to a thread

* Handle "Mark as read" action for thread notification, using `timeline.markAsRead`

* Log failures to mark rooms as read using the notification action

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2025-10-30 15:15:00 +00:00
Benoit Marty
b664ee74c0
Merge pull request #5638 from element-hq/feature/bma/upgradeKtLint
Upgrade ktlint to 1.7.1 and ensure Renovate will upgrade the version
2025-10-30 15:40:56 +01:00
Benoit Marty
ba1b811f37 Sadly detekt still needs this. It will be fixed in detekt 2.0.0 2025-10-30 15:01:14 +01:00
Benoit Marty
cd990f5772 Kotlin way 2025-10-30 14:34:22 +01:00
Benoit Marty
5a03206595 Remove exclusion, ktlint is now able to handle Kotlin context parameter. 2025-10-30 14:33:28 +01:00
Benoit Marty
d6e11ca07a Let Renovate upgrade KtLint version.
And move detekt version to quality section.
2025-10-30 14:33:27 +01:00
Benoit Marty
c30741a048 Ignore some ktlint Rules (too many issues(?) to fix and not urgent) 2025-10-30 14:33:27 +01:00
Benoit Marty
eef0fbf4be Fix "Arrow is redundant when parameter list is empty"
And other issues that ktlint now reports
2025-10-30 14:33:25 +01:00