Commit graph

1220 commits

Author SHA1 Message Date
Benoit Marty
68c1d30743
Check link click (#4463)
* Warn when opening a suspicious link.

Upgrade RTE to 2.38.3

* Update screenshots

* Add tests on LinkPresenter and LinkView.

* Format file

---------

Co-authored-by: ElementBot <android@element.io>
2025-03-25 18:17:20 +01:00
Jorge Martin Espinosa
b9e286d9d6
Add 'unencrypted room' badges and labels (#4445)
* Add 'unencrypted room' icon and label to composer

* Modify colors for room details screen info labels

* Add exception to Konsist's preview check

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2025-03-25 11:26:25 +00:00
Andy Balaam
f969dcf42e
Use 'Dismiss' to close pinned identity changes, instead of 'Ok' (#4454) 2025-03-25 10:57:51 +01:00
ElementBot
8f0075e367
Sync Strings (#4461)
* Sync Strings from Localazy

* Fix UI tests

---------

Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-03-24 16:45:24 +00:00
Benoit Marty
2fd1c21df0
Let element enterprise be able to configure id for mapTiler. (#4446)
* Let element enterprise configure the ids for maptiler service.

* Disable location sharing and location viewer is the service is not available.

* Fix compilation issue on connected test

* Do not allow to reload the map if the mapId is not available.

* Update screenshots

* Rename file.

* Better to inject a string provider here, so we can unit test DefaultLocationService.

---------

Co-authored-by: ElementBot <android@element.io>
2025-03-21 17:06:52 +01:00
Jorge Martin Espinosa
a06619780c
Make verification screens scrollable and emoji labels multiline (#4449)
* Make self verification screens scrollable

* Remove unused fields from `VerificationEmoji`

* Make only the header and content scroll in `HeaderFooterPage`.

* Use the right 'emoji' icon in both flows (`ReactionSolid`)

---------

Co-authored-by: ElementBot <android@element.io>
2025-03-21 12:18:38 +01:00
ElementBot
8fae994333 Update screenshots 2025-03-18 15:39:39 +00:00
Benoit Marty
43cf8a11dd
Merge pull request #4423 from element-hq/fix/display-user-verification-violation-on-top-app-bar-of-room-screen
Display user verification violation icon in DM rooms too
2025-03-18 14:24:19 +01:00
ElementBot
30e8c51fe4 Update screenshots 2025-03-18 10:57:59 +00:00
Benoit Marty
74b7e7f4b6 Fix issues reported by Konsist. 2025-03-18 11:35:11 +01:00
ElementBot
98d63e5f6d Update screenshots 2025-03-17 09:30:42 +00:00
ElementBot
990efe4f01 Update screenshots 2025-03-14 16:05:05 +00:00
Jorge Martin Espinosa
fd50ce4daf
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
44b837a6bd
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
94168c50e4 Update screenshots 2025-03-10 13:34:14 +00:00
Jorge Martin Espinosa
f73c0e42a4
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
37fc68c6ab Add Konsist exception for FocusedEventPreview 2025-03-07 18:48:04 +01:00
ElementBot
a47b739490 Update screenshots 2025-03-07 17:33:54 +00:00
ElementBot
fc2eb93693 Update screenshots 2025-03-07 13:32:17 +00:00
ElementBot
fb021dfa76 Update screenshots 2025-03-05 16:40:13 +00:00
ElementBot
deb97ccc7b Update screenshots 2025-03-05 10:54:46 +00:00
ganfra
0d1a35970d
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
4ab20f3b80 Update screenshots 2025-03-04 10:07:14 +00:00
ganfra
7e29dba6a3 change(room directory) : update screenshots. 2025-03-04 10:57:25 +01:00
ElementBot
78c90b7035 Update screenshots 2025-02-26 21:55:56 +00:00
ElementBot
581ea40878 Update screenshots 2025-02-26 21:31:26 +00:00
ElementBot
c872fde620 Update screenshots 2025-02-26 18:05:19 +00:00
ElementBot
3ed208a6ea Update screenshots 2025-02-26 16:55:21 +00:00
ElementBot
516a35b206 Update screenshots 2025-02-26 10:06:54 +00:00
ElementBot
f00337e98b Update screenshots 2025-02-25 19:39:04 +00:00
Benoit Marty
0f888ae018 Avoid test from failing when the enterprise modules are not present. 2025-02-24 09:32:40 +01:00
Jorge Martin Espinosa
5d8403b310
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
e7de056d47 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
86afffb4bc
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]
beffba11b6
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
cc9c7b1b03
Merge branch 'develop' into feature/valere/support_verification_violation_banner 2025-02-18 15:42:08 +01:00
Benoit Marty
2e9a158fb0 Update Matrix Room API and allow media swipe on pinned event only. 2025-02-17 16:45:25 +01:00
ElementBot
e8dd8a1a87 Update screenshots 2025-02-10 19:13:02 +01:00
ElementBot
690c6cfc6d Update screenshots 2025-02-06 16:27:22 +01:00
ElementBot
31ab66985e Update screenshots 2025-02-06 16:27:21 +01:00
Valere
d3a6ab696a Fix konsist warnings 2025-02-06 16:27:20 +01:00
ElementBot
afd74af9a2 Update screenshots 2025-02-06 16:27:20 +01:00
ElementBot
84908baccb Update screenshots 2025-02-06 15:10:15 +01:00
Benoit Marty
07d4778ae5 Use ElementTheme instead of MaterialTheme 2025-02-06 15:10:15 +01:00
ElementBot
1214b209cc Update screenshots 2025-02-05 14:35:56 +00:00
Benoit Marty
8f281ffa3c Extract testEnv to the test module 2025-02-05 15:20:18 +01:00
ElementBot
dc3234c581 Update screenshots 2025-02-05 11:26:18 +00:00
ElementBot
3f675b8fc4 Update screenshots 2025-02-05 08:47:12 +00:00
Benoit Marty
7878f97453 Update incoming call notification content to "📹 Incoming call" 2025-02-04 16:20:53 +01:00
ElementBot
e214345cdb Update screenshots 2025-01-30 10:27:13 +00:00