Commit Graph

14459 Commits

Author SHA1 Message Date
ganfra c3ef9251ab change: finished feature flag should fallback to default value 2025-12-22 17:49:41 +01:00
ganfra 0bc8b16079 Remove FeatureFlags.Space entirely 2025-12-22 17:46:45 +01:00
ganfra d6ba53b000 Merge pull request #5948 from element-hq/feature/fga/space_settings_menu_entry
Change : add "settings" entry menu
2025-12-22 17:31:20 +01:00
Jorge Martin Espinosa 57f8fbe206 Merge branch 'develop' into fix/crash-on-nightly-incorrect-di-cast 2025-12-22 16:04:25 +01:00
ElementBot fe1cdb6df6 Update screenshots 2025-12-22 14:41:43 +00:00
ganfra 7f2d5b94bb misc : add enabled param to ListItemContent.Custom View 2025-12-22 15:25:54 +01:00
renovate[bot] 00dcbf4a7f 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 b91e3cfb84 Do some cleanup in VectorUnifiedPushMessagingReceiverBindings 2025-12-22 14:17:19 +01:00
Jorge Martín d094233250 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 d0fd2f4a98 Make sure we don't obfuscate Metro classes 2025-12-22 14:16:35 +01:00
ElementBot cad746e3e2 Update screenshots 2025-12-22 10:29:46 +00:00
Jorge Martín dbf32a1bfe RustSpaceService.joinedSpaces() now points to the FFI method SpaceService.topLevelJoinedSpaces() 2025-12-22 11:19:37 +01:00
Jorge Martín 0440f760ed Instantiate the now suspending innerClient.spaceService() RustMatrixClient with runBlocking for now 2025-12-22 11:19:37 +01:00
Jorge Martín a8ffe46d99 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 0ed40c562d Replace some usages of TimelineEventType in EventType with TimelineEventContent 2025-12-22 11:19:37 +01:00
renovate[bot] e98ff5857b fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.12.19 2025-12-22 11:19:37 +01:00
renovate[bot] 078b4c4774 fix(deps): update dependency io.github.sergio-sastre.composablepreviewscanner:android to v0.8.1 (#5916)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-22 11:01:38 +01:00
ganfra e998a4f36e change(space) : add "settings" entry menu 2025-12-22 09:40:46 +01:00
ElementBot 0a9c20e870 Update screenshots 2025-12-21 10:46:34 +00:00
Benoit Marty 328a1b77fa Use existing preview. 2025-12-21 11:33:07 +01:00
Benoit Marty 92c0de7f83 Add preview for ElementTheme.typography values. 2025-12-20 18:23:50 +01:00
Benoit Marty 8c446ff81f Remove materialTypography val from ElementTheme.
We should only use `typography`.
2025-12-20 17:03:19 +01:00
Benoit Marty 31d5aa7a33 Use typography instead of materialTypography. 2025-12-20 17:03:18 +01:00
Benoit Marty 5551f4e039 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
Benoit Marty 620ff03fb7 Fix tests 2025-12-20 16:26:34 +01:00
Benoit Marty c79cd37bac Fix tests 2025-12-19 18:05:56 +01:00
ganfra a7e510f93a quality: format code 2025-12-19 17:35:22 +01:00
ganfra a5d17f390f change(room permissions): user can edit only roles <= to his own role 2025-12-19 17:10:28 +01:00
Jorge Martín 0b291ce202 Fix toPlainText representation with formatting spans 2025-12-19 16:15:51 +01:00
Benoit Marty 19e349ac89 Remove empty line. 2025-12-19 15:53:43 +01:00
renovate[bot] 4e11c69e7b fix(deps): update dependency org.maplibre.gl:android-sdk to v12.3.1 (#5883)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-19 15:39:17 +01:00
renovate[bot] c1c1b49c18 Update GitHub Artifact Actions (#5932)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-19 15:38:26 +01:00
renovate[bot] e863fa69c3 fix(deps): update dependency androidx.webkit:webkit to v1.15.0 (#5925)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-19 15:38:08 +01:00
Benoit Marty 2a9765ad33 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 9ad69a0af7 Merge pull request #5936 from kaylendog/kaylendog/history-sharing/algorithm
Show history visibility banner strictly for `shared` rooms instead of `invited`.
2025-12-19 15:14:36 +01:00
ElementBot 55f1c91e35 Update screenshots 2025-12-19 14:08:00 +00:00
Benoit Marty beea921f2e Simplify the copy of the history visibility settings
Closes #5898
2025-12-19 14:53:06 +01:00
renovate[bot] 07671dbd72 fix(deps): update dependency com.google.zxing:core to v3.5.4 (#5935)
* fix(deps): update dependency com.google.zxing:core to v3.5.4

* We are not targetting API 24+ so it should be fine to use the last version

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoitm@element.io>
Co-authored-by: ElementBot <android@element.io>
2025-12-19 14:15:55 +01:00
renovate[bot] f785e53315 fix(deps): update dependency io.nlopez.compose.rules:detekt to v0.5.3 (#5939)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-19 13:13:54 +01:00
Jorge Martin Espinosa 4f1fd33b47 Fix unverified account after account creation (#5914)
* Fix unverified account after account creation:

When we create an account either using OIDC or by importing a login and password one, we need to wait until the verification state is known (either verified or unverified).

The problem is the verification service will return incorrect values until the E2EE tasks are initialized in the SDK, even if we add the state listeners after doing so.

So what we can do is initialize the E2EE setup, discard any invalid verification state received while it's not initialized, and take only those received after it's initialized.

* Actually restore the `Client` in `RustMatrixAuthenticationService.importCreatedSession` so we don't need to use `clear` and have the navigation restore the client later:

This standarizes the way the login/registration flow works, always restoring/reusing the existing client instance
2025-12-19 12:55:34 +01:00
Benoit Marty c04b7f234d Sync strings. 2025-12-19 12:46:39 +01:00
Skye Elliot 42277cf604 docs: Clarify purpose of LaunchedEffect as part of algorithm. 2025-12-19 11:09:19 +00:00
Jorge Martin Espinosa 105bab1758 Add threadInfo field to message like timeline events (#5930)
* Add `threadInfo` field to message like timeline events:
- Polls
- Stickers
- UTDs

* Add missing cases for `EventTimeline.threadInfo()`
2025-12-19 09:43:40 +00:00
renovate[bot] 1d0b493869 fix(deps): update metro to v0.9.2 (#5940)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-19 09:18:02 +00:00
Benoit Marty ac7321f841 Add exceptions. 2025-12-19 09:44:58 +01:00
renovate[bot] 7cc495dfc4 fix(deps): update media3 to v1.9.0 (#5931)
* Update media3 to v1.9.0

* Fix compilation issue.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2025-12-19 09:39:35 +01:00
Benoit Marty 4aadbed0b1 Fix test issue: "java.security.KeyStoreException: AndroidKeyStore not found" 2025-12-19 09:27:11 +01:00
ganfra cff97d0c4f quality: fix tests after changes 2025-12-18 21:45:49 +01:00
ganfra e981e61267 change(room permissions): fix some role&permissions inconsistencies after last changes 2025-12-18 21:37:56 +01:00
ganfra b1f5499ad9 change(member moderation): fix available moderation actions 2025-12-18 21:36:55 +01:00