Commit graph

8780 commits

Author SHA1 Message Date
Benoit Marty
7ece687740
Merge pull request #3574 from element-hq/feature/bma/improveMediaModel
Clarify model for Event with attachment
2024-10-16 14:57:05 +02:00
Benoit Marty
95941fc95e
Merge pull request #3681 from element-hq/feature/bma/rtlIssue
RTL: ensure sender information are correctly rendered in the timeline
2024-10-16 12:01:17 +02:00
Benoit Marty
9dc58fcaeb
Merge pull request #3673 from element-hq/feature/bma/previewProviderName
Improve preview provider name consistency
2024-10-16 11:45:15 +02:00
Benoit Marty
2c253be3ab
Merge pull request #3685 from element-hq/feature/bma/callImprovment
Call: ensure that the microphone is working when the application is backgrounded.
2024-10-16 11:44:56 +02:00
Benoit Marty
1127e6b854 Use size from the DrawScope. 2024-10-16 11:26:26 +02:00
Benoit Marty
6e27266988 Rename some classes which implement PreviewParameterProvider according to the new naming convention.
`Provider` suffix is enough and more used than `PreviewProvider`, so let's make the codebase more consistent.
2024-10-16 11:17:46 +02:00
Benoit Marty
576658988f Improve test Classes extending 'PreviewParameterProvider' name MUST end with 'Provider' and MUST contain provided class name 2024-10-16 11:17:45 +02:00
Benoit Marty
d7ca0c13c8
Merge pull request #3669 from element-hq/feature/bma/reduceIndentation
Ensure selectedRoomMember is not null to reduce code indentation.
2024-10-16 11:16:21 +02:00
Benoit Marty
ce318b3719
Merge pull request #3686 from element-hq/feature/bma/identityChangeWording
Add userId in identity change warning banner
2024-10-16 11:15:56 +02:00
Benoit Marty
44eb58caad
Merge pull request #3672 from element-hq/bma/cleanupTests
Cleanup tests
2024-10-16 11:15:36 +02:00
Jorge Martin Espinosa
2e9dce391b
Refresh room summaries when date or time changes in the device (#3683)
* Add `DateTimeObserver` to rebuild the room summary data when the date/time changes.

* Add time changed action too, to trigger when the user manually changes date/time

* Fix timezone issue by adding `TimezoneProvider`, fix tests

* Create test for `DateTimeObserver` usage in `RoomListDataSource`

* Create aRoomListRoomSummaryFactory function.

* Improve test by faking the lastMessageTimestampFormatter

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-10-16 09:10:58 +00:00
Benoit Marty
269551366c Let FakeKnockRoom and FakeLogoutUseCase use simulateLongTask 2024-10-16 10:03:19 +02:00
Benoit Marty
d5bf8ae42f Safer code. 2024-10-16 10:03:19 +02:00
Benoit Marty
25e3aa6fc4 Remove runBlocking usage in LambdaRecorder. 2024-10-16 10:03:18 +02:00
Benoit Marty
6392404c3a Fix tests. 2024-10-16 10:01:04 +02:00
Benoit Marty
5d09d9c7f4 Add test on isCallActive 2024-10-16 09:54:39 +02:00
Benoit Marty
d8779f038b Neat: do not compute audioAttributes if not necessary. 2024-10-16 09:31:07 +02:00
Benoit Marty
cf80b3b804 Set Active call immediately when not in widget mode. 2024-10-16 09:28:06 +02:00
Benoit Marty
0562b2ffdb
Merge pull request #3687 from element-hq/renovate/app.cash.licensee-1.x
Update plugin licensee to v1.12.0
2024-10-16 08:45:41 +02:00
renovate[bot]
b8a7c30857
Update plugin licensee to v1.12.0 2024-10-15 20:20:59 +00:00
ElementBot
0272788f3f Update screenshots 2024-10-15 16:13:17 +00:00
Benoit Marty
6e722d6a54 Add userId in identity change warning banner #3678 2024-10-15 18:02:23 +02:00
Benoit Marty
717d1b2440
Merge pull request #3641 from element-hq/renovate/mobile-dev-inc-action-maestro-cloud-1.x
Update mobile-dev-inc/action-maestro-cloud action to v1.9.2
2024-10-15 16:45:43 +02:00
Benoit Marty
5f42b7732b ElementCall: CallForegroundService now use the Microphone permissions. 2024-10-15 14:54:06 +02:00
Benoit Marty
b8ea3ce67d ElementCall: request audio focus and start CallForeground service only when the call is effectively started. 2024-10-15 14:50:26 +02:00
Benoit Marty
a4966ef896
Merge pull request #3667 from element-hq/feature/bma/asyncActionConfirmingWithParam
AsyncAction confirming with param
2024-10-15 12:28:03 +02:00
Benoit Marty
830304f8cd
Merge pull request #3680 from element-hq/feature/bma/storeDescription
Update store description
2024-10-15 10:52:32 +02:00
Benoit Marty
9c2a08e269 RTL: ensure the sender information are displayed at the start of the screen. 2024-10-15 10:39:59 +02:00
Benoit Marty
5e6f5f4449 RTL: ensure the top start corner is cropped. 2024-10-15 10:32:26 +02:00
Benoit Marty
8e8353caaf
Merge pull request #3640 from element-hq/renovate/io.sentry-sentry-android-7.x
Update dependency io.sentry:sentry-android to v7.15.0
2024-10-15 09:01:13 +02:00
Benoit Marty
b2ea39ebbe
Merge pull request #3670 from element-hq/feature/bma/fixCanInviteRefresh
Fix issue on canInvite refresh.
2024-10-15 09:00:09 +02:00
Benoit Marty
bfc1b8830e
Merge pull request #3668 from element-hq/feature/bma/noNeedForLaunch
No need to launch a coroutine here.
2024-10-15 08:59:32 +02:00
Benoit Marty
67f1752405 Add permission rationale (required by Google and already done on the PlayStore console) 2024-10-15 08:56:07 +02:00
Benoit Marty
b40cce1909 Fix typo in the description. 2024-10-15 08:55:33 +02:00
Benoit Marty
ed9046f822
Merge pull request #3677 from element-hq/renovate/android.gradle.plugin
Update android.gradle.plugin to v8.7.1
2024-10-14 23:35:04 +02:00
renovate[bot]
90c74d7571
Update android.gradle.plugin to v8.7.1 2024-10-14 19:51:09 +00:00
Benoit Marty
963a77637f
Merge pull request #3676 from element-hq/renovate/io.element.android-compound-android-0.x
Update dependency io.element.android:compound-android to v0.1.1
2024-10-14 21:50:14 +02:00
Benoit Marty
3b426705f7 Import fun 2024-10-14 21:13:52 +02:00
Benoit Marty
a7328c705c Fix regression due to icon now supports RTL. 2024-10-14 21:13:50 +02:00
Benoit Marty
76e8e8ffae Remove useless return 2024-10-14 20:58:51 +02:00
renovate[bot]
9fd6969ee7
Update dependency io.sentry:sentry-android to v7.15.0 2024-10-14 15:50:37 +00:00
renovate[bot]
5c10827fce
Update dependency io.element.android:compound-android to v0.1.1 2024-10-14 15:49:48 +00:00
Benoit Marty
cde55834b5
Merge pull request #3674 from element-hq/renovate/com.posthog-posthog-android-3.x
Update dependency com.posthog:posthog-android to v3.8.2
2024-10-14 17:49:28 +02:00
Benoit Marty
18129cc5a7
Merge pull request #3675 from element-hq/renovate/io.nlopez.compose.rules-detekt-0.x
Update dependency io.nlopez.compose.rules:detekt to v0.4.16
2024-10-14 17:49:01 +02:00
renovate[bot]
921bc37b3c
Update dependency io.nlopez.compose.rules:detekt to v0.4.16 2024-10-14 14:58:55 +00:00
renovate[bot]
e426186040
Update dependency com.posthog:posthog-android to v3.8.2 2024-10-14 14:58:48 +00:00
Benoit Marty
77df6b8f52
Merge pull request #3663 from element-hq/gradlew-update-8.10.2
Update Gradle Wrapper from 8.10 to 8.10.2
2024-10-14 16:57:50 +02:00
Benoit Marty
e5a8180acc Fix issue on canInvite refresh. 2024-10-14 12:16:01 +02:00
Benoit Marty
e697b4c942 Ensure selectedRoomMember is not null to reduce code indentation. 2024-10-14 12:08:49 +02:00
Benoit Marty
212e5761ec No need to launch a coroutine here. 2024-10-14 12:04:37 +02:00