Commit Graph

5351 Commits

Author SHA1 Message Date
bmarty
a2ca2e7c1f Sync Strings from Localazy 2025-12-23 11:23:46 +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
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
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
Benoit Marty
07f8f878d2 Use more realistic value for maxUploadSize 2025-12-18 11:18:25 +01:00
Benoit Marty
8be152644c Use BackspaceSolid Icon from Compound 2025-12-17 12:07:23 +01:00
Benoit Marty
90d71f5e66 Fix issue detected by lint. 2025-12-17 10:59:48 +01:00
ganfra
8266902ec2 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
a1b84bdcc4 change: rename and reorder RoomPermissionsSection to match design 2025-12-16 21:54:14 +01:00
ganfra
10b61df11b quality: fix tests after latest changes 2025-12-16 20:34:26 +01:00
Benoit Marty
05fc9ea217 Add missing test 2025-12-16 20:13:07 +01:00
Benoit Marty
086229f5dc Add test on RustCheckCodeSender 2025-12-16 20:03:33 +01:00
Benoit Marty
b5fdc179c7 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
d298200934 Use the right video preset when sharing videos (#5892) 2025-12-16 16:40:44 +01:00
Benoit Marty
5bb9f579a4 Coding convention 2025-12-16 16:14:05 +01:00
Benoit Marty
e85a396d21 Format 2025-12-16 16:14:05 +01:00
Benoit Marty
fd446e98dd Link new device using QrCode. 2025-12-16 16:14:04 +01:00
ganfra
346595a1e6 quality: fix test 2025-12-16 11:44:27 +01:00
ganfra
624d63fca1 quality: fix import 2025-12-16 11:32:22 +01:00
ganfra
1300e7723c Merge branch 'develop' into feature/fga/space_settings_iteration 2025-12-16 11:02:29 +01:00
ElementBot
6880cf518c Sync Strings from Localazy (#5904)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-12-15 23:51:19 +01:00
ganfra
5d2ca95e40 quality: format and remove unused code 2025-12-15 21:05:07 +01:00
ganfra
a21b66b862 change(space) : last admin navigate to security&privacy 2025-12-15 20:46:23 +01:00
ganfra
591eac83bd Merge branch 'develop' into feature/fga/space_settings_iteration 2025-12-15 16:06:06 +01:00
ganfra
df77b61df6 fix: edit moderators not working 2025-12-15 15:33:03 +01:00
ganfra
5bb71db3b1 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
0476cbd4d9 misc(power level) : expose RoomMemberModerationPermissions after PR review 2025-12-15 11:42:06 +01:00
Benoit Marty
b03b6b3da8 Merge pull request #5891 from element-hq/feature/bma/qrCodeScannerCleanup
Qr code scanner cleanup
2025-12-12 17:24:01 +01:00
Benoit Marty
9ba84a1f8f 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
4e043bfa40 Fix compilation issue. 2025-12-12 12:21:41 +01:00
ganfra
5c8fd831e3 misc(power level) : update tests following api change 2025-12-12 11:52:24 +01:00
ganfra
ee38fb5f63 misc(power level) : use new api 2025-12-12 11:26:54 +01:00