Commit graph

5367 commits

Author SHA1 Message Date
ganfra
485585d01e feature(security&privacy): create ManageAuthorizedSpace classes 2025-12-23 15:22:16 +01:00
ganfra
9cee5541f7
Merge pull request #5946 from element-hq/sync-localazy
Sync Strings
2025-12-23 12:01:53 +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
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
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
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
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
Skye Elliot
e9831d0e05
fix: Show history visibiliy banner for shared, not invited. 2025-12-18 16:05:22 +00:00
Benoit Marty
3ea10c2c62
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
229e9f9bc4 Reset the handlers when coming back from ShowQrCode screen. 2025-12-18 15:07:08 +01:00
Benoit Marty
92e417a9ba Reset the handlers when starting over after an error. 2025-12-18 15:06:44 +01:00
Benoit Marty
090292a324 Rename vars. 2025-12-18 14:48:23 +01:00
Jorge Martín
35a0da506f Check computeCacheSize function in DeveloperSettingsPresenterTest 2025-12-18 14:08:38 +01:00
Jorge Martín
d851f91287 Try fixing UI test (it works locally) 2025-12-18 14:08:38 +01:00
Jorge Martín
8798f362c1 Fix test 2025-12-18 14:08:38 +01:00
Jorge Martín
fe9224b807 Distinguish between indexable and non-indexable extra data 2025-12-18 14:08:38 +01:00
Jorge Martín
a91dac6cac Add a new entry in the developer settings to check the store sizes 2025-12-18 14:08:38 +01:00
ganfra
b28b8225b5 change(room permissions): remove change settings permissions 2025-12-18 11:42:07 +01:00
Benoit Marty
7def03be2a Use more realistic value for maxUploadSize 2025-12-18 11:18:25 +01:00
Benoit Marty
341c986fc2 Use BackspaceSolid Icon from Compound 2025-12-17 12:07:23 +01:00
Benoit Marty
b5d15ee787 Fix issue detected by lint. 2025-12-17 10:59:48 +01:00
ganfra
f29b0e399a
Merge pull request #5908 from element-hq/feature/fga/space_settings_iteration
Change : space settings iteration
2025-12-16 22:41:03 +01:00
ganfra
c06e397d8a change: rename and reorder RoomPermissionsSection to match design 2025-12-16 21:54:14 +01:00
ganfra
7d98bd0af5 quality: fix tests after latest changes 2025-12-16 20:34:26 +01:00
Benoit Marty
3e420a4d39 Add missing test 2025-12-16 20:13:07 +01:00
Benoit Marty
d7ace0d580 Add test on RustCheckCodeSender 2025-12-16 20:03:33 +01:00
Benoit Marty
ec10a0bf87 Add unit test on RustLinkDesktopHandler
Add unit test on RustLinkMobileHandler
Add unit test on DefaultLinkNewDeviceEntryPoint
2025-12-16 18:37:33 +01:00
Jorge Martin Espinosa
8e3e0951e7
Use the right video preset when sharing videos (#5892) 2025-12-16 16:40:44 +01:00
Benoit Marty
86cafb7c05 Coding convention 2025-12-16 16:14:05 +01:00
Benoit Marty
036fd1ee41 Format 2025-12-16 16:14:05 +01:00