Commit Graph

1208 Commits

Author SHA1 Message Date
Jorge Martin Espinosa
96e34cb8ee Add user verification and verification state violation badges (#4392)
* Move `observeRoomMemberIdentityStateChange` and associated classes to `libs:matrixui` module so they can be reused

* Add `EncryptionService.getUserIdentity` method to retrieve not only if the user is verified or not, but in which state they are

* Fix `IdentityChangePresenter` after the previous changes

* Fix `withFakeLifecycleOwner` and add `testWithLifecycleOwner` helper

* Display verified badge in DM top app bar when possible

* Display a verification violation warning icon next to the 'People' item in room details screen

* Display either a verified badge or a verification violation warning icon next to the room members in the room member list screen

* Display either a verified badge or a verification violation warning and withdraw verification button in the room member profile.

Generic user profiles won't display verification state anymore since we can't easily track changes in it.

* Add preview for room member details screen with verification violation identity state

* Add verified and violation badge to the `Profile` list item in room details screen

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2025-03-12 12:22:53 +01:00
Benoit Marty
a31af8dcd6 Merge pull request #4378 from element-hq/feature/bma/customSuperButton
Be able to correctly render the UI with other colors.
2025-03-11 09:26:54 +01:00
ElementBot
09ab8dd630 Update screenshots 2025-03-10 13:34:14 +00:00
Jorge Martin Espinosa
b91933625c Implement user verification (#4294)
* Add support for starting verification of a user

* Add support for replying to incoming user verification requests

* Add reset recovery key button and previews to `ChooseSelfVerificationModeView`

* Add 'Profile' item in room details screen

* Update screenshots

* Remove `showDeviceVerifiedScreen` parameter from `NavTarget.UseAnotherDevice`

* Allow exiting the FTUE flow, which will close the app. The previous state will be restored when the app is reopened.

* When outgoing verification fails, move to the `Canceled` state. Then, when resetting the state machine state also reset the verification service.

---------

Co-authored-by: ElementBot <android@element.io>
2025-03-10 11:20:17 +01:00
Benoit Marty
8c65dee61f Add Konsist exception for FocusedEventPreview 2025-03-07 18:48:04 +01:00
ElementBot
237cd3eede Update screenshots 2025-03-07 17:33:54 +00:00
ElementBot
7f4c6303e4 Update screenshots 2025-03-07 13:32:17 +00:00
ElementBot
1ac85385f9 Update screenshots 2025-03-05 16:40:13 +00:00
ElementBot
1566403d7b Update screenshots 2025-03-05 10:54:46 +00:00
ganfra
bc8241f19c Merge pull request #4353 from element-hq/feature/fga/room_preview_invite_state
[Change] Invited state room preview
2025-03-04 16:45:50 +01:00
ElementBot
d72cbffecc Update screenshots 2025-03-04 10:07:14 +00:00
ganfra
fbbe1f2f8c change(room directory) : update screenshots. 2025-03-04 10:57:25 +01:00
ElementBot
f5ee783a00 Update screenshots 2025-02-26 21:55:56 +00:00
ElementBot
e95bf70ce4 Update screenshots 2025-02-26 21:31:26 +00:00
ElementBot
53ee15579b Update screenshots 2025-02-26 18:05:19 +00:00
ElementBot
d2934856a0 Update screenshots 2025-02-26 16:55:21 +00:00
ElementBot
02668ab66b Update screenshots 2025-02-26 10:06:54 +00:00
ElementBot
a290b7948d Update screenshots 2025-02-25 19:39:04 +00:00
Benoit Marty
76ef47e4af Avoid test from failing when the enterprise modules are not present. 2025-02-24 09:32:40 +01:00
Jorge Martin Espinosa
247071b196 Try avoiding trailing punctuation inside linkified URLs. (#4214)
Create `LinkfierHelper` and post-process URLSpans added to make sure they honor the actual URLs in text by removing unnecessarily added trailing punctuation.
2025-02-21 16:58:59 +00:00
Benoit Marty
d23efc3053 Fix Konsist test.
New enterprise module was not correctly detected.
Also ensure that the files are correctly found.
2025-02-20 18:41:11 +01:00
Benoit Marty
bf62c51a97 Merge pull request #4274 from element-hq/feature/bma/mediaTimelineImprovment
Update Matrix Room API and allow media swipe on pinned event only.
2025-02-19 09:41:27 +01:00
renovate[bot]
047e659719 fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25 (#4273)
* fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25

* Adapt to SDK changes:

- Remove logic related to sliding sync proxy, leaving just the minimum needed to detect its usage on the current session data.
- Remove code associated with the opt-in migration to native sliding sync, since it's now mandatory.
- Remove toggle between proxy/native sliding sync.
- Some fixes to session verification API breaks.

* Update forced logout dialog message, remove `NativeSlidingSyncMigrationBanner`

* Update screenshots

* Update all strings

* Remove `SuccessfulLogoutPendingAction`

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <android@element.io>
2025-02-18 18:07:47 +01:00
Benoit Marty
36d5528904 Merge branch 'develop' into feature/valere/support_verification_violation_banner 2025-02-18 15:42:08 +01:00
Benoit Marty
c02436d3f0 Update Matrix Room API and allow media swipe on pinned event only. 2025-02-17 16:45:25 +01:00
ElementBot
19fcd005fc Update screenshots 2025-02-10 19:13:02 +01:00
ElementBot
3d8a142a24 Update screenshots 2025-02-06 16:27:22 +01:00
ElementBot
7cfba520a5 Update screenshots 2025-02-06 16:27:21 +01:00
Valere
f358255262 Fix konsist warnings 2025-02-06 16:27:20 +01:00
ElementBot
2b3388c8bc Update screenshots 2025-02-06 16:27:20 +01:00
ElementBot
0e5a0223c0 Update screenshots 2025-02-06 15:10:15 +01:00
Benoit Marty
0d6d74512f Use ElementTheme instead of MaterialTheme 2025-02-06 15:10:15 +01:00
ElementBot
146a5b713c Update screenshots 2025-02-05 14:35:56 +00:00
Benoit Marty
5cd42f47c7 Extract testEnv to the test module 2025-02-05 15:20:18 +01:00
ElementBot
f847c8ad38 Update screenshots 2025-02-05 11:26:18 +00:00
ElementBot
e95d49047a Update screenshots 2025-02-05 08:47:12 +00:00
Benoit Marty
8edffc5167 Update incoming call notification content to "📹 Incoming call" 2025-02-04 16:20:53 +01:00
ElementBot
ade3235919 Update screenshots 2025-01-30 10:27:13 +00:00
ganfra
c689809b55 Merge pull request #4212 from element-hq/feature/fga/room_settings_security_privacy
Feature : room settings - security and privacy
2025-01-29 17:29:56 +01:00
ElementBot
76316a59b2 Update screenshots 2025-01-29 16:01:07 +00:00
ElementBot
d6df09cf3d Update screenshots 2025-01-28 20:29:01 +00:00
Benoit Marty
e9a9e79b40 Cleanup 2025-01-28 11:33:20 +01:00
bmarty
d419f2fdff Sync Strings from Localazy 2025-01-27 00:25:38 +00:00
ElementBot
4ae773cfd6 Update screenshots 2025-01-23 14:56:31 +00:00
ElementBot
cb5988935f Update screenshots 2025-01-22 16:24:36 +01:00
Benoit Marty
a1b027a8ab Add exception for Konsist 2025-01-22 16:24:28 +01:00
ElementBot
c1f41d2044 Update screenshots 2025-01-17 09:07:05 +00:00
ElementBot
d5e1331e2c Update screenshots 2025-01-14 15:47:56 +00:00
ElementBot
9ce5a8adba Update screenshots 2025-01-14 10:42:15 +00:00
bmarty
24fd0a3911 Sync Strings from Localazy 2025-01-13 00:30:35 +00:00