Benoit Marty
4348a6deac
Cleanup up `when` statement.
11 months ago
Benoit Marty
419a162f77
Extract MxcTools and add test.
11 months ago
Benoit Marty
84c897d682
Image in notification
11 months ago
Benoit Marty
39cca2ce09
Sync localazy using fixed script
11 months ago
Benoit Marty
24d3981261
Run the script again.
11 months ago
Benoit Marty
fd42c78b15
Sync again
11 months ago
Benoit Marty
5af1a786e5
Sync string again after removing problematic translations from Localazy.
11 months ago
bmarty
fced91addb
Sync Strings from Localazy
11 months ago
Jorge Martin Espinosa
4de256b69c
Add special notifications for mentions ( #1846 )
...
* Add special notifications for mentions
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
11 months ago
ElementBot
12b3196471
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>
11 months ago
Benoit Marty
9afba239bb
Fix: This number should be separated by underscores in order to increase readability
11 months ago
Benoit Marty
a02c5c2b44
Add test for DefaultNotificationDrawerManager
11 months ago
Benoit Marty
b61b45dd0c
NotificationEventPersistence is now an interface, to allow in-memory implementation.
11 months ago
Benoit Marty
a09fa1c5ad
Add test for NotificationEventPersistence
11 months ago
Benoit Marty
73ebffab2e
Add coverage for NotificationBitmapLoader
11 months ago
Benoit Marty
7cb6740dd6
Remove useless try catch.
11 months ago
Benoit Marty
abf1de7f42
Fix issue in RoomGroupMessageCreator
11 months ago
Benoit Marty
435827af28
Add test for RoomGroupMessageCreator
11 months ago
Benoit Marty
5a979e6237
Add test for NotificationCreator
11 months ago
Benoit Marty
1fdf8dad1f
Rename NotificationFactory to NotificationCreator to fix the name clash.
11 months ago
Benoit Marty
3b6c92943c
Remove dead code.
11 months ago
Benoit Marty
68463c2e0c
Remove `UnknownMessageType`, should be handled by `OtherMessageType` now.
11 months ago
Benoit Marty
9fe9d88dc8
Small rework code to avoid dead code.
11 months ago
Benoit Marty
ec459165db
Add tests for `NotifiableEventResolver`
11 months ago
Jorge Martin Espinosa
d413aa1ee3
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.
11 months ago
Benoit Marty
2cb0060f96
Add a View to show the beginning of the timeline (parity with iOS)
12 months ago
Benoit Marty
f073e51a84
Move PushConfig to the `appconfig` module.
12 months ago
ElementBot
3bf34eae01
Sync Strings ( #1789 )
...
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
12 months ago
Benoit Marty
5850f5342d
Move Knit to Gradle catalog and use alias(libs.plugins.kotlin.serialization). Fix issue with JNA
12 months ago
Benoit Marty
8819522423
Replace hard-coded value by value from gradle datalog
12 months ago
renovate[bot]
9e66180d20
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>
12 months ago
Marco Romano
c377656354
Show "Voice message" in voice message push notifications ( #1705 )
...
Don't show the event body anymore as it's not relevant for voice messages.
1 year ago
Marco Romano
a07286ace9
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.
1 year ago
Benoit Marty
cb0abd4c12
Display a single notification for all the fallback notifications.
...
When dismissed, dismiss all the fallback notifications in the model.
1 year ago
Benoit Marty
3482452011
Notification: fix issue: clear event only for the matching session.
...
We do not have multi session so the bug is not visible yet.
1 year ago
renovate[bot]
244c45797f
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>
1 year ago
Benoit Marty
510bdd47af
Remove AppNameProvider, we have buildMeta now.
1 year ago
Benoit Marty
819576867d
Always register the pusher when application starts
1 year ago
Benoit Marty
7c5a41f03d
Konsist: no field should have 'm' prefix, and fix new detected issues.
1 year ago
bmarty
cd120b408f
Sync Strings from Localazy
1 year ago
Benoit Marty
2a7a66fb18
Emote: format notification
1 year ago
bmarty
7e3b9d8d3b
Sync Strings from Localazy
1 year ago
Marco Romano
fc205698c6
Display poll notifications in the notification drawer ( #1467 )
...
Display notifications for polls as if they were message events.
1 year ago
Benoit Marty
aefeb01cdd
Reduce the number of fallback notification. Only used now when message cannot be decrypted.
...
Also avoid using `else` in this `when` block.
1 year ago
Benoit Marty
0453ea5904
Localazy sync
1 year ago
bmarty
d2f9b02bbf
Sync Strings from Localazy
1 year ago
Benoit Marty
0d204f5e98
Share tag with other modules.
1 year ago
Benoit Marty
b9317ee2aa
Add log tag
1 year ago
Benoit Marty
d3231487aa
Log param.
1 year ago
Jorge Martin Espinosa
f88507117b
Element Call SPA integration ( #1283 )
...
* Integrate Element Call into EX, being able to open its URLs and handle the call in-app.
* Add custom scheme support with format `element:call?url=...`.
* Update androix.webkit
* Silence the foreground service notification.
- Allow foreground service tap action to re-open the ongoing call.
- Unify notification small icons in different modules using a vector one.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago