Commit Graph

85 Commits

Author SHA1 Message Date
Benoit Marty 810e4919bc Sync strings. 2024-04-10 12:36:41 +02:00
Benoit Marty 609f636d1c Merge pull request #2639 from element-hq/feature/bma/hideCallMemberEvents
Hide call member events
2024-04-02 16:14:11 +02:00
Benoit Marty 1e5a61a49c Move PermalinkBuilder, MatrixToConverter and PermalinkParser content to the impl project in order to remove projects.appconfig dependency from matrix.api module. 2024-04-02 14:15:54 +02:00
bmarty 5809864182 Sync Strings from Localazy 2024-04-01 00:17:18 +00:00
bmarty 3af876b953 Sync Strings from Localazy 2024-03-25 00:18:59 +00:00
Jorge Martin Espinosa 6aa84d600e Implement MSC2530 (#2570)
* Implement MSC2530
* Some layout improvements for images and videos with captions
* Update screenshots
* Replace `it` in several previews with `isMine`

---------

Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
Co-authored-by: Marco Antonio Alvarez <surakin@gmail.com>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-20 13:58:29 +01:00
ElementBot f089847f48 Sync Strings (#2557)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-03-15 13:37:11 +01:00
Jorge Martin Espinosa 67d79059f8 Add legacy call invite state events and notifications (#2552)
* Add state timeline events and notifications for legacy call invites

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-14 16:29:06 +01:00
Jorge Martin Espinosa 69a08b5565 Use userId on display name change state events (#2545)
* Use `userId` on display name change state events
2024-03-14 08:46:20 +00:00
Benoit Marty ad17afe209 Merge pull request #2533 from element-hq/sync-localazy
Sync Strings
2024-03-12 16:08:52 +01:00
Jorge Martin Espinosa 59a682b407 Change a room's permissions power levels (#2525)
* Change a room's permissions power levels

* Make `currentPermissions` use a `MatrixRoomPowerLevels?` instance instead.

* Update strings

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-12 15:45:06 +01:00
bmarty c021809479 Sync Strings from Localazy 2024-03-12 13:54:03 +00:00
ElementBot dac54e7154 Sync Strings (#2523)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-03-11 08:46:07 +00:00
bmarty 5c8be8f61f Sync Strings from Localazy 2024-02-26 18:17:16 +00:00
Benoit Marty 5e0b705d44 Sync Localazy strings.
./tools/localazy/downloadStrings.sh --all
2024-02-23 15:42:50 +01:00
Benoit Marty a7e38f0925 Sync Localazy strings.
./tools/localazy/downloadStrings.sh --all
2024-02-23 12:23:11 +01:00
ganfra d6c81c207c rust sdk : should fix test 2024-02-19 21:52:19 +01:00
ganfra f171dc94da rust sdk : fix api changes 2024-02-19 21:35:31 +01:00
bmarty a614b0d91e Sync Strings from Localazy 2024-02-12 00:10:26 +00:00
bmarty 03c95555e3 Sync Strings from Localazy 2024-02-05 00:09:59 +00:00
Benoit Marty 5e359a4e73 Merge pull request #2221 from element-hq/feature/bma/displayNameAmbiguous
Display name disambiguation
2024-01-19 17:42:32 +01:00
ElementBot 6bc080c279 Sync Strings (#2230)
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2024-01-15 09:21:04 +01:00
Benoit Marty 14d5274d22 Display name disambiguation #2215.
Applied to:
- timeline message
- detail of timeline message
- reply preview of timeline message
- rendering of state Event
Not applied to:
- room last message
- room member list (we display the MatrixId here)
- room member detail page
2024-01-12 15:58:33 +01:00
Benoit Marty 5d086ad82d Fix moar ktlint issues 2024-01-11 10:02:10 +01:00
renovate[bot] c8bd362397 Update plugin ktlint to v12.1.0 (#2200)
* Update plugin ktlint to v12.1.0

* Run `./gradlew ktlintFormat` and fix some issues manually.

* Fix other issues reproted by Ktlint

* Limit false positives, KtLint removes unnecessary curly brace in String templates.

* Remove useless Unit

* Minor improvements over ktlint changes

* Restore `AlertDialogContent` behaviour

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-10 16:22:24 +01:00
Jorge Martin Espinosa 4776fc5452 Fix crashes for extremely long messages with no line breaks (#2163) 2024-01-05 11:11:49 +00:00
Benoit Marty 0484b97b01 Merge pull request #2138 from element-hq/sync-localazy
Sync Strings
2024-01-04 09:30:20 +01:00
Marco Antonio Alvarez 87c8bc133f [Feature] Render m.sticker events (#2122)
* Render m.sticker events
---------

Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-02 16:03:19 +01:00
bmarty 01f77f22aa Sync Strings from Localazy 2024-01-01 00:11:02 +00:00
Benoit Marty 926b147ebe Add missing test case. 2023-12-28 09:31:13 +01:00
Benoit Marty 3e1388cac7 Add test for MembershipChange.NONE 2023-12-26 16:57:34 +01:00
Benoit Marty ac7d46cfb7 Handle MembershipChange.NONE rendering in the timeline #2102
And avoid `else` in the when statement.
2023-12-26 16:57:34 +01:00
bmarty e6f4a7364f Sync Strings from Localazy 2023-12-26 09:39:48 +01:00
Benoit Marty dfec3abbd6 Fix test compilation 2023-12-14 20:53:20 +01:00
Benoit Marty 39cca2ce09 Sync localazy using fixed script 2023-12-08 19:24:35 +01:00
Benoit Marty b98351ec36 Merge pull request #1952 from vector-im/sync-localazy
Sync Strings
2023-12-05 13:47:44 +01:00
Benoit Marty 24d3981261 Run the script again. 2023-12-05 12:25:59 +01:00
Benoit Marty fa590202c3 Add Konsist test to check that assertThat is imported, and fix existing issues. 2023-12-04 15:18:01 +01:00
bmarty fced91addb Sync Strings from Localazy 2023-12-04 00:09:56 +00:00
Benoit Marty cc5c9b4136 Fix test compilation and fixture. 2023-11-30 16:07:20 +01:00
Benoit Marty 4c016a9f3d Small refacto: use isOwn instead of isMe 2023-11-30 10:58:28 +01:00
Benoit Marty 68463c2e0c Remove UnknownMessageType, should be handled by OtherMessageType now. 2023-11-23 20:18:53 +01:00
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.
2023-11-23 08:29:20 +01:00
Benoit Marty 64a00eec16 Fix test after wording change. 2023-11-08 11:44:34 +01:00
Benoit Marty a818807677 UTD: Change wording from "Decryption error" to "Waiting for this message" 2023-11-07 17:52:06 +01:00
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.
2023-10-27 16:02:16 +02:00
Marco Romano b2a61f2ed3 Show correct UI when replying to a voice message (#1658)
Shows voice messages in the room summary.
Shows voice messages in the reply context menu and composer.
Show replies to voice messages in the timeline. 

(before this PR voice messages were shown the same as audio messages)

Story: https://github.com/vector-im/element-meta/issues/2106
2023-10-27 11:30:57 +02:00
ganfra ca6a30d6cc PIN : fix quality 2023-10-26 15:25:40 +02:00
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>
2023-10-20 22:32:59 +02:00
Marco Romano 5a7f77bc92 Extract more content from audio messages. (#1607)
`TimelineItemAudioContent`:
- Use `java.time.Duration` instead of milliseconds. This will ease up things in the future because currently milliseconds are sent over the wire but in the future seconds will be sent (as per the stable MSC). Using `Duration` will allow our downstream code to be independent of what's passed over the wire.
- Rename `audioSource` property to `mediaSource` to better match its type.

`AudioMessageType`:
- Add and populate new fields `details` and `isVoiceMessage` to be used by voice messages.
2023-10-19 13:32:43 +02:00