Commit Graph

350 Commits

Author SHA1 Message Date
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
ElementBot
01617e1c9d Sync Strings (#3297)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-08-12 06:03:23 +00:00
ganfra
e7161a59ab Sync on push : test SyncOnNotifiableEvent 2024-07-31 21:15:08 +02:00
ganfra
0969470066 tests : refactor some classes 2024-07-31 21:14:29 +02:00
ganfra
4f7b5d8fde Sync on push : call startSync/stopSync 2024-07-31 21:14:05 +02:00
ganfra
e0a3389f3a Merge pull request #3257 from element-hq/feature/fga/push_subscribe_to_room
Feature/fga/push subscribe to room
2024-07-30 19:33:33 +02:00
ganfra
ca18c83d53 Sync on push : call room.subscribeToSync when notifiable event is received 2024-07-30 17:38:51 +02:00
bmarty
d288ace4bd Sync Strings from Localazy 2024-07-29 00:26:27 +00:00
ganfra
85d6acfc48 Join Room : makes sure we can join by alias 2024-07-23 21:17:35 +02:00
ElementBot
9522569860 Sync Strings (#3232)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-07-22 08:59:47 +00:00
Benoit Marty
94f38f1af5 Rework FakeMatrixRoom so that it contains only lambdas. (#3229)
* Upgrade lint to 8.7.0-alpha01

* FakeMatrixRoom: lambda everywhere

Fix test compilation issues
2024-07-22 10:39:48 +02:00
Benoit Marty
b593b47515 Remove PushBindsModule and use ContributesBinding. 2024-07-16 11:29:55 +02:00
Benoit Marty
2585f8ba52 Rename interface NotificationDrawerManager to NotificationCleaner since it actually contains only method to remove notifications. 2024-07-16 11:24:41 +02:00
Benoit Marty
5de86c5df5 Update documentation 2024-07-16 11:14:04 +02:00
Jorge Martin Espinosa
bb47ff8f49 Unify the way we decide whether a room is a DM or a group room (#3100)
* Add centralised 'room is DM' check

Also add extension functions for `MatrixRoom` and `MatrixRoomInfo`.

* Use the centralised method and extension functions through the app, including:

- Room list.
- Room details screen.
- Invites.
- Notifications.

Replace most `isDirect` usages with `isDm`.

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-07-10 16:28:46 +00:00
jmartinesp
58f2cbf489 Sync Strings from Localazy 2024-07-03 11:21:27 +00:00
Jorge Martin Espinosa
e4e7cdfa17 Fix crash when getting the system ringtone for ringing calls (#3131) 2024-07-02 16:12:29 +00:00
bmarty
99ae2b9640 Sync Strings from Localazy 2024-07-01 00:22:10 +00:00
Benoit Marty
58cdd37a57 Merge pull request #3053 from element-hq/feature/bma/callSettings
Alert for incoming call even if notifications are disabled - WAITING FOR FINAL PRODUCT DECISION
2024-06-28 14:21:23 +02:00
ElementBot
072daa080a Sync Strings (#3077)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-06-24 09:29:35 +02:00
Benoit Marty
e8c2902aa0 Move notification_accent_color from resource file to NotificationConfig 2024-06-19 16:48:00 +02:00
Benoit Marty
f308a8b9a2 Remove unused import. 2024-06-19 15:59:41 +02:00
Benoit Marty
4f212b34c0 Update test and add test for incoming call when notifications are disabled. 2024-06-19 11:44:08 +02:00
Benoit Marty
22d63d001c Always notify for incoming calls, even if notifications are disabled. 2024-06-19 11:15:49 +02:00
Benoit Marty
54740c982e Notification channels: Use NotificationChannelCompat.Builder. 2024-06-19 10:56:29 +02:00
Benoit Marty
cfa5461b7d Notification channels: No need to include the version in the constant name. 2024-06-19 10:40:10 +02:00
Benoit Marty
5fe5d38034 Notification channels: Remove unused LISTEN_FOR_EVENTS_NOTIFICATION_CHANNEL_ID 2024-06-19 10:39:03 +02:00
Benoit Marty
15e1fba013 Notification channels: small iteration on old channel deletion. 2024-06-19 10:37:33 +02:00
Benoit Marty
1d5970adbc Merge branch 'develop' into feature/bma/fixFdroidNotification 2024-06-18 10:28:04 +02:00