Commit Graph

6738 Commits

Author SHA1 Message Date
Benoit Marty 873843b669 ConfirmAccountProviderEvents -> ConfirmAccountProviderEvent 2026-08-25 10:01:42 +02:00
Benoit Marty 1fd102ffc3 ChooseAccountProviderEvents -> ChooseAccountProviderEvent 2026-08-25 10:01:04 +02:00
Benoit Marty 0ee7ed3a78 ChangeServerEvents -> ChangeServerEvent 2026-08-25 10:00:15 +02:00
Benoit Marty e07099f116 PermissionsEvents -> PermissionsEvent 2026-08-25 09:59:31 +02:00
Benoit Marty ee30d6aa41 KnockRequestsListEvents -> KnockRequestsListEvent 2026-08-25 09:58:53 +02:00
Benoit Marty 7da820464f KnockRequestsBannerEvents -> KnockRequestsBannerEvent 2026-08-25 09:58:15 +02:00
Benoit Marty 19221a8042 JoinRoomEvents -> JoinRoomEvent 2026-08-25 09:57:38 +02:00
Benoit Marty 55a7d278c9 DefaultInvitePeopleEvents -> DefaultInvitePeopleEvent 2026-08-25 09:56:59 +02:00
Benoit Marty 983d05fc13 InvitePeopleEvents -> InvitePeopleEvent 2026-08-25 09:56:23 +02:00
Benoit Marty 4c56833ada DeclineAndBlockEvents -> DeclineAndBlockEvent 2026-08-25 09:55:46 +02:00
Benoit Marty e395efe730 InternalAcceptDeclineInviteEvents -> InternalAcceptDeclineInviteEvent 2026-08-25 09:55:09 +02:00
Benoit Marty 91aa9ce24f AcceptDeclineInviteEvents -> AcceptDeclineInviteEvent 2026-08-25 09:54:32 +02:00
Benoit Marty fe57cfa991 HomeSpacesEvents -> HomeSpacesEvent 2026-08-25 09:53:54 +02:00
Benoit Marty 3ae9ba74b4 NotificationsOptInEvents -> NotificationsOptInEvent 2026-08-25 09:53:16 +02:00
Benoit Marty 17a3db246f ForwardMessagesEvents -> ForwardMessagesEvent 2026-08-25 09:52:38 +02:00
Benoit Marty e1e2718c54 AccountDeactivationEvents -> AccountDeactivationEvent 2026-08-25 09:52:00 +02:00
Benoit Marty dff9af9ce0 ConfigureRoomEvents -> ConfigureRoomEvent 2026-08-25 09:51:17 +02:00
Benoit Marty 7353e0e476 AnalyticsOptInEvents -> AnalyticsOptInEvent 2026-08-25 09:50:39 +02:00
bxdxnn b08224fedb Merge 2026-08-24 20:09:11 +00:00
bxdxnn 3d400bad4a Merge 2026-08-24 20:04:47 +00:00
Benoit Marty 9586478039 Updates to text sizes in Chats header and Space hero
Closes #7476
2026-08-24 18:58:54 +02:00
Benoit Marty b2b0927ea9 Merge branch 'develop' into fix/6371-save-file-name-conflicts 2026-08-24 18:14:03 +02:00
Jenna Vassar feb87ead8d Make the account provider screen scrollable so its description is not clipped by the keyboard 2026-08-24 08:59:11 -07:00
Benoit Marty e50dee8b9c Remove UserStatus feature flag. 2026-08-24 16:22:08 +02:00
Benoit Marty a3a0fdd0e9 Merge branch 'develop' into fix/4657-preview-param-suffix 2026-08-24 14:08:52 +02:00
Benoit Marty 0c21dbfedb Merge pull request #7515 from element-hq/feature/bma/fixLint
Fix lint issue, ensure that PiP methods are not called on old devices not supporting them.
2026-08-24 14:08:13 +02:00
Benoit Marty 0d3d8c8456 Fix lint issue, ensure that PiP methods are not called on old devices not supporting them. 2026-08-24 12:52:39 +02:00
bxdxnn 65a827559b Merge 2026-08-24 10:30:25 +00:00
Benoit Marty 7d70bd32e2 Add missing annotation 2026-08-24 12:00:32 +02:00
Benoit Marty e6116d5840 Move all binding containers to a di package and normalize their method names
Every @BindingContainer now lives in a di subpackage, in a file named after
it. Containers that were declared inside a shared file (SimplePlayer.kt,
LockScreenConfig.kt, VoiceMessagePresenter.kt, TimelineItemPresenterFactories.kt,
MediaItemPresenterFactories.kt) are extracted into their own file.

Method names are made consistent too:
- @Binds functions are named bind<ConcreteParameterType>, fixing three that
  named something else (notably RoomAliasResolverBindingContainer, whose
  provider was still called providesJoinRoomPresenterFactory).
- @Provides functions are named after what they provide, and all use the
  provides prefix rather than a mix of provide and provides.

