Commit Graph

119 Commits

Author SHA1 Message Date
Benoit Marty
3c36868f85 Merge pull request #2349 from element-hq/feature/bma/disableTyping
"Share presence" setting
2024-02-07 10:29:43 +01:00
Benoit Marty
79b8a628b1 Merge pull request #2341 from element-hq/fix/jme/forwarding-with-new-timeline-api
Fix message forwarding after SDK API change
2024-02-06 16:11:40 +01:00
Benoit Marty
869d2238d2 Changelog 2024-02-05 15:16:13 +01:00
Jorge Martin Espinosa
1024056f83 Merge pull request #2342 from element-hq/feature/jme/2330-add-empty-state-for-room-list
Add an empty state to the room list
2024-02-02 16:30:58 +01:00
Jorge Martin Espinosa
3e98e7e33a Merge pull request #2303 from element-hq/misc/jme/remove-session-preferences-on-logout
Remove session preferences on logout.
2024-02-02 16:26:15 +01:00
Jorge Martín
b390215701 Add an empty state to the room list.
- Make `RoomListDataSource.allRooms` a `SharedFlow` so we can know when we don't have a value yet.
- Map its output in `RoomListPresenter` to `AsyncData`.
- Display the new empty state when the room list has loaded and has no items.
2024-02-02 12:39:09 +01:00
Jorge Martín
5fc74e2962 Add changelog 2024-02-02 11:37:01 +01:00
Marco Antonio Alvarez
ab4b3c2b01 Merge branch 'develop' of github.com:element-hq/element-x-android into align-cta-button-on-login-flow
# Conflicts:
#	features/onboarding/impl/src/main/kotlin/io/element/android/features/onboarding/impl/OnBoardingView.kt
#	tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Day-0_1_null_0,NEXUS_5,1.0,en].png
#	tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Day-0_1_null_1,NEXUS_5,1.0,en].png
#	tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Day-0_1_null_2,NEXUS_5,1.0,en].png
#	tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Day-0_1_null_3,NEXUS_5,1.0,en].png
#	tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Day-0_1_null_4,NEXUS_5,1.0,en].png
#	tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Night-0_2_null_0,NEXUS_5,1.0,en].png
#	tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Night-0_2_null_1,NEXUS_5,1.0,en].png
#	tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Night-0_2_null_2,NEXUS_5,1.0,en].png
#	tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Night-0_2_null_3,NEXUS_5,1.0,en].png
#	tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Night-0_2_null_4,NEXUS_5,1.0,en].png
2024-02-01 17:54:11 +01:00
Jorge Martin Espinosa
f482e40b04 Merge pull request #2333 from element-hq/feature/jme/use-unencrypted-room-calls-if-room-is-not-encrypted
Use `MatrixRoom.isEncrypted` value to set encryption mode in room calls
2024-02-01 16:19:42 +01:00
Benoit Marty
e05b21ccd4 Merge pull request #2334 from SpiritCroc/up-unregister-crash
Do not crash on UP unregistered
2024-02-01 15:41:33 +01:00
Jorge Martin Espinosa
1b01f4f2e8 Update changelog.d/+remove-compose-foundation-workaround.misc
Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-02-01 15:27:49 +01:00
Jorge Martin Espinosa
707a10acda Update changelog.d/2333.feature
Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-02-01 15:22:42 +01:00
Jorge Martín
a6c03a8f52 Add changelog 2024-02-01 13:20:58 +01:00
SpiritCroc
00bcc944d7 Do not crash on UP unregistered 2024-02-01 12:04:47 +01:00
Jorge Martín
c6ae132d6a Remove Compose Foundation version pinning workaround 2024-02-01 09:09:13 +01:00
Jorge Martin Espinosa
47f7f8952b Add missing device id to settings screen (#2320)
* Add missing device id to settings screen

* Extract footer component

* Restore `@PreviewWithLargeHeight` logic

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-31 10:01:17 +00:00
Jorge Martín
3329165024 Add changelog 2024-01-31 10:38:27 +01:00
Marco Antonio Alvarez
cc58f81993 added 825 changelog
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
2024-01-11 18:34:52 +01:00
Jorge Martin Espinosa
e762584a37 Improve rendering of voice messages in the timeline in large displays (#2199)
* Improve rendering of voice messages in the timeline in large displays

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-09 18:07:23 +01:00
Benoit Marty
ae424ffe6a Merge pull request #1782 from element-hq/feature/bma/upgradeKover
Upgrade kover
2024-01-09 17:52:14 +01:00
Benoit Marty
522179e837 Merge pull request #2196 from element-hq/fix/jme-crash-sending-picture-with-latest-posthog
Fix crash when sending image with latest posthog
2024-01-09 12:12:49 +01:00
Jorge Martin Espinosa
7008b403c0 Fix mention selector getting stuck when quickly deleting the prompt (#2195)
* Fix mention selector getting stuck when quickly deleting the prompt
2024-01-09 11:07:10 +00:00
Benoit Marty
b727312040 Upgrade Kover to 0.7.5 2024-01-09 10:51:30 +01:00
Jorge Martín
89762f20be Fix crash when sending image with latest posthog 2024-01-08 16:12:22 +01:00
Jorge Martin Espinosa
3954612a72 Hide keyboard when tapping on a message in the timeline (#2187)
* Hide keyboard when tapping on a message in the timeline if it would result in navigating to another screen
2024-01-08 14:02:57 +01:00
Benoit Marty
cbc86ea1e4 Merge branch 'develop' into feature/bma/sendImageFromKeyboard 2024-01-08 08:59:00 +01:00
ganfra
2a240d2496 Merge branch 'develop' into feature/fga/invite_user_loader 2024-01-05 14:02:58 +01:00
ganfra
d539c1f381 Add changelog 2024-01-05 14:00:25 +01:00
Jorge Martin Espinosa
00c27ffafc Use SubcomposeLayout for ContentAvoidingLayout (#2171)
Use `SubcomposeLayout` for `ContentAvoidingLayout`
2024-01-05 12:40:25 +00:00
Jorge Martin Espinosa
0e3f0ac6b5 Trim whitespace at the end of messages (#2169)
Trim whitespace at the end of messages
2024-01-05 12:40:10 +01:00
Jorge Martin Espinosa
936127c682 Fix crashes for extremely long messages with no line breaks (#2163) 2024-01-05 11:11:49 +00:00
Benoit Marty
676ec90c22 Merge pull request #2160 from surakin/msc4027
Implement MSC4027 (Custom images in reactions)
2024-01-04 16:23:30 +01:00
Jorge Martin Espinosa
1e2fc6ad27 Remove 'document' case for message with timestamp preview (#2164)
* Remove 'document' case for message with timestamp preview

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-04 15:22:09 +01:00
Jorge Martin Espinosa
b7cf298934 Upgrade to AGP 8.2.0 (#2142)
* Upgrade to AGP 8.2.0

Add proguard rule for the problematic TagSoup library. For some reason, adding this in the consumer proguard rules of the RTE library doesn't seem to work.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-04 12:09:46 +01:00
Marco Antonio Alvarez
8f48e11201 Merge branch 'develop' into msc4027 2024-01-04 09:42:23 +01:00
Marco Antonio Alvarez
83e4af52b9 [Technical] Open stickers using the thumbnail url if the main url is empty (#2157)
* Explicitely use the thumbnail url to show stickers if the content's url is an empty string

---------

Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
2024-01-04 09:06:30 +01:00
Marco Antonio Alvarez
1fe8361487 add changelog
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
2024-01-04 08:28:17 +01:00
ganfra
21edff7e2f Merge pull request #2146 from element-hq/feature/fga/fix_2084
Fix room transition animation happens twice
2024-01-03 11:57:25 +01:00
ganfra
4ca310f53b Fix room transition animation happens twice #2084 2024-01-02 16:13:46 +01:00
Marco Antonio Alvarez
378da8ce21 [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
Benoit Marty
47f0a2e73c Add support for sending images from the keyboard #1977 2023-12-29 15:15:22 +01:00
Jorge Martin Espinosa
4f296ffb49 Disable vector XML rasterisation on API 23 (#2128)
* Disable vector XML rasterisation on API 23

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-12-29 11:41:08 +00:00
Jorge Martín
4c8c63db59 Add changelog 2023-12-28 17:06:05 +01:00
Benoit Marty
18d0569bbd Merge pull request #2112 from element-hq/feature/bma/renderStateWithoutChanges
Handle `MembershipChange.NONE` rendering in the timeline #2102
2023-12-28 12:39:05 +01:00
Benoit Marty
a4618848d4 Merge pull request #2111 from element-hq/feature/bma/directLogout
Direct logout
2023-12-26 17:58:23 +01:00
Benoit Marty
bf356171a3 Handle MembershipChange.NONE rendering in the timeline #2102
And avoid `else` in the when statement.
2023-12-26 16:57:34 +01:00
Benoit Marty
e22bb8212e changelog 2023-12-26 15:30:18 +01:00
Benoit Marty
25c623549d towncrier file 2023-12-26 13:26:01 +01:00
Benoit Marty
a4c1576f30 Changelog for version 0.1.0 2023-07-19 16:40:45 +02:00
Jorge Martín
d69dea6608 Fix sliding sync loop restarts due to expirations
Both `NotifiableEventResolver` and `DefaultNotificationDrawerManager` were creating new Rust SDK Clients while processing notifications instead of reusing the already existing one.
2023-07-17 08:05:12 +02:00