Commit graph

5537 commits

Author SHA1 Message Date
Benoit Marty
18f07383a3 Revert "Add "call.pro.element.io" in the list of known hosts for Element Call."
This reverts commit 761834dab2.
2026-01-30 15:05:59 +01:00
Benoit Marty
f4a9900a0d
Iterate on QrCode login error buttons (#6101)
* Iterate on login error: add a cancel button that fully close the flow.

tom

* Fix compilation warning: `Name contains character(s) that can cause problems on Windows: "`

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2026-01-30 14:21:14 +01:00
Jorge Martin Espinosa
8c0c7a61df
Remove runBlocking in ThreadedMessagesNode (#6108)
* Remove `runBlocking` in `ThreadedMessagesNode`. This should help reducing the number of reported ANRs
2026-01-30 09:16:25 +00:00
Jorge Martin Espinosa
95b6356d0b
Add special flow for leaving a space as the last owner (#6112)
* When the user is in a v12 room, use different UI to select the last owner when leaving

- Add `LeaveSpaceRoom.areCreatorsPrivileged` to detect when this is happening.
- Import new strings.
- Build the new UI.
- Attach it to a change member roles screen navigation.

* Don't display the `isLastOwner` UI if the user is the only joined one in the room

* Rename `LeaveSpaceState.isLastOwner` to `.needsOwnerChange`. This way, it's easier to understand the difference with the passed `LeaveSpaceRoom.isLastOwner` value

* Add a test for the new check of user not being the last joined member

* Fix paddings in `LeaveSpaceView`

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2026-01-30 09:10:00 +00:00
Benoit Marty
bbaaafad63 Ensure that the call is not closed when it is an External call. 2026-01-29 16:21:00 +01:00
Benoit Marty
761834dab2 Add "call.pro.element.io" in the list of known hosts for Element Call. 2026-01-29 16:13:33 +01:00
ganfra
3824cf4e64
Merge pull request #6099 from element-hq/feature/fga/space_management_iteration
Improve space management with pagination and partial failure handling
2026-01-29 10:57:14 +01:00
Benoit Marty
24868f97d2
Merge pull request #6097 from element-hq/feature/bma/favoriteWording
Improve favorite wording and icon of room
2026-01-28 17:16:53 +01:00
Benoit Marty
c84a2d3d4a Fix compilation warning: Name contains character(s) that can cause problems on Windows: " 2026-01-28 16:20:14 +01:00
Benoit Marty
6f0f315b7e Iterate on login error: add a cancel button that fully close the flow.
tom
2026-01-28 16:20:14 +01:00
ganfra
94a2b2e5f8 Fix renaming after rebase 2026-01-27 21:19:21 +01:00
ganfra
a85c566341 Clean up unused imports and improve code documentation 2026-01-27 18:43:38 +01:00
ganfra
44d33af6dc Call spaceRoomList.reset when exiting add/remove room flow 2026-01-27 18:43:38 +01:00
ganfra
e896c7604d Iterate on manage space rooms, but not happy with the reset method. 2026-01-27 18:43:38 +01:00
renovate[bot]
bcd707d307
Update dependency org.matrix.rustcomponents:sdk-android to v26.1.27 (#6096)
* Update dependency org.matrix.rustcomponents:sdk-android to v26.1.27

* Fix breaking API changes: `LeaveSpaceRoom.isLastAdmin` is now `LeaveSpaceRoom.isLastOwner`.

* Rename `isLastAdmin` to `isLastOwner` in our codebase too.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2026-01-27 15:02:55 +00:00
Skye Elliot
03bd85b3fc
Remove "history may be shared" banner. (#6087)
* Revert "Add alert to encrypted rooms with visible history (Android). (#5709)"

This reverts commit 59f51d8627.

* fix: Restore identity state change preview and snapshot.
2026-01-27 14:15:41 +00:00
Benoit Marty
b23f10f0f0 Use presenter test extension. 2026-01-27 15:07:17 +01:00
Benoit Marty
8c825f8f90 RoomListSearchEvents -> RoomListSearchEvent 2026-01-27 15:04:39 +01:00
Benoit Marty
624d97c262 RoomListEvents -> RoomListEvent 2026-01-27 15:03:57 +01:00
Benoit Marty
1f5d2bdae9 RoomListFiltersEvents -> RoomListFiltersEvent 2026-01-27 15:01:57 +01:00
Benoit Marty
e769567241 HomeEvents -> HomeEvent 2026-01-27 15:01:26 +01:00
Benoit Marty
332f7f0945 Use presenter test extension. 2026-01-27 14:59:23 +01:00
Benoit Marty
d01be9ed6f RoomNotificationSettingsEvents -> RoomNotificationSettingsEvent 2026-01-27 14:57:53 +01:00
Benoit Marty
a8e6e97721 RoomMemberListEvents -> RoomMemberListEvent 2026-01-27 14:56:58 +01:00
Benoit Marty
6e21ddd16d Update icon and text when a room is a favorite. 2026-01-27 14:55:50 +01:00
Jorge Martin Espinosa
61cbc54942
Add 'Create room' option to menu in space screen (#6095) 2026-01-27 14:07:06 +01:00
Richard van der Hoff
e884cbf76e
Show an icon in the room header for shared history (#6090)
Add a decoration to the header for encrypted rooms with `history_visibility:
{shared|public}`.

Fixes: #6070

---------

Co-authored-by: ElementBot <android@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
2026-01-27 11:31:01 +00:00
Jorge Martin Espinosa
6a9d084a50
Add an empty state for the space screen if the user can modify its graph (#6064)
* Add an empty state for the space screen if the user can modify its graph. It adds a new 'create room' button that allows you to open the create room screen with some preset values.

* When computing the editable spaces in `ConfigureRoomPresenter`, also set up the initial selected parent space if possible

* Use `Builder` pattern for `CreateRoomEntryPoint`

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2026-01-27 11:12:12 +01:00
Benoit Marty
fc8afab1bb
Merge pull request #6092 from element-hq/feature/bma/endPollConfirmation
Display a confirmation dialog when ending a poll from the event bottom sheet
2026-01-27 10:47:12 +01:00
Benoit Marty
9a6ebe9639 Use presenter test extension. 2026-01-27 10:08:25 +01:00
Benoit Marty
f4802d960e ReadReceiptBottomSheetEvents -> ReadReceiptBottomSheetEvent 2026-01-27 10:03:28 +01:00
Benoit Marty
0ca69f0e5c ReactionSummaryEvents -> ReactionSummaryEvent 2026-01-27 10:02:44 +01:00
Benoit Marty
b6fcb0240d EmojiPickerEvents -> EmojiPickerEvent 2026-01-27 10:02:08 +01:00
Benoit Marty
f9a39fd552 CustomReactionEvents -> CustomReactionEvent 2026-01-27 10:01:38 +01:00
Benoit Marty
3133db3cf6 ReportMessageEvents -> ReportMessageEvent 2026-01-27 10:00:44 +01:00
Benoit Marty
9227d96d3e PinnedMessagesListEvents -> PinnedMessagesListEvent 2026-01-27 10:00:02 +01:00
Benoit Marty
3af41c814f PinnedMessagesBannerEvents -> PinnedMessagesBannerEvent 2026-01-27 09:59:18 +01:00
Benoit Marty
79b8742e95 ResolveVerifiedUserSendFailureEvent -> ResolveVerifiedUserSendFailureEven 2026-01-27 09:58:44 +01:00
Benoit Marty
f74f6b0d45 AttachmentsPreviewEvents -> AttachmentsPreviewEvent 2026-01-27 09:57:36 +01:00
Benoit Marty
f5b5bee326 LinkEvents -> LinkEvent 2026-01-27 09:55:20 +01:00
Benoit Marty
dc3152af12 EventFromTimelineItem -> TimelineItemEvent 2026-01-27 09:47:49 +01:00
Benoit Marty
4d5ec1cf8b TimelineEvents -> TimelineEvent 2026-01-27 09:45:10 +01:00
Benoit Marty
bdd8d373c5 MessagesEvents -> MessagesEvent 2026-01-27 09:38:45 +01:00
Benoit Marty
a0b60394c4 Use presenter test extension. 2026-01-27 09:35:51 +01:00
Benoit Marty
5721ae2d3b ActionListEvents -> ActionListEvent 2026-01-27 09:34:18 +01:00
Benoit Marty
89fac40265 Add confirmation dialog when ending poll from the bottom sheet. 2026-01-27 09:26:03 +01:00
Benoit Marty
8db6409a42 Remove unused MessagesEvents.Dismiss 2026-01-27 09:13:07 +01:00
Jorge Martin Espinosa
80ba0e9b0d
Fix rageshakes not uploading if they are too long (#6075)
* Fix rageshakes not uploading if they are too long. The max log line size in the default rageshake server is `1_000_000`.

* Change upload order to ensure the current logs and the push rules are always sent.

* Add 'buffer' for unexpected log lines.
2026-01-27 07:44:12 +01:00
Jorge Martin Espinosa
62768359cb
Create a new room in a space (#6061)
* Add `SpaceService.editableSpaces` and `SpaceService.addChildToSpace`

* Add `parentSpace` to `CreateRoomConfig`

* Allow setting a parent space to a room in `ConfigureRoomPresenter`, make sure the room is added to the parent space when creating it

* `ConfigureRoomPresenter`: Load the list of possible spaces a room can be added to

* Refactor `RoomVisibilityState` to internally use `JoinRuleItem`

This gets rid of `RoomAccess` and `RoomAccessItem`, and it will allow us to map the join rule items in a cleaner way to both join rules and the UI

* Implement the UI changes:

- Display the parent space.
- Allow selecting a new one.
- Import needed strings.

* Fix existing tests

* Add `@Immutable` annotation to `SpaceRoom`, since it was detected as unstable.

Maybe because of `RoomType`?

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2026-01-26 18:23:02 +01:00
Benoit Marty
e8b14e62cf Sync all strings and fix compilation issue. 2026-01-26 14:13:06 +01:00