Ivan Enderlin
222cffd502
chore(base): Move e2ee.rs to e2ee/to_device.rs.
2025-04-08 13:20:31 +02:00
Ivan Enderlin
cbef772eaa
refactor(base): Move handle_room_member_event_for_profiles as a processor.
...
This patch moves the `handle_room_member_event_for_profiles`
function inside the collection of response processors under the name
`profiles::upsert_or_delete`.
2025-04-08 13:20:31 +02:00
Ivan Enderlin
e7e9c7bcf2
refactor(base): Use response_processors::Context everywhere.
...
This patch updates codes in `BaseClient` to use `Context` as much as
possible.
2025-04-08 13:20:31 +02:00
Richard van der Hoff
f1ea3e64d0
crypto: new result type for encrypt_session_for
...
Reduce the size of the tuple that this thing returns by defining a new result
type.
I haven't put the `share_infos` in the struct, because I'm going to reuse the
same struct for another method where `share_infos` aren't needed.
2025-04-08 12:18:21 +01:00
Richard van der Hoff
257deb4b94
crypto: factor out collect_recipients_for_share_strategy
...
For cases where we don't have a whole `EncryptionSettings`, we need
a finer-grained method.
2025-04-08 12:18:21 +01:00
Jorge Martín
3ece8e62b5
refactor(ffi): export NotificationItem::thread_id in the FFI layer
2025-04-08 11:53:39 +02:00
Jorge Martin Espinosa
f7f07e7389
fix(ui): extract NotificationEvent::thread_id to its own function ( #4899 )
2025-04-08 08:30:14 +00:00
dependabot[bot]
8d0928ff7c
chore(deps): Bump tj-actions/changed-files
...
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files ) from 27ae6b33eaed7bf87272fdeb9f1c54f9facc9d99 to 6f67ee9ac810f0192ea7b3d2086406f97847bcf9.
- [Release notes](https://github.com/tj-actions/changed-files/releases )
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md )
- [Commits](27ae6b33ea...6f67ee9ac8 )
---
updated-dependencies:
- dependency-name: tj-actions/changed-files
dependency-version: 6f67ee9ac810f0192ea7b3d2086406f97847bcf9
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-08 09:13:50 +01:00
maan2003
39212db9ce
fix(wasm): don't kill task on drop
...
Signed-off-by: Manmeet Singh <manmeetmann2003@gmail.com >
2025-04-08 09:10:24 +02:00
Johannes Marbach
056d4a79d0
refactor(send_queue): vectorize media handles on SendHandle ( #4898 )
...
This was broken out of
https://github.com/matrix-org/matrix-rust-sdk/pull/4838 and is a
preliminary step towards implementing
[MSC4274](https://github.com/matrix-org/matrix-spec-proposals/pull/4274 ).
The `media_handles` field on `SendHandle` is turned into a vector so
that it can hold handles for several media when upload a gallery later.
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org >
2025-04-08 08:53:08 +02:00
Jorge Martin Espinosa
5753ca3a64
misc(ffi): add thread_id to NotificationItem ( #4895 )
...
This is needed to identify the event as being in a thread, and to reply
to it inside the thread instead of in the room's timeline.
<!-- description of the changes in this PR -->
- [ ] Public API changes documented in changelogs (optional)
<!-- Sign-off, if not part of the commits -->
<!-- See CONTRIBUTING.md if you don't know what this is -->
Signed-off-by:
matrix-sdk-ffi/20250408
2025-04-07 17:53:44 +02:00
Damir Jelić
f3291d15c5
feat(multiverse): Move the details view to be beside the timeline
...
This allows us to view the debug screen at the same time as the
timeline. The details view can be to the right of the timeline or bellow
the timeline and we can switch using ALT-t.
2025-04-07 14:17:10 +02:00
Damir Jelić
413070aecb
feat(multiverse): Shrink the room list to 25% of the screen
2025-04-07 14:17:10 +02:00
Damir Jelić
288251b1b5
feat(multiverse): Keep the timeline scrolled to the bottom
2025-04-07 14:17:10 +02:00
Damir Jelić
6c3e3bb519
feat(multiverse): Tweak the keybindings for the details view a bit
2025-04-07 14:17:10 +02:00
Damir Jelić
2e8b396c09
feat(multiverse): Add global keybindings to go directly into a details view
2025-04-07 14:17:10 +02:00
Damir Jelić
ed048af903
chore(multiverse): Fix some clippy warnings
2025-04-07 14:17:10 +02:00
Damir Jelić
28e475b1fc
chore(multiverse): Get rid of an unused dependency
2025-04-07 14:17:10 +02:00
Damir Jelić
5a13bd5e76
feat(multiverse): Allow to backpaginate while looking at the room details
2025-04-07 14:17:10 +02:00
Damir Jelić
6966302467
fix(multiverse): Properly document the shortcuts on the help screen
2025-04-07 14:17:10 +02:00
Damir Jelić
fd6ce02d70
feat(multiverse): Select the first item in the developer settings
2025-04-07 14:17:10 +02:00
Damir Jelić
2debfd4c4d
fix(multiverse): The encryption settings don't need a separate block anymore
2025-04-07 14:17:10 +02:00
Damir Jelić
19c40fd2da
fix(multiverse): Better rendering for the OAuth approval URL when resetting recovery
2025-04-07 14:17:10 +02:00
Damir Jelić
d5d0368ba8
feat(multiverse): Add support to reset your identity
2025-04-07 14:17:10 +02:00
Damir Jelić
899eb04f05
feat(multiverse): Use F8 to open the details view instead of CTRL-D
...
CTRL-D might become important once we add scrolling to the timeline
2025-04-07 14:17:10 +02:00
Damir Jelić
187280d573
feat(multiverse): Show an exit screen instead of printing things to stdout
2025-04-07 14:17:10 +02:00
Damir Jelić
036d14e9e3
feat(multiverse): Settings view
2025-04-07 14:17:10 +02:00
Damir Jelić
226229d63b
refactor(multiverse): Move the widgets of the details mode into the details module
2025-04-07 14:17:10 +02:00
Damir Jelić
0cf018cc1b
feat(multiverse): Allow the help screen to be closed with ESC as well
2025-04-07 14:17:10 +02:00
Damir Jelić
c3d7a760f7
feat(multiverse): Add an input line so we can send messages
2025-04-07 14:17:10 +02:00
Damir Jelić
d51cf1e76e
refactor(multiverse): Change the keybinding for the reaction sending feature
2025-04-07 14:17:10 +02:00
Damir Jelić
71b6b213c4
refactor(multiverse): Move the details mode into a tab-based popout
2025-04-07 14:17:10 +02:00
Damir Jelić
ec23638567
refactor(multiverse): Move some global shortcuts behind modifiers
2025-04-07 14:17:10 +02:00
Damir Jelić
688a56a077
feat(multiverse): Always render the timeline, despite showing some details
2025-04-07 14:17:10 +02:00
Damir Jelić
8413e856fe
refactor(multiverse): Move the timeline rendering into a separate widget
2025-04-07 14:17:10 +02:00
Damir Jelić
3f16e77686
refactor(multiverse): Don't unwrap when subscribing to the event cache
2025-04-07 14:17:10 +02:00
Damir Jelić
a4779299f6
refactor(multiverse): Move the details views under the room view module
2025-04-07 14:17:10 +02:00
Damir Jelić
50934f5bc9
refactor(multiverse): Move the room view into a separate widget
2025-04-07 14:17:10 +02:00
Damir Jelić
fad63b9a64
feat(multiverse): Recovery support
2025-04-07 14:17:10 +02:00
Damir Jelić
d999cf9180
refactor(multiverse): Convert the status widget into a stateful widget
...
The status widget depends on the main app state, instead of cloning the
app state let's just use a StatefulWidget instead.
2025-04-07 14:17:10 +02:00
Damir Jelić
3cd60c5b01
doc(multiverse): Document the status widget a bit better
2025-04-07 14:17:10 +02:00
Damir Jelić
2e4587f824
refactor(multiverse): Move all the widgets into a separate module
2025-04-07 14:17:10 +02:00
Damir Jelić
3996f7c0d6
feat(multiverse): Add a help screen
2025-04-07 14:17:10 +02:00
Damir Jelić
774bff00a0
refactor(multiverse): Events view
2025-04-07 14:17:10 +02:00
Damir Jelić
d6196e6c5c
refactor(multiverse): Move the linked chunk view into a popout widget
2025-04-07 14:17:10 +02:00
Damir Jelić
b49fd2b473
feat(multiverse): Only open the read receipt screen if a room is selected
2025-04-07 14:17:10 +02:00
Damir Jelić
f31119a013
refactor(multiverse): Turn the read receipt rendering logic into a widget
2025-04-07 14:17:10 +02:00
Damir Jelić
fb4caf40aa
refactor(multiverse): Make the Status struct a true widget
2025-04-07 14:17:10 +02:00
Damir Jelić
238fbdbe82
refactor(multiverse): Use the Mutex from the common crate to avoid calling unwrap
2025-04-07 14:17:10 +02:00
Damir Jelić
a1d42cdf06
refactor(multiverse): Shorten some overly long lines
2025-04-07 14:17:10 +02:00