Commit Graph

6868 Commits

Author SHA1 Message Date
Jorge Martin Espinosa
0e05a0e4ed Session falsely displayed as 'verified' with no internet connection (#2884)
* Session falsely displayed as 'verified' with no internet connection
	- Remove the need to wait for `isReady` for `SessionVerificationService.canVerifySessionFlow` to fix this.
	- Rename `SessionVerificationService.canVerifySessionFlow` to `needsSessionVerification`.
	- Make `isReady` private.
2024-05-21 11:41:18 +00:00
Benoit Marty
bce1a30249 Merge pull request #2852 from element-hq/renovate/app.cash.molecule-molecule-runtime-1.x
Update dependency app.cash.molecule:molecule-runtime to v1.4.3
2024-05-21 12:11:32 +02:00
Jorge Martin Espinosa
da8d319dea Use member display names in membership timeline item text (#2883)
* Use member display names in membership timeline item text
2024-05-21 08:26:11 +00:00
Benoit Marty
009ade1db5 Merge pull request #2877 from element-hq/sync-localazy
Sync Strings
2024-05-21 09:22:16 +02:00
ganfra
a80c486455 Merge pull request #2868 from element-hq/feature/bma/upgradeSdk
SDK API break: replace `getRoomPreview` by `getRoomPreviewFromRoomId`.
2024-05-20 20:57:57 +02:00
ganfra
4fc6a724e9 Merge branch 'develop' into feature/bma/upgradeSdk 2024-05-20 18:29:49 +02:00
ganfra
7edd854204 Sdk : update to 0.2.19 2024-05-20 17:51:06 +02:00
Jorge Martin Espinosa
cec0db8a0e When linkifying HTML messages, give priority to explicit link tags (#2879)
* When linkifying HTML messages, give priority to explicit link tags
2024-05-20 13:09:37 +02:00
renovate[bot]
115919e687 Update dependency io.mockk:mockk to v1.13.11 (#2872)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martin Espinosa <jorgem@element.io>
2024-05-20 12:44:43 +02:00
Jorge Martin Espinosa
6e22f5bea3 Try to fix CI quality flow (#2880)
* Fix CI quality step:
    - Remove the `onCheck` property in the different Kover verify variants in case they caused this.
    - Try splitting quality flow per check to avoid OOM issues.
2024-05-20 12:15:43 +02:00
bmarty
0241014932 Sync Strings from Localazy 2024-05-20 00:23:05 +00:00
renovate[bot]
46107a9cff Update kotlin to v0.8.0 (#2854)
* Update kotlin to v0.8.0

* Adapt our setup to `v0.8.0`'s changes

* Make sure verification tasks run on `check` tasks

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-05-17 17:07:19 +02:00
ganfra
cd03a83797 Merge pull request #2856 from element-hq/feature/bma/asJelly
Kotlin 1.9.24 and Android Jellyfish change.
2024-05-17 12:05:38 +02:00
Benoit Marty
0a0c822d1c Replace getRoomPreview by getRoomPreviewFromRoomId.
We do not need `getRoomPreviewFromRoomAlias` since we always resolve the Alias first.
2024-05-17 12:01:57 +02:00
Jorge Martin Espinosa
16ce4cbfcc Restore legacy shrinking configuration for AGP 8.4.x (#2867)
* Restore legacy shrinking configuration for AGP `8.4.x`

The current one is causing issues with release builds and no changes in proguard rules seem to fix them.

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

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-05-17 11:08:34 +02:00
Benoit Marty
75ed9c4364 Merge pull request #2858 from element-hq/feature/bma/moreTests
Add test about redacting an Event that has not been sent
2024-05-17 10:44:12 +02:00
Benoit Marty
f886cd00a1 Format 2024-05-16 11:07:31 +02:00
Benoit Marty
2e7e5633f5 Add test about redacting an Event that has not been sent #2855 2024-05-16 10:49:14 +02:00
Benoit Marty
5cef7f6f22 Ignore .idea/deploymentTargetSelector.xml 2024-05-16 10:29:35 +02:00
Benoit Marty
f870f9b58f Kotlin 1.9.24 2024-05-16 10:28:55 +02:00
Benoit Marty
7c96b9f49a Merge pull request #2849 from element-hq/feature/bma/roomNameEdition
Improve room setting edition
2024-05-16 09:32:42 +02:00
Jorge Martin Espinosa
822705195f Fix crash when creating an EncryptedFile in Android 6 (#2853) 2024-05-15 16:10:16 +00:00
Benoit Marty
d1a3daaa8e Do not use MutableState in Composable function parameter. 2024-05-15 18:05:08 +02:00
Benoit Marty
d19238fc60 Remove some keys for remember saveButtonEnabled. 2024-05-15 17:58:14 +02:00
ElementBot
2bdddff0c5 Update screenshots 2024-05-15 15:22:46 +00:00
Benoit Marty
04ed4f6904 Ignore some non-passing test for now. 2024-05-15 17:10:59 +02:00
renovate[bot]
de50d41cd0 Update dependency app.cash.molecule:molecule-runtime to v1.4.3 2024-05-15 15:10:52 +00:00
Benoit Marty
6ffc6a1cd3 Extract content lambda. 2024-05-15 17:05:45 +02:00
Benoit Marty
bb48bb7531 Migrate AvatarActionBottomSheet to Material3 BottomSheet
Also correctly handle the back press when this bottom sheet is opened, previously it was leaving the room edition screen.
ModalBottomSheetLayout can now be deleted.
2024-05-15 16:20:47 +02:00
Benoit Marty
fb7eb924d8 Add UI test on RoomDetailsEditView 2024-05-15 15:19:46 +02:00
Benoit Marty
d103872f42 Merge pull request #2845 from element-hq/renovate/androidx.annotation-annotation-jvm-1.x
Update dependency androidx.annotation:annotation-jvm to v1.8.0
2024-05-15 15:07:16 +02:00
ElementBot
c7ae3ab1bf Update screenshots 2024-05-15 10:24:05 +00:00
Benoit Marty
d689c778c6 Fix tests. 2024-05-15 11:56:12 +02:00
Benoit Marty
eb32773434 Move aMatrixRoom to its own file, since it's used by several test classes. 2024-05-15 11:31:30 +02:00
Benoit Marty
a51a2df647 Use rawName instead of displayName in RoomDetailsEditPresenter #2844 2024-05-15 11:24:09 +02:00
renovate[bot]
57a0d5657e Update android.gradle.plugin to v8.4.0 (#2777)
* Update android.gradle.plugin to v8.4.0

* Update `android.experimental.lint.version` to `8.5.0-alpha07`

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-05-15 11:07:36 +02:00
Jorge Martin Espinosa
83b2da547c UX cleanup: reorder text composer actions (#2847)
* UX cleanup: reorder text composer actions

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-05-15 10:28:06 +02:00
Benoit Marty
f4f22b1d2f Avoid using copy in RoomDetailsEditStateProvider 2024-05-15 10:10:48 +02:00
Benoit Marty
7353381356 Add MatrixRoomInfo.rawName. 2024-05-15 10:06:54 +02:00
renovate[bot]
a4efb5e7e2 Update kotlin (#2821)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-15 10:01:06 +02:00
Benoit Marty
9e519def63 EditUserProfileState.userId cannot be null.
It simplifies a bit the codebase.
2024-05-15 09:46:01 +02:00
Benoit Marty
49f74bf09a Add preview for EditableAvatarView 2024-05-15 09:42:58 +02:00
Benoit Marty
f72e257a20 Rename parameter since it can reference a userId or a roomId 2024-05-15 09:25:59 +02:00
Benoit Marty
39d702db5b Change type of roomId from String to RoomId 2024-05-15 09:23:30 +02:00
renovate[bot]
967ee5d626 Update dependency androidx.annotation:annotation-jvm to v1.8.0 2024-05-14 18:25:46 +00:00
Benoit Marty
b971ac36d3 Merge pull request #2843 from element-hq/feature/bma/joinRoomVia
Provide serverNames when available and fix issue around analytics
2024-05-14 17:17:59 +02:00
ganfra
20ae35cf22 Merge pull request #2841 from element-hq/feature/fga/timeline_remove_from_main_thread
Timeline : remove some code from main thread
2024-05-14 16:12:37 +02:00
Benoit Marty
a2d5ba66d1 Changelog. 2024-05-14 16:04:47 +02:00
Benoit Marty
32f31855b5 Provide serverNames when available and fix issue around analytics 2024-05-14 15:58:10 +02:00
ganfra
12bd3d0f8e Merge pull request #2842 from element-hq/feature/fga/fix_room_directory_release_test
Fix running roomDirectory/testReleaseUnitTest
2024-05-14 15:51:37 +02:00