Commit Graph

5424 Commits

Author SHA1 Message Date
Benoit Marty
18bbca0f65 Make the number view scrollable
Fixes #6009
2026-01-15 16:22:44 +01:00
Benoit Marty
4256043338 Merge pull request #6003 from element-hq/feature/bma/longLog
Ensure that log files are not too big.
2026-01-14 16:24:52 +01:00
ElementBot
d01a511903 Sync Strings from Localazy (#5994)
Co-authored-by: jmartinesp <480955+jmartinesp@users.noreply.github.com>
2026-01-14 11:43:57 +00:00
Jorge Martin Espinosa
28b63745f4 When a duplicate room list entry is found, report it and remove it (#6006)
* When a duplicate room list entry is found, report it and remove it

* Fix tests and fixtures

* Simplify how the updates are described in the Sentry reports
2026-01-14 10:56:45 +00:00
Benoit Marty
34bf91093e Ensure that log files are not too big, else the rageshake server will reject the request.
See https://github.com/element-hq/element-android/issues/9096#issuecomment-3480128082

Closes #5983
2026-01-13 18:18:52 +01:00
Jorge Martin Espinosa
03d14087e6 Create spaces (#5982)
* Allow creating a space with `CreateRoomParameters`

* Add 'Create space' menu item in the spaces home screen. Also, imports new strings related to spaces.

* Link the 'Create space' button with the screen to create the space

* Unify room access and visibility for `ConfigureRoom`, use the updated design

* Fix `EditRoomDetails` avatar size (68dp)

* Replace `EditableAvatarView` and `UnsavedAvatar` copmonents with `AvatarPickerView`

* `AvatarDataFetcherFactory`: Make sure we use a fallback image fetcher when the URL is not an MXC one (a local one, i.e.). This removes the previous need for a separate `UnsavedAvatarView`

* Use `AvatarPickerView` in all the screens where `EditableAvatarView` was used

* Improve naming and previews

* Update strings, remove unused ones for `RoomAccessItem`

* Make `isSpace` part of the `CreateRoomConfig`

* Ensure the content fits in the screenshots for `AvatarPickerSizesPreview`

* Add `AvatarDataFetcherFactoryTest`

* Add new feature flag for creating spaces

* Fix ripple being too large for the `Pick` state

* Tweak margins and section titles a bit

* Add preview for `HomeTopBar` with the spaces case

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2026-01-13 14:35:49 +01:00
ganfra
9a40a6404e Merge pull request #5979 from element-hq/feature/fga/space_members_access
Change Room’s Access to/from Space members
2026-01-12 10:48:44 +01:00
ganfra
a206de5a15 quality : fix PR remarks 2026-01-09 17:52:52 +01:00
Benoit Marty
269747437b Add preview with a11y details. 2026-01-09 14:39:57 +01:00
ganfra
993cf838a0 Refactor space selection to use SpaceSelectionStateHolder
Move authorized space selection state to a shared StateHolder scoped
to RoomScope. This simplifies communication between SecurityAndPrivacy
and ManageAuthorizedSpaces nodes by replacing the complex coroutine-based
parent-child coordination with a reactive state flow pattern.
2026-01-09 12:00:54 +01:00
ganfra
fb29ae14be quality: move tests to matching package 2026-01-08 17:25:24 +01:00
ganfra
b8ab0491b8 Fix SecurityAndPrivacy "manage spaces" footer text 2026-01-08 17:24:55 +01:00
ganfra
0f628bef50 Add comprehensive presenter tests for SecurityAndPrivacy feature 2026-01-08 17:16:45 +01:00
Benoit Marty
492e5d61e5 Code cleanup. 2026-01-08 16:34:09 +01:00
Benoit Marty
49434c12a2 tom 2026-01-08 16:31:56 +01:00
Benoit Marty
1dfe26e67a Verification: always render the back button. 2026-01-08 16:19:46 +01:00
Benoit Marty
070c80bd51 Verification of other session: use Devices icon.
Verification of other user: use UserProfileSolid icon.
2026-01-08 16:14:53 +01:00
Benoit Marty
59c175ebe0 Remove BigIcon loading state.
Loading is rendered in the buttons now.
2026-01-08 15:53:09 +01:00
ganfra
3c5d50860d Merge branch 'develop' into feature/fga/space_members_access 2026-01-08 13:46:02 +01:00
ganfra
4eb1926d53 quality : format and clean 2026-01-07 21:09:20 +01:00
ganfra
9cbc8cfa67 Fix SecurityAndPrivacy preview state configuration 2026-01-07 20:19:13 +01:00
ganfra
cbb91500f3 quality: add bunch of tests for Security&Privacy new features 2026-01-07 20:12:41 +01:00
Jorge Martin Espinosa
d67aee23c3 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
ganfra
92acf1edea feature(security&privacy): support KnockRestricted join rule 2026-01-07 17:05:09 +01:00
ganfra
75ab791629 feature(security&privacy): working SpaceMember selection 2026-01-07 11:38:57 +01:00
ganfra
1930877a81 feature(security&privacy): iterate on SpaceMember option 2026-01-06 22:23:10 +01:00
ganfra
96745c765a feature(security&privacy): check SpaceSettings ff 2026-01-05 21:20:26 +01:00
ganfra
8e08c6108d feature(security&privacy): make spaceSelection part of the state 2026-01-05 20:01:38 +01:00
ganfra
2be6b6ce24 quality: rename class 2026-01-05 20:01:21 +01:00
Jorge Martin Espinosa
71031008dd 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
b01135aeef 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
860390beb0 Sync Strings from Localazy (#5971)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-01-05 13:57:09 +01:00
ganfra
7282b59467 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
5b6dfca5d3 Ensure that room / space avatar always have a contentDescription. 2026-01-02 16:23:15 +01:00
Benoit Marty
78ad8056a1 Cleanup 2026-01-02 16:07:45 +01:00
Benoit Marty
4c0b02ce23 Rename Button to ButtonType to avoid confusion. 2025-12-31 09:51:38 +01:00
Benoit Marty
4f44edf6af VoiceMessageEvents -> VoiceMessageEvent 2025-12-31 09:48:46 +01:00
Benoit Marty
bbe8e112cd Extract PlaybackSpeedButton as an Atom. 2025-12-31 09:19:45 +01:00
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
556fdadd7f feature(security&privacy): start branching logic of ManageAuthorizedSpaces 2025-12-30 15:56:32 +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
421f12f396 localazy: sync strings 2025-12-23 15:41:16 +01:00