Commit Graph

12302 Commits

Author SHA1 Message Date
Jorge Martin Espinosa
8d529849e8 Try fixing 'Timeline Event object has already been destroyed' (#5675)
This will display a fallback notification. I don't see how the current code could cause it, but I tried to re-structure it a bit so we don't have nested `use` usages and `timestamp` is fetched ahead of time.
2025-11-04 11:36:17 +01:00
Benoit Marty
a1e270578a Merge pull request #5672 from element-hq/feature/bma/handleEvents
Always use the handleEvent(s) function the same way.
2025-11-04 11:20:22 +01:00
Benoit Marty
c13fafd836 Merge pull request #5669 from element-hq/fix/forward-events-from-pinned-media-timeline
Fix forward events from media viewer from pinned media timeline
2025-11-04 09:52:01 +01:00
Benoit Marty
d17429bf39 Merge pull request #5674 from element-hq/feature/bma/androidDependencies
Move dependencies block out of the android block.
2025-11-04 09:21:39 +01:00
Benoit Marty
f1ad56bef1 Move dependencies block out of the android block. 2025-11-03 22:29:38 +01:00
Benoit Marty
6a4ca17e13 Merge pull request #5671 from element-hq/revert-5667-feature/bma/updateNotificationSound
Revert "Update notification sound"
2025-11-03 18:53:52 +01:00
Benoit Marty
18e46644ba Revert "Update notification sound" 2025-11-03 18:53:30 +01:00
Benoit Marty
0743b56bc4 Always use the handleEvent(s) function the same way. 2025-11-03 18:49:00 +01:00
ElementBot
5b398adfcf Update screenshots 2025-11-03 17:14:23 +00:00
Benoit Marty
6b2ebf9933 Merge pull request #5667 from element-hq/feature/bma/updateNotificationSound
Update notification sound
2025-11-03 16:35:45 +01:00
Benoit Marty
2eeb5fe1cc Add test on forwarding from pinned event 2025-11-03 16:08:59 +01:00
Benoit Marty
c993506129 Code cleanup 2025-11-03 16:07:13 +01:00
Benoit Marty
5b18f6f93e Code cleanup 2025-11-03 15:53:31 +01:00
Benoit Marty
bb28fd6e92 Forward Event error: Log error and use generic error dialog. 2025-11-03 15:18:12 +01:00
Benoit Marty
876f692f3f Rename MessagesEntryPointNode to MessagesEntryPoint.NodeProxy for consistency. We already have a NodeProxy. 2025-11-03 15:17:27 +01:00
Benoit Marty
19b0e27ab2 Update notification sound 2025-11-03 14:58:40 +01:00
Benoit Marty
e3364c4405 Merge pull request #5666 from element-hq/feature/bma/fixNavigationIssue
Fix navigation issue.
2025-11-03 14:47:22 +01:00
Jorge Martín
0bed2ae386 Use the new fromPinnedEvents parameter in JoinedRoomLoadedFlowNode through TimelineBindings 2025-11-03 14:44:29 +01:00
Jorge Martín
7421e6545c Pass around fromPinnedEvents so we can use it to decide whether to forward the event from the main timeline or the pinned events one 2025-11-03 14:43:57 +01:00
Jorge Martín
d373cbe8a7 Create PinnedEventsTimelineProvider, expose it in TimelineBindings 2025-11-03 14:43:18 +01:00
Benoit Marty
2fd777c2db Fix navigation issue. 2025-11-03 13:46:14 +01:00
Jorge Martín
569f9a3735 Changelog for version 25.11.0 2025-11-03 13:11:16 +01:00
Jorge Martín
76dbf603e8 Merge branch 'hotfix/25.11.0' into develop 2025-11-03 12:30:50 +01:00
Jorge Martín
2fb3f84d2a Setting version for the release 25.11.0 2025-11-03 12:29:08 +01:00
Jorge Martin Espinosa
444ae96030 Revert "Make sure declining a call stops observing the ringing call state (#5…" (#5615)
This reverts commit 10bf5f1c8c.
2025-11-03 12:13:48 +01:00
ElementBot
287a017739 Sync Strings from Localazy (#5662)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-11-03 10:58:12 +01:00
renovate[bot]
2f5d0c340c 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]
19dcdc1a0c 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]
069adf45cc 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]
f5918c7bae 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
Jorge Martin Espinosa
04f70c8130 Enable SyncNotificationsWithWorkManager by default in release mode apps too (#5646) 2025-10-31 16:25:36 +01:00
renovate[bot]
f7e28346d6 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
Benoit Marty
f88c2b7d69 Merge pull request #5641 from element-hq/feature/bma/callbackRenaming
Improve architecture around Nodes
2025-10-31 13:42:39 +01:00
Benoit Marty
e70d767183 Remove context(parentNode: Node) and provide the parent Node as a parameter. 2025-10-31 12:04:57 +01:00
ganfra
b83ca02f23 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
renovate[bot]
aaf6f8535b fix(deps): update dependency com.squareup.okhttp3:okhttp-bom to v5.3.0 2025-10-31 08:47:43 +00:00
renovate[bot]
4dc33d6c11 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
45400d70d2 Fix typo in package name. 2025-10-30 18:47:20 +01:00
Benoit Marty
187479849d Create Fake classes in test modules 2025-10-30 18:32:31 +01:00
Benoit Marty
0303ac502a More renaming 2025-10-30 16:32:54 +01:00
Benoit Marty
05c5f3c914 Use context parameter for the parentNode 2025-10-30 16:32:53 +01:00
Benoit Marty
566515ca88 Remove NodeBuilder to ensure that Params and Callback are always provided. 2025-10-30 16:32:52 +01:00
Benoit Marty
5197154f54 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
596b7f00fc More renaming 2025-10-30 16:32:50 +01:00
Benoit Marty
09a18ad7ca Rename fun in Callback for clarity. 2025-10-30 16:32:48 +01:00
Jorge Martin Espinosa
45b5783b23 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
7facc40771 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
e8b7db22cd 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
0f939f5eff Sadly detekt still needs this. It will be fixed in detekt 2.0.0 2025-10-30 15:01:14 +01:00
Benoit Marty
e17d731ff5 Kotlin way 2025-10-30 14:34:22 +01:00