Jorge Martín
754c0781f9
Don't re-schedule notification fetches if the cause of the failure is SessionRestorationException, since that means it'll most likely fail again
2025-12-05 17:42:57 +01:00
ganfra
a27e31b01b
change(notification): handle invite notification for spaces
2025-12-04 12:25:30 +01:00
bmarty
2b49c40592
Sync Strings from Localazy
2025-12-01 00:23:54 +00:00
Jorge Martín
884c547123
Extract from_notification extra to a constant in IntentNavigationExtras
...
Allow `IntentProvider` to receive extras and `PendingIntentFactory` to send them.
2025-11-28 14:15:54 +01:00
ElementBot
cd9a0272c5
Sync Strings ( #5792 )
...
* Sync Strings from Localazy
* Update localazy config and sync strings.
* Use the new localazy key.
* Sync strings again
* Sync strings again and fix compilation issue.
* Update screenshots
---------
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2025-11-24 17:28:49 +01:00
ElementBot
42dd6c3544
Sync Strings from Localazy ( #5782 )
...
Co-authored-by: jmartinesp <480955+jmartinesp@users.noreply.github.com>
2025-11-20 15:25:19 +00:00
Benoit Marty
3c53c4d96b
it -> dataList
2025-11-20 14:52:53 +01:00
Benoit Marty
502fd472ed
Improve chunk algorithm
2025-11-19 19:16:24 +01:00
Benoit Marty
0355c0bda9
Improve code again
2025-11-19 18:28:00 +01:00
Benoit Marty
b976d9deac
Fix and add test
2025-11-19 17:38:11 +01:00
Benoit Marty
e0c829d887
First attempt
2025-11-19 16:56:01 +01:00
Benoit Marty
de3ffca1af
Merge pull request #5738 from element-hq/renovate/ktlint
...
fix(deps): update dependency com.pinterest.ktlint:ktlint-cli to v1.8.0
2025-11-19 12:16:05 +01:00
Benoit Marty
94a022889f
Use new notification sound in release.
2025-11-17 16:25:17 +01:00
Benoit Marty
49570f53b5
Cleanup
2025-11-17 13:41:16 +01:00
Benoit Marty
ebbe477135
Using Kdoc is not correct here.
2025-11-17 13:40:19 +01:00
ElementBot
5087cb8bbd
Sync Strings from Localazy ( #5747 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-11-17 10:29:26 +01:00
Benoit Marty
7f199db5ef
Update notification content
2025-11-14 15:40:31 +01:00
Benoit Marty
13854bb2c7
Ensure that disabling (resp. enabling) notification unregisters (resp. registers) the pusher
2025-11-13 17:50:21 +01:00
Benoit Marty
99485fb541
Add unit test on DefaultServiceUnregisteredHandler
2025-11-13 15:13:05 +01:00
Benoit Marty
2b4d80df01
UnifiedPush: emit error when registration fails.
...
Note that I did not manage to have the method `onRegistrationFailed` invoked. If the network is not available for instance, unregistering the previous pusher will fail first.
2025-11-13 14:56:20 +01:00
Benoit Marty
29889ad9ec
Cleanup NotificationCreator.
2025-11-13 11:59:58 +01:00
Benoit Marty
f0ec0164ef
Use the method setLargeIcon(Bitmap?) instead of setLargeIcon(Icon?) because it may scale the Bitmap on versions before API 27. Starting in API 27, the framework does this automatically.
2025-11-13 11:41:11 +01:00
Benoit Marty
185d4fadde
Let notifications use avatar fallback.
...
Extract code which handles Matrix image to its own api / impl / test modules.
2025-11-12 11:28:42 +01:00
Benoit Marty
1292da2a72
Copyright: Add Element Creations Ltd. copyright
2025-11-10 11:05:05 +01:00
Benoit Marty
b748fcc631
Copyright: Add final period
2025-11-10 10:13:41 +01:00
Benoit Marty
0a0224b586
Copyright: run command uv run license-editor --repository ../element-x-android
2025-11-10 10:09:26 +01:00
Benoit Marty
cf19daf3a4
Rename handleEvents to handleEvent
2025-11-07 12:21:43 +01:00
Benoit Marty
37f10ced4a
Merge pull request #5645 from element-hq/feature/bma/mutliAccountNotification
...
Improve rendering notification for multi account
2025-11-05 18:08:20 +01:00
Benoit Marty
f9f056bf85
Do not use the bastDescription but the cation for image/video/sticker because else the filename will be rendered in the notification and for media we do not want that.
...
Also fixes the issue when images is not rendered on some system and so they can be empty notification.
Closes #3945
2025-11-05 11:00:13 +01:00
Benoit Marty
dd328c5a08
Use new SessionStore API
2025-11-04 16:22:16 +01:00
Benoit Marty
e96cd9e28f
Merge remote-tracking branch 'origin/develop' into feature/bma/mutliAccountNotification
2025-11-04 16:20:42 +01:00
Benoit Marty
16fcc12e93
Remove unused property
2025-11-04 15:53:50 +01:00
Benoit Marty
fb4114adad
Revert "NotificationDataFactory: improve API"
...
This reverts commit b0e5e6cc61 .
# Conflicts:
# libraries/push/impl/src/test/kotlin/io/element/android/libraries/push/impl/notifications/NotificationDataFactoryTest.kt
2025-11-04 15:43:23 +01:00
Benoit Marty
3ab67bf421
Use the new notification sound only on debug and night
2025-11-03 19:08:49 +01:00
Benoit Marty
18e46644ba
Revert "Update notification sound"
2025-11-03 18:53:30 +01:00
Benoit Marty
19b0e27ab2
Update notification sound
2025-11-03 14:58:40 +01:00
Benoit Marty
e6934aacfa
Improve code.
2025-10-31 19:15:19 +01:00
Benoit Marty
af2429d8ed
Fix issue after rebase.
2025-10-31 10:09:24 +01:00
Benoit Marty
231077d94b
Remove obsolete TODO
2025-10-31 09:32:41 +01:00
Benoit Marty
d5fdc5f8e6
Small cleanup
2025-10-31 09:32:40 +01:00
Benoit Marty
947347b3f1
Move call to setGroup to configureWith
2025-10-31 09:31:57 +01:00
Benoit Marty
31ff72b319
Use TestScope.backgroundScope
2025-10-31 09:29:48 +01:00
Benoit Marty
fbecf8d34f
Let DefaultNotificationDrawerManager use NotificationDisplayer instead of NotificationManagerCompat
2025-10-31 09:29:48 +01:00
Benoit Marty
55517e5cb1
Create const for diagnostic tag.
2025-10-31 09:27:35 +01:00
Benoit Marty
f0e42a70fb
Use better names for API.
2025-10-31 09:27:34 +01:00
Benoit Marty
529c708d7e
Rename OneShotNotification.key to OneShotNotification.tag for clarity.
2025-10-31 09:25:04 +01:00
Benoit Marty
b0e5e6cc61
NotificationDataFactory: improve API
2025-10-31 09:25:03 +01:00
Benoit Marty
031ca4f333
Notification: show userId in notification when several accounts are configured.
2025-10-31 09:25:01 +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
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