Commit graph

3473 commits

Author SHA1 Message Date
Benoit Marty
c19229b313
Merge pull request #3369 from element-hq/feature/bma/fixPinLockCrash
Ensure starting PinUnlockActivity does not crash the application.
2024-09-02 12:28:36 +02:00
Benoit Marty
31d0621fa1
Merge pull request #3360 from element-hq/feature/bma/sessionVerificationBannerIsBack
Add banner entry point to set up recovery
2024-08-30 16:56:11 +02:00
Benoit Marty
61f9b20554 Ensure starting PinUnlockActivity does not crash the application.
Fix regression from #3222 d4f8052696
2024-08-30 16:15:54 +02:00
Benoit Marty
d93762bbd0 Increase test coverage of securityBannerState() 2024-08-30 09:15:53 +02:00
Benoit Marty
ad8e8305eb Add banner entry point to set up recovery 2024-08-29 18:34:55 +02:00
Benoit Marty
9134d334bb Show sign out button only at initial step. 2024-08-29 16:29:30 +02:00
Benoit Marty
f4beddef99 Add a way to sign out when the user is asked to verify the session. 2024-08-29 15:56:08 +02:00
Benoit Marty
0d6b4bc3c2
Merge pull request #3355 from element-hq/feature/bma/resetIdentityIteration2
[Identity reset] Remove instruction to reset identity on another client.
2024-08-29 13:17:13 +02:00
Benoit Marty
aae44875bd Fix test. 2024-08-29 12:38:58 +02:00
Benoit Marty
460e095e78 Provide dark theme parameter. 2024-08-29 12:23:39 +02:00
Benoit Marty
cfbd0c4c02 Ensure success logout url is opened in all cases. 2024-08-29 12:16:38 +02:00
Benoit Marty
a6e2a5d81f Change PinUnlockState.signOutAction type to AsyncAction. 2024-08-29 11:49:57 +02:00
Benoit Marty
1026a296e3 Make LogoutUseCase.logout return the result of the SDK method. 2024-08-29 11:47:22 +02:00
Benoit Marty
e4174b39e8 Change test name. 2024-08-29 11:13:57 +02:00
Benoit Marty
66a2f9fb48 Sync English strings. 2024-08-29 09:51:28 +02:00
Benoit Marty
dfaa350167 Better handling on null reset handler.
This is not an error, but in this case, the reset identity is successful.
2024-08-29 09:41:13 +02:00
Benoit Marty
8e7d8175d7 Remove Lost your recovery key? button and the temporary screen it opened. 2024-08-29 09:40:00 +02:00
Benoit Marty
45c216c7a3
Merge pull request #3343 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-0.x
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.40
2024-08-28 10:21:21 +02:00
Benoit Marty
c5461b669f
Merge pull request #3337 from SpiritCroc/stuck-login
Fix login navigation getting stuck when the app was compiled with no-op analytics provider
2024-08-28 09:56:44 +02:00
Benoit Marty
ad646c9098 Remove feature flag PictureInPicture 2024-08-27 18:41:40 +02:00
ganfra
88a581427c Rust sdk : refactor LocalSendState to use the new failure states as iOS does 2024-08-27 17:45:22 +02:00
ganfra
e5b21c389e Rust sdk : use newMessageShield state 2024-08-27 17:43:07 +02:00
Benoit Marty
1a43aa38fb
Merge pull request #3334 from element-hq/feature/bma/pipCallApi
Use new functions exposed by Element Call about PiP
2024-08-26 18:00:17 +02:00
Benoit Marty
7f4b84638f Rename PipActivity to PipView 2024-08-26 17:15:32 +02:00
Benoit Marty
9fab13c50b Avoid keeping a reference to the eventSink in a separate value 2024-08-26 17:11:41 +02:00
Benoit Marty
306043876f Rename WebPipApi to PipController 2024-08-26 16:50:55 +02:00
bmarty
cd267249ec Sync Strings from Localazy 2024-08-26 00:25:40 +00:00
SpiritCroc
107b29545d Fix login navigation getting stuck with no-op analytics provider
Change-Id: Icac04e1193e12943c2b8598f48d79ac6e7cef3a5
2024-08-24 22:22:10 +02:00
Benoit Marty
0b2edcb6d1 Fix UI tests. 2024-08-23 16:40:48 +02:00
Benoit Marty
a4b6d4c5d7 Simplify code. 2024-08-23 16:34:44 +02:00
Benoit Marty
368db3feb4 Allow entering Pip mode when controls.canEnterPip() cannot be evaluated. 2024-08-23 16:28:13 +02:00
Benoit Marty
18dcdc0e64 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
8574340717 Use extension getAvatarData 2024-08-22 13:39:25 +02:00
Benoit Marty
811abe7755 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
dbe73076ff rename test function. 2024-08-22 13:26:05 +02:00
Benoit Marty
48ea516639 Rename MentionSuggestionsProcessor to SuggestionsProcessor since it's not only used for mentions. 2024-08-22 13:24:57 +02:00
Benoit Marty
a6cf231322 Add unit test for DefaultRoomAliasSuggestionsDataSource 2024-08-21 18:25:41 +02:00
Benoit Marty
d5feda5935 Add test on MentionSuggestionsProcessor and simplify the class. 2024-08-21 18:16:52 +02:00
Benoit Marty
5df3e6d684 Convert MentionSuggestionsProcessor to a class and inject it in the constructor of MessageComposerPresenter 2024-08-21 17:41:10 +02:00
Benoit Marty
c306636d56 Remove needless blank line 2024-08-21 17:27:29 +02:00
Benoit Marty
3350b661e7 Fix import ordering. 2024-08-21 16:31:03 +02:00
Benoit Marty
4c8f23a0cb Add feature flag for room alias suggestions, disabled by default. 2024-08-21 15:50:55 +02:00
Benoit Marty
57d927e9aa 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
Benoit Marty
c01bbe79e6
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
0686745fd4
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
f2b38e50e3 Add test on function name which may start or end with spaces and fix existing issues. 2024-08-20 17:11:30 +02:00
Benoit Marty
6b528596ed
Merge pull request #3307 from element-hq/feature/bma/cleanup
Cleanup and add unit test for DefaultPinnedMessagesBannerFormatter
2024-08-20 09:10:31 +02:00
bmarty
3e67448006 Sync Strings from Localazy 2024-08-19 00:25:36 +00:00
Benoit Marty
21f2c5a231
Merge pull request #3240 from element-hq/feature/valere/message_shields
Timeline UI | MessageShield Support
2024-08-16 14:25:33 +02:00
Benoit Marty
6776df8b40 Remove useless Boxes. 2024-08-16 11:58:18 +02:00