Commit graph

9985 commits

Author SHA1 Message Date
Benoit Marty
ad33151968 Exclude some class from State coverage check
> Rule 'Check code coverage of states' violated:
    instructions covered percentage for class 'io.element.android.libraries.mediaviewer.impl.local.player.MediaPlayerControllerState' is 0.000000, but expected minimum is 90
    instructions covered percentage for class 'io.element.android.libraries.textcomposer.components.FormattingOptionState' is 0.000000, but expected minimum is 90
2025-02-06 16:51:18 +01:00
Benoit Marty
5456f0e38e
Merge pull request #4226 from element-hq/feature/bma/themeOverride
Theme override
2025-02-06 16:48:16 +01:00
ganfra
560290c81a
Merge pull request #4234 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-0.x
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.78
2025-02-06 16:40:18 +01:00
Jorge Martin Espinosa
3c87fb05b2
Create SyncOrchestrator (#4176)
* Create `SyncOrchestrator` to centralise the sync start/stop flow through the whole app: the decision is based on several inputs: sync state, network available, app in foreground, app in call, app needing to sync an event for a notification.

* Make network monitor return network connectivity status, not internet connectivity

* Don't stop the `SyncService` when network connection is lost, let it fail instead. This prevents an issue when using the offline mode of the SDK, which made the wrong UI states to be shown when the `SyncState` is `Idle` (that is, after the service being manually stopped).

* Rename `NetworkStatus.Online/Offline` to `Connected/Disconnected` so they're not easily mistaken with internet connectivity instead
2025-02-06 16:36:57 +01:00
ganfra
08235a7a84 dependencies(matrix sdk) : expose ErrorKind 2025-02-06 15:50:46 +01:00
Benoit Marty
108b849ef9 Update ref to enterprise 2025-02-06 15:36:53 +01:00
Benoit Marty
9411cad0a7 Fix typo. 2025-02-06 15:10:15 +01:00
Benoit Marty
b7dc2e3551 No need to expose libs.compound here. 2025-02-06 15:10:15 +01:00
Benoit Marty
d173d67e77 Fix Text button color. 2025-02-06 15:10:15 +01:00
Benoit Marty
cc7fd55269 Use color from ElementTheme. 2025-02-06 15:10:15 +01:00
Benoit Marty
0d5912e7fd move enterprise module ref 2025-02-06 15:10:15 +01:00
ElementBot
84908baccb Update screenshots 2025-02-06 15:10:15 +01:00
Benoit Marty
07d4778ae5 Use ElementTheme instead of MaterialTheme 2025-02-06 15:10:15 +01:00
Benoit Marty
4f5155c314 Color aliases now use ElementTheme 2025-02-06 15:10:14 +01:00
Benoit Marty
1654f569a0 Add ability to EnterpriseService to override theme colors 2025-02-06 15:10:14 +01:00
Benoit Marty
ce1c01e626
Merge pull request #4198 from cbs228/bugfix/full-browser-for-web-links
Open chat links in regular browser tabs
2025-02-06 09:10:23 +01:00
Benoit Marty
5644b0f65f
Merge pull request #4235 from element-hq/feature/bma/fixNightlyReports
Fix nightly reports
2025-02-06 09:07:50 +01:00
Benoit Marty
070fd4f53a Do not rely on RoomAlias constructor to validate the Room alias, since there is no validation in release mode.
This is fixing the test in release mode.
2025-02-05 18:05:10 +01:00
Benoit Marty
39b51b4904 Move test class to package impl 2025-02-05 17:27:44 +01:00
renovate[bot]
4fb6706a4f
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.78 2025-02-05 15:33:36 +00:00
Benoit Marty
cb549e86ab
Merge pull request #4230 from element-hq/renovate/com.posthog-posthog-android-3.x
Update dependency com.posthog:posthog-android to v3.11.2
2025-02-05 16:32:17 +01:00
Benoit Marty
fc96c00194
Merge pull request #4233 from element-hq/feature/bma/dmCreationConfirmation
Display a bottom sheet to let user confirm the DM creation
2025-02-05 16:01:35 +01:00
ElementBot
1214b209cc Update screenshots 2025-02-05 14:35:56 +00:00
Benoit Marty
86c0a37671 Remove string duplication 2025-02-05 15:21:59 +01:00
Benoit Marty
8f281ffa3c Extract testEnv to the test module 2025-02-05 15:20:18 +01:00
ElementBot
dc3234c581 Update screenshots 2025-02-05 11:26:18 +00:00
Benoit Marty
b173b10f59 Add unit tests on MatrixUserExtensions 2025-02-05 12:15:30 +01:00
Benoit Marty
a01280133d Add missing preview. 2025-02-05 12:15:29 +01:00
ElementBot
3f675b8fc4 Update screenshots 2025-02-05 08:47:12 +00:00
Benoit Marty
9a255c5e31 Display a confirmation dialog before creating a DM. 2025-02-05 09:32:33 +01:00
Benoit Marty
6362e01650
Merge pull request #4231 from element-hq/feature/bma/incomingCallAvatar
Update incoming call notification content to "📹 Incoming call"
2025-02-04 17:07:24 +01:00
renovate[bot]
617247dc16
Update dependency com.posthog:posthog-android to v3.11.2 2025-02-04 15:22:18 +00:00
Benoit Marty
7878f97453 Update incoming call notification content to "📹 Incoming call" 2025-02-04 16:20:53 +01:00
Benoit Marty
c5f3b3450a Changelog for version 25.02.0 2025-02-04 12:27:59 +01:00
Benoit Marty
df34713479 Merge tag 'v25.02.0' into develop
tag
2025-02-04 11:47:53 +01:00
Benoit Marty
c87cc4c986 Merge branch 'release/25.02.0' into main 2025-02-04 11:47:40 +01:00
Benoit Marty
9b341c5c8d Adding fastlane file for version 25.02.0 2025-02-04 11:47:33 +01:00
Benoit Marty
57158ff948 Setting version for the release 25.02.0 2025-02-04 11:46:35 +01:00
Benoit Marty
ccfccbb054
Merge pull request #4215 from element-hq/feature/bma/airGappedSdk
Let the SDK provide the "network is available information"
2025-02-03 21:24:20 +01:00
Benoit Marty
c8f4268545 Create extension SyncService.isOnline() 2025-02-03 20:50:08 +01:00
Benoit Marty
3ffafdd7e7 Add test on isConnected() 2025-02-03 20:07:55 +01:00
Benoit Marty
19e57d4e59
Merge pull request #4170 from element-hq/renovate/org.owasp.dependencycheck-12.x
Update plugin dependencycheck to v12.0.2
2025-02-03 18:42:45 +01:00
Benoit Marty
d54102d614
Merge pull request #4173 from element-hq/renovate/rnkdsh-action-upload-diawi-1.x
Update rnkdsh/action-upload-diawi action to v1.5.6
2025-02-03 18:42:26 +01:00
Benoit Marty
995fdba37e
Merge pull request #4221 from element-hq/renovate/io.sentry-sentry-android-8.x
Update dependency io.sentry:sentry-android to v8.1.0
2025-02-03 18:41:59 +01:00
Benoit Marty
02f75b23c8
Merge pull request #4217 from element-hq/renovate/compose.bom
Update dependency androidx.compose:compose-bom to v2025.01.01
2025-02-03 18:39:58 +01:00
Benoit Marty
c1ab03654f
Merge pull request #4218 from element-hq/renovate/dependencyanalysis
Update dependencyAnalysis to v2.8.0
2025-02-03 18:39:33 +01:00
renovate[bot]
0d151a2e34
Update dependency io.sentry:sentry-android to v8.1.0 2025-02-03 17:39:07 +00:00
Benoit Marty
f0137946f2
Merge pull request #4213 from element-hq/renovate/io.element.android-emojibase-bindings-1.x
Update dependency io.element.android:emojibase-bindings to v1.3.4
2025-02-03 18:38:07 +01:00
Benoit Marty
42eb4167ed
Merge pull request #4222 from element-hq/renovate/com.posthog-posthog-android-3.x
Update dependency com.posthog:posthog-android to v3.11.1
2025-02-03 18:37:34 +01:00
Benoit Marty
f84aa03605 Enable Offline mode of the SyncService, so that the sync starts automatically when the network is back.
Also rely on the sync state to render the "Offline" banner.
2025-02-03 18:27:32 +01:00