Commit Graph

8806 Commits

Author SHA1 Message Date
Benoit Marty
5314bf157f Merge pull request #3699 from element-hq/renovate/compose.bom
Update dependency androidx.compose:compose-bom to v2024.10.00
2024-10-17 16:27:30 +02:00
renovate[bot]
2d16a4db6a Update activity to v1.9.3 (#3697)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-17 08:05:32 +00:00
Benoit Marty
80a052c7cf Merge pull request #3694 from element-hq/feature/bma/oidcPrompt
OIDC prompt
2024-10-17 09:16:02 +02:00
renovate[bot]
9a13fe52b1 Update dependency androidx.compose:compose-bom to v2024.10.00 2024-10-16 22:32:22 +00:00
Benoit Marty
71a0d2c565 Merge pull request #3695 from element-hq/feature/bma/improveComposerPaddings
Improve composer paddings
2024-10-16 22:55:51 +02:00
Benoit Marty
53c252cb2d Merge pull request #3696 from element-hq/renovate/app.cash.turbine-turbine-1.x
Update dependency app.cash.turbine:turbine to v1.2.0
2024-10-16 22:26:19 +02:00
renovate[bot]
26c0205112 Update dependency app.cash.turbine:turbine to v1.2.0 2024-10-16 15:58:44 +00:00
Benoit Marty
f1391a1e9e Merge pull request #3671 from element-hq/bma/improveRoomModeration
Improve room moderation
2024-10-16 17:57:22 +02:00
Benoit Marty
d6407d6995 Restore fun interface for a sweeter code. 2024-10-16 17:12:46 +02:00
Benoit Marty
62f6791865 Remove unused isLocal field. 2024-10-16 16:19:04 +02:00
Benoit Marty
383cfd323a Use Create prompt when user already said they wanted to create an account #3627. 2024-10-16 16:10:19 +02:00
Benoit Marty
58f0cbc5cf Fix wrong mapping 2024-10-16 16:10:18 +02:00
Benoit Marty
83de862fc1 Fix other API change: EventShieldsProvider and EventTimelineItemDebugInfoProvider have been replaced by LazyTimelineItemProvider 2024-10-16 16:10:16 +02:00
Benoit Marty
5027fb5fe3 Fix other API change: map new value Membership.KNOCKED 2024-10-16 16:09:33 +02:00
Benoit Marty
2724815d79 Fix other API change: body renamed to filename 2024-10-16 16:09:32 +02:00
Benoit Marty
3f58f4b793 Fix API update regrading OidcPrompt. 2024-10-16 14:58:04 +02:00
Benoit Marty
8acc4173d3 SDK 0.2.54 2024-10-16 14:58:04 +02:00
Benoit Marty
95a49a626d Merge pull request #3574 from element-hq/feature/bma/improveMediaModel
Clarify model for Event with attachment
2024-10-16 14:57:05 +02:00
ElementBot
f209f81dfc Update screenshots 2024-10-16 12:28:04 +00:00
Benoit Marty
82519cf7a4 Reduce start padding, the InReplyToView already have a 8 end padding. 2024-10-16 14:11:57 +02:00
Benoit Marty
07848a30dc Add preview on ComposerModeView 2024-10-16 14:11:55 +02:00
Benoit Marty
097d0567ac Extract methods aMessageComposerModeEdit() and aMessageComposerModeReply() 2024-10-16 13:50:58 +02:00
Benoit Marty
751b5f73bf Reduce end padding of the composer, to give more space when composing messages. 2024-10-16 13:37:50 +02:00
Benoit Marty
2c66e3a128 Change type of parameter to MessageComposerMode.Special 2024-10-16 13:01:09 +02:00
Benoit Marty
99a5ae14ff 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
9aafcc7564 The name ConfirmingBanUser was wrong since it was used to confirm a unban action. Better to keep a generic name, in case this class is used for any other action. 2024-10-16 11:58:54 +02:00
ElementBot
0baa0dbfc3 Update screenshots 2024-10-16 11:49:16 +02:00
Benoit Marty
d468a009d5 Room moderation: make it more reactive and simplify the code. 2024-10-16 11:49:15 +02:00
Benoit Marty
ba9f0018f8 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
0b31231711 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
4ec7e6fa87 Use size from the DrawScope. 2024-10-16 11:26:26 +02:00
Benoit Marty
0113cd522d 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
2513ae769f 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
44b37587cc 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
2ef302cb8c 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
6c870f5f63 Merge pull request #3672 from element-hq/bma/cleanupTests
Cleanup tests
2024-10-16 11:15:36 +02:00
Jorge Martin Espinosa
6b2aa7eb8c 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
85b1b9b542 Let FakeKnockRoom and FakeLogoutUseCase use simulateLongTask 2024-10-16 10:03:19 +02:00
Benoit Marty
74725bc89f Safer code. 2024-10-16 10:03:19 +02:00
Benoit Marty
202a7d0544 Remove runBlocking usage in LambdaRecorder. 2024-10-16 10:03:18 +02:00
Benoit Marty
fe6c381500 Fix tests. 2024-10-16 10:01:04 +02:00
Benoit Marty
9e5ce39c4d Add test on isCallActive 2024-10-16 09:54:39 +02:00
Benoit Marty
36c3b1cff5 Neat: do not compute audioAttributes if not necessary. 2024-10-16 09:31:07 +02:00
Benoit Marty
a9091c6ea6 Set Active call immediately when not in widget mode. 2024-10-16 09:28:06 +02:00
Benoit Marty
b15ebfda87 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]
9dcce54121 Update plugin licensee to v1.12.0 2024-10-15 20:20:59 +00:00
ElementBot
d8daa1c2a9 Update screenshots 2024-10-15 16:13:17 +00:00
Benoit Marty
9fc6b01a0c Add userId in identity change warning banner #3678 2024-10-15 18:02:23 +02:00
Benoit Marty
56120fc06d 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
35d94bbda7 ElementCall: CallForegroundService now use the Microphone permissions. 2024-10-15 14:54:06 +02:00