ANDROID_KEYSTORE moves back to the cryptography impl package, next to
KeyStoreSecretKeyRepository which uses it; it is not DI specific and would
otherwise be unreachable from there.

No behaviour change: Metro discovers containers via @ContributesTo and does
not care about method names, so the only call site to follow was in
DefaultVoiceRecorderTest.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-24 11:38:11 +02:00
Benoit Marty 1018d26211 Rename all @BindingContainer types with a BindingContainer suffix
Metro's @BindingContainer replaced Dagger's @Module, but the declarations
kept the old Module suffix. Rename them (and their dedicated files) so the
type name matches the annotation, matching UserStatusBindingContainer which
already followed this convention.

No behaviour change: Metro discovers containers via @ContributesTo, so there
were only two call sites to update, both in tests.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-24 10:08:54 +02:00
hayaksi1 23005317cf Merge develop into the PreviewParam rename
The 174 commits develop gained since this branch was cut touch preview data
in three ways, and each is resolved so the flipped konsist rule still holds
across the merged tree.

Two screens the branch had renamed were deleted upstream by "Remove the
account provider search screen and homeserver resolver": the
changeaccountprovider and searchaccountprovider packages. Their deletion
wins, so ChangeAccountProviderStatePreviewParam, SearchAccountProviderStatePreviewParam
and the two views that used them go with them rather than coming back
under the new name.

Two preview classes develop added still carried the old suffix and are
renamed here, along with the `@PreviewParameter` reference in each view:
GlobalSearchStateProvider -> GlobalSearchStatePreviewParam and
SendFailureDialogStateProvider -> SendFailureDialogStatePreviewParam.

Everything else merged textually. No production class extending
PreviewParameterProvider is left with a `Provider` name, and no reference
to any of the 194 renamed names survives outside the CHANGES.md entry that
records a past pull request title.
2026-08-24 10:55:40 +03:00
Benoit Marty 4c4cdd1678 Merge branch 'develop' into fix/6371-save-file-name-conflicts 2026-08-24 09:38:35 +02:00
Benoit Marty 4cde4b40c6 Merge pull request #6676 from bxdxnn/misc/reactions-pinned-messages
Show reactions in the pinned messages list
2026-08-24 09:37:51 +02:00
Benoit Marty 679c6e4786 Merge pull request #7410 from element-hq/feat/global-search-screen
Feature: global search
2026-08-24 09:34:35 +02:00
Benoit Marty a33a84a684 Merge pull request #7500 from element-hq/feature/account-provider-full-mxid
Let users enter their full Matrix user ID on the account provider screen
2026-08-24 08:24:50 +02:00
Benoit Marty 45d9339bfa Merge pull request #7495 from element-hq/refactor/add-client-enterprise-hooks
Add `ClientEnterpriseHook` and `ClientBuilderEnterpriseHook`
2026-08-22 08:10:50 +02:00
Benoit Marty b59afe7561 No need for @SingleIn 2026-08-21 18:11:26 +02:00
Jenna Vassar 2182840a71 Let users enter their full Matrix user ID on the account provider screen 2026-08-21 08:53:23 -07:00
Benoit Marty 27b58705f3 Fix compilation issue. 2026-08-21 17:51:18 +02:00
Jorge Martín c56bb66307 Fix ClientBuilderEnterpriseHook not returning an updated ClientBuilder 2026-08-21 17:32:45 +02:00
Benoit Marty 82d17b67e4 Merge pull request #7435 from hayaksi1/fix/5623-share-unlisted-mime-type
Share a file whose mime type is not one of the supported ones
2026-08-21 16:53:48 +02:00
Benoit Marty eeaf0166f5 Merge pull request #7443 from hayaksi1/fix/4519-hide-verification-fallback
Do not render in-chat key verification requests in the timeline
2026-08-21 16:52:58 +02:00
Jorge Martín b52ed580b1 Add more tests 2026-08-21 16:19:36 +02:00
Jorge Martín e3b72446cc Fix displaying the 'ready to search' state for message search after deleting the query 2026-08-21 16:10:44 +02:00
Benoit Marty 586805bcfb Merge pull request #7463 from hayaksi1/fix/4460-focused-timeline-pagination
Keep a focused timeline focused until the event has been rendered
2026-08-21 16:00:41 +02:00
Benoit Marty 441c88244f Merge pull request #7490 from element-hq/feature/bma/sendingMessageFailedReason
Show dialog with reason when user clicks on a message with a failure
2026-08-21 15:59:01 +02:00
Jorge Martín 0a624c1550 Fix empty state for room search 2026-08-21 15:51:39 +02:00
Benoit Marty 9935f91bc7 Fix wrong binding 2026-08-21 15:42:20 +02:00
hayaksi1 8a32e3d4bf Order the outgoing verification state machine imports
ktlint's import-ordering rule expects lexicographic order within the
first group, so TimeoutCancellationException has to precede delay.
2026-08-21 16:40:49 +03:00