Commit Graph

6877 Commits

Author SHA1 Message Date
Benoit Marty 7f9a30a033 Improve code and display error. 2024-05-21 14:45:16 +02:00
Benoit Marty a65c290dd3 Improve API, to avoid ignoring errors 2024-05-21 14:45:16 +02:00
Benoit Marty d88ef8769e Add distributor selection in advanced settings 2024-05-21 14:45:15 +02:00
Benoit Marty ad63f2b0c5 UnifiedPush: correctly unregister the provider. 2024-05-21 14:45:15 +02:00
Benoit Marty d2fbff09b8 Push distributor: ensure the current UnifiedPush distributor is stored 2024-05-21 14:45:15 +02:00
Benoit Marty 56ca04affa Unset Http pusher: use SDK API. 2024-05-21 14:45:14 +02:00
Benoit Marty 15e7a9d914 Merge pull request #2886 from element-hq/feature/bma/fdroidRelease
Let the CI build APKs for FDroid release.
2024-05-21 14:41:35 +02:00
Benoit Marty d2a43392bb Let the CI build APKs for FDroid release. 2024-05-21 14:30:19 +02:00
Jorge Martin Espinosa 880ebb4de8 Plain text editor implementation based on markdown input (#2840)
* Add plain text editor based on markdown input
- Fix autofocus of message composer.
- Remove `Message` data class, fetch the details in `MessagesPresenter` instead.
- Remove `enable rich text` option from advanced settings, set it as a build configuration instead.
* Fix MentionSpanProvider
* Bump RTE library to released `v2.37.3`

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-05-21 13:58:53 +02:00
Jorge Martin Espinosa 3f2413bc95 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 cddb02ffdd 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 8bd9880c23 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 d2d835080e Merge pull request #2877 from element-hq/sync-localazy
Sync Strings
2024-05-21 09:22:16 +02:00
ganfra 5d8cc8011f 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 b7847468fb Merge branch 'develop' into feature/bma/upgradeSdk 2024-05-20 18:29:49 +02:00
ganfra bc46706e11 Sdk : update to 0.2.19 2024-05-20 17:51:06 +02:00
Jorge Martin Espinosa 4919cd69b1 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] 616370f31e 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 29723a691e 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 83a8a631f2 Sync Strings from Localazy 2024-05-20 00:23:05 +00:00
renovate[bot] bb96eea4bd 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 f7801c0ff6 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 f06a01f894 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 f03818f413 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 7e0951471b 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 38d6e08db4 Format 2024-05-16 11:07:31 +02:00
Benoit Marty f7a3b5df77 Add test about redacting an Event that has not been sent #2855 2024-05-16 10:49:14 +02:00
Benoit Marty b00f06349c Ignore .idea/deploymentTargetSelector.xml 2024-05-16 10:29:35 +02:00
Benoit Marty dfab477294 Kotlin 1.9.24 2024-05-16 10:28:55 +02:00
Benoit Marty 9d4cfd8e20 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 69d5b564da Fix crash when creating an EncryptedFile in Android 6 (#2853) 2024-05-15 16:10:16 +00:00
Benoit Marty 5ab96c3bdc Do not use MutableState in Composable function parameter. 2024-05-15 18:05:08 +02:00
Benoit Marty c3caff0a1f Remove some keys for remember saveButtonEnabled. 2024-05-15 17:58:14 +02:00
ElementBot 1c9d046d65 Update screenshots 2024-05-15 15:22:46 +00:00
Benoit Marty 7f5a3b788c Ignore some non-passing test for now. 2024-05-15 17:10:59 +02:00
renovate[bot] ab237bb906 Update dependency app.cash.molecule:molecule-runtime to v1.4.3 2024-05-15 15:10:52 +00:00
Benoit Marty 4278c24784 Extract content lambda. 2024-05-15 17:05:45 +02:00
Benoit Marty 193081a554 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 1710671f06 Add UI test on RoomDetailsEditView 2024-05-15 15:19:46 +02:00
Benoit Marty 09bfc820e4 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 cf654fd645 Update screenshots 2024-05-15 10:24:05 +00:00
Benoit Marty 04537bc684 Fix tests. 2024-05-15 11:56:12 +02:00
Benoit Marty ef28cf314e Move aMatrixRoom to its own file, since it's used by several test classes. 2024-05-15 11:31:30 +02:00
Benoit Marty e6badb1e04 Use rawName instead of displayName in RoomDetailsEditPresenter #2844 2024-05-15 11:24:09 +02:00
renovate[bot] 87bd3eecba 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 ef38535665 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 a4c4d6d804 Avoid using copy in RoomDetailsEditStateProvider 2024-05-15 10:10:48 +02:00
Benoit Marty 12ad232ea8 Add MatrixRoomInfo.rawName. 2024-05-15 10:06:54 +02:00
renovate[bot] 96b627f00a 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 0b9724af84 EditUserProfileState.userId cannot be null.
It simplifies a bit the codebase.
2024-05-15 09:46:01 +02:00