Commit Graph

378 Commits

Author SHA1 Message Date
Benoit Marty
839254cea1 Notification with image: provide the mimetype if available. 2024-11-06 11:07:59 +01:00
Benoit Marty
08b60a4d64 Add a message in the notification for the caption. Fixes #2602 2024-11-06 11:07:59 +01:00
bmarty
fed502957b Sync Strings from Localazy 2024-11-04 00:27:46 +00:00
Benoit Marty
a6fdb90838 Add quick fix in notification troubleshot test to perform a Firebase token rotation 2024-10-30 11:54:10 +01:00
bmarty
8cf5729ece Sync Strings from Localazy 2024-10-28 00:27:09 +00:00
Benoit Marty
2724815d79 Fix other API change: body renamed to filename 2024-10-16 16:09:32 +02:00
Benoit Marty
95a49a626d Merge pull request #3574 from element-hq/feature/bma/improveMediaModel
Clarify model for Event with attachment
2024-10-16 14:57:05 +02:00
bmarty
29a489df0b Sync Strings from Localazy 2024-10-14 00:27:28 +00:00
ganfra
8b788fe74a misc : makes sure to always use the same size for fetching avatar thumbnail so caching works properly. 2024-10-10 14:09:49 +02:00
Benoit Marty
f7a3f707fb Improve mapping regarding filename, caption and formattedCaption 2024-10-08 17:12:48 +02:00
Benoit Marty
6bdb12f053 Remove unused import. 2024-10-07 18:08:51 +02:00
Benoit Marty
08673f44ce Use backgroundScope 2024-10-07 17:46:19 +02:00
bmarty
05291bcf2f Sync Strings from Localazy 2024-10-07 00:28:33 +00:00
Benoit Marty
e6ac090915 Do not render images in notification if the setting to hide image is enabled. 2024-10-04 17:01:52 +02:00
Benoit Marty
403bb78112 Improve extension to fix a copy paste issue. 2024-10-04 17:01:52 +02:00
Jorge Martin Espinosa
2efdb3ae45 Centralise the DI code generation logic (#3562)
* Create Anvil extension helper

* Use the helper everywhere
2024-09-30 12:20:28 +00:00
bmarty
3f359d7f0a Sync Strings from Localazy 2024-09-30 00:26:52 +00:00
Benoit Marty
6e19bc3da7 Merge pull request #3503 from element-hq/bma/invitationWithSender
Include inviter in the notification for invitation
2024-09-24 09:40:07 +02:00
bmarty
4119366bff Sync Strings from Localazy 2024-09-23 08:23:52 +00:00
bmarty
a064fb4fab Sync Strings from Localazy 2024-09-23 00:23:49 +00:00
Benoit Marty
c4d3fcaa35 Use aNotificationData and aNotifiableMessageEvent
And cleanup existing tests.
2024-09-20 12:38:49 +02:00
Benoit Marty
9f713e54b1 Include sender name in notification for invite content. 2024-09-20 12:38:49 +02:00
Benoit Marty
f3b8a5d211 Fix DefaultNotifiableEventResolverTest tests. 2024-09-20 09:14:55 +02:00
Benoit Marty
7dea60018b Fix test compilation issue. 2024-09-20 09:07:23 +02:00
Benoit Marty
08b63943b8 Add unit test on RustNotificationService
And fix mapping error.
2024-09-19 19:43:40 +02:00
bmarty
97cf19cb71 Sync Strings from Localazy 2024-09-17 11:05:35 +00:00
bmarty
e0c24c0f1c Sync Strings from Localazy 2024-09-16 18:40:24 +00:00
bmarty
e840974dc5 Sync Strings from Localazy 2024-09-16 00:25:04 +00:00
Benoit Marty
62a6e916a6 Migrate license to AGPL - XML files. 2024-09-06 17:43:35 +02:00
Benoit Marty
2b016227e9 Migrate license to AGPL.
Run script `uv run license-editor --repository ../element-x-android`
2024-09-06 17:19:19 +02:00
Benoit Marty
6eb5610bcc Add missing test on reset methods. 2024-09-04 10:57:14 +02:00
Benoit Marty
0423c36e08 Always use the custom url, even if no Matrix gateway is detected. 2024-09-04 10:48:31 +02:00
bmarty
39ef8b38bb Sync Strings from Localazy 2024-09-02 00:15:17 +00:00
Benoit Marty
ce1b329229 Fix formatting error 2024-08-28 15:43:42 +02:00
Benoit Marty
7aa35bac2b Add missing test on null redacted eventId. 2024-08-28 11:32:12 +02:00
Benoit Marty
4b90f8592c Add test on DefaultOnRedactedEventReceived 2024-08-28 11:29:20 +02:00
Benoit Marty
e38d882d42 Improve FakeActiveNotificationsProvider. 2024-08-28 11:06:26 +02:00
Benoit Marty
0037552f77 Remove unused method ActiveNotificationsProvider.getAllNotifications() 2024-08-28 10:55:22 +02:00
Benoit Marty
3b12d54dad Cleanup notification for redacted event. 2024-08-28 10:29:01 +02:00
Benoit Marty
7563597f5a NotifiableEvent does not need to be Serializable anymore. 2024-08-28 10:22:12 +02:00
Benoit Marty
362334b1cf Remove usage of with(notificationDataFactory) for code clarity. 2024-08-28 10:22:12 +02:00
Benoit Marty
20df9647d3 Format file 2024-08-28 10:22:11 +02:00
ganfra
5da76f6ff8 Rust sdk : fix tests after api breaks 2024-08-27 20:46:15 +02:00
ganfra
f06b2290ea Rust sdk : handle the remaining changes 2024-08-27 17:45:32 +02:00
bmarty
1b064a008f Sync Strings from Localazy 2024-08-26 00:25:40 +00:00
Jorge Martin Espinosa
49440ecef0 Improve the text for mentions and replies in notifications (#3328) 2024-08-22 17:25:44 +00:00
Benoit Marty
33d69178ec Fix test compilation issue. 2024-08-21 16:32:37 +02:00
Benoit Marty
4b8985e501 Suggestion for room alias.
Rename `Mention` to `IntentionalMention` for clarity
Remove dead code, there is no intentional mention for Room or RoomAlias.
Rename `IntentionalMention.AtRoom` to `IntentionalMention.Room` to match Rust naming
2024-08-21 15:32:05 +02:00
Benoit Marty
a8f0c6c2b2 Add test on function name which may start or end with spaces and fix existing issues. 2024-08-20 17:11:30 +02:00
bmarty
5765d9bf9f Sync Strings from Localazy 2024-08-19 00:25:36 +00:00