Commit graph

11239 commits

Author SHA1 Message Date
Jorge Martín
f95a959ed1 Fix tests and lint issues 2025-03-17 18:22:03 +01:00
renovate[bot]
253cec4ffc chore(deps): update webfactory/ssh-agent action to v0.9.1 2025-03-17 15:50:23 +00:00
Jorge Martín
97b20d102f Try improved version using snapshotFlow, which seems more performant, as well as an extended threshold (-40 items) 2025-03-17 16:30:43 +01:00
Jorge Martín
955a599d5c Fix lint issues 2025-03-17 13:53:28 +01:00
Jorge Martín
98bb5720d1 Add timeline prefetching
This should trigger when getting close the start of the loaded timeline, making scrolling back smoother, specially when combined with the persistent event cache.
2025-03-17 13:53:28 +01:00
Samuel Truman
5fd6520ac2 Added preview for redacted messages 2025-03-17 13:10:30 +01:00
Samuel Truman
dedc3be0ef Hide "unencrypted" lock for redacted messages 2025-03-17 13:10:29 +01:00
ElementBot
ce99aab301 Update screenshots 2025-03-17 09:30:42 +00:00
Jorge Martín
ea13730601 Adjust the size of the verification icon in the room member list too
It was 24dp, it should be 20dp.
2025-03-17 10:14:40 +01:00
Jorge Martín
1fcec95f62 Display user verification violation icon in Dm rooms too
Also adjust the icon size, it was larger than it should (24px vs 16px)
2025-03-17 10:13:13 +01:00
Benoit Marty
70c8524e20 Merge pull request #4413 from element-hq/feature/bma/fixOpenMedia
Ensure that a click on a media open the correct media.
2025-03-17 10:06:56 +01:00
ganfra
098a10ba6c Merge pull request #4411 from element-hq/renovate/io.sentry-sentry-android-8.x
fix(deps): update dependency io.sentry:sentry-android to v8.4.0
2025-03-17 10:04:53 +01:00
Jorge Martin Espinosa
e2afa9a691 Add Google Tink dependency, replacing androidx.security.crypto (#4405)
* Add Google Tink dependency, replacing `androidx.security.crypto`

* Replace the `EncryptedFile` implementation too

* Extract constants, add some more docs
2025-03-17 10:04:21 +01:00
ganfra
27299607f9 Merge pull request #4409 from element-hq/renovate/dependencyanalysis
fix(deps): update dependencyanalysis to v2.12.0
2025-03-17 10:03:54 +01:00
ElementBot
6dbb371ca2 Sync Strings from Localazy (#4421)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-03-17 09:54:03 +01:00
Benoit Marty
fc5df749a5 Merge pull request #4419 from element-hq/renovate/jna-monorepo
fix(deps): update dependency net.java.dev.jna:jna to v5.17.0
2025-03-17 09:31:20 +01:00
Benoit Marty
5825160d29 Fix test compilation error. 2025-03-17 09:29:45 +01:00
renovate[bot]
a97d3d4ac3 fix(deps): update dependency net.java.dev.jna:jna to v5.17.0 2025-03-16 13:29:43 +00:00
Benoit Marty
207fcc829c Ensure that a click on a media open the correct media. 2025-03-14 17:23:38 +01:00
ElementBot
c12405cb18 Update screenshots 2025-03-14 16:05:05 +00:00
Benoit Marty
b6bbb0bc7a Render txt files content.
PdfViewer increase the top padding.
2025-03-14 16:51:57 +01:00
renovate[bot]
009ffd9505 fix(deps): update dependency io.sentry:sentry-android to v8.4.0 2025-03-14 14:15:33 +00:00
Benoit Marty
7194477465 Merge pull request #4408 from element-hq/renovate/androidx.webkit-webkit-1.x
fix(deps): update dependency androidx.webkit:webkit to v1.13.0
2025-03-14 11:44:09 +01:00
Benoit Marty
6d6be64311 Merge pull request #4402 from element-hq/misc/enable-logcat-in-all-builds
Add feature flag to let the application prints logs to logcat in release builds.
2025-03-14 11:33:57 +01:00
renovate[bot]
ef799c6b0b fix(deps): update dependencyanalysis to v2.12.0 2025-03-13 21:28:39 +00:00
Benoit Marty
fc10bafcc0 Merge pull request #4407 from element-hq/renovate/compose.bom
fix(deps): update dependency androidx.compose:compose-bom to v2025.03.00
2025-03-13 22:27:15 +01:00
renovate[bot]
62f173b9ed fix(deps): update dependency androidx.webkit:webkit to v1.13.0 2025-03-13 17:54:53 +00:00
renovate[bot]
055eb570bf fix(deps): update dependency androidx.compose:compose-bom to v2025.03.00 2025-03-13 17:54:47 +00:00
Jorge Martín
cb5dcf9b79 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
Benoit Marty
c53d80e8fb Merge pull request #4400 from element-hq/feature/bma/customPushGateway
Let EnterpriseService provides push gateways
2025-03-13 12:01:10 +01:00
Benoit Marty
2dfa1ab64d Merge branch 'develop' into feature/bma/customPushGateway 2025-03-13 11:39:47 +01:00
Benoit Marty
31840c7bb2 Update ref to enterprise module. 2025-03-13 09:57:54 +01:00
Benoit Marty
09b36f99d4 Merge pull request #4401 from element-hq/feature/bma/disableClickOnSticker
Disable click effect on Stickers
2025-03-12 21:22:38 +01:00
Jorge Martín
842357d7f7 Enable printing logs to logcat in nightly and release builds 2025-03-12 18:53:46 +01:00
Benoit Marty
9695c180d8 Disable click effect on Stickers. Closes #4342 2025-03-12 18:23:52 +01:00
Jorge Martin Espinosa
e3dcb683b8 Fix warnings in tests for push provider modules (#4398) 2025-03-12 17:36:31 +01:00
Benoit Marty
b30e1095c9 Give ability to configure the UnifiedPush default push gateway. 2025-03-12 17:10:33 +01:00
Benoit Marty
cd48d051a8 Give ability to configure the Firebase push gateway. 2025-03-12 16:50:46 +01:00
Benoit Marty
891c0c6d3b Explicitly import com.google.firebase.appdistribution.gradle.firebaseAppDistribution.
This is fixing this issue reported by lint:
~/app/build.gradle.kts:133: Error: This does not resolve to the right method; you need to explicitly add import com.google.firebase.appdistribution.gradle.firebaseAppDistribution to this file! [WrongGradleMethod]
            firebaseAppDistribution {
            ~~~~~~~~~~~~~~~~~~~~~~~
2025-03-12 14:50:25 +01:00
Benoit Marty
a51b74d3fb Upgrade lint to the latest version. 2025-03-12 14:41:09 +01:00
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