Commit Graph

4882 Commits

Author SHA1 Message Date
Jorge Martin Espinosa
71031008dd Adjust metrics to the new specifications (#5937)
* Add `AnalyticsTransactions` with a set of `TransactionDefinition` items matching those in the user story

* Use that for `AnalyticsLongRunningTransactions`, make sure we send the right fields (name, operation, description)

* Add `AnalyticsSendMessageWatcher` to track how long it takes for an event to be sent and for us to get a call back for that from sync

* Add `Noop` implementation for enterprise
2026-01-05 16:23:26 +01:00
Jorge Martin Espinosa
acdbec2de2 Use VerificationState.VERIFIED as soon as it's available (#5973)
This can't be a false positive like `VerificationState.UNKNOWN` or `VerificationState.UNVERIFIED`, so it makes sense to return it as fast as possible instead of waiting for the whole encryption layer to be fully loaded.
2026-01-05 15:06:00 +00:00
Benoit Marty
b01135aeef Merge pull request #5963 from element-hq/feature/bma/variablePlayBackSpeed
Voice message: variable play back speed
2026-01-05 13:58:01 +01:00
ElementBot
860390beb0 Sync Strings from Localazy (#5971)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-01-05 13:57:09 +01:00
ganfra
7282b59467 Merge pull request #5960 from element-hq/feature/fga/fix_space_ff_disabled
Ensure space feature is enabled
2026-01-05 11:30:37 +01:00
Benoit Marty
5b6dfca5d3 Ensure that room / space avatar always have a contentDescription. 2026-01-02 16:23:15 +01:00
Benoit Marty
78ad8056a1 Cleanup 2026-01-02 16:07:45 +01:00
Benoit Marty
152b351bf3 Store voice player playback index in a datastore. 2025-12-31 11:28:26 +01:00
Benoit Marty
325d7d5fde Remove useless curly braces 2025-12-31 11:24:49 +01:00
Benoit Marty
c9b3a19a90 Improve click effect. 2025-12-31 10:02:58 +01:00
Benoit Marty
4c0b02ce23 Rename Button to ButtonType to avoid confusion. 2025-12-31 09:51:38 +01:00
Benoit Marty
4f44edf6af VoiceMessageEvents -> VoiceMessageEvent 2025-12-31 09:48:46 +01:00
Benoit Marty
9e25db97f7 Use test extension 2025-12-31 09:47:45 +01:00
Benoit Marty
7e4b4e4076 Avoid reusing the initialState to send event. 2025-12-31 09:46:44 +01:00
Benoit Marty
f59e979aab Create VoicePlayerConfig. 2025-12-31 09:43:25 +01:00
Benoit Marty
8a52d2b8ce Improve preview. 2025-12-31 09:23:08 +01:00
Benoit Marty
bbe8e112cd Extract PlaybackSpeedButton as an Atom. 2025-12-31 09:19:45 +01:00
Florian
4e2aeff106 Merge branch 'develop' into feat/variable-playback-speed 2025-12-30 21:29:18 +01:00
Benoit Marty
155d3fb96f Fix test compilation 2025-12-29 12:47:21 +01:00
Benoit Marty
6715104f8f Fix class cast exception
java.lang.ClassCastException: io.element.android.libraries.androidutils.json.DefaultJsonProvider cannot be cast to kotlinx.serialization.json.Json
2025-12-29 12:00:58 +01:00
Benoit Marty
32240d38ab Merge pull request #5957 from element-hq/feature/bma/cleanup2025
Cleanup FFI object fixtures.
2025-12-29 11:03:57 +01:00
Benoit Marty
27ba3a4043 Merge pull request #5956 from element-hq/sync-localazy
Sync Strings
2025-12-29 10:35:21 +01:00
Benoit Marty
61ec38cd10 fix(deps): update wysiwyg to v2.41.0 (#5921)
* fix(deps): update wysiwyg to v2.41.0

* Reuse already parsed document instead of parsing it again

* Fix `toPlainText` representation with formatting spans

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-12-29 09:59:37 +01:00
Benoit Marty
971bcbf0bf Ensure factorize follow the same code convention 2025-12-29 09:40:24 +01:00
Benoit Marty
46ae4b9f6b Merge pull request #5945 from element-hq/feature/bma/listItemFont
Use only font from compound
2025-12-29 09:24:01 +01:00
bmarty
f35d7086cb Sync Strings from Localazy 2025-12-29 00:19:01 +00:00
ganfra
4f5a445071 Merge pull request #5946 from element-hq/sync-localazy
Sync Strings
2025-12-23 12:01:53 +01:00
bmarty
a2ca2e7c1f Sync Strings from Localazy 2025-12-23 11:23:46 +01:00
ganfra
5303e81fa3 Merge pull request #5951 from element-hq/fix/crash-on-nightly-incorrect-di-cast
Fix crash when changing the push provider in nightlies
2025-12-23 10:24:29 +01:00
ganfra
97d22935f2 Merge pull request #5950 from element-hq/feature/fga/iterate_permissions_screen
Changes : iterate again on permissions
2025-12-22 18:41:38 +01:00
ganfra
fd43d58351 change: finished feature flag should fallback to default value 2025-12-22 17:49:41 +01:00
ganfra
9afdbdc4ab Remove FeatureFlags.Space entirely 2025-12-22 17:46:45 +01:00
Jorge Martin Espinosa
55185b540d Merge branch 'develop' into fix/crash-on-nightly-incorrect-di-cast 2025-12-22 16:04:25 +01:00
ganfra
a12c37d6d9 misc : add enabled param to ListItemContent.Custom View 2025-12-22 15:25:54 +01:00
renovate[bot]
7b3f082eb3 fix(deps): update kotlin to 2.3.0 (#5917)
* fix(deps): update kotlin to 2.3.0

* Cleanup - remove `datetime` compat version

* Fix several lint issues caused by the Kotlin compiler inference working better (checks in nullables, vars, etc.)

* Fix tests by removing mock in `File.readBytes`, it seems like it's no longer allowed. Using a tmp file works well enough.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-12-22 14:28:15 +01:00
Jorge Martín
3a6e82a7f0 Do some cleanup in VectorUnifiedPushMessagingReceiverBindings 2025-12-22 14:17:19 +01:00
Jorge Martín
9127ce743d Change JsonProvider from a parent interface to a typealias
This fixes the error seen in the nightlies
2025-12-22 14:17:08 +01:00
Jorge Martín
293d41f122 RustSpaceService.joinedSpaces() now points to the FFI method SpaceService.topLevelJoinedSpaces() 2025-12-22 11:19:37 +01:00
Jorge Martín
cfa7d39966 Instantiate the now suspending innerClient.spaceService() RustMatrixClient with runBlocking for now 2025-12-22 11:19:37 +01:00
Jorge Martín
75f8c4f594 Transform MessageEventType and StateEventType into sealed interfaces to handle the Custom variant, also add missing variants 2025-12-22 11:19:37 +01:00
Jorge Martín
63d205f8aa Replace some usages of TimelineEventType in EventType with TimelineEventContent 2025-12-22 11:19:37 +01:00
ElementBot
e5c6f1fada Update screenshots 2025-12-21 10:46:34 +00:00
Benoit Marty
6c0caab132 Use existing preview. 2025-12-21 11:33:07 +01:00
Benoit Marty
8d2a683fbc Add preview for ElementTheme.typography values. 2025-12-20 18:23:50 +01:00
Benoit Marty
d92ac247c1 Remove materialTypography val from ElementTheme.
We should only use `typography`.
2025-12-20 17:03:19 +01:00
Benoit Marty
4402585a52 Use typography instead of materialTypography. 2025-12-20 17:03:18 +01:00
Benoit Marty
650f041ae6 Merge pull request #5942 from element-hq/feature/bma/roomHistoryVisibilitySettings
Simplify the copy of the history visibility settings
2025-12-20 17:02:24 +01:00
Jorge Martín
02b6a90a95 Fix toPlainText representation with formatting spans 2025-12-19 16:15:51 +01:00
Benoit Marty
1571b6e719 Upgrade robolectric to version 4.16 (#5923)
* Update dependency org.robolectric:robolectric to v4.16

* Fix file size formatter output on API 26+

* Use more realistic value for maxUploadSize

* Update screenshots

* Fix test issue: "java.security.KeyStoreException: AndroidKeyStore not found"

* Add exceptions.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ElementBot <android@element.io>
2025-12-19 15:37:38 +01:00
Benoit Marty
d04ebe880b Simplify the copy of the history visibility settings
Closes #5898
2025-12-19 14:53:06 +01:00