Commit graph

5449 commits

Author SHA1 Message Date
Benoit Marty
e6417efbe1
Merge pull request #6027 from element-hq/feature/bma/improveRageshake
Let rageshake description mention when a log file is missing
2026-01-19 09:22:20 +01:00
Richard van der Hoff
ad622b0ac2
Display a badge for messages decrypted using shared keys (#6023)
The EXA side of element-hq/element-meta#2877: if the keys for a message have been forwarded by another user, indicate that in the UI via the text shown when tapping the event shield.
2026-01-16 17:24:18 +00:00
Jorge Martin Espinosa
a464e29570
Create AppMigration09 to remove the cached well-known config from the SDK (#6026)
This value was most likely was incorrectly cached due to a previous issue in the SDK
2026-01-16 16:03:49 +01:00
Benoit Marty
f555796e82 Include the number of omitted logs (if > 0) in the bug report. 2026-01-16 15:55:23 +01:00
Benoit Marty
953dc1e393 Do not retrieve the version on each recomposition 2026-01-16 15:47:34 +01:00
ganfra
1070b55bb9
Merge pull request #6022 from element-hq/feature/fga/space_manage_rooms
Space : manage rooms
2026-01-16 11:54:29 +01:00
ganfra
f999898b92 Add doc to SpacePermissions data class 2026-01-16 11:18:16 +01:00
ganfra
9d5b2c57bc Remove unused imports and fix code style issues 2026-01-15 18:18:27 +01:00
Benoit Marty
418ac4c7b7
Merge pull request #6019 from element-hq/feature/bma/fixCrashOnLongStrings
Ensure that room with long names are rendered correctly in the room list.
2026-01-15 18:13:58 +01:00
ganfra
b4f15e595d Change canEditSpaceGraph to observe space settings feature flag 2026-01-15 17:43:44 +01:00
ganfra
3757ac144c Replace SpaceState.currentSpace with spaceInfo (RoomInfo) 2026-01-15 17:37:34 +01:00
Benoit Marty
d900054030
Merge pull request #6013 from element-hq/feature/bma/importSession
[POC] Signin with Element Classic
2026-01-15 17:21:16 +01:00
Benoit Marty
158e779bdb Ensure that room with long names renders correctly in the room list. 2026-01-15 17:07:25 +01:00
ganfra
e7789ef869 Move canEditSpaceGraph out of SettingsPermissions to his own Permissions 2026-01-15 16:41:33 +01:00
Benoit Marty
66180201e5 Make the number view scrollable
Fixes #6009
2026-01-15 16:22:44 +01:00
Benoit Marty
f645922bd8 Rename the state flow. Also let stateFlow be a real val. 2026-01-15 15:20:48 +01:00
ganfra
8dc7caa737 Move manage rooms menu item to top of space menu 2026-01-15 12:41:11 +01:00
ganfra
e5e4b18b80 Rename canManageRooms to canEditSpaceGraph 2026-01-15 12:40:47 +01:00
ganfra
57b89d241f Add proper localization for space room removal UI 2026-01-15 12:14:08 +01:00
Benoit Marty
6190980097 Signin with Element Classic WIP 2026-01-15 11:58:28 +01:00
ganfra
bb082191e4 Merge branch 'develop' into feature/fga/space_manage_rooms 2026-01-14 17:54:43 +01:00
ganfra
8b8151722a Add tests for space manage rooms mode 2026-01-14 17:47:20 +01:00
ganfra
525e9b5d50 Hide unread count in manage space rooms mode 2026-01-14 17:46:59 +01:00
ganfra
15c7cbade6 Animate transition from/to space manage rooms mode. 2026-01-14 16:39:57 +01:00
Benoit Marty
0dfdafdd6c
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
ganfra
f50165807d Iterate on removing space child rooms. 2026-01-14 15:29:18 +01:00
ElementBot
aa4125bdc0
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
3ef5e76e99
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
ganfra
b7ff884838 Add manage mode to space view for removing child rooms, wip. 2026-01-13 22:08:48 +01:00
Benoit Marty
7dcd88f8e1 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
6d1ed5967b
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
1614bd7a20
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
75c73be390 quality : fix PR remarks 2026-01-09 17:52:52 +01:00
Benoit Marty
c89a8b95df Add preview with a11y details. 2026-01-09 14:39:57 +01:00
ganfra
9a30e4d19b 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
184e0fb35a quality: move tests to matching package 2026-01-08 17:25:24 +01:00
ganfra
ea7e8e74da Fix SecurityAndPrivacy "manage spaces" footer text 2026-01-08 17:24:55 +01:00
ganfra
c02a61e10c Add comprehensive presenter tests for SecurityAndPrivacy feature 2026-01-08 17:16:45 +01:00
Benoit Marty
7900f1c777 Code cleanup. 2026-01-08 16:34:09 +01:00
Benoit Marty
7b1bc1968d tom 2026-01-08 16:31:56 +01:00
Benoit Marty
e5391bd5a7 Verification: always render the back button. 2026-01-08 16:19:46 +01:00
Benoit Marty
37002a1f3c Verification of other session: use Devices icon.
Verification of other user: use UserProfileSolid icon.
2026-01-08 16:14:53 +01:00
Benoit Marty
3e4ca0dd53 Remove BigIcon loading state.
Loading is rendered in the buttons now.
2026-01-08 15:53:09 +01:00
ganfra
0668135d0e Merge branch 'develop' into feature/fga/space_members_access 2026-01-08 13:46:02 +01:00
ganfra
b3a934bd46 quality : format and clean 2026-01-07 21:09:20 +01:00
ganfra
6eaf608157 Fix SecurityAndPrivacy preview state configuration 2026-01-07 20:19:13 +01:00
ganfra
b3463a561b quality: add bunch of tests for Security&Privacy new features 2026-01-07 20:12:41 +01:00
Jorge Martin Espinosa
ce85ed16f6
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
8da3a3a35d feature(security&privacy): support KnockRestricted join rule 2026-01-07 17:05:09 +01:00
ganfra
0d11c43a9a feature(security&privacy): working SpaceMember selection 2026-01-07 11:38:57 +01:00