Commit Graph

11269 Commits

Author SHA1 Message Date
renovate[bot]
539db85e6c Update dependency io.sentry:sentry-android to v8.19.1 (#5158)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-12 12:52:13 +00:00
Jorge Martin Espinosa
00e72aae44 Hide the recovery key while we are entering it (#5147)
* Hide the recovery key while we are entering it (#5134)

This is the Element X Android part of
https://github.com/element-hq/element-meta/issues/2888

* Move the textfield contents being visible to the state so we can preview and test it

* Always use the password visual transformation for the recovery key field

* Update screenshots

---------

Co-authored-by: Andy Balaam <andy.balaam@matrix.org>
Co-authored-by: ElementBot <android@element.io>
2025-08-12 14:46:00 +02:00
Benoit Marty
d39332f8cc Merge pull request #5150 from element-hq/feature/bma/sdk36
Compile and target sdk36
2025-08-12 12:46:25 +02:00
Jorge Martin Espinosa
28c09c1668 Fix leaving the room not always dismissing the room screen (#5089)
* Fix leaving the room not always dismissing the room screen

Use the existing `RoomInfo` membership check to dismiss the room instead of using `RoomMembershipObserver`.

* Restore `membershipObserver`, check Maestro still works

* Improve the logic for the local membership change check

* Remove redundant room id check
2025-08-12 10:37:31 +00:00
ElementBot
c774d059f8 Update screenshots 2025-08-12 08:11:44 +00:00
Benoit Marty
600bb393d2 Upgrade Paparazzi lib to 2.0.0-alpha02 to fix test issue.
https://github.com/cashapp/paparazzi/issues/1877
2025-08-12 09:57:30 +02:00
Benoit Marty
55873bd47d Git ignore .idea/deviceManager.xml 2025-08-12 09:57:30 +02:00
Benoit Marty
7f88dd96b9 Compile and target SDK 36. 2025-08-12 09:57:30 +02:00
Benoit Marty
fa779b905e Set appCategory value to "social" in the Android Manifest 2025-08-12 09:57:30 +02:00
Benoit Marty
308cbb4380 Merge pull request #5139 from element-hq/feature/bma/rageshakeConfigStep2
Let enterprise build be able to override (or disable) the bug report URL.
2025-08-12 09:41:28 +02:00
renovate[bot]
ad6b23fc5b Update dependency io.sentry:sentry-android to v8.19.0 (#5149)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-12 09:40:41 +02:00
Benoit Marty
e8f58afb29 Update submodule ref. 2025-08-11 17:36:45 +02:00
Benoit Marty
37b50e0139 Merge branch 'develop' into feature/bma/rageshakeConfigStep2 2025-08-11 17:35:06 +02:00
Jorge Martin Espinosa
a170d80cb3 Add media file limit size warning and media quality selection (#5131)
* Add `VideoCompressorPreset` enum

This represents the different compression presets used for processing videos before uploading them

* Add `VideoCompressorHelper` util class to calculate the scaled output size of the video given an input size and its optimal bitrate

Also add `MediaOptimizationConfig` which will be used to decide how to apply compression in `MediaPreProcessor`

* Add `RustMatrixClient.getMaxFileUploadSize()` function and `MaxUploadSizeProvider` so we can import only this functionality into other components

* Try preloading the max file upload size the first time we get network connectivity - it's a best effort

This should help ensure we'll have this value available later, even if we still need to load it asynchronously.

* Split the `compressMedia` preference into `compressImages` and `compressMediaPreset`

* Modify the media processing parts to use the new classes and utils

* Add `MediaOptimizationSelectorPresenter`, which will retrieve the compression values and the max file upload size, also estimating the compressed video file sizes if needed.

* Add a feature flag to allow selecting the media upload quality per upload

* Integrate the previous changes with the attachments preview screen

Add strings from localazy too.

* Adapt the rest of the app calls to upload media to using the media optimization configs

* Allow modifying the default compression values in advanced settings, based on the feature flag value

* Pass the `fileSize` in `MediaUploadInfo` too, to be able to check it against the `maxUploadSize`

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2025-08-11 17:22:46 +02:00
renovate[bot]
ffe183c952 Update actions/checkout action to v5 (#5148)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-11 13:37:56 +00:00
renovate[bot]
72cc788009 Update dependency io.github.sergio-sastre.ComposablePreviewScanner:android to v0.7.0 (#5143)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-11 15:09:14 +02:00
Benoit Marty
aa1c51f5c9 Code cleanup 2025-08-11 14:53:40 +02:00
ElementBot
badbc5189e Sync Strings (#5146)
* Sync Strings from Localazy

* Remove unused WelcomeView.

* Remove unused WelcomeView.

---------

Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2025-08-11 12:49:29 +00:00
renovate[bot]
54877db092 Update rnkdsh/action-upload-diawi action to v1.5.11 (#5141)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-11 14:48:31 +02:00
Benoit Marty
ad01327c39 Add unit test on DefaultSessionWellknownRetriever 2025-08-11 12:13:21 +02:00
Benoit Marty
e566bb37ed Add unit test on DefaultRageshakeFeatureAvailability 2025-08-11 11:18:29 +02:00
Benoit Marty
50809d2adb Add missing test on CrashDetectionPresenter 2025-08-11 11:10:32 +02:00
Benoit Marty
78bd174d10 Merge 2 mapCatchingExceptions into a single one. 2025-08-11 10:55:42 +02:00
Benoit Marty
0666d43e37 Inject the Json parser 2025-08-11 10:49:39 +02:00
Benoit Marty
25d54f42bb Update submodule ref. 2025-08-11 10:47:52 +02:00
Benoit Marty
6f1fc5500b Remove duplicated licence header 2025-08-11 10:38:51 +02:00
Benoit Marty
1fe15e7b23 Add Konsist test to check that files do not have double license header.
It seems that sometimes Android Studio is doing this mistake.
2025-08-11 10:36:40 +02:00
renovate[bot]
a90400f0b1 Update dependency python to 3.13 (#5144)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-11 08:43:04 +02:00
renovate[bot]
9b7218c376 Update wysiwyg to v2.39.0 (#5080)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-11 08:42:41 +02:00
Benoit Marty
7810bf49fd Fix compilation issue 2025-08-08 18:08:30 +02:00
Benoit Marty
d7e4e00b5d Let enterprise build be able to override (or disable) the bug report URL. 2025-08-08 17:23:39 +02:00
Jorge Martin Espinosa
d926dda29c Fix cursor position in room list search (#5138) 2025-08-08 15:50:06 +02:00
Jorge Martín
4752e2f910 Changelog for version 25.08.2 2025-08-08 15:42:43 +02:00
Jorge Martín
36df8e7d4d Adding fastlane file for version 25.08.2 2025-08-08 15:42:43 +02:00
Jorge Martín
ed6b311092 Setting version for the release 25.08.2 2025-08-08 15:42:43 +02:00
Benoit Marty
76849c4374 Introduce SessionWellknownRetriever and implementation that uses a MatrixClient. 2025-08-08 15:06:51 +02:00
ganfra
2bbc62d79f Merge pull request #5106 from element-hq/renovate/android.gradle.plugin
Update android.gradle.plugin to v8.12.0
2025-08-08 14:17:45 +02:00
ganfra
44a6b88ab3 deps (lint) : use latest stable lint 2025-08-08 13:46:47 +02:00
Benoit Marty
dbe5bb767b Extract code to retrieve .well-known files to its own modules. 2025-08-08 12:36:48 +02:00
Jorge Martin Espinosa
16b9440048 When mapping invalid notification event, only drop that one (#5137)
Previously, this meant the code processing the whole notification batch result failed and other notifications would be lost too.
2025-08-08 11:56:15 +02:00
Benoit Marty
b1a48ec863 Merge pull request #5126 from element-hq/feature/bma/redirectToElementPro
Redirect FOSS user to Element Pro according to element .well-known file
2025-08-08 09:38:59 +02:00
renovate[bot]
11b9ae06a2 Update dependency com.google.firebase:firebase-bom to v34.1.0 (#5136)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-08 08:46:47 +02:00
ganfra
9f418f278a Merge pull request #5133 from element-hq/renovate/com.posthog-posthog-android-3.x
Update dependency com.posthog:posthog-android to v3.20.2
2025-08-07 18:38:15 +02:00
ganfra
b818b23ce8 Merge pull request #5121 from element-hq/renovate/net.zetetic-sqlcipher-android-4.x
Update dependency net.zetetic:sqlcipher-android to v4.10.0
2025-08-07 18:37:54 +02:00
Benoit Marty
04f3f4cb53 Merge pull request #5132 from element-hq/feature/bma/rageshakeConfig
Let enterprise build store the logs in a dedicated subfolder
2025-08-07 16:35:00 +02:00
Benoit Marty
5c3054bee4 Rename fun. 2025-08-07 16:04:22 +02:00
renovate[bot]
e9da806c18 Update dependency com.posthog:posthog-android to v3.20.2 2025-08-07 13:32:21 +00:00
Benoit Marty
861758b47d Only change the log folder on enterprise build 2025-08-07 14:02:07 +02:00
Benoit Marty
0b0eab2281 Add tests 2025-08-07 12:38:10 +02:00
Benoit Marty
0c215f2d1e Fix tests 2025-08-07 12:19:26 +02:00