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
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
Benoit Marty
4f872b3189
Remove empty module
2024-01-09 10:45:36 +01:00
Benoit Marty
b377da22ad
Remove empty test module
2024-01-09 10:45:36 +01:00
Jorge Martín
89762f20be
Fix crash when sending image with latest posthog
2024-01-08 16:12:22 +01:00
Benoit Marty
7ab3e968bf
Let Renovate upgrade Kover again.
2024-01-08 14:17:37 +01:00
Jorge Martin Espinosa
3954612a72
Hide keyboard when tapping on a message in the timeline ( #2187 )
...
* Hide keyboard when tapping on a message in the timeline if it would result in navigating to another screen
2024-01-08 14:02:57 +01:00
renovate[bot]
cc13df3efc
Update dependency io.mockk:mockk to v1.13.9 ( #2185 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-08 11:19:15 +00:00
Benoit Marty
3846c6778d
Merge pull request #2191 from element-hq/feature/bma/fixRRCrash
...
Do not use sublist as it crashes if `index > items.count()`.
2024-01-08 12:09:19 +01:00
Benoit Marty
a6a5216867
Merge pull request #2175 from element-hq/feature/bma/composeTest
...
Add first tests on compose click interaction.
2024-01-08 11:43:31 +01:00
Benoit Marty
a424cb0a6a
exclude items.count(), which is not a valid index for the list.
2024-01-08 11:41:29 +01:00
Benoit Marty
66201c6e58
Do not use sublist as it crashes if index > items.count(). Using range is safer.
...
Fix https://github.com/element-hq/element-x-android-rageshakes/issues/1301
2024-01-08 11:26:50 +01:00
Benoit Marty
ed7de8944d
Merge pull request #2189 from element-hq/renovate/com.posthog-posthog-android-3.x
...
Update dependency com.posthog:posthog-android to v3.1.0
2024-01-08 11:04:43 +01:00
Benoit Marty
0628ceabc1
Iterate on EnsureCalledOnce devX
2024-01-08 10:07:48 +01:00
Benoit Marty
ba2c297118
Add run method to EnsureCalledOnce and EnsureCalledOnceWithParam to ensure that assertSuccess is always called.
2024-01-08 10:01:26 +01:00
renovate[bot]
0552f8e9d9
Update dependency com.posthog:posthog-android to v3.1.0
2024-01-08 08:58:09 +00:00
Benoit Marty
acc5f647c2
Merge pull request #2177 from element-hq/renovate/anvil
...
Update anvil to v2.4.9-1-8
2024-01-08 09:55:54 +01:00
Benoit Marty
2865e7df41
Merge pull request #2131 from element-hq/feature/bma/sendImageFromKeyboard
...
Add support for sending images from the keyboard
2024-01-08 09:55:38 +01:00
Benoit Marty
6798352fb7
Use string resource instead of hard-coded strings.
2024-01-08 09:50:08 +01:00
Benoit Marty
6b2f79959d
Improve assertion message.
2024-01-08 09:35:14 +01:00
Benoit Marty
da0a796595
Use Anvil for Kotlin 1.9
2024-01-08 09:29:04 +01:00
Benoit Marty
77f5ab7c42
Merge pull request #2184 from element-hq/renovate/com.freeletics.flowredux-compose-1.x
...
Update dependency com.freeletics.flowredux:compose to v1.2.1
2024-01-08 09:27:09 +01:00
Benoit Marty
cbc86ea1e4
Merge branch 'develop' into feature/bma/sendImageFromKeyboard
2024-01-08 08:59:00 +01:00
Benoit Marty
5b02d83edb
Merge pull request #2186 from element-hq/sync-localazy
...
Sync Strings
2024-01-08 08:58:15 +01:00
renovate[bot]
ec022e707b
Update plugin dependencycheck to v9.0.8 ( #2179 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-08 08:51:51 +01:00
bmarty
06db67abe8
Sync Strings from Localazy
2024-01-08 00:10:36 +00:00
renovate[bot]
c3681c4c08
Update dependency com.freeletics.flowredux:compose to v1.2.1
2024-01-07 16:52:17 +00:00
renovate[bot]
eca6921ad8
Update anvil to v2.4.9-1-8
2024-01-06 01:36:49 +00:00
Benoit Marty
9c965b53d2
Merge pull request #2174 from element-hq/renovate/wysiwyg
...
Update wysiwyg to v2.24.0
2024-01-05 20:57:38 +01:00
Benoit Marty
a0eceeae8b
Fix test in release.
2024-01-05 18:20:26 +01:00
Benoit Marty
69e8384163
Add first tests on compose click interaction.
2024-01-05 18:00:44 +01:00
ganfra
5f927f1c18
Merge pull request #2173 from element-hq/feature/fga/invite_user_loader
...
Feature/fga/invite user loader
2024-01-05 16:46:38 +01:00