Commit graph

5375 commits

Author SHA1 Message Date
Jorge Martin Espinosa
27f55c0bc4
Replace 'leave room' text with 'leave conversation' for DMs (#2231)
* Replace 'leave room' text with 'leave conversation' for DMs

* Add `isDm` property to both `RoomSummary` and `RoomListRoomSummary`

* Remove redundant `leave_conversation_alert_subtitle_*` texts

* Fix maestro flow

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-16 15:49:44 +01:00
Benoit Marty
d7dcd7aa34
Merge pull request #2220 from element-hq/renovate/io.sentry-sentry-android-7.x
Update dependency io.sentry:sentry-android to v7.2.0
2024-01-15 15:23:30 +01:00
ElementBot
6bc080c279
Sync Strings (#2230)
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2024-01-15 09:21:04 +01:00
Jorge Martin Espinosa
4a7b04524a
Hide verbose state events from the timeline (#2225) 2024-01-12 21:23:52 +00:00
renovate[bot]
0b859209e2
Update wysiwyg to v2.25.0 (#2222)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-12 17:03:22 +00:00
renovate[bot]
37586053cc
Update dependency io.sentry:sentry-android to v7.2.0 2024-01-12 13:57:13 +00:00
Jorge Martin Espinosa
f281c6c365
Don't apply Kover to projects with AAR libraries (#2211)
* Don't apply Kover to projects with AAR libraries

* Move the Kover configuration to the `plugins` project
2024-01-11 21:16:31 +01:00
Benoit Marty
4ba73c0bb1
Merge pull request #2202 from element-hq/feature/bma/removeReadReceiptFlag
Remove ReadReceipts feature flag.
2024-01-11 17:13:35 +01:00
Benoit Marty
57b2a0d17b
Merge pull request #2193 from element-hq/feature/bma/sxcludePreviewFromCodeCoverage
Exclude preview from code coverage
2024-01-11 16:47:07 +01:00
ganfra
d4ac493e4f
Merge pull request #2206 from element-hq/renovate/lifecycle
Update lifecycle to v2.7.0
2024-01-11 16:42:23 +01:00
Benoit Marty
92d8e4f55b
Merge branch 'develop' into feature/bma/sxcludePreviewFromCodeCoverage 2024-01-11 16:02:58 +01:00
Benoit Marty
a611cca170
Merge pull request #2207 from element-hq/feature/bma/ktlint_plugin
Upgrade ktlint version to 1.1.1
2024-01-11 16:01:14 +01:00
Benoit Marty
9fab53e08c Ensure preview are not impacted when removing the ReadReceipt feature flag. 2024-01-11 15:58:36 +01:00
Benoit Marty
a83eaede1f Remove ReadReceipts feature flag. 2024-01-11 15:57:59 +01:00
Benoit Marty
91cce1dbaf
Merge pull request #2210 from element-hq/renovate/com.posthog-posthog-android-3.x
Update dependency com.posthog:posthog-android to v3.1.1
2024-01-11 14:29:53 +01:00
renovate[bot]
75758e5cf8
Update dependency com.posthog:posthog-android to v3.1.1 2024-01-11 12:18:35 +00:00
Benoit Marty
cdd5124e32 Fix detekt issue. 2024-01-11 11:56:50 +01:00
Benoit Marty
d01c70a4fd Fix moar ktlint issues 2024-01-11 11:24:10 +01:00
Benoit Marty
5d086ad82d Fix moar ktlint issues 2024-01-11 10:02:10 +01:00
renovate[bot]
9ed2f6099d
Update lifecycle to v2.7.0 2024-01-10 18:36:08 +00:00
Benoit Marty
a831f05f6e Fix ktlint issues 2024-01-10 19:33:39 +01:00
Benoit Marty
140a11cf77 Ignore ktlint issue for this particular class. 2024-01-10 19:31:36 +01:00
Benoit Marty
64231044a7 Ignore ktlint issue for this particular object. 2024-01-10 19:31:36 +01:00
Benoit Marty
bac1e3902c Ignore ktlint issue for this particular val. 2024-01-10 19:31:36 +01:00
Benoit Marty
7572968e20 Ignore ktlint issue for this particular class. 2024-01-10 19:31:36 +01:00
Benoit Marty
99b38c8b0a Move doc to Kdoc and fix formatting issue. 2024-01-10 19:31:36 +01:00
Benoit Marty
e421dd2f14 Ktlint: disable rule standard:blank-line-before-declaration. 2024-01-10 19:31:36 +01:00
Benoit Marty
159b2f5c0a Ktlint: disable rule standard:function-naming for Composable function.
From https://github.com/pinterest/ktlint/issues/2259#issuecomment-1732333419
2024-01-10 19:31:36 +01:00
Benoit Marty
2e3b22009e Ktlint: disable rule standard:parameter-list-wrapping and standard:indent. 2024-01-10 19:31:36 +01:00
Benoit Marty
e9517f2bb3 Ktlint: disable rule standard:annotation. 2024-01-10 19:31:36 +01:00
Benoit Marty
b948a837ad Ktlint: disable rule standard:function-signature.
tom
2024-01-10 19:31:36 +01:00
Benoit Marty
3c3e85ed7c Ktlint: disable rule standard:multiline-expression-wrapping.
Need to also disable rule string-template-indent as a side effect.
2024-01-10 19:31:36 +01:00
Benoit Marty
dd919adb54 Update broken link 2024-01-10 19:31:36 +01:00
Benoit Marty
a28fd0c2e4 Upgrade ktlint to version 1.1.1.
Need to disable `ktlint_standard:trailing-comma-on-declaration-site` else got this error:
Skipping rule(s) which are depending on a rule which is not loaded. Please check if you need to add additional rule sets before creating an issue.
  - Rule with id 'RuleId(value=standard:trailing-comma-on-declaration-site)' requires rule with id 'RuleId(value=standard:wrapping)' to be loaded
2024-01-10 18:27:54 +01:00
renovate[bot]
c8bd362397
Update plugin ktlint to v12.1.0 (#2200)
* Update plugin ktlint to v12.1.0

* Run `./gradlew ktlintFormat` and fix some issues manually.

* Fix other issues reproted by Ktlint

* Limit false positives, KtLint removes unnecessary curly brace in String templates.

* Remove useless Unit

* Minor improvements over ktlint changes

* Restore `AlertDialogContent` behaviour

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-10 16:22:24 +01:00
Benoit Marty
7e1866818e
Merge pull request #2198 from element-hq/renovate/io.nlopez.compose.rules-detekt-0.x
Update dependency io.nlopez.compose.rules:detekt to v0.3.9
2024-01-10 10:53:20 +01:00
Benoit Marty
628149ff62
Merge branch 'develop' into renovate/io.nlopez.compose.rules-detekt-0.x 2024-01-10 09:39:28 +01:00
Jorge Martin Espinosa
13e8e954d3
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
371065bfdd Exclude ContentToPreview from coverage, either by using annotation @ExcludeFromCoverage, or by inlining it. 2024-01-09 17:56:01 +01:00
Benoit Marty
5e42368965 Add missing test for LogoutView 2024-01-09 17:53:24 +01:00
Benoit Marty
2bdf2c0bbd
Merge pull request #1782 from element-hq/feature/bma/upgradeKover
Upgrade kover
2024-01-09 17:52:14 +01:00
Benoit Marty
45fd075752 Kover: we need Xml report as well. 2024-01-09 17:15:37 +01:00
Benoit Marty
b4481dc2a8 Fix the wrong coverage report
It wasn't taking into account any test result from the debug runs or screenshot tests

Co-authored-by: Jorge Martin Espinosa <jorgem@element.io>
2024-01-09 17:07:26 +01:00
renovate[bot]
ffb0fbdbdf
Update dependency io.nlopez.compose.rules:detekt to v0.3.9 2024-01-09 13:16:24 +00:00
Benoit Marty
07776f0104
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
e8c6226586
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
80c69e7cf7 Migrate "When running on the CI, run only debug test variants".
Following notice here: https://github.com/Kotlin/kotlinx-kover/blob/v0.7.0/docs/gradle-plugin/migrations/migration-to-0.7.0.md#using-isdisabled-boolean-is-an-error-kover-test-task-config-was-removed
2024-01-09 11:04:28 +01:00
Benoit Marty
3b06576d21 Upgrade Kover to 0.7.5 2024-01-09 10:51:30 +01:00
Benoit Marty
5da6f21447 Remove empty module 2024-01-09 10:45:36 +01:00
Benoit Marty
54e499d0d0 Remove empty test module 2024-01-09 10:45:36 +01:00