Jorge Martin Espinosa
57e0b74482
Use MediaPreviewValue.Private to check if media should be displayed in notifications ( #6038 )
...
* Use `MediaPreviewValue.Private` to check if images should be displayed in notifications
Also added `NotificationData.roomJoinRule` so we can use it to check if the room is public or not
* Add logging message for cases when we should have an image uri it turns out we don't
2026-01-23 09:01:52 +00:00
Benoit Marty
c901772145
Metro 0.10.0: Classes annotated with ContributesIntoSet do not need to be annotated with Inject.
2026-01-20 10:13:39 +01:00
bmarty
45ed8619dd
Sync Strings from Localazy
2026-01-19 00:35:31 +00:00
ElementBot
aa4125bdc0
Sync Strings from Localazy ( #5994 )
...
Co-authored-by: jmartinesp <480955+jmartinesp@users.noreply.github.com>
2026-01-14 11:43:57 +00:00
Benoit Marty
8a290c339d
Make the notification silent when the message is an outgoing message (quick reply). ( #5961 )
...
The boolean isUpdated will be passed to setOnlyAlertOnce(), and when the value is true, the notification does not ring/vibrate again.
2026-01-05 18:13:17 +01:00
ElementBot
46f6e811d5
Sync Strings from Localazy ( #5971 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-01-05 13:57:09 +01:00
Benoit Marty
7576a978e0
Make the notification silent when the message is an outgoing message (quick reply).
...
The boolean isUpdated will be passed to setOnlyAlertOnce(), and when the value is true, the notification does not ring/vibrate again.
2025-12-30 16:47:38 +01:00
bmarty
96dc67162c
Sync Strings from Localazy
2025-12-23 11:23:46 +01:00
ElementBot
ad881c303a
Sync Strings from Localazy ( #5904 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-12-15 23:51:19 +01:00
Jorge Martín
734485255a
Add a periodic DB vacuuming task
2025-12-10 15:22:16 +01:00
Benoit Marty
f76d817b4e
Merge pull request #5852 from element-hq/renovate/io.nlopez.compose.rules-detekt-0.x
...
fix(deps): update dependency io.nlopez.compose.rules:detekt to v0.5.1
2025-12-08 15:05:12 +01:00
bmarty
3935a3b6ce
Sync Strings from Localazy
2025-12-08 00:34:18 +00:00
Jorge Martín
9c7ba58114
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
Benoit Marty
54e742075d
Detekt: enable rule exceptions.SwallowedException and fix existing issue.
2025-12-05 09:45:23 +01:00
ganfra
236db9e35d
change(notification): handle invite notification for spaces
2025-12-04 12:25:30 +01:00
Benoit Marty
63f7c9a4fd
Iterate on Save change dialog.
2025-12-03 18:04:53 +01:00
bmarty
32d56ea92d
Sync Strings from Localazy
2025-12-01 00:23:54 +00:00
Jorge Martín
1d77aa447d
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
eff221645e
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
703496e059
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
04b492a5a1
it -> dataList
2025-11-20 14:52:53 +01:00
Benoit Marty
b2d8856250
Improve test names and perform more test.
2025-11-20 12:54:06 +01:00
Benoit Marty
0fddb547b1
Improve chunk algorithm
2025-11-19 19:16:24 +01:00
Benoit Marty
a40988894b
Improve code again
2025-11-19 18:28:00 +01:00
Benoit Marty
477b15428e
Fix and add test
2025-11-19 17:38:11 +01:00
Benoit Marty
cb9d116af8
First attempt
2025-11-19 16:56:01 +01:00
Benoit Marty
c8604c262a
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
310848ee38
Merge pull request #5722 from element-hq/feature/bma/moduleCleanup
...
Module cleanup
2025-11-18 16:14:10 +01:00
Benoit Marty
aab46b3ed6
Use new notification sound in release.
2025-11-17 16:25:17 +01:00
Benoit Marty
c26b61c0c6
Cleanup
2025-11-17 13:41:16 +01:00
Benoit Marty
78f976e3d9
Using Kdoc is not correct here.
2025-11-17 13:40:19 +01:00
ElementBot
738f707ca7
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
017a259f1c
Update notification content
2025-11-14 15:40:31 +01:00
Benoit Marty
d3339872ff
Ensure that disabling (resp. enabling) notification unregisters (resp. registers) the pusher
2025-11-13 17:50:21 +01:00
Benoit Marty
c7d4689473
Add missing test.
2025-11-13 15:39:20 +01:00
Benoit Marty
0dcd63c7f9
Add unit test on DefaultServiceUnregisteredHandler
2025-11-13 15:13:05 +01:00
Benoit Marty
f9c0b9e8bb
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
3a3ab4e696
Cleanup NotificationCreator.
2025-11-13 11:59:58 +01:00
Benoit Marty
8c6a7ccac5
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
8285478688
API modules do not need to setup dependency injection.
...
Move the implementation to the impl modules.
2025-11-12 19:05:39 +01:00
Benoit Marty
04589ec091
Fix package name
2025-11-12 12:24:46 +01:00
Benoit Marty
573767aca1
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
eb31505dc7
Copyright: Add Element Creations Ltd. copyright
2025-11-10 11:05:05 +01:00
Benoit Marty
f86431e663
Copyright: Add final period
2025-11-10 10:13:41 +01:00
Benoit Marty
c4e0370f41
Copyright: run command uv run license-editor --repository ../element-x-android
2025-11-10 10:09:26 +01:00
Benoit Marty
8769b98862
Merge pull request #5698 from element-hq/feature/bma/handleEvent
...
Code consistency around view event handling
2025-11-10 09:36:04 +01:00
Benoit Marty
7ad9c8f687
Rename handleEvents to handleEvent
2025-11-07 12:21:43 +01:00
Benoit Marty
fd0ef1ae7a
Small cleanup
2025-11-06 15:38:41 +01:00
Benoit Marty
ba0c659df1
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
cf742b42d0
Fix test.
2025-11-05 11:47:51 +01:00