Commit graph

13685 commits

Author SHA1 Message Date
Benoit Marty
d852774421 Fix permissions issue. 2026-03-17 16:21:47 +01:00
Jorge Martin Espinosa
96e2f882a2 Add a foreground service with a wakelock for fetching push notifications (#6321)
* Create `PushHandlingWakeLock` to start a foreground service:

When receiving a push and scheduling the notification fetching, several problems can happen:

1. Some async operation is waiting for a timeout and it takes way longer than that to finish (i.e. timeout of 10s but it took 30s to advance).
2. The same, but when starting new coroutines. I've seen the time between scheduling a coroutine and it running sometimes take up to 1 minute.
3. Notification fetching can be scheduled immediately, but it can take a while to actually run because the OS understands the app is now in Doze.

Having a wakelock that runs as soon as the push handling starts fixes these: it continues the previous wakelock held by either Firebase or the UnifiedPush distributor.

* Acquire the wakelock as soon as we received the pushes in both receivers

* Also release the wakelock ahead of time if possible
2026-03-17 14:24:26 +01:00
Benoit Marty
ea561d3702 Merge pull request #6357 from element-hq/feature/bma/verificationWording
Update wording of button "Enter recovery key" to "Use recovery key"
2026-03-16 18:20:47 +01:00
ElementBot
a992183166 Update screenshots 2026-03-16 16:56:32 +00:00
Benoit Marty
e9ca0a79e9 Sync strings. 2026-03-16 17:36:13 +01:00
Benoit Marty
afa1a42d92 canEnterRecoveryKey -> canUseRecoveryKey 2026-03-16 17:21:19 +01:00
Benoit Marty
b5830f5016 Update wording from "Enter recovery key" to "Use recovery key" 2026-03-16 17:19:49 +01:00
Benoit Marty
993250f1ea Merge pull request #6352 from element-hq/sync-localazy
Sync Strings - iterate on wording about crypto identity
2026-03-16 16:06:54 +01:00
Benoit Marty
2a1fb5427a Merge pull request #6355 from element-hq/feature/bma/fixRemovingLabel
Fix permissions issue.
2026-03-16 15:59:46 +01:00
Jorge Martin Espinosa
949a12f3d2 Improve Kover setup by using only convention plugins (#6213)
* Improve Kover setup using convention plugins.
* Add a new JVM library convention plugin with Kover support
2026-03-16 14:41:07 +00:00
Benoit Marty
0a308ec719 Fix permissions issue. 2026-03-16 15:34:09 +01:00
ElementBot
9f3a586387 Update screenshots 2026-03-16 14:11:01 +00:00
Benoit Marty
0fbed400eb Sync string again. 2026-03-16 14:54:06 +01:00
ElementBot
6bd5a6ef9a Update screenshots 2026-03-16 09:57:55 +00:00
Benoit Marty
2e77502084 Fix issue in pattern 2026-03-16 10:32:33 +01:00
Benoit Marty
3814085837 Merge pull request #6345 from element-hq/feature/bma/removeMatrixToDeeplinkSupport
Remove matrix.to intent filter from the AndroidManifest.
2026-03-16 10:19:38 +01:00
renovate[bot]
f85fcf6a63 fix(deps): update dependency io.sentry:sentry-android to v8.35.0 and enable ANR profiling (#6331)
* fix(deps): update dependency io.sentry:sentry-android to v8.35.0

* Add profile sampling of ANRs

This *should* help debugging them.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2026-03-16 09:13:08 +00:00
renovate[bot]
7cdf1a264b fix(deps): update activity to v1.13.0 (#6327)
* fix(deps): update activity to v1.13.0

* Remove usages of deprecated  `bundleOf`

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2026-03-16 08:50:43 +00:00
renovate[bot]
6229a3bcef chore(deps): update webfactory/ssh-agent action to v0.10.0 (#6325)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-16 09:18:50 +01:00
bmarty
3a0e01b63d Sync Strings from Localazy 2026-03-16 00:42:32 +00:00
renovate[bot]
2b6d7a23e4 fix(deps): update dependency androidx.datastore:datastore to v1.2.1 (#6326)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-14 09:33:51 +01:00
renovate[bot]
cb45649d8c fix(deps): update dependency androidx.compose:compose-bom to v2026.03.00 (#6329)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-14 09:32:15 +01:00
Benoit Marty
2497a97980 Merge pull request #6343 from element-hq/renovate/sqldelight
fix(deps): update sqldelight to v2.3.1
2026-03-13 19:21:38 +01:00
Benoit Marty
953af00fa2 It seems that SqlDelight v2.3.1 does not like unnecessary file 2026-03-13 18:53:08 +01:00
Benoit Marty
11d72568b7 Fix deeplink_matrixto.sh content, it did not contain a matrix.to link. 2026-03-13 18:16:17 +01:00
Benoit Marty
d82c8ac9db Remove matrix.to intent filter from the AndroidManifest. Closes #6344. 2026-03-13 15:40:45 +01:00
Benoit Marty
4ac56f0a00 Merge pull request #6323 from element-hq/feature/bma/renovateCooldown
Renovate: add a cooldown of 7 days for dependencies that we do not manage
2026-03-13 14:44:05 +01:00
renovate[bot]
0b9f746946 fix(deps): update sqldelight to v2.3.1 2026-03-12 21:10:41 +00:00
ganfra
1fc456ad21 Merge pull request #6332 from element-hq/renovate/org.jlleitschuh.gradle.ktlint-14.x
chore(deps): update plugin ktlint to v14.2.0
2026-03-12 20:36:37 +01:00
ganfra
33dd9d9410 Merge pull request #6313 from element-hq/renovate/com.github.matrix-org-matrix-analytics-events-0.x
fix(deps): update dependency com.github.matrix-org:matrix-analytics-events to v0.33.2
2026-03-12 20:31:17 +01:00
renovate[bot]
092dda3477 chore(deps): update plugin ktlint to v14.2.0 2026-03-12 18:58:23 +00:00
renovate[bot]
37af273725 chore(deps): update actions/download-artifact action to v8.0.1 (#6324)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-11 16:57:12 +00:00
Benoit Marty
bb8b547d8d Renovate: add a cooldown of 7 days for dependencies that we do not manage. 2026-03-11 17:17:49 +01:00
renovate[bot]
2f10b60667 fix(deps): update dependency com.posthog:posthog-android to v3.37.0 (#6317)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-11 16:12:28 +01:00
renovate[bot]
1b6d2037b8 chore(deps): update reactivecircus/android-emulator-runner action to v2.36.0 (#6320)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-11 16:12:00 +01:00
Benoit Marty
c146b8772f Merge pull request #6318 from element-hq/feature/bma/renovateConfig
Limit number of created PR to upgrade Posthog dependency
2026-03-11 15:05:27 +01:00
Benoit Marty
e1fd31a151 Limit PostHog Android upgrade to one PR per month, the first day of the month 2026-03-11 11:43:52 +01:00
Benoit Marty
5a3264c32b Convert file to Json5 format and add trialing comma 2026-03-11 11:20:53 +01:00
renovate[bot]
06671b4166 fix(deps): update dependency com.posthog:posthog-android to v3.36.1 (#6316)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-11 11:09:48 +01:00
Benoit Marty
d57c64be06 Merge pull request #6314 from element-hq/feature/bma/sendButtonColors
Iterate on send button colors
2026-03-11 10:06:04 +01:00
renovate[bot]
841b63d670 fix(deps): update dependency com.github.matrix-org:matrix-analytics-events to v0.33.2 2026-03-10 16:41:28 +00:00
ElementBot
cab6344f1b Update screenshots 2026-03-10 16:26:49 +00:00
Benoit Marty
b6321209ed Iterate on the send button colors. Fixes #6312 2026-03-10 17:10:15 +01:00
renovate[bot]
bc957f2a50 fix(deps): update dependency com.posthog:posthog-android to v3.36.0 (#6311)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-10 17:01:02 +01:00
Benoit Marty
da3163f0b5 Changelog for version 26.03.3 2026-03-10 16:22:55 +01:00
Benoit Marty
83cc2011d7 Adding fastlane file for version 26.03.3 2026-03-10 16:22:55 +01:00
Benoit Marty
0d3c123091 Setting version for the release 26.03.3 2026-03-10 16:22:55 +01:00
Andy Balaam
612b56f067 Call the new recoverAndFixBackup method to fix key storage if it's broken 2026-03-10 14:49:34 +00:00
renovate[bot]
89798654cb Merge pull request #6310 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-26.x
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v26.03.11
2026-03-10 15:17:11 +01:00
Jorge Martin Espinosa
f77098ed47 Add network constraints for fetching notifications with WorkManager (#6305)
* Add `isNetworkBlocked` and `isInAirGappedEnvironment` to `NetworkMonitor`.

* Improve the DI of `SyncPendingNotificationsRequestBuilder` to simplify its usage.

* Only update `isInAirGappedEnvironment` in `DefaultNetworkManager` if the current build is an enterprise one.

* Add network constraints to `DefaultSyncPendingNotificationsRequestBuilder` based on the air-gapped status.

* Add a feature flag to disable the new check, in case it doesn't work as expected.
2026-03-10 12:44:31 +00:00