Commit Graph

10248 Commits

Author SHA1 Message Date
Benoit Marty
a930e9ae6b Merge pull request #4397 from element-hq/feature/bma/fixNoMoreMediaToShow
…Ensure the snackbar "No more media to show" is not rendered when opening the media viewer.
2025-03-12 12:27:49 +01:00
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
6958cc480b Ensure the snackbar "No more media to show" is not render after the app is loading the first item. Closes #4345 2025-03-12 12:09:51 +01:00
Benoit Marty
3112243a8a Merge pull request #4395 from element-hq/renovate/dependencyanalysis
fix(deps): update dependencyanalysis to v2.11.0
2025-03-12 08:52:48 +01:00
renovate[bot]
93a25621a0 fix(deps): update dependencyanalysis to v2.11.0 2025-03-11 20:20:29 +00:00
Benoit Marty
ca01993866 Merge pull request #4393 from element-hq/feature/bma/fixWrongTeam
"Core Team" is a team of matrix-org. Use team "Vector Core" instead.
2025-03-11 17:11:45 +01:00
Benoit Marty
f2695f61d6 Use ELEMENT_BOT_TOKEN_READ_ORG 2025-03-11 17:10:14 +01:00
Benoit Marty
0ff3d19c67 "Core Team" is a team of matrix-org. Use team "Vector Core" instead. 2025-03-11 13:57:59 +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
Jorge Martin Espinosa
6f8b1547ea Discard timed out user verification requests (#4385) 2025-03-10 18:38:38 +01:00
renovate[bot]
765bd85b6d fix(deps): update dependency com.posthog:posthog-android to v3.12.0 (#4387)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-10 17:26:53 +01:00
Benoit Marty
54cade3d27 Merge pull request #4386 from element-hq/feature/bma/publicIcon
Use public icon from Compound
2025-03-10 16:18:28 +01:00
Benoit Marty
a70ceb6436 Merge pull request #4384 from element-hq/feature/bma/prChecks
More PR checks
2025-03-10 16:07:20 +01:00
ElementBot
09ab8dd630 Update screenshots 2025-03-10 13:34:14 +00:00
Benoit Marty
652a85e28f Provide buildMeta in IncomingCallActivity. 2025-03-10 14:26:30 +01:00
Benoit Marty
d2ef4cd218 Replace ic_public.xml by the icon from Compound. 2025-03-10 14:20:18 +01: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
6f54de58f3 Merge pull request #4381 from element-hq/sync-localazy
Sync Strings - New translations in Basque
2025-03-10 11:17:49 +01:00
Benoit Marty
0e81076735 Detekt again. 2025-03-10 11:12:22 +01:00
Benoit Marty
ea5fde99a5 Change LocalIsEnterpriseBuild to LocalBuildMeta 2025-03-10 11:08:50 +01:00
Benoit Marty
b0be00aaa0 Sync strings (fix typo) 2025-03-10 10:26:50 +01:00
Benoit Marty
cacf4ef3f5 Revert "Rename file blocked.yml to pull_request.yml"
This reverts commit 4dedba8e2c.
2025-03-10 09:58:53 +01:00
Benoit Marty
9f57cf1a68 Revert "Automatically add label 'Z-Community-PR' to community PRs."
This reverts commit add82aca8d.
2025-03-10 09:58:41 +01:00
Benoit Marty
b8ded1f91a Revert "Forbid develop branch fork contributions"
This reverts commit 9b6c8b0eff.
2025-03-10 09:58:28 +01:00
Benoit Marty
40990abf0b Forbid develop branch fork contributions 2025-03-10 09:58:11 +01:00
Benoit Marty
afc46676a0 Automatically add label 'Z-Community-PR' to community PRs. 2025-03-10 09:57:57 +01:00
Benoit Marty
5f66d8c220 Rename file blocked.yml to pull_request.yml 2025-03-10 09:57:46 +01:00
Benoit Marty
9b6c8b0eff Forbid develop branch fork contributions 2025-03-10 09:56:37 +01:00
Benoit Marty
add82aca8d Automatically add label 'Z-Community-PR' to community PRs. 2025-03-10 09:53:44 +01:00
Benoit Marty
4dedba8e2c Rename file blocked.yml to pull_request.yml 2025-03-10 09:49:35 +01:00
Benoit Marty
05e328b916 Sync strings (fix typo) 2025-03-10 09:30:13 +01:00
Benoit Marty
ae2a281c47 Merge pull request #4376 from ShadowRZ/features/shadowrz/long-press-link-copy
Long press link to copy URL to clipboard
2025-03-10 09:17:16 +01:00
bmarty
9456ee921d Sync Strings from Localazy 2025-03-10 00:28:38 +00:00
夜坂雅
2e458916fc feat: Long press link to copy URL to clipboard 2025-03-08 19:54:21 +08:00
Benoit Marty
8c65dee61f Add Konsist exception for FocusedEventPreview 2025-03-07 18:48:04 +01:00
Benoit Marty
e1725c6348 Add LocalIsEnterpriseBuild to allow list 2025-03-07 18:45:54 +01:00
ElementBot
237cd3eede Update screenshots 2025-03-07 17:33:54 +00:00
Benoit Marty
1ae97e7c90 Ensure color for highlighted message is ok for enterprise build. 2025-03-07 18:21:29 +01:00
Benoit Marty
b8ef9416ed Change color or TimelineItemReadMarkerView 2025-03-07 18:20:33 +01:00
Benoit Marty
5c6c211bd0 Fix gradient on GradientFloatingActionButton 2025-03-07 18:20:32 +01:00
Benoit Marty
5dcc13236b GradientFloatingActionButton use textActionAccent for enterprise build. 2025-03-07 18:20:31 +01:00
Benoit Marty
846201df78 Let SuperButton use textActionAccent for enterprise build. 2025-03-07 18:20:31 +01:00
Benoit Marty
00507fa309 Provide isEnterpriseBuild value to the Composable. 2025-03-07 18:20:29 +01:00
Benoit Marty
8d9d397b1d Merge pull request #4375 from element-hq/feature/bma/moreWorkOnIcons
Migrate some icons to Compound icon
2025-03-07 17:53:13 +01:00
Benoit Marty
56643f85df Add preview for focusedEvent 2025-03-07 16:29:26 +01:00
Benoit Marty
d3a6b107af Fix issue in Modifier 2025-03-07 15:55:02 +01:00
ElementBot
7f4c6303e4 Update screenshots 2025-03-07 13:32:17 +00:00
Benoit Marty
7258b05a3c Rename ic_notification_small to ic_notification 2025-03-07 14:21:09 +01:00
Benoit Marty
8d14ac67e9 Add IconColorButton (CloseButton)
Figma: https://www.figma.com/design/G1xy0HDZKJf5TCRFmKb5d5/Compound-Android-Components?node-id=1956-37586
2025-03-07 13:14:51 +01:00
Benoit Marty
99b3e6b547 Remove unused ic_encryption_enabled drawable. 2025-03-07 12:19:36 +01:00