Commit graph

8207 commits

Author SHA1 Message Date
Damir Jelić
b2101a1b80 Enable trace logging for the Olm Account
This should help us to track down UTD sources, it ensures that we log
the state of a Olm session when we try to decrypt an `m.olm.*` to-device
message.
2024-02-07 10:46:34 +01:00
Benoit Marty
9a5e0cdcb3 Merge pull request #2355 from element-hq/feature/bma/testTimelineView
Test timeline view
2024-02-07 10:38:32 +01:00
Benoit Marty
9e6b6c42f8 Merge remote-tracking branch 'origin/develop' into feature/bma/testTimelineView 2024-02-07 10:38:05 +01:00
Benoit Marty
3359d1b347 Use Kdoc. 2024-02-07 10:31:08 +01:00
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
2e2ecae1a6 Remove verbose flag, was added to get more details about an error. 2024-02-07 10:29:18 +01:00
Benoit Marty
61a449ab25 Merge pull request #2353 from element-hq/feature/bma/removeDuplicate
Do not use a key for the LazyColumn.
2024-02-07 09:47:02 +01:00
Benoit Marty
cebfa6560a Try to get more log from Codecov action. 2024-02-06 20:15:34 +01:00
Benoit Marty
28f26b1aae Add test for TimelineItemPollView 2024-02-06 18:30:27 +01:00
Benoit Marty
a13862e7a9 Format file 2024-02-06 17:57:18 +01:00
Benoit Marty
bae47b942e Add type hierarchy on TimelineEvents.
It is not really OK that a Event was able to invoke `LoadMore` for instance.
2024-02-06 17:57:11 +01:00
Benoit Marty
824de9cc11 Add test to ensure that TimelineView loads more Events. 2024-02-06 17:12:14 +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
866b7e9f55 Merge pull request #2350 from element-hq/feature/bma/improveSendProblemUx
Improve send problem ux
2024-02-06 16:11:16 +01:00
ganfra
b70cbfeb63 Use the new setIsFavorite api 2024-02-06 16:04:44 +01:00
Benoit Marty
6d6500771b Do not use a key for the LazyColumn, or the scroll will not behave as expected if a room is moved to the top of the list. 2024-02-06 15:33:03 +01:00
Benoit Marty
8abb929cb3 Merge pull request #2351 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-0.x
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.97
2024-02-06 15:16:13 +01:00
Benoit Marty
f34058a4a7 Merge pull request #2347 from element-hq/feature/bma/gradleWrapperUpgrade
Upgrade gradle wrapper to 8.6 using command line
2024-02-06 09:19:10 +01:00
Benoit Marty
6234d6e092 Fix API break and change from SDK 0.1.97 2024-02-06 09:18:35 +01:00
Benoit Marty
796fb9b483 Fix test now that the send button is always enabled but can fail if description is too short. 2024-02-06 09:01:59 +01:00
Benoit Marty
021509ad17 Small rework: create classical createPresenter() method to reduce code duplication. 2024-02-06 08:54:49 +01:00
renovate[bot]
2c77189a22 Update dependency org.matrix.rustcomponents:sdk-android to v0.1.97 2024-02-05 19:57:51 +00:00
Benoit Marty
5e44bc9878 Fiw formatting error. 2024-02-05 18:33:35 +01:00
ElementBot
5d8b920cad Update screenshots 2024-02-05 15:25:54 +00:00
Benoit Marty
3e80629f6b Make the button to send problem enable, but show an error if the decription is too short to prevent users from being blocked. 2024-02-05 16:00:29 +01:00
Benoit Marty
d5bc611b75 Merge pull request #2348 from element-hq/feature/bma/fixMatrixRoomLink
Change link to Element Android room to Element X Android room.
2024-02-05 15:27:48 +01:00
Benoit Marty
fe30802fef Remove _, added by mistake. 2024-02-05 15:25:39 +01:00
ElementBot
4493ffaf89 Update screenshots 2024-02-05 14:25:10 +00:00
Benoit Marty
869d2238d2 Changelog 2024-02-05 15:16:13 +01:00
Benoit Marty
0b78231440 Change link to Element Android room to Element X Android room. 2024-02-05 14:34:54 +01:00
Benoit Marty
3139d80504 Hide Read Receipt if the user set Rended Read Receipt to false (actually disabled the "Share presence" toggle) 2024-02-05 13:07:27 +01:00
Benoit Marty
64229397cb Take into account the setting isSendTypingNotificationsEnabled to not send typing notification when it's been disabled by the user. 2024-02-05 13:07:27 +01:00
Benoit Marty
016b755830 Update advanced settings screen. Replace Read Receipt private mode by Share presence. 2024-02-05 13:07:27 +01:00
Benoit Marty
365502ac96 Avoid computing default value if it's not necessary. 2024-02-05 12:29:36 +01:00
Benoit Marty
b987397b79 SessionPreferencesStore: add entries for sharePresence, renderReadReceipts, sendTypingNotifications, renderTypingNotifications.
`sharePresence` should take existing value of `sendPublicReadReceipts`, which has been added first.
2024-02-05 12:27:04 +01:00
Benoit Marty
c20665622e Upgrade gradle wrapper to 8.6 using command line:
./gradlew wrapper --gradle-version 8.6 --distribution-type all --gradle-distribution-sha256-sum 85719317abd2112f021d4f41f09ec370534ba288432065f4b477b6a3b652910d
2024-02-05 11:21:01 +01:00
Benoit Marty
52c47b1c14 Merge pull request #2344 from element-hq/renovate/com.google.truth-truth-1.x
Update dependency com.google.truth:truth to v1.4.0
2024-02-05 10:59:16 +01:00
Benoit Marty
d06f774590 Merge pull request #2345 from element-hq/sync-localazy
Sync Strings
2024-02-05 10:26:37 +01:00
bmarty
7911a26003 Sync Strings from Localazy 2024-02-05 00:09:59 +00:00
renovate[bot]
a152437c4d Update dependency com.google.truth:truth to v1.4.0 2024-02-02 22:17:18 +00: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
ganfra
7ca931c35f Favorite : rework and add tests 2024-02-02 14:54:28 +01:00
Jorge Martín
166ed9ae79 Only display placeholder list when the room list hasn't loaded yet 2024-02-02 13:31:43 +01:00
ElementBot
17f616b708 Update screenshots 2024-02-02 12:12:03 +00:00
Jorge Martín
9783dee537 Tweak room list behaviour:
- Instead of an extra item, use `contentPadding`.
- Make sure each item has an unique id.
2024-02-02 13:05:37 +01:00
Jorge Martín
ee5f30d0d9 Fix full placeholder screen 2024-02-02 13:04:56 +01:00
Jorge Martín
b0ce6e7d89 Make the RoomListRoomSummaryFactory.createPlaceholder and RoomListRoomSummaryFactory.createFakeList functions static ones 2024-02-02 13:04:28 +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