Benoit Marty
fcb84016ca
Ensure client secret is deleted when the user signs out.
2024-01-16 14:34:06 +01:00
Benoit Marty
504ff46f1b
Also delete the preference file when the store is reset.
2024-01-16 14:14:04 +01:00
Benoit Marty
9f4164a287
Migrate preferencesDataStoreFile to a file using a hash, to fix a crash if the userId is too long.
2024-01-16 14:13:41 +01:00
Benoit Marty
a9776f9fcb
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
3a37460814
Sync Strings ( #2230 )
...
Co-authored-by: bmarty <bmarty@users.noreply.github.com >
2024-01-15 09:21:04 +01:00
Jorge Martin Espinosa
c6402f3c02
Hide verbose state events from the timeline ( #2225 )
2024-01-12 21:23:52 +00:00
renovate[bot]
530a0030f0
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]
62d2695a32
Update dependency io.sentry:sentry-android to v7.2.0
2024-01-12 13:57:13 +00:00
Jorge Martin Espinosa
e859b58f09
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
d76ee23514
Merge pull request #2202 from element-hq/feature/bma/removeReadReceiptFlag
...
Remove ReadReceipts feature flag.
2024-01-11 17:13:35 +01:00
Benoit Marty
56b1aa6b49
Merge pull request #2193 from element-hq/feature/bma/sxcludePreviewFromCodeCoverage
...
Exclude preview from code coverage
2024-01-11 16:47:07 +01:00
ganfra
36e6aa774c
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
a926b3d390
Merge branch 'develop' into feature/bma/sxcludePreviewFromCodeCoverage
2024-01-11 16:02:58 +01:00
Benoit Marty
ec6ef6fc8f
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
439c2f191b
Ensure preview are not impacted when removing the ReadReceipt feature flag.
2024-01-11 15:58:36 +01:00
Benoit Marty
4dcafb6aa6
Remove ReadReceipts feature flag.
2024-01-11 15:57:59 +01:00
Benoit Marty
cd1b80ef18
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]
851e7b9d6a
Update dependency com.posthog:posthog-android to v3.1.1
2024-01-11 12:18:35 +00:00
Benoit Marty
1456cde3a7
Fix detekt issue.
2024-01-11 11:56:50 +01:00
Benoit Marty
72a363c244
Fix moar ktlint issues
2024-01-11 11:24:10 +01:00
Benoit Marty
378692f743
Fix moar ktlint issues
2024-01-11 10:02:10 +01:00
renovate[bot]
b30ff4a6d4
Update lifecycle to v2.7.0
2024-01-10 18:36:08 +00:00
Benoit Marty
d3830af78b
Fix ktlint issues
2024-01-10 19:33:39 +01:00
Benoit Marty
246c33589a
Ignore ktlint issue for this particular class.
2024-01-10 19:31:36 +01:00
Benoit Marty
7b699d96c0
Ignore ktlint issue for this particular object.
2024-01-10 19:31:36 +01:00
Benoit Marty
3084d71c39
Ignore ktlint issue for this particular val.
2024-01-10 19:31:36 +01:00
Benoit Marty
206a69938f
Ignore ktlint issue for this particular class.
2024-01-10 19:31:36 +01:00
Benoit Marty
005db3dc88
Move doc to Kdoc and fix formatting issue.
2024-01-10 19:31:36 +01:00
Benoit Marty
e57da37657
Ktlint: disable rule standard:blank-line-before-declaration.
2024-01-10 19:31:36 +01:00
Benoit Marty
b97b1aa932
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
fe8024d34f
Ktlint: disable rule standard:parameter-list-wrapping and standard:indent.
2024-01-10 19:31:36 +01:00
Benoit Marty
5512e7e5b9
Ktlint: disable rule standard:annotation.
2024-01-10 19:31:36 +01:00
Benoit Marty
3643fe151d
Ktlint: disable rule standard:function-signature.
...
tom
2024-01-10 19:31:36 +01:00
Benoit Marty
2bc9b25472
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
e9e3a4738e
Update broken link
2024-01-10 19:31:36 +01:00
Benoit Marty
807d869c52
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]
7e9cda3aa9
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
675cc525cf
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
93b35a33a1
Merge branch 'develop' into renovate/io.nlopez.compose.rules-detekt-0.x
2024-01-10 09:39:28 +01:00
Jorge Martin Espinosa
e762584a37
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
7fbe848243
Exclude ContentToPreview from coverage, either by using annotation @ExcludeFromCoverage, or by inlining it.
2024-01-09 17:56:01 +01:00
Benoit Marty
7baaac09ba
Add missing test for LogoutView
2024-01-09 17:53:24 +01:00
Benoit Marty
ae424ffe6a
Merge pull request #1782 from element-hq/feature/bma/upgradeKover
...
Upgrade kover
2024-01-09 17:52:14 +01:00
Benoit Marty
b40d661acd
Kover: we need Xml report as well.
2024-01-09 17:15:37 +01:00
Benoit Marty
ffa59333a1
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]
507d7b03d1
Update dependency io.nlopez.compose.rules:detekt to v0.3.9
2024-01-09 13:16:24 +00:00
Benoit Marty
522179e837
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
7008b403c0
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
8f2a1e9e2d
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
b727312040
Upgrade Kover to 0.7.5
2024-01-09 10:51:30 +01:00