Commit graph

2946 commits

Author SHA1 Message Date
Benoit Marty
e05eefb766 Remove const val PUSH_GATEWAY_PATH, it makes the code more complex for no added value. 2024-09-04 11:09:27 +02:00
Benoit Marty
9e60fa9367 Add missing test on reset methods. 2024-09-04 10:57:14 +02:00
Benoit Marty
a81448c243 Always use the custom url, even if no Matrix gateway is detected. 2024-09-04 10:48:31 +02:00
Benoit Marty
ae3fd89491
Merge pull request #3366 from element-hq/feature/bma/fixAvatarLoading
Fix avatar sometimes not loading
2024-09-03 10:47:53 +02:00
Benoit Marty
91a81d18e4
Merge pull request #3370 from element-hq/feature/bma/cacheFile
Provide distinct cache directory to the Rust SDK.
2024-09-03 10:27:47 +02:00
Benoit Marty
951dff8951 Fix test compilation issue. 2024-09-03 10:01:45 +02:00
Jorge Martin Espinosa
94f1388402
Use the right colors for @room mention pills (#3376)
* `@room` mentions the current user, so it should use the same colors as an explicit mention to them

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-09-02 15:14:54 +00:00
Benoit Marty
f03bd282e7 Change the way we do not delete the crypto database. 2024-09-02 11:29:44 +02:00
bmarty
5ad2764402 Sync Strings from Localazy 2024-09-02 00:15:17 +00:00
Benoit Marty
8b65cf2f4b Introduce SessionPathsFactory. 2024-08-30 18:42:00 +02:00
Benoit Marty
c41cb33410 Provide distinct cache directory to the Rust SDK. 2024-08-30 18:36:20 +02:00
Benoit Marty
e35ba7af8f AvatarData.toMediaRequestData() can be internal. 2024-08-30 13:12:03 +02:00
Benoit Marty
34ba0a5e98 CoilMediaFetcher.mediaData cannot be null. 2024-08-30 13:07:39 +02:00
Benoit Marty
cef31d3704 Log more errors. 2024-08-30 13:06:26 +02:00
Benoit Marty
a9ab32c8e3 Rework: extract AvatarFactory and MediaRequestDataFactory from CoilMediaFetcher 2024-08-30 12:57:49 +02:00
Benoit Marty
d80f70fd32
Merge pull request #3320 from element-hq/feature/bma/cleanNotificationOfRedactedEvent
Redact message on displayed notification
2024-08-29 14:46:13 +02:00
Benoit Marty
bc5ab0759c Use let. 2024-08-29 11:07:43 +02:00
Benoit Marty
dfaa350167 Better handling on null reset handler.
This is not an error, but in this case, the reset identity is successful.
2024-08-29 09:41:13 +02:00
ganfra
1101c8db65 Fix maplibre annotation plugins dependency 2024-08-28 16:50:51 +02:00
Benoit Marty
61c66073e6 Fix formatting error 2024-08-28 15:43:42 +02:00
Benoit Marty
e524c6cc64 Add missing test on null redacted eventId. 2024-08-28 11:32:12 +02:00
Benoit Marty
ea2957797a Add test on DefaultOnRedactedEventReceived 2024-08-28 11:29:20 +02:00
Benoit Marty
d55bb57fa4 Improve FakeActiveNotificationsProvider. 2024-08-28 11:06:26 +02:00
Benoit Marty
46106c96f7 Remove unused method ActiveNotificationsProvider.getAllNotifications() 2024-08-28 10:55:22 +02:00
Benoit Marty
d867a5fe6f Cleanup notification for redacted event. 2024-08-28 10:29:01 +02:00
Benoit Marty
43d619217c NotifiableEvent does not need to be Serializable anymore. 2024-08-28 10:22:12 +02:00
Benoit Marty
19bca0775a Remove usage of with(notificationDataFactory) for code clarity. 2024-08-28 10:22:12 +02:00
Benoit Marty
68e3e0d2b2 Format file 2024-08-28 10:22:11 +02:00
Benoit Marty
45c216c7a3
Merge pull request #3343 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-0.x
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.40
2024-08-28 10:21:21 +02:00
ganfra
7310adcf07 Rust sdk : fix tests after api breaks 2024-08-27 20:46:15 +02:00
Benoit Marty
ad646c9098 Remove feature flag PictureInPicture 2024-08-27 18:41:40 +02:00
ganfra
2361b597d9 Rust sdk : handle the remaining changes 2024-08-27 17:45:32 +02:00
ganfra
88a581427c Rust sdk : refactor LocalSendState to use the new failure states as iOS does 2024-08-27 17:45:22 +02:00
ganfra
e5b21c389e Rust sdk : use newMessageShield state 2024-08-27 17:43:07 +02:00
bmarty
cd267249ec Sync Strings from Localazy 2024-08-26 00:25:40 +00:00
Jorge Martin Espinosa
7859526280
Improve the text for mentions and replies in notifications (#3328) 2024-08-22 17:25:44 +00:00
Benoit Marty
bb085251b2 Reuse existing function 2024-08-22 15:25:04 +02:00
Benoit Marty
11691697d1 Add test on extension MatrixRoom.getCurrentRoomMember 2024-08-22 15:22:14 +02:00
Benoit Marty
0b494b01da Add test on extension MatrixRoom.getDirectRoomMember 2024-08-22 15:20:37 +02:00
Benoit Marty
a27e317207 Remove unused code. 2024-08-22 15:01:00 +02:00
Benoit Marty
a942fd4a24
Merge pull request #3322 from element-hq/feature/bma/roomAliasCompletion
Suggestion for room alias (disabled for now)
2024-08-22 14:47:29 +02:00
networkException
2678834cc0
Fix broken direct room member for rooms with old users that left (#3324)
This patch fixes getDirectRoomMember not respecting direct rooms
with more than two members total but only two active. This commonly
occurs when users migrate to a new account by adding a new account
to rooms and leaving with the old one.

Other parts of the codebase (such as the people room list filter)
already respect the active member count of a room instead of the
total (historic) number of unique members.

This fixes the room details screen not showing up correctly, for
example missing the avatar cluster.

Signed-off-by: networkException <git@nwex.de>
2024-08-22 14:47:13 +02:00
Benoit Marty
b112713d69 Rename test because method has been renamed. 2024-08-21 18:36:06 +02:00
Benoit Marty
2488ea6c98 Add missing test for MarkdownTextEditorState 2024-08-21 18:35:23 +02:00
Benoit Marty
6309137a53 Reorder imports 2024-08-21 17:27:55 +02:00
Benoit Marty
b3e8cf443e Fix test regression. 2024-08-21 16:59:44 +02:00
Benoit Marty
c5d1bed5b4 Fix test compilation issue. 2024-08-21 16:32:37 +02:00
Benoit Marty
4c8f23a0cb Add feature flag for room alias suggestions, disabled by default. 2024-08-21 15:50:55 +02:00
Benoit Marty
57d927e9aa 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
f2b38e50e3 Add test on function name which may start or end with spaces and fix existing issues. 2024-08-20 17:11:30 +02:00