Benoit Marty
ca6fe31ff8
Simplify code.
2024-08-23 16:34:44 +02:00
Benoit Marty
c993daab44
Allow entering Pip mode when controls.canEnterPip() cannot be evaluated.
2024-08-23 16:28:13 +02:00
Benoit Marty
508e9106e2
Communicate with Element Call about PiP status.
...
Also only use eventSink to communicate with the Presenter, instead of having public methods.
Change WeakReference to an Activity to a listener and update tests.
2024-08-23 16:19:21 +02:00
Benoit Marty
6a9f233283
Merge pull request #3331 from element-hq/renovate/com.google.firebase-firebase-bom-33.x
...
Update dependency com.google.firebase:firebase-bom to v33.2.0
2024-08-23 11:44:09 +02:00
renovate[bot]
53fed442a4
Update dependency com.google.firebase:firebase-bom to v33.2.0
2024-08-23 04:45:32 +00:00
Jorge Martin Espinosa
49440ecef0
Improve the text for mentions and replies in notifications ( #3328 )
2024-08-22 17:25:44 +00:00
Benoit Marty
77195bfd5e
Merge pull request #3327 from element-hq/feature/bma/moreTests
...
Add unit test on MatrixRoom extension
2024-08-22 18:33:03 +02:00
Benoit Marty
89316b0a25
Reuse existing function
2024-08-22 15:25:04 +02:00
Benoit Marty
f7fe898e66
Add test on extension MatrixRoom.getCurrentRoomMember
2024-08-22 15:22:14 +02:00
Benoit Marty
4e82cb1ddc
Add test on extension MatrixRoom.getDirectRoomMember
2024-08-22 15:20:37 +02:00
Benoit Marty
c075cbaf42
Remove unused code.
2024-08-22 15:01:00 +02:00
Benoit Marty
eb520f5d9a
Merge pull request #3322 from element-hq/feature/bma/roomAliasCompletion
...
Suggestion for room alias (disabled for now)
2024-08-22 14:47:29 +02:00
networkException
12648c42de
Fix broken direct room member for rooms with old users that left ( #3324 )
...
This patch fixes getDirectRoomMember not respecting direct rooms
with more than two members total but only two active. This commonly
occurs when users migrate to a new account by adding a new account
to rooms and leaving with the old one.
Other parts of the codebase (such as the people room list filter)
already respect the active member count of a room instead of the
total (historic) number of unique members.
This fixes the room details screen not showing up correctly, for
example missing the avatar cluster.
Signed-off-by: networkException <git@nwex.de >
2024-08-22 14:47:13 +02:00
ElementBot
62f687ee86
Update screenshots
2024-08-22 11:54:08 +00:00
Benoit Marty
9e2aac8e44
Merge pull request #3323 from element-hq/renovate/compose.bom
...
Update dependency androidx.compose:compose-bom to v2024.08.00
2024-08-22 13:50:29 +02:00
Benoit Marty
91771d061a
Use extension getAvatarData
2024-08-22 13:39:25 +02:00
Benoit Marty
8c2240c579
Move package io.element.android.features.messages.impl.mentions to io.element.android.features.messages.impl.messagecomposer.suggestions
2024-08-22 13:31:58 +02:00
Benoit Marty
26a5da88f6
rename test function.
2024-08-22 13:26:05 +02:00
Benoit Marty
ccb3aef6a5
Rename MentionSuggestionsProcessor to SuggestionsProcessor since it's not only used for mentions.
2024-08-22 13:24:57 +02:00
Benoit Marty
49fba68492
Merge pull request #3325 from element-hq/renovate/telephoto
...
Update telephoto to v0.13.0
2024-08-22 11:13:36 +02:00
renovate[bot]
dd26b9fdfd
Update telephoto to v0.13.0
2024-08-22 05:29:39 +00:00
renovate[bot]
6f0ffba438
Update dependency androidx.compose:compose-bom to v2024.08.00
2024-08-21 18:47:16 +00:00
Benoit Marty
ef015904ff
Rename test because method has been renamed.
2024-08-21 18:36:06 +02:00
Benoit Marty
7890c5d9c6
Add missing test for MarkdownTextEditorState
2024-08-21 18:35:23 +02:00
Benoit Marty
e004f79900
Add unit test for DefaultRoomAliasSuggestionsDataSource
2024-08-21 18:25:41 +02:00
Benoit Marty
97b749e2b2
Add test on MentionSuggestionsProcessor and simplify the class.
2024-08-21 18:16:52 +02:00
Benoit Marty
1e30574d44
Convert MentionSuggestionsProcessor to a class and inject it in the constructor of MessageComposerPresenter
2024-08-21 17:41:10 +02:00
Benoit Marty
8d3237b3ba
Reorder imports
2024-08-21 17:27:55 +02:00
Benoit Marty
9716a79127
Remove needless blank line
2024-08-21 17:27:29 +02:00
Benoit Marty
71c9a187da
Fix test regression.
2024-08-21 16:59:44 +02:00
Benoit Marty
33d69178ec
Fix test compilation issue.
2024-08-21 16:32:37 +02:00
Benoit Marty
f3ebf2d9db
Fix import ordering.
2024-08-21 16:31:03 +02:00
Benoit Marty
6aab5f59cf
Add feature flag for room alias suggestions, disabled by default.
2024-08-21 15:50:55 +02:00
ElementBot
98ef608b89
Update screenshots
2024-08-21 13:45:00 +00:00
Benoit Marty
4b8985e501
Suggestion for room alias.
...
Rename `Mention` to `IntentionalMention` for clarity
Remove dead code, there is no intentional mention for Room or RoomAlias.
Rename `IntentionalMention.AtRoom` to `IntentionalMention.Room` to match Rust naming
2024-08-21 15:32:05 +02:00
renovate[bot]
4385a7779c
Update dagger to v2.52 ( #3270 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-21 08:48:22 +00:00
Benoit Marty
180fbaaa0a
Merge pull request #3318 from element-hq/feature/bma/checkMethodName
...
Add test on function name which may start or end with spaces
2024-08-21 09:25:47 +02:00
Jorge Martin Espinosa
fd4de40851
Fix reset identity with password stuck in loading state. ( #3317 )
...
Make sure `resetIdentityFlowManager.whenResetIsDone` is registered *after* the previous reset attempt is cancelled, otherwise the current one will be cancelled instead.
2024-08-20 19:04:20 +00:00
Benoit Marty
a8f0c6c2b2
Add test on function name which may start or end with spaces and fix existing issues.
2024-08-20 17:11:30 +02:00
renovate[bot]
fc3c589130
Update lifecycle to v2.8.4 ( #3315 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-20 11:03:01 +00:00
renovate[bot]
7ccdd0e744
Update lifecycle to v2.8.0 ( #2848 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martin Espinosa <jorgem@element.io >
Co-authored-by: Benoit Marty <benoit@matrix.org >
2024-08-20 12:37:30 +02:00
Benoit Marty
1ffb9b473f
Merge pull request #3314 from element-hq/gradlew-update-8.10
...
Update Gradle Wrapper from 8.9 to 8.10
2024-08-20 11:17:40 +02:00
gradle-update-robot
3c3d6f4ea1
Update Gradle Wrapper from 8.9 to 8.10.
...
Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc >
2024-08-20 08:38:21 +00:00
Benoit Marty
b96ce45f5d
Merge pull request #3313 from element-hq/feature/bma/fixGradleUpdateAction2
...
Gradle update action: add label and use other token.
2024-08-20 10:29:50 +02:00
Benoit Marty
5608c4b27a
Update Gradle: Change the token used by the action so workflows are triggered in the resulting PR
2024-08-20 10:25:36 +02:00
Benoit Marty
1942ca9433
Update Gradle: add label PR-Dependencies to PR it creates.
2024-08-20 10:18:08 +02:00
Benoit Marty
5a54ee74a0
Merge pull request #3311 from element-hq/feature/bma/fixGradleUpdateAction
...
Gradle update action: Use JDK 17 and skip early in forks.
2024-08-20 09:58:02 +02:00
Benoit Marty
b59e17481d
Update Gradle: ddd workflow_dispatch
2024-08-20 09:33:37 +02:00
Benoit Marty
f52751efff
Renovate: Disable gradle update. Update of gradle is done by a specific GitHub action.
2024-08-20 09:31:29 +02:00
Benoit Marty
eeaf206615
Gradle update action: Use JDK 17 and skip early in forks.
2024-08-20 09:24:21 +02:00