Commit graph

5398 commits

Author SHA1 Message Date
Benoit Marty
c89a8b95df Add preview with a11y details. 2026-01-09 14:39:57 +01:00
Benoit Marty
7900f1c777 Code cleanup. 2026-01-08 16:34:09 +01:00
Benoit Marty
7b1bc1968d tom 2026-01-08 16:31:56 +01:00
Benoit Marty
e5391bd5a7 Verification: always render the back button. 2026-01-08 16:19:46 +01:00
Benoit Marty
37002a1f3c Verification of other session: use Devices icon.
Verification of other user: use UserProfileSolid icon.
2026-01-08 16:14:53 +01:00
Benoit Marty
3e4ca0dd53 Remove BigIcon loading state.
Loading is rendered in the buttons now.
2026-01-08 15:53:09 +01:00
Jorge Martin Espinosa
ce85ed16f6
Use TextFieldState for room list search (#5975)
* Add new `FilledTextField` variant using `TextFieldState`

* Use `TextFieldState` for `RoomListSearchState.query` - it seems like this is the best practice for this kind of data

* Bonus: fix the clear button being misaligned
2026-01-07 17:24:01 +01:00
Jorge Martin Espinosa
06c4b9488b
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
Benoit Marty
7186044482
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
46f6e811d5
Sync Strings from Localazy (#5971)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-01-05 13:57:09 +01:00
ganfra
094b4c8c0f
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
00448756a8 Ensure that room / space avatar always have a contentDescription. 2026-01-02 16:23:15 +01:00
Benoit Marty
233d22367f Cleanup 2026-01-02 16:07:45 +01:00
Benoit Marty
07be3d01b2 Rename Button to ButtonType to avoid confusion. 2025-12-31 09:51:38 +01:00
Benoit Marty
a10ac8aaab VoiceMessageEvents -> VoiceMessageEvent 2025-12-31 09:48:46 +01:00
Benoit Marty
dc3c9da7e6 Extract PlaybackSpeedButton as an Atom. 2025-12-31 09:19:45 +01:00
Florian
0c004d933c
Merge branch 'develop' into feat/variable-playback-speed 2025-12-30 21:29:18 +01:00
Florian
2b81b187d5 Increase clickable area of playback speed button 2025-12-30 21:24:41 +01:00
ganfra
2fa4994d8e quality : move canUnban logic to the permission class 2025-12-30 15:59:04 +01:00
ganfra
ee241b1e71
Merge branch 'develop' into feature/fga/ban_moderation 2025-12-30 11:33:40 +01:00
Benoit Marty
b5b765eb51
Merge pull request #5957 from element-hq/feature/bma/cleanup2025
Cleanup FFI object fixtures.
2025-12-29 11:03:57 +01:00
Benoit Marty
33341e8795
Merge pull request #5956 from element-hq/sync-localazy
Sync Strings
2025-12-29 10:35:21 +01:00
Benoit Marty
a43c66f56d
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
0bb315608d Rename parameter 2025-12-29 09:47:29 +01:00
Benoit Marty
fe31d5972c
Merge pull request #5945 from element-hq/feature/bma/listItemFont
Use only font from compound
2025-12-29 09:24:01 +01:00
bmarty
7859d666a8 Sync Strings from Localazy 2025-12-29 00:19:01 +00:00
ganfra
afaa369885 fix: unban action requires both ban and kick permissions 2025-12-23 14:36:19 +01:00
ganfra
9cee5541f7
Merge pull request #5946 from element-hq/sync-localazy
Sync Strings
2025-12-23 12:01:53 +01:00
ganfra
0cf6029614 Revert "fix: display banned member list if permissions.canKick or permissions.canBan"
This reverts commit 7c8830b16d.
2025-12-23 11:44:16 +01:00
bmarty
96dc67162c Sync Strings from Localazy 2025-12-23 11:23:46 +01:00
ganfra
76bc487f28
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
7c8830b16d fix: display banned member list if permissions.canKick or permissions.canBan 2025-12-22 18:06:41 +01:00
ganfra
08967da164 quality: rename enum after PR review 2025-12-22 18:04:08 +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
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
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
ganfra
e998a4f36e change(space) : add "settings" entry menu 2025-12-22 09:40:46 +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
Benoit Marty
19e349ac89 Remove empty line. 2025-12-19 15:53:43 +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
Benoit Marty
beea921f2e Simplify the copy of the history visibility settings
Closes #5898
2025-12-19 14:53:06 +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