Valere
0aef2559bd
review: Remove unneeded msc4310 feature (consistent with msc4075)
2025-09-06 11:15:49 +02:00
Valere
653a00351c
review: Remove unneeded generic and remove early returns
2025-09-06 11:15:49 +02:00
Valere
8606ac3dfb
fix typo
2025-09-06 11:15:49 +02:00
Valere
db5503e30e
tests: add decline call tests
2025-09-06 11:15:49 +02:00
Valere
c51b4f03a2
misc: clippy fixes
2025-09-06 11:15:49 +02:00
Valere
0fc0a5514d
guard test behing feature flag
2025-09-06 11:15:49 +02:00
Valere
e83af1aae2
tests: subscribe_to_call_decline_events
2025-09-06 11:15:49 +02:00
Valere
ab58c376dd
bindings: MSC4310 call decline and subscribe to decline events
2025-09-06 11:15:49 +02:00
Ivan Enderlin
b1c28f4bc1
feat(ui): sync_service::State::Error contains the cause error.
...
This patch updates the `State::Error` variant to contain the error that
led to this state.
2025-09-05 22:31:53 +02:00
Ivan Enderlin
6dbdffd36e
refactor(ui): sync_service::State no longer implements PartialEq.
...
This patch removes the `PartialEq` implementation on
`sync_service::State`. It was only used for test purposes. Outside that,
it doesn't make sense.
2025-09-05 22:31:53 +02:00
Ivan Enderlin
e45387b65b
refactor(ui): Encode more states in type systems.
...
This patch updates the signature of `TerminationReport`'s
constructors so that it's impossible to create invalid states, like
an `origin` of `TerminationOrigin::RoomList` with an error of type
`encryption_sync_service::Error`. The constructors force the error to
match the origin.
2025-09-05 22:31:53 +02:00
Ivan Enderlin
b8803cb465
refactor(ui): Remove TerminationReport::has_expired.
...
This patch moves `SyncTaskSupervisor::check_if_expired` to
`TerminationReport::has_expired`. Because `TerminationReport` now holds
the error, we can remove the `has_expired` field and get a `has_expired`
method!
2025-09-05 22:31:53 +02:00
Ivan Enderlin
3c88b46c54
feat(ui): TerminationReport contains the error if any.
...
This patch changes the `TerminationReport::is_error` field to become
`error: Option<Error>`. This patch also creates new constructor on
`TerminationReport` to simplify the code.
2025-09-05 22:31:53 +02:00
Damir Jelić
4c1f80faf7
chore: Release matrix-sdk version 0.14.0
2025-09-04 16:05:48 +02:00
Damir Jelić
824fc0b62e
chore: Add a changelog for the matrix-sdk-search crate
2025-09-04 16:05:48 +02:00
Kévin Commaille
359db7f28b
Add changelog
...
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2025-09-04 11:48:48 +02:00
Benjamin Bouvier
f9b419077d
refactor(sdk): limit the quantity of data passed to the read receipt processor
...
This limits cloning.
2025-09-03 16:56:53 +02:00
Benjamin Bouvier
d46f934d57
perf: process read receipts concurrently
...
By slightly changing the shape of the function used to process read
receipts, we can make it so that it's trivial to run concurrently, which
gives some nice speedups locally.
Distribution of 6 worst case processing time, initial response:
Before:
0.172524963s
0.216173016s
0.252289760s
0.257619156s
0.275838632s
0.280295891s
After:
0.083094692s
0.117074046s
0.130246646s
0.132577343s
0.138685246s
0.170287945s
2025-09-03 16:56:53 +02:00
Shrey Patel
412d4b80ee
refactor(search): Move event processing out.
2025-09-03 15:05:23 +02:00
multi prise
bcabf1bda4
Improve perfomance of build_room_key_bundle
2025-09-03 14:18:40 +02:00
Jorge Martín
6765ca0c39
refactor(sdk): Make Client::server_vendor_info accept an optional request config
2025-09-03 13:18:14 +02:00
Benjamin Bouvier
0b3345f592
feat(sdk): add more timers to sync processing
2025-09-03 12:46:09 +02:00
Benjamin Bouvier
472b934816
refactor(sdk): remove a few useless async
2025-09-02 19:56:23 +02:00
Ivan Enderlin
27a28e55d1
feat(ui): Add is_own and profile to LatestEventValue::Remote.
...
This patch adds 2 fields to `LatestEventValue::Remote`: `is_own` and
`profile`, which are necessary for the app consumers.
2025-09-02 18:18:26 +02:00
Ivan Enderlin
268e14e4f5
feat(ui): Create timeline::LatestEventValue.
2025-09-02 18:18:26 +02:00
Ivan Enderlin
f1190deef9
refactor(ui): TimelineAction::from_event zips two arguments.
...
This patch zips the `unable_to_decrypt_info` and the `meta` arguments
into a single one. They are strictly related, `meta` has no sense if
`unable_to_decrypt_info` has no sense neither.
2025-09-02 18:18:26 +02:00
Michael Goldenberg
ee62cd749f
refactor(indexeddb): add migrations and types for media retention metadata index
...
Signed-off-by: Michael Goldenberg <m@mgoldenberg.net >
2025-09-02 15:38:34 +02:00
Michael Goldenberg
cea5c190d8
refactor(indexeddb): add migrations and types for media last access index
...
Signed-off-by: Michael Goldenberg <m@mgoldenberg.net >
2025-09-02 15:38:34 +02:00
Michael Goldenberg
ad4cb4f6c9
refactor(indexeddb): add migrations and types for media source index
...
Signed-off-by: Michael Goldenberg <m@mgoldenberg.net >
2025-09-02 15:38:34 +02:00
Michael Goldenberg
949e7a6cac
refactor(indexeddb): add migrations and types for media content size index
...
Signed-off-by: Michael Goldenberg <m@mgoldenberg.net >
2025-09-02 15:38:34 +02:00
Michael Goldenberg
8e66963a1e
refactor(indexeddb): add types and migrations for storing media via event cache
...
Signed-off-by: Michael Goldenberg <m@mgoldenberg.net >
2025-09-02 15:38:34 +02:00
Michael Goldenberg
aa02e31cf6
refactor(indexeddb): add types for representing media and associated metadata
...
Signed-off-by: Michael Goldenberg <m@mgoldenberg.net >
2025-09-02 15:38:34 +02:00
Michael Goldenberg
57c7972c63
refactor(indexeddb): add foreign (de)serialization for IgnoreMediaRetentionPolicy
...
Signed-off-by: Michael Goldenberg <m@mgoldenberg.net >
2025-09-02 15:38:34 +02:00
Benjamin Bouvier
e89ac3d7df
tests: add some sliding sync tests for thread subscriptions and catchup
2025-09-02 14:57:49 +02:00
Benjamin Bouvier
a3704c3563
tests: rearrange some imports ni the sdk/tests/integration/client file
2025-09-02 14:57:49 +02:00
Benjamin Bouvier
5fb728e8f0
feat(sdk): use local thread subscription data if it's accurate \o/
2025-09-02 14:57:49 +02:00
Benjamin Bouvier
eab62ec0b5
feat(sdk): automatically catch up missing thread subscriptions
2025-09-02 14:57:49 +02:00
Benjamin Bouvier
2fae949a42
feat(sliding sync): add support for the thread subscriptions extension
2025-09-02 14:57:49 +02:00
Benjamin Bouvier
4adbb4aa88
feat(sdk): add support for persisting the thread subscription catchup tokens
2025-09-02 14:57:49 +02:00
multisme
ea59bc8955
Implement querying inboundgroupsessions by room_id ( #5534 )
...
History sharing: improve efficiency of building key bundle
Signed-off-by: multi
[multiestunhappydev@gmail.com ](mailto:multiestunhappydev@gmail.com )
Partially Implement
https://github.com/matrix-org/matrix-rust-sdk/issues/5513
---------
Signed-off-by: multisme <korokoko.toi@gmail.com >
Co-authored-by: Richard van der Hoff <richard@matrix.org >
2025-09-02 12:07:07 +01:00
Shrey Patel
68f6d927f1
test(search): Add tests for edits in search index.
2025-09-02 12:25:53 +02:00
Shrey Patel
c3766789cc
feat(search): add edits to search index.
2025-09-02 12:25:53 +02:00
Shrey Patel
7c31525f68
test(search): Add tests for indexing redactions.
2025-09-02 12:25:53 +02:00
Shrey Patel
b2dd5ce02d
feat(search): add deletion from index
2025-09-02 12:25:53 +02:00
Richard van der Hoff
a161dfa9a0
crypto: log message index for megolm sessions received over olm
...
When we receive a to-device message that contains a megolm decryption key, log
the ratchet index of the received key, for debugging.
2025-09-01 17:42:33 +01:00
Damir Jelić
20cd0bedfa
chore: Fix a clippy warning about a useless conversion
2025-09-01 16:33:10 +02:00
Damir Jelić
1e30916754
chore: Bump most of our deps
2025-09-01 16:33:10 +02:00
Damir Jelić
5cd3818841
chore: Fix a clippy warning about unused lifetimes
2025-09-01 10:46:10 +02:00
Damir Jelić
4c1e2d6d51
chore: Fix a warning about a type visibility
2025-09-01 10:46:10 +02:00
Benjamin Bouvier
9f22f550bf
refactor(sdk): avoid duplicating the comparison of bumpstamps
2025-09-01 10:38:34 +02:00