Commit graph

1674 commits

Author SHA1 Message Date
Benoit Marty
f49e2dd4e3 Add a shared dictionary to the project. 2023-05-31 11:57:47 +02:00
Benoit Marty
fccf194e7b Formatting: set LINE_BREAK_AFTER_MULTILINE_WHEN_ENTRY to false.
New default value for Android Studio is `true`.
2023-05-31 11:46:01 +02:00
Benoit Marty
b83dc0fd61 Add codeStyles generated file from Android Studio to VCS. 2023-05-31 11:40:32 +02:00
Marco Romano
1da242f63f Update pull_request.md (#490)
Grammar nits.
2023-05-31 09:24:01 +00:00
Benoit Marty
d5b4ea2674 Merge pull request #481 from vector-im/renovate/com.google.truth
Update dependency com.google.truth:truth to v1.1.4
2023-05-31 02:11:50 +02:00
renovate[bot]
ca59960e17 Update dependency com.google.truth:truth to v1.1.4 2023-05-30 19:11:42 +00:00
Chris Smith
6ad14aa223 Fix flaky media tests. (#479)
Creating a mock during the test run seems to sometimes take a
large amount of time when running the tests in parallel (possibly
some kind of resource contention?)

Instead, perform the mocking in the test class so it's part of
the setup, not the  actual test runs.
2023-05-30 13:57:03 +00:00
Benoit Marty
ff1147e611 Sync localazy to fix lint error. 2023-05-30 13:55:23 +02:00
renovate[bot]
33d90104dd Update plugin sonarqube to v4.1.0.3113 (#469)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-30 11:19:20 +00:00
renovate[bot]
67649507ff Update dependency com.google.firebase:firebase-bom to v32.1.0 (#470)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-30 11:19:11 +00:00
renovate[bot]
29fcfcf68c Update dependency io.gitlab.arturbosch.detekt to v1.23.0 (#454)
* Update dependency io.gitlab.arturbosch.detekt to v1.23.0

* Disable new detekt rules for unused params

UnusedParameter and UnusedPrivateProperty are both potentially
useful but we currently break them a lot, for the most part
in places that haven't been fully implemented yet.

The unused params are reported as build warnings anyway, so
we're not missing much by disabling these for now.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Chris Smith <csmith@lunarian.uk>
2023-05-30 11:18:51 +00:00
Benoit Marty
7f2b23507c Merge pull request #471 from vector-im/sync-localazy
Sync Strings
2023-05-30 13:06:51 +02:00
Benoit Marty
f202791d18 Trigger CI 2023-05-30 13:06:33 +02:00
Benoit Marty
08fdb40ef6 Merge pull request #467 from vector-im/feature/bma/reworkGrouper
Improve timeline rendering for message and state event
2023-05-30 12:39:25 +02:00
renovate[bot]
4a9b92a6fe Update dependency app.cash.turbine:turbine to v0.13.0 (#417)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-30 10:20:06 +00:00
renovate[bot]
de4c27a4de Update dependency com.squareup:kotlinpoet to v1.14.2 (#474)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-30 10:18:22 +00:00
Kat Gerasimova
ef6b562175 Merge pull request #466 from vector-im/kittykat-patch-2
Update triage automation for signoff
2023-05-30 11:12:25 +01:00
Benoit Marty
28ff9ea437 Reduce number of warnings 2023-05-30 11:43:38 +02:00
Benoit Marty
85f7a6aeb4 Record screenshots 2023-05-30 11:36:31 +02:00
Benoit Marty
03e2fa04cb Fix alignment issue when there is an error. 2023-05-30 11:34:34 +02:00
Benoit Marty
60593fb1d7 Add preview for TimelineEventTimestampView 2023-05-30 11:33:33 +02:00
Benoit Marty
483cedf66c Merge pull request #468 from vector-im/renovate/rnkdsh-action-upload-diawi-1.x
Update rnkdsh/action-upload-diawi action to v1.5.0
2023-05-30 11:18:55 +02:00
Benoit Marty
bf62be3b0f Record screenshots. 2023-05-30 11:09:38 +02:00
Benoit Marty
34980d34ad Improve preview again 2023-05-30 11:07:55 +02:00
Benoit Marty
0cbddd58bc Fix compilation issue after rebase. 2023-05-30 10:58:14 +02:00
Benoit Marty
25e432d24e Fix setting y offset to -12.dp can overlap a state event displayed above. Rework how the vertical offset are applied. 2023-05-30 10:50:06 +02:00
Benoit Marty
c590a32942 Move extension to a common file for code clarity. 2023-05-30 10:24:19 +02:00
Benoit Marty
929ed22cb3 Ensure GroupPosition is correct regarding Event which cannot be grouped. 2023-05-30 10:17:25 +02:00
Benoit Marty
6621163d27 Document [TimelineItemGroupPosition] and improve preview of [MessageEventBubble]. 2023-05-30 10:17:25 +02:00
Benoit Marty
6000a7ca5b Let TimelineItemsFactory group the item if necessary, so it's done on a computation dispatcher. Let the View manage the expanded/grouped state. 2023-05-30 10:16:16 +02:00
Jorge Martin Espinosa
09be5f4a6a Merge pull request #433 from vector-im/feature/fga/image_loading
Send and receive media
2023-05-29 20:33:41 +02:00
Jorge Martín
668b0e7273 Merge remote-tracking branch 'origin/develop' into feature/fga/image_loading 2023-05-29 18:11:53 +02:00
Jorge Martin Espinosa
d37c6e58e0 Revert RenderingMode to NORMAL in ScreenshotTest (#475)
* Revert `RenderingMode` to `NORMAL` in `ScreenshotTest`

* Remove no longer needed code
2023-05-29 18:00:57 +02:00
Jorge Martín
87990c425c Fix small issues, improve Result.flatMap 2023-05-29 13:58:29 +02:00
bmarty
175b7deccb Sync Strings from Localazy 2023-05-29 00:09:47 +00:00
renovate[bot]
4b268dacd1 Update rnkdsh/action-upload-diawi action to v1.5.0 2023-05-26 20:47:47 +00:00
ganfra
698e08573b Media: fix test compilation 2023-05-26 19:21:12 +02:00
ganfra
fce45b828c Media: generate again screenshots... 2023-05-26 19:13:51 +02:00
ganfra
b2a66ddafe Media: handle PR review remarks 2023-05-26 19:09:51 +02:00
ganfra
c72ecc4807 Media: clean a bit Timestamp rendering 2023-05-26 17:10:34 +02:00
Jorge Martín
15ff1a4d30 Timestamp improvements 2023-05-26 14:37:39 +02:00
Jorge Martín
fc464a35f9 Try to improve timestamp rendering for media 2023-05-26 14:28:37 +02:00
ganfra
462f8c138a Merge branch 'develop' into feature/fga/image_loading 2023-05-26 13:43:51 +02:00
ganfra
405a6073c6 Fix lint issue 2023-05-26 13:07:27 +02:00
Jorge Martin Espinosa
7aae71c2d4 Display timestamps for text messages (#465) 2023-05-26 10:51:15 +00:00
Kat Gerasimova
bbf1ad1adc Update triage automation for signoff 2023-05-26 11:40:02 +01:00
ganfra
2832c95c69 Media: update screenshots again 2023-05-26 12:20:51 +02:00
ganfra
ec4c511c66 Media : Fix small issues after merge 2023-05-26 12:16:14 +02:00
ganfra
2c0771ecc0 Merge branch 'develop' into feature/fga/image_loading 2023-05-26 11:39:34 +02:00
ganfra
2ec2c9b16f Media: continue improving VideoView 2023-05-26 11:29:49 +02:00