Commit Graph

5456 Commits

Author SHA1 Message Date
Benoit Marty
d207efd169 RageshakePreferencesEvents -> RageshakePreferencesEvent 2026-01-19 18:18:44 +01:00
Benoit Marty
dca227d3d7 RageshakeDetectionEvents -> RageshakeDetectionEvent 2026-01-19 18:17:58 +01:00
Benoit Marty
31fc60f40e Improve the code. 2026-01-19 18:17:13 +01:00
Benoit Marty
60cb0806fa Ensure the latest screenshot is rendered. Fixes #6008 2026-01-19 18:16:18 +01:00
Benoit Marty
19a3ce35f6 Merge pull request #6016 from element-hq/feature/bma/fixFlakyTest
Attempt to fix flaky test.
2026-01-19 14:13:17 +01:00
Jorge Martin Espinosa
acf919f2fb misc: Provide ConfigureRoomState.availableVisibilityOptions from the presenter (#6024)
It seems better to handle the filtering logic there than on the view.

Besides this, hide knocking for spaces even if the knocking feature is enabled. We don't want to have knocking in spaces yet.
2026-01-19 10:54:00 +01:00
Benoit Marty
2534cd27e0 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
ae76e8b0ea 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
98890f5365 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
de8d3aa695 Include the number of omitted logs (if > 0) in the bug report. 2026-01-16 15:55:23 +01:00
Benoit Marty
b89e165dd6 Do not retrieve the version on each recomposition 2026-01-16 15:47:34 +01:00
ganfra
23d3066a38 Merge pull request #6022 from element-hq/feature/fga/space_manage_rooms
Space : manage rooms
2026-01-16 11:54:29 +01:00
ganfra
48e0e90bd0 Add doc to SpacePermissions data class 2026-01-16 11:18:16 +01:00
ganfra
601e73162b Remove unused imports and fix code style issues 2026-01-15 18:18:27 +01:00
Benoit Marty
85be09639d 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
943c1e74db Change canEditSpaceGraph to observe space settings feature flag 2026-01-15 17:43:44 +01:00
ganfra
aeeaa48df7 Replace SpaceState.currentSpace with spaceInfo (RoomInfo) 2026-01-15 17:37:34 +01:00
Benoit Marty
f62b2b7ae6 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
4ba465fd04 Ensure that room with long names renders correctly in the room list. 2026-01-15 17:07:25 +01:00
ganfra
b560b0443e Move canEditSpaceGraph out of SettingsPermissions to his own Permissions 2026-01-15 16:41:33 +01:00
Benoit Marty
18bbca0f65 Make the number view scrollable
Fixes #6009
2026-01-15 16:22:44 +01:00
Benoit Marty
caf5ab1085 Rename the state flow. Also let stateFlow be a real val. 2026-01-15 15:20:48 +01:00
Benoit Marty
14c1c4b282 Attempt to fix flaky test.
The test `on QR code data ready - calls the expected callback` sometimes fails on the CI with the following error:

androidx.concurrent.futures.CallbackToFutureAdapter$FutureGarbageCollectedException: The completer object was garbage collected - this future would otherwise never complete. The tag was: CameraX initInternal
2026-01-15 15:09:47 +01:00
ganfra
02efe0706e Move manage rooms menu item to top of space menu 2026-01-15 12:41:11 +01:00
ganfra
0af9a17cd9 Rename canManageRooms to canEditSpaceGraph 2026-01-15 12:40:47 +01:00
ganfra
834a4ae2a7 Add proper localization for space room removal UI 2026-01-15 12:14:08 +01:00
Benoit Marty
017894201c Signin with Element Classic WIP 2026-01-15 11:58:28 +01:00
ganfra
d4e676fd5a Merge branch 'develop' into feature/fga/space_manage_rooms 2026-01-14 17:54:43 +01:00
ganfra
efdf2020fe Add tests for space manage rooms mode 2026-01-14 17:47:20 +01:00
ganfra
bd58e07220 Hide unread count in manage space rooms mode 2026-01-14 17:46:59 +01:00
ganfra
6d3dfe7687 Animate transition from/to space manage rooms mode. 2026-01-14 16:39:57 +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
ganfra
bed35807d2 Iterate on removing space child rooms. 2026-01-14 15:29:18 +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
ganfra
78b4895254 Add manage mode to space view for removing child rooms, wip. 2026-01-13 22:08:48 +01: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