Commit graph

591 commits

Author SHA1 Message Date
ElementBot
17193ad35a
Sync Strings from Localazy (#4421)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-03-17 09:54:03 +01: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
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
bmarty
9a75f40855 Sync Strings from Localazy 2025-03-10 00:28:38 +00:00
Benoit Marty
b0cd9905ce Remove PreferenceText, replace by ListItem. 2025-03-05 17:25:35 +01:00
bmarty
46acf414c1 Sync Strings from Localazy 2025-03-03 00:29:16 +00:00
Benoit Marty
eda18f8b78 Replace Material icons with Compound icons wherever it's possible 2025-02-26 22:19:19 +01:00
ElementBot
0338a5008b
Sync Strings from Localazy (#4298)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-02-24 09:14:29 +01:00
Benoit Marty
43ee582213 Sync strings again.
Revert wrong change on Hungarian plurals.
2025-02-17 11:29:49 +01:00
bmarty
f549e7bba2 Sync Strings from Localazy 2025-02-17 00:30:17 +00:00
ganfra
a73bcb71d5 feature(room preview): Add option to forget room, improve the room preview screen for banned rooms.
Some internal refactoring was done too:
- Remove RoomInfo.isPublic to only use JoinRule.
- Also take into account restricted access rooms for previews.
2025-02-10 19:13:02 +01:00
Benoit Marty
07d4778ae5 Use ElementTheme instead of MaterialTheme 2025-02-06 15:10:15 +01:00
Benoit Marty
070fd4f53a Do not rely on RoomAlias constructor to validate the Room alias, since there is no validation in release mode.
This is fixing the test in release mode.
2025-02-05 18:05:10 +01:00
Benoit Marty
39b51b4904 Move test class to package impl 2025-02-05 17:27:44 +01:00
bmarty
be91da966a Sync Strings from Localazy 2025-02-03 00:29:01 +00:00
Benoit Marty
a0a5480633 Always render either "Not encrypted" or "Encrypted" badge in the room detail screen. 2025-01-30 11:01:05 +01:00
ganfra
346e3648e8
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
ganfra
15f2d0bf83 feat(security&privacy) : add more previews 2025-01-29 16:47:39 +01:00
ganfra
8880eeda40 feat(security&privacy) : improve and document code after PR review. 2025-01-29 14:16:57 +01:00
ganfra
706b298c3f feat(security&privacy) : fix tests after some rework landed 2025-01-28 21:08:14 +01:00
ganfra
d586bdc815 feat(security&privacy) : some more clean up 2025-01-28 20:09:58 +01:00
ganfra
58918b18ff feat(security&privacy) : update canShowSecurityAndPrivacy check 2025-01-28 20:09:45 +01:00
ganfra
d992f38fa5 feat(security&privacy) : clean code 2025-01-28 14:39:27 +01:00
ganfra
876d06f510 feat(security&privacy) : add all tests for EditRoomAddress classes 2025-01-27 22:43:10 +01:00
ganfra
c0c7d5b659 feat(security&privacy) : write View tests 2025-01-27 21:39:25 +01:00
ganfra
fdc4f1b0fe feat(security&privacy) : start writing tests 2025-01-27 16:36:53 +01:00
bmarty
b016348602 Sync Strings from Localazy 2025-01-27 00:25:38 +00:00
ganfra
c07a7d926c feat(security&privacy) : make the whole RoomDirectoryVisibility item clickable 2025-01-24 16:27:24 +01:00
ganfra
ba0a85703b feat(security&privacy) : update strings 2025-01-24 15:55:30 +01:00
ganfra
88fce64d2f feat(security&privacy) : use permissions and improve save 2025-01-23 23:29:35 +01:00
ganfra
75fef6b325 feat(security&privacy) : introduce permissions and use in RoomDetails 2025-01-23 21:51:25 +01:00
ganfra
edee18a033 feat(security&privacy) : manage save action and some edge cases. 2025-01-23 14:19:23 +01:00
ganfra
7eda9453df feat(security&privacy) : manage encryption settings 2025-01-22 17:55:37 +01:00
ganfra
392299d5ce feat(security&privacy) : update the save address algorithm 2025-01-22 17:07:11 +01:00
ganfra
0e6c86f3e5 feat(privacy&security) : extract some code for address management 2025-01-22 16:34:03 +01:00
ganfra
65e54474e3 feat(security&privacy) : manage save action for edit room address 2025-01-22 15:14:22 +01:00
ganfra
b7831f44cc feat(security&privacy) : expose methods from sdk to update alias and rename alias to canonicalAlias 2025-01-22 15:13:09 +01:00
ganfra
f8cd8b3cc2 feat(security&privacy) : start handling edition of room address 2025-01-21 21:55:55 +01:00
ganfra
129eb45c68 feat(security&privacy) : introduce navigator 2025-01-21 20:38:43 +01:00
ganfra
c391b5b892 feat(security&privacy) : get data from sdk 2025-01-21 20:38:29 +01:00
ganfra
a781cc057b feat(security & privacy) : introduce EditRoomAddress screen 2025-01-17 17:44:10 +01:00
ganfra
d35414407c change(room details) : update room details with new sections organisation 2025-01-17 17:44:10 +01:00
ganfra
002325c574 feat(security&privacy) : first implementation of ui 2025-01-17 17:44:10 +01:00
Benoit Marty
97f3be3dc5 Apply dual licenses: AGPL + Element Commercial to file headers.
2 replace all actions have been performed:
- "SPDX-License-Identifier: AGPL-3.0-only" to "SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial"
- "Please see LICENSE in the repository root for full details." to "Please see LICENSE files in the repository root for full details."
2025-01-07 10:05:04 +01:00
ganfra
7255fc0e3a feature(knock) : use ListItemContent.Counter according to design 2025-01-03 15:30:52 +01:00
bmarty
2758adb646 Sync Strings from Localazy 2024-12-30 10:12:13 +00:00
bmarty
45db2a97ad Sync Strings from Localazy 2024-12-23 00:16:39 +00:00
ganfra
80ae08648a knock requests : rework knock requests service to avoid reloading of data (and weird ui glitch because of them) 2024-12-18 20:24:29 +01:00
ganfra
7f372282dc knock requests : format and clean 2024-12-18 18:13:13 +01:00
ganfra
5275a3e5d3 Merge branch 'develop' into feature/fga/knock_requests_sdk 2024-12-18 17:21:16 +01:00