Commit Graph

233 Commits

Author SHA1 Message Date
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
53dafc706c AvatarData.toMediaRequestData() can be internal. 2024-08-30 13:12:03 +02:00
Benoit Marty
2b201477da CoilMediaFetcher.mediaData cannot be null. 2024-08-30 13:07:39 +02:00
Benoit Marty
cb7ca7c575 Log more errors. 2024-08-30 13:06:26 +02:00
Benoit Marty
1949c2ec0b Rework: extract AvatarFactory and MediaRequestDataFactory from CoilMediaFetcher 2024-08-30 12:57:49 +02:00
Benoit Marty
89316b0a25 Reuse existing function 2024-08-22 15:25:04 +02:00
Benoit Marty
f7fe898e66 Add test on extension MatrixRoom.getCurrentRoomMember 2024-08-22 15:22:14 +02:00
Benoit Marty
4e82cb1ddc Add test on extension MatrixRoom.getDirectRoomMember 2024-08-22 15:20:37 +02:00
Benoit Marty
c075cbaf42 Remove unused code. 2024-08-22 15:01:00 +02:00
networkException
12648c42de 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
bmarty
5765d9bf9f Sync Strings from Localazy 2024-08-19 00:25:36 +00:00
ganfra
4da18935cd Merge branch 'develop' into feature/fga/pinned_event_feature_flag 2024-07-30 20:44:51 +02:00
ganfra
6ad547833f Refactor userEventPermissions 2024-07-29 13:43:47 +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
Jorge Martin Espinosa
89ec904c4a Restore intentional mentions in the markdown/plain text editor (#3193)
* Restore intentional mentions in the markdown/plain text editor

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-07-15 18:27:59 +02:00
renovate[bot]
8aa4fbdade Update dependency org.matrix.rustcomponents:sdk-android to v0.2.31 (#3145)
* Update dependency org.matrix.rustcomponents:sdk-android to v0.2.31

* Use new Rust client side sorting API

* Make `RoomListEntriesUpdate.describe()` an extension function

* Remove `RoomListSummary.Filled` and `RoomListSummary.Empty`

* Fix icon sizes to pass the lint checks

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-07-05 15:25:42 +00:00
jmartinesp
58f2cbf489 Sync Strings from Localazy 2024-07-03 11:21:27 +00:00
bmarty
99ae2b9640 Sync Strings from Localazy 2024-07-01 00:22:10 +00:00
ganfra
a77e5edef4 Merge branch 'develop' into feature/fga/draft_support 2024-06-26 15:22:00 +02:00
ganfra
cb6074fb2a Draft : code cleanup 2024-06-26 12:15:00 +02:00
ganfra
ece740322c Draft : makes sure all existing tests passes 2024-06-25 15:17:18 +02:00
Benoit Marty
e31bbc2b7e Add unit test on DefaultImageLoaderHolder 2024-06-24 14:42:04 +02:00
Benoit Marty
8b1ca62f78 Convert LoggedInImageLoaderFactory to an interface and add DefaultLoggedInImageLoaderFactory 2024-06-24 14:22:46 +02:00
Benoit Marty
4faa563e81 Move test classes to the correct package. 2024-06-24 14:04:14 +02:00
Benoit Marty
775cb89993 Fix image not rendering after clearing cache. 2024-06-24 13:58:15 +02:00
Benoit Marty
2c220d3f92 Merge pull request #3069 from element-hq/feature/bma/avatarCluster_x2
Avatar cluster for DM
2024-06-24 10:53:50 +02:00
Benoit Marty
e8fe8f51c8 Use DmAvatars in header of DM details. 2024-06-21 15:55:01 +02:00
ganfra
9f45005c05 Reply : fix reply cropped in timeline 2024-06-21 15:42:26 +02:00
ganfra
71667dc235 Reply : refactor so we can use ReplyToDetails in Composer and Timeline 2024-06-21 12:23:17 +02:00
Jorge Martin Espinosa
ce91fe4ab2 Resolve display names in mentions in real time (#3051)
* Resolve display names in mentions in real time

* Use `LocalRoomMemberProfilesCache` to avoid having to implement `TextMessagePresenter`

* Also use local composition provider for `MentionSpanProvider`
2024-06-21 09:57:36 +00:00
Benoit Marty
5f32643af4 Create extension RoomMember.getAvatarData to avoid code duplication. 2024-06-20 17:51:35 +02:00
ganfra
78da033541 Reply : move InReplyTo and related to matrix.ui module. 2024-06-20 17:38:56 +02:00
Benoit Marty
7cdcf872b3 Create extension RoomSummaryDetails.getAvatarData to avoid code duplication. 2024-06-20 16:16:55 +02:00
Benoit Marty
9f7f0b9acb Use extension MatrixUser.getAvatarData and fix compilation issue. 2024-06-20 16:06:33 +02:00
Benoit Marty
11e4ee34ed Use heroes to render room avatars 2024-06-20 13:10:25 +02:00
Benoit Marty
99c43a175d Add heroes to RoomSummaryDetails 2024-06-20 11:59:38 +02:00
Benoit Marty
4a84350261 Remove empty manifest files. 2024-06-13 18:20:19 +02:00
bmarty
f501f27d27 Sync Strings from Localazy 2024-06-03 00:24:07 +00:00
Benoit Marty
0e4b30e58d Merge pull request #2941 from element-hq/sync-localazy
Sync Strings
2024-05-29 16:27:17 +02:00
bmarty
46b6ae6251 Sync Strings from Localazy 2024-05-29 12:44:57 +00:00
Benoit Marty
87689d787e Lambda parameters in a composable function should be in present tense, not past tense.
https://mrmans0n.github.io/compose-rules/rules/#naming-parameters-properly
2024-05-29 12:18:23 +02:00
Benoit Marty
bbb44db297 Translations: pt -> pt-rBR 2024-05-27 14:51:32 +02:00
bmarty
0241014932 Sync Strings from Localazy 2024-05-20 00:23:05 +00:00
Benoit Marty
d1a3daaa8e Do not use MutableState in Composable function parameter. 2024-05-15 18:05:08 +02:00
Benoit Marty
6ffc6a1cd3 Extract content lambda. 2024-05-15 17:05:45 +02:00
Benoit Marty
bb48bb7531 Migrate AvatarActionBottomSheet to Material3 BottomSheet
Also correctly handle the back press when this bottom sheet is opened, previously it was leaving the room edition screen.
ModalBottomSheetLayout can now be deleted.
2024-05-15 16:20:47 +02:00
Benoit Marty
fb7eb924d8 Add UI test on RoomDetailsEditView 2024-05-15 15:19:46 +02:00
Benoit Marty
a51a2df647 Use rawName instead of displayName in RoomDetailsEditPresenter #2844 2024-05-15 11:24:09 +02:00