Commit Graph

5042 Commits

Author SHA1 Message Date
Benoit Marty
4584e6839d Merge pull request #2035 from element-hq/feature/bma/scrollOnNewMessage
Scroll to bottom if the new event is from me, even if sent from another session
2023-12-15 11:29:32 +01:00
Benoit Marty
6aa896bfc6 Merge pull request #2036 from element-hq/renovate/io.nlopez.compose.rules-detekt-0.x
Update dependency io.nlopez.compose.rules:detekt to v0.3.6
2023-12-15 09:33:36 +01:00
Benoit Marty
8438b6937d Scroll to bottom if the new event is from me, even if sent from another device #1877.
This fixes the issue that the timeline does not scroll when sending an attachment to the room, since there is no local echo (yet) for such event.
2023-12-15 09:17:34 +01:00
renovate[bot]
ad7b07e8c0 Update dependency io.nlopez.compose.rules:detekt to v0.3.6 2023-12-14 22:51:54 +00:00
Benoit Marty
4aad49d424 Merge pull request #1913 from element-hq/julioromano/poll_history_entry_point
Poll history UI
2023-12-14 21:46:18 +01:00
Benoit Marty
6f2b4985c9 Fix test compilation 2023-12-14 20:53:20 +01:00
ganfra
25c003adaf MessagesPresenter : remove useless test 2023-12-14 19:00:32 +01:00
renovate[bot]
4efed07ef7 Update actions/upload-artifact action to v4 (#2034)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-14 18:58:03 +01:00
renovate[bot]
2cbd778ceb Update wysiwyg to v2.22.0 (#2030)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-14 17:37:38 +00:00
ganfra
fd5bdce2d9 Fix androidTest compilation 2023-12-14 18:33:59 +01:00
ElementBot
76c7bde8ca Update screenshots 2023-12-14 16:48:04 +00:00
Benoit Marty
caaede429c Fix compilation issue after merging develop 2023-12-14 17:36:35 +01:00
Benoit Marty
4d3c6632cd Merge branch 'develop' into julioromano/poll_history_entry_point 2023-12-14 17:34:49 +01:00
Benoit Marty
0d3092f71b Merge pull request #2031 from pixlwave/doug/localazy-files
Only download content.json from Localazy.
2023-12-14 17:16:41 +01:00
Jorge Martin Espinosa
3ba75962e6 Add warning message to 'mentions and keywords only' notification option (#2028)
* Add warning message to 'mentions and keywords only'

 It should be displayed when it's not supported by the homeserver

* Only display disclaimer in the room notification settings if the room is encrypted

Co-authored-by: Benoit Marty <benoit@matrix.org>

* Fix test and add another one

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2023-12-14 16:15:39 +00:00
Doug
993432d3f8 Rename changelog 2023-12-14 16:07:41 +00:00
Doug
20fed25391 Only process content.json from Localazy. 2023-12-14 16:06:24 +00:00
Benoit Marty
b231f0851b Format 2023-12-14 16:58:42 +01:00
Benoit Marty
87dfb9785c Remove duplicated preview, but add editable case (isMine must be true) 2023-12-14 16:58:42 +01:00
Benoit Marty
6bf416045d Merge branch 'develop' into julioromano/poll_history_entry_point 2023-12-14 16:58:23 +01:00
ganfra
36110dbfac Fix test compilation again. 2023-12-14 16:08:22 +01:00
Benoit Marty
506f47630b Merge pull request #2015 from element-hq/feature/bma/asyncMedia
ReadReceipt
2023-12-14 16:03:09 +01:00
Benoit Marty
a6af4134b1 Merge pull request #2016 from element-hq/renovate/activity
Update activity to v1.8.2
2023-12-14 16:02:24 +01:00
Benoit Marty
82e0871ee8 Merge pull request #2027 from element-hq/feature/bma/openRoomAvatar
Feature/bma/open room avatar
2023-12-14 16:00:34 +01:00
Benoit Marty
84729b5b11 Merge pull request #2029 from element-hq/feature/bma/fixMaestro
Fix Maestro
2023-12-14 15:59:03 +01:00
Benoit Marty
d67d29283e Replace test of server without sliding sync with test of homeserver resolution. 2023-12-14 15:34:57 +01:00
Benoit Marty
94858cffb6 Cleanup: Inline val for code clarity / compact. 2023-12-14 15:25:45 +01:00
Benoit Marty
e06f5a6836 No need to pass a similar thumbnail source. 2023-12-14 15:25:08 +01:00
ganfra
504103412e Merge pull request #2024 from element-hq/feature/fga/invite_list_back_navigation
Improve back-navigation for invitations
2023-12-14 15:24:18 +01:00
Benoit Marty
6e5c973df0 Rename the parameter this it can be a username or a room name. 2023-12-14 15:22:31 +01:00
ganfra
3ceb2599d8 Merge branch 'develop' into julioromano/poll_history_entry_point 2023-12-14 15:17:13 +01:00
Benoit Marty
2c6169c6a6 changelog 2023-12-14 15:15:10 +01:00
Benoit Marty
cbd045aa94 Do some renaming, since it can now also be room avatar. 2023-12-14 15:13:10 +01:00
Benoit Marty
e4ba9c1d5a Create RoomMember.getBestName() extension. 2023-12-14 15:10:49 +01:00
Benoit Marty
48e9464d00 Cleanup 2023-12-14 15:08:54 +01:00
Benoit Marty
760000aa67 Open room Avatar on click #1918 2023-12-14 15:05:59 +01:00
Jorge Martin Espinosa
e31b85f6c5 Fix mentions font weight and horizontal padding (#2025)
* Fix mentions font weight and horizontal padding

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-12-14 14:15:25 +01:00
Benoit Marty
6e69952b6b Merge pull request #2018 from element-hq/renovate/androidx.compose.material3-material3-1.x
Update dependency androidx.compose.material3:material3 to v1.2.0-beta01
2023-12-14 14:05:09 +01:00
ganfra
5d91697be0 Fix tests and warnings 2023-12-14 13:13:11 +01:00
Jorge Martin Espinosa
3b59b70e65 Handle tapping on user mentions (#2021) 2023-12-14 11:56:59 +00:00
ganfra
92a70db042 Improve back-navigation for invitations 2023-12-14 12:18:01 +01:00
Benoit Marty
56e01f07f9 SDK 0.1.77 2023-12-14 11:24:32 +01:00
renovate[bot]
feb2c4c74c Update activity to v1.8.2 2023-12-14 08:29:48 +00:00
renovate[bot]
8d0db8d6d3 Update lifecycle to v2.7.0-rc02 (#2020)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-14 08:35:03 +01:00
ganfra
b94f446fc1 Merge pull request #1897 from element-hq/jonny/timeline-poll-edited
Display edited indicator for polls in the timeline
2023-12-14 08:13:11 +01:00
renovate[bot]
f848e56fe1 Update dependency androidx.annotation:annotation-jvm to v1.7.1 (#2017)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-14 08:04:49 +01:00
ganfra
464e439210 Merge pull request #2019 from element-hq/renovate/androidx.exifinterface-exifinterface-1.x
Update dependency androidx.exifinterface:exifinterface to v1.3.7
2023-12-14 07:52:50 +01:00
renovate[bot]
e8801cd585 Update dependency androidx.exifinterface:exifinterface to v1.3.7 2023-12-13 22:38:03 +00:00
renovate[bot]
b101b61bbc Update dependency androidx.compose.material3:material3 to v1.2.0-beta01 2023-12-13 22:37:57 +00:00
Jorge Martin Espinosa
ab58cc2ed5 Use RTE TextView for timeline text messages, add mention pills to messages (#1990)
* Add `formattedBody` to `TimelineItemTextBasedContent`.

This is pre-computed when timeline events are being mapped from the Rust SDK.

* Update `HtmlConverterProvider` styles.

* Improve `MentionSpan` to add missing `@` or `#` if needed

* Replace `HtmlDocument` with the `TextView` based component

* Improve extra padding calculation for timestamp by rounding the float offset result instead of truncating it.

* Remove composer line height workaround

* Use `ElementRichTextEditorStyle` instead of `RichTextEditorDefaults` for the theming

* Use slightly different styles for composer and messages (top/bottom line height discrepancies, mostly).

* Add `formattedBody` to notice and emote events.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-12-13 18:09:53 +01:00