Commit Graph

5381 Commits

Author SHA1 Message Date
Florian
4e2aeff106 Merge branch 'develop' into feat/variable-playback-speed 2025-12-30 21:29:18 +01:00
Florian
32d2d312e9 Increase clickable area of playback speed button 2025-12-30 21:24:41 +01:00
ganfra
ad0b1e33f9 quality : move canUnban logic to the permission class 2025-12-30 15:59:04 +01:00
ganfra
0fd5c58a35 Merge branch 'develop' into feature/fga/ban_moderation 2025-12-30 11:33:40 +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
0162a08ccb Rename parameter 2025-12-29 09:47:29 +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
f732aa18a8 fix: unban action requires both ban and kick permissions 2025-12-23 14:36:19 +01:00
ganfra
4f5a445071 Merge pull request #5946 from element-hq/sync-localazy
Sync Strings
2025-12-23 12:01:53 +01:00
ganfra
60fa76a9b9 Revert "fix: display banned member list if permissions.canKick or permissions.canBan"
This reverts commit f7248b87f0.
2025-12-23 11:44:16 +01:00
bmarty
a2ca2e7c1f Sync Strings from Localazy 2025-12-23 11:23:46 +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
f7248b87f0 fix: display banned member list if permissions.canKick or permissions.canBan 2025-12-22 18:06:41 +01:00
ganfra
2dcfdf6e4f quality: rename enum after PR review 2025-12-22 18:04:08 +01:00
ganfra
a09f444b87 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
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
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
ganfra
20a1e7fdcf change(space) : add "settings" entry menu 2025-12-22 09:40:46 +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
Benoit Marty
ecc57ab9a9 Fix tests 2025-12-20 16:26:34 +01:00
Benoit Marty
95372d9cfb Fix tests 2025-12-19 18:05:56 +01:00
ganfra
044d027488 quality: format code 2025-12-19 17:35:22 +01:00
ganfra
f13d9259c5 change(room permissions): user can edit only roles <= to his own role 2025-12-19 17:10:28 +01:00
Benoit Marty
15585536e0 Remove empty line. 2025-12-19 15:53:43 +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
bdaa95bae5 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
d04ebe880b Simplify the copy of the history visibility settings
Closes #5898
2025-12-19 14:53:06 +01:00
Jorge Martin Espinosa
83eae74488 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
98f43f2402 Sync strings. 2025-12-19 12:46:39 +01:00
Skye Elliot
fd883049be docs: Clarify purpose of LaunchedEffect as part of algorithm. 2025-12-19 11:09:19 +00:00
Jorge Martin Espinosa
0b5c4fc8bb 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
ganfra
74dd3f381e quality: fix tests after changes 2025-12-18 21:45:49 +01:00
ganfra
4c2aa0ba33 change(room permissions): fix some role&permissions inconsistencies after last changes 2025-12-18 21:37:56 +01:00
ganfra
a0d6fddf73 change(member moderation): fix available moderation actions 2025-12-18 21:36:55 +01:00
Skye Elliot
b3c4a2ba92 fix: Show history visibiliy banner for shared, not invited. 2025-12-18 16:05:22 +00:00
Benoit Marty
65c17eacc6 Merge pull request #5909 from element-hq/feature/bma/qrCodeLogin
Link new device using QrCode - First version
2025-12-18 16:08:21 +01:00
Benoit Marty
6ccbc88ef5 Reset the handlers when coming back from ShowQrCode screen. 2025-12-18 15:07:08 +01:00
Benoit Marty
b449d4d130 Reset the handlers when starting over after an error. 2025-12-18 15:06:44 +01:00
Benoit Marty
8f6a12f1e6 Rename vars. 2025-12-18 14:48:23 +01:00
Jorge Martín
69eda26235 Check computeCacheSize function in DeveloperSettingsPresenterTest 2025-12-18 14:08:38 +01:00
Jorge Martín
4ef0dfed8c Try fixing UI test (it works locally) 2025-12-18 14:08:38 +01:00
Jorge Martín
88f45517ca Fix test 2025-12-18 14:08:38 +01:00
Jorge Martín
7fe3b18699 Distinguish between indexable and non-indexable extra data 2025-12-18 14:08:38 +01:00
Jorge Martín
b201b40639 Add a new entry in the developer settings to check the store sizes 2025-12-18 14:08:38 +01:00
ganfra
2b12e22cdd change(room permissions): remove change settings permissions 2025-12-18 11:42:07 +01:00