Marco Antonio Alvarez
378da8ce21
[Feature] Render m.sticker events ( #2122 )
...
* Render m.sticker events
---------
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com >
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-01-02 16:03:19 +01:00
bmarty
ada357b344
Sync Strings from Localazy
2023-12-26 09:39:48 +01:00
Jorge Martin Espinosa
ada16a8563
Revert "Room list badges"
2023-12-22 11:02:07 +01:00
Benoit Marty
e6ad262329
Iterate on indicators on room list #2079
2023-12-21 14:51:31 +01:00
Benoit Marty
93e43084e1
Move NotificationConfig object to the config module.
2023-12-19 15:01:36 +01:00
bmarty
96dd875f3d
Sync Strings from Localazy
2023-12-18 00:10:14 +00:00
Benoit Marty
47f0aba3be
Fix tests.
2023-12-12 16:47:54 +01:00
Benoit Marty
96fac67b58
Remove duplicated file.
2023-12-12 16:17:11 +01:00
Benoit Marty
0ccfa2a15b
Load avatar for notification when there is no active imageLoader. ( #1991 )
2023-12-12 15:29:54 +01:00
Benoit Marty
cb694d537f
code cleanup
2023-12-11 16:51:42 +01:00
Benoit Marty
2de2d14ad0
Fix some licences.
2023-12-11 16:49:23 +01:00
Benoit Marty
25047c04d2
Cleanup up when statement.
2023-12-11 16:47:06 +01:00
Benoit Marty
c5168ae27b
Extract MxcTools and add test.
2023-12-11 14:53:02 +01:00
Benoit Marty
119e962016
Image in notification
2023-12-11 14:52:50 +01:00
Benoit Marty
d31909e049
Sync localazy using fixed script
2023-12-08 19:24:35 +01:00
Benoit Marty
b43ddd36b9
Run the script again.
2023-12-05 12:25:59 +01:00
Benoit Marty
0375017d69
Sync again
2023-12-05 11:25:47 +01:00
Benoit Marty
09e812cd8d
Sync string again after removing problematic translations from Localazy.
2023-12-04 18:03:21 +01:00
bmarty
ad2ca01094
Sync Strings from Localazy
2023-12-04 00:09:56 +00:00
Jorge Martin Espinosa
4ca75a3bac
Add special notifications for mentions ( #1846 )
...
* Add special notifications for mentions
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2023-11-28 10:41:50 +01:00
ElementBot
8ae8853c15
Sync Strings ( #1892 )
...
* Sync Strings from Localazy
---------
Co-authored-by: bmarty <bmarty@users.noreply.github.com >
Co-authored-by: jonnyandrew <jonnya@element.io >
Co-authored-by: Jorge Martín <jorgem@element.io >
2023-11-28 09:52:23 +01:00
Benoit Marty
4e849f460b
Fix: This number should be separated by underscores in order to increase readability
2023-11-27 17:17:10 +01:00
Benoit Marty
47dc03082e
Add test for DefaultNotificationDrawerManager
2023-11-27 16:44:47 +01:00
Benoit Marty
0930cd0dc6
NotificationEventPersistence is now an interface, to allow in-memory implementation.
2023-11-27 16:44:47 +01:00
Benoit Marty
c3eb653261
Add test for NotificationEventPersistence
2023-11-27 16:44:47 +01:00
Benoit Marty
a8e640d1dd
Add coverage for NotificationBitmapLoader
2023-11-27 16:44:47 +01:00
Benoit Marty
f1ec4b68fc
Remove useless try catch.
2023-11-27 16:43:58 +01:00
Benoit Marty
0fe93ded92
Fix issue in RoomGroupMessageCreator
2023-11-27 16:43:58 +01:00
Benoit Marty
119382d03d
Add test for RoomGroupMessageCreator
2023-11-27 16:43:58 +01:00
Benoit Marty
97c764cd79
Add test for NotificationCreator
2023-11-27 16:43:58 +01:00
Benoit Marty
3316f840f1
Rename NotificationFactory to NotificationCreator to fix the name clash.
2023-11-27 16:43:58 +01:00
Benoit Marty
08c62c191a
Remove dead code.
2023-11-27 16:43:58 +01:00
Benoit Marty
73a062451c
Remove UnknownMessageType, should be handled by OtherMessageType now.
2023-11-23 20:18:53 +01:00
Benoit Marty
9420597622
Small rework code to avoid dead code.
2023-11-23 17:41:28 +01:00
Benoit Marty
fc7898ca36
Add tests for NotifiableEventResolver
2023-11-23 17:36:23 +01:00
Jorge Martin Espinosa
f55d347387
Add plain text representation of messages ( #1850 )
...
* Add plain text representation of messages.
This is used in the room list as the last message in a room, in the message summary when a message is selected, in the 'replying to' block, in the 'replied to' block in a message in the timeline, and in notifications.
2023-11-23 08:29:20 +01:00
Benoit Marty
968a4d3fd0
Add a View to show the beginning of the timeline (parity with iOS)
2023-11-14 17:31:42 +01:00
Benoit Marty
9746df6797
Move PushConfig to the appconfig module.
2023-11-14 10:26:16 +01:00
ElementBot
38f1d9932b
Sync Strings ( #1789 )
...
Co-authored-by: bmarty <bmarty@users.noreply.github.com >
2023-11-13 12:31:34 +01:00
Benoit Marty
79806852ca
Move Knit to Gradle catalog and use alias(libs.plugins.kotlin.serialization). Fix issue with JNA
2023-11-13 09:58:00 +01:00
Benoit Marty
765ede0093
Replace hard-coded value by value from gradle datalog
2023-11-10 16:25:58 +01:00
renovate[bot]
dd57197f32
Update kotlin ( #1697 )
...
* Update kotlin
* Lower Sonar RAM usage, remove redundant `Dkotlin.daemon.jvm.options`
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io >
2023-11-08 12:58:14 +00:00
Marco Romano
c774b2452b
Show "Voice message" in voice message push notifications ( #1705 )
...
Don't show the event body anymore as it's not relevant for voice messages.
2023-10-31 15:27:17 +01:00
Benoit Marty
8ac677797f
Merge pull request #1666 from vector-im/feature/bma/mergeFallbackNotification
...
Display a single notification for unable to decrypt Event received form push (fallback notification)
2023-10-27 17:42:22 +02:00
Marco Romano
d05dd11485
Split VoiceMessageType from AudioMessageType ( #1664 )
...
Currently, for compatibility reasons, we implement MSC3245v1 which puts the voice data inside an audio message type. Though at times it seems impractical to deal with a single message type which effectively represents 2 different kinds of messages.
This PR creates a new message type called `VoiceMessageType` which is used whenever we receive an event with `"msgtype": "m.audio"` which also has the `"org.matrix.msc3245.voice": {}` field. This makes it easier to process voice messages as different entities throughout the rest of the codebase.
2023-10-27 16:02:16 +02:00
Benoit Marty
f409b31e8a
Display a single notification for all the fallback notifications.
...
When dismissed, dismiss all the fallback notifications in the model.
2023-10-27 14:55:10 +02:00
Benoit Marty
2d9d34b41f
Notification: fix issue: clear event only for the matching session.
...
We do not have multi session so the bug is not visible yet.
2023-10-27 14:41:39 +02:00
renovate[bot]
7c5fab732b
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.63 ( #1619 )
...
* Update dependency org.matrix.rustcomponents:sdk-android to v0.1.63
* Update Element Call integrated APIs
* Take into account the new `MessageType.Other` from the SDK
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io >
Co-authored-by: Benoit Marty <benoit@matrix.org >
2023-10-20 22:32:59 +02:00
Benoit Marty
7386da257c
Remove AppNameProvider, we have buildMeta now.
2023-10-20 10:41:39 +02:00
Benoit Marty
36727f7ab7
Always register the pusher when application starts
2023-10-16 10:50:16 +02:00