Commit graph

10251 commits

Author SHA1 Message Date
Jorge Martín
f01078bc8a Use a feature flag to decide whether logs should be printed to logcat or not
This is done so it can be temporarily enabled on release builds for quick debugging sessions, then disabled again.
2025-03-13 16:11:53 +01:00
Jorge Martín
b73c447808 Enable printing logs to logcat in nightly and release builds 2025-03-12 18:53:46 +01:00
Jorge Martin Espinosa
c3817945d9
Fix warnings in tests for push provider modules (#4398) 2025-03-12 17:36:31 +01:00
Benoit Marty
3ca624648b
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
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
9fd600383c 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
b0e6b50c79
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]
95955aef5c
fix(deps): update dependencyanalysis to v2.11.0 2025-03-11 20:20:29 +00:00
Benoit Marty
2ca492c960
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
bb39d32a17 Use ELEMENT_BOT_TOKEN_READ_ORG 2025-03-11 17:10:14 +01:00
Benoit Marty
cc94f3b6a4 "Core Team" is a team of matrix-org. Use team "Vector Core" instead. 2025-03-11 13:57:59 +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
Jorge Martin Espinosa
1cc95f2d57
Discard timed out user verification requests (#4385) 2025-03-10 18:38:38 +01:00
renovate[bot]
965a0653d3
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
5123db5737
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
7690349be3
Merge pull request #4384 from element-hq/feature/bma/prChecks
More PR checks
2025-03-10 16:07:20 +01:00
ElementBot
94168c50e4 Update screenshots 2025-03-10 13:34:14 +00:00
Benoit Marty
7f59cebe2c Provide buildMeta in IncomingCallActivity. 2025-03-10 14:26:30 +01:00
Benoit Marty
dc00683ab4 Replace ic_public.xml by the icon from Compound. 2025-03-10 14:20:18 +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
Benoit Marty
2ce1b17dae
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
7fd168f85a Detekt again. 2025-03-10 11:12:22 +01:00
Benoit Marty
96683850ba Change LocalIsEnterpriseBuild to LocalBuildMeta 2025-03-10 11:08:50 +01:00
Benoit Marty
5064b52619 Sync strings (fix typo) 2025-03-10 10:26:50 +01:00
Benoit Marty
d114bacad6 Revert "Rename file blocked.yml to pull_request.yml"
This reverts commit 0d79933309.
2025-03-10 09:58:53 +01:00
Benoit Marty
bc4f090aa9 Revert "Automatically add label 'Z-Community-PR' to community PRs."
This reverts commit 325c70453b.
2025-03-10 09:58:41 +01:00
Benoit Marty
6690ca120c Revert "Forbid develop branch fork contributions"
This reverts commit 9924a04849.
2025-03-10 09:58:28 +01:00
Benoit Marty
e5664f1a16 Forbid develop branch fork contributions 2025-03-10 09:58:11 +01:00
Benoit Marty
94fada1ec9 Automatically add label 'Z-Community-PR' to community PRs. 2025-03-10 09:57:57 +01:00
Benoit Marty
d5147ef6f5 Rename file blocked.yml to pull_request.yml 2025-03-10 09:57:46 +01:00
Benoit Marty
9924a04849 Forbid develop branch fork contributions 2025-03-10 09:56:37 +01:00
Benoit Marty
325c70453b Automatically add label 'Z-Community-PR' to community PRs. 2025-03-10 09:53:44 +01:00
Benoit Marty
0d79933309 Rename file blocked.yml to pull_request.yml 2025-03-10 09:49:35 +01:00
Benoit Marty
15de3377d5 Sync strings (fix typo) 2025-03-10 09:30:13 +01:00
Benoit Marty
7e8ed314e6
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
9a75f40855 Sync Strings from Localazy 2025-03-10 00:28:38 +00:00
夜坂雅
6c4cbcbfb8
feat: Long press link to copy URL to clipboard 2025-03-08 19:54:21 +08:00
Benoit Marty
37fc68c6ab Add Konsist exception for FocusedEventPreview 2025-03-07 18:48:04 +01:00
Benoit Marty
a775fb98dd Add LocalIsEnterpriseBuild to allow list 2025-03-07 18:45:54 +01:00
ElementBot
a47b739490 Update screenshots 2025-03-07 17:33:54 +00:00
Benoit Marty
a1004cc140 Ensure color for highlighted message is ok for enterprise build. 2025-03-07 18:21:29 +01:00
Benoit Marty
3db8ccad88 Change color or TimelineItemReadMarkerView 2025-03-07 18:20:33 +01:00
Benoit Marty
0a62d40d1d Fix gradient on GradientFloatingActionButton 2025-03-07 18:20:32 +01:00
Benoit Marty
61a6e8dcf4 GradientFloatingActionButton use textActionAccent for enterprise build. 2025-03-07 18:20:31 +01:00
Benoit Marty
f7df69e6b3 Let SuperButton use textActionAccent for enterprise build. 2025-03-07 18:20:31 +01:00
Benoit Marty
c865cf40d6 Provide isEnterpriseBuild value to the Composable. 2025-03-07 18:20:29 +01:00
Benoit Marty
c8ad1e2fdd
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
9111a86be6 Add preview for focusedEvent 2025-03-07 16:29:26 +01:00
Benoit Marty
f645a1b221 Fix issue in Modifier 2025-03-07 15:55:02 +01:00
ElementBot
fc2eb93693 Update screenshots 2025-03-07 13:32:17 +00:00