Commit graph

5668 commits

Author SHA1 Message Date
Benoit Marty
b104dba845 Remove Modifier parameter in private function when only default value is used.
This will improve the code coverage metrics, and this also fixes a few potential bug, where the Modifier was used several times.
2024-02-08 11:06:06 +01:00
Jorge Martin Espinosa
d06e5c23cb
Move migration screen to within the room list (#2361)
* Rename migration bg drawable and add night variant
* Move `migration` package from `ftue` to `messages:impl` module
* Update `SunsetPage` with light and dark modes
* Fix bloom colors when nested theme is used
* Integrate the migration screen in the room list
* Fix `WaitListView` cancel button color
* Clear migration store when removing the app's cache

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-02-08 10:01:08 +00:00
Jorge Martin Espinosa
52dfaea741
Merge pull request #2363 from element-hq/renovate/kotlin
Update dependency androidx.compose.compiler:compiler to v1.5.9
2024-02-08 10:18:16 +01:00
Jorge Martin Espinosa
857b94b4fc
Merge pull request #2357 from poljar/poljar/log-olm-trace
Enable trace logging for the Olm Account
2024-02-08 09:59:10 +01:00
Jorge Martin Espinosa
c864adb493
Merge branch 'develop' into poljar/log-olm-trace 2024-02-08 09:50:58 +01:00
Benoit Marty
565b2e3817
Merge pull request #2358 from element-hq/renovate/io.element.android-compound-android-0.x
Update dependency io.element.android:compound-android to v0.0.4
2024-02-07 23:30:46 +01:00
Benoit Marty
9bd3a36cf7
Merge pull request #2360 from element-hq/feature/bma/fixTodo
Fix some todo
2024-02-07 22:57:23 +01:00
renovate[bot]
b2dd7f1169
Update dependency androidx.compose.compiler:compiler to v1.5.9 2024-02-07 21:41:10 +00:00
Jorge Martin Espinosa
dbeca9e1fa
Merge pull request #2359 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-0.x
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.98
2024-02-07 17:34:23 +01:00
renovate[bot]
8454c37388
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.98 2024-02-07 15:34:08 +00:00
renovate[bot]
b9eaaf30e5
Update dependency io.element.android:compound-android to v0.0.4 2024-02-07 15:34:03 +00:00
Benoit Marty
57d9b262d3 Extract session folder name computation from RustMatrixClient 2024-02-07 16:33:48 +01:00
Benoit Marty
688c4dae22 Rename parameter, since it is also invoked in the confirmation dialog, not only for the error dialog. 2024-02-07 16:33:48 +01:00
Benoit Marty
afc2e6c7fe Remove LogCompositions.
It was used at the beginning of the project, but is not useful anymore.
2024-02-07 16:33:48 +01:00
Benoit Marty
0b3a0fd6a3 Use appName from BuildMeta in the crash detection dialog. 2024-02-07 16:33:48 +01:00
Damir Jelić
1fd4075900 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
fa17fdaa44
Merge pull request #2355 from element-hq/feature/bma/testTimelineView
Test timeline view
2024-02-07 10:38:32 +01:00
Benoit Marty
cb8698a470 Merge remote-tracking branch 'origin/develop' into feature/bma/testTimelineView 2024-02-07 10:38:05 +01:00
Benoit Marty
ff608c9581 Use Kdoc. 2024-02-07 10:31:08 +01:00
Benoit Marty
022d309eb6
Merge pull request #2349 from element-hq/feature/bma/disableTyping
"Share presence" setting
2024-02-07 10:29:43 +01:00
Benoit Marty
3f570601ed Remove verbose flag, was added to get more details about an error. 2024-02-07 10:29:18 +01:00
Benoit Marty
ad71e2a301
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
6bae19b6b0 Try to get more log from Codecov action. 2024-02-06 20:15:34 +01:00
Benoit Marty
b25509a611 Add test for TimelineItemPollView 2024-02-06 18:30:27 +01:00
Benoit Marty
80c474e1a6 Format file 2024-02-06 17:57:18 +01:00
Benoit Marty
69f0c9935f 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
e66f53f64c Add test to ensure that TimelineView loads more Events. 2024-02-06 17:12:14 +01:00
Benoit Marty
46ff038b98
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
dd7050b92d
Merge pull request #2350 from element-hq/feature/bma/improveSendProblemUx
Improve send problem ux
2024-02-06 16:11:16 +01:00
Benoit Marty
706ce1d0cd 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
94b7460614
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
2870375499
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
8c56f0bd92 Fix API break and change from SDK 0.1.97 2024-02-06 09:18:35 +01:00
Benoit Marty
07d13fc981 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
d7b6c39eb0 Small rework: create classical createPresenter() method to reduce code duplication. 2024-02-06 08:54:49 +01:00
renovate[bot]
3fa17be222
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.97 2024-02-05 19:57:51 +00:00
Benoit Marty
9cef656d20 Fiw formatting error. 2024-02-05 18:33:35 +01:00
ElementBot
3814ea0046 Update screenshots 2024-02-05 15:25:54 +00:00
Benoit Marty
87f14d8bab 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
bab2ae4bfe
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
320d5192c9 Remove _, added by mistake. 2024-02-05 15:25:39 +01:00
ElementBot
cbb11d2550 Update screenshots 2024-02-05 14:25:10 +00:00
Benoit Marty
95fba29669 Changelog 2024-02-05 15:16:13 +01:00
Benoit Marty
9f6c6ef76f Change link to Element Android room to Element X Android room. 2024-02-05 14:34:54 +01:00
Benoit Marty
cbf7e9cfce 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
5747453505 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
23fb7811f3 Update advanced settings screen. Replace Read Receipt private mode by Share presence. 2024-02-05 13:07:27 +01:00
Benoit Marty
9d1bc5925c Avoid computing default value if it's not necessary. 2024-02-05 12:29:36 +01:00
Benoit Marty
a3716d0e0d 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
da1e86a51b 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