Commit graph

5339 commits

Author SHA1 Message Date
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
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
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
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
Benoit Marty
a073117d62 Link new device using QrCode. 2025-12-16 16:14:04 +01:00
ganfra
f5ded86381 quality: fix test 2025-12-16 11:44:27 +01:00
ganfra
dc12b754c8 quality: fix import 2025-12-16 11:32:22 +01:00
ganfra
c734d5c485 Merge branch 'develop' into feature/fga/space_settings_iteration 2025-12-16 11:02:29 +01:00
ElementBot
ad881c303a
Sync Strings from Localazy (#5904)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-12-15 23:51:19 +01:00
ganfra
4edcba6aea quality: format and remove unused code 2025-12-15 21:05:07 +01:00
ganfra
313aa7e3c2 change(space) : last admin navigate to security&privacy 2025-12-15 20:46:23 +01:00
ganfra
ce079e84f5 Merge branch 'develop' into feature/fga/space_settings_iteration 2025-12-15 16:06:06 +01:00
ganfra
4622f592fb fix: edit moderators not working 2025-12-15 15:33:03 +01:00
ganfra
65c3188b7a
Merge pull request #5879 from element-hq/feature/fga/room_permissions_rework
misc : rework power levels apis
2025-12-15 12:19:54 +01:00
ganfra
03ac70b662 misc(power level) : expose RoomMemberModerationPermissions after PR review 2025-12-15 11:42:06 +01:00
Benoit Marty
a571996ff3
Merge pull request #5891 from element-hq/feature/bma/qrCodeScannerCleanup
Qr code scanner cleanup
2025-12-12 17:24:01 +01:00
Benoit Marty
e1361d8677
Merge pull request #5888 from element-hq/feature/bma/roomListIcons
RoomSummary: move the icon related to the last message state on start of the message.
2025-12-12 17:12:34 +01:00
Benoit Marty
6427332c84 Fix compilation issue. 2025-12-12 12:21:41 +01:00
ganfra
d26f21a53b misc(power level) : update tests following api change 2025-12-12 11:52:24 +01:00
ganfra
d654280e30 misc(power level) : use new api 2025-12-12 11:26:54 +01:00
ganfra
1dd313d163 fix(security&privacy): ensure edited settings are reset when options are hidden 2025-12-12 11:15:22 +01:00
ganfra
79de4514b8 change(room permissions): ensure closing screen without permissions 2025-12-11 17:39:10 +01:00
Benoit Marty
56d7ced633 Cleanup 2025-12-11 17:23:34 +01:00
Benoit Marty
82d38faa3d RoomSummary: move the icon related to the last message state on start of the message. 2025-12-11 13:52:30 +01:00
ganfra
4749bc3cf0 change(room permissions): fix securityAndPrivacy permissions computation 2025-12-11 11:54:12 +01:00
ganfra
3e67a43799 change(room permissions): support space management 2025-12-10 15:29:50 +01:00
Jorge Martín
734485255a Add a periodic DB vacuuming task 2025-12-10 15:22:16 +01:00
Jorge Martín
5d6aa1fcfd Add developer option to optimize the SDK DBs 2025-12-10 15:22:16 +01:00
ganfra
c4a542dbf1 localazy: download strings to match module 2025-12-10 15:14:35 +01:00
ganfra
47708dc53b fix(editable avatar) : disable avatar editing if no permission 2025-12-10 14:30:09 +01:00
ganfra
c0c8fd1315 change(space settings): manage permissions 2025-12-10 13:44:46 +01:00
ganfra
3db384b3f4 change(space settings): allow accessing edit details 2025-12-10 12:07:28 +01:00