Andy Balaam
5545c98a85
Test for finding avatars in invite rooms
2023-06-09 12:52:26 +01:00
Andy Balaam
ac7c6ba84c
Test for finding an avatar in a room via sliding sync
2023-06-09 12:52:26 +01:00
Kévin Commaille
ae2f834345
sqlite: Return an error when DB version is invalid or missing ( #2038 )
...
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2023-06-09 11:02:33 +00:00
Andy Balaam
0e30d85df4
Provide no event_id for the name state event when it comes via update_name
...
Also respond to a couple of minor review comments
2023-06-08 18:30:20 +02:00
Andy Balaam
02d03c55f2
Update the name of a room during sliding sync processing
2023-06-08 18:30:20 +02:00
Andy Balaam
0cff8f3697
Allow updating the name in a RoomInfo
2023-06-08 18:30:20 +02:00
Andy Balaam
0f5906a0fa
Tests for processing sliding sync responses
2023-06-08 18:30:20 +02:00
Jonas Platte
a977b3a8d5
ui: Use stream_assert for timeline unit tests
2023-06-08 12:25:58 +02:00
Jonas Platte
6c6c43e709
ui: Filter virtual timeline items for some tests
2023-06-08 12:25:58 +02:00
Benjamin Bouvier
43bac4995f
chore: rename homeserver to sliding_sync_proxy in sliding sync
...
Signed-off-by: Benjamin Bouvier <public@benj.me >
2023-06-08 11:13:40 +02:00
Jonas Platte
c8b74bec0d
ci: Fixes to toolchain installation
2023-06-07 17:25:24 +02:00
Jonas Platte
b5339ceaba
ui: Activate sdk's testing feature for unit tests
...
Fixes running `cargo test` without any flags from the crate root.
2023-06-07 17:25:24 +02:00
Jonas Platte
0898c76bb7
crypto: Simplify is_cross_signing_trusted
2023-06-07 17:25:24 +02:00
Jonas Platte
c19d72f0f4
Use Option::is_some_and where applicable
2023-06-07 17:25:24 +02:00
Jonas Platte
0b9c082e11
ffi: Add EventTimelineItem::transaction_id
2023-06-07 16:40:14 +02:00
Jonas Platte
aa3adbd53d
ui: Don't wait on prev_batch token for more than 3s
2023-06-07 16:21:48 +02:00
Jonas Platte
87510a5bc2
ffi: Add wait_for_token to PaginationOptions
2023-06-07 16:21:48 +02:00
Jonas Platte
af870fcff3
ui: Allow waiting for token before starting pagination
2023-06-07 16:21:48 +02:00
Jonas Platte
1e10a54d3d
ui: Fix clippy lints
2023-06-07 16:21:48 +02:00
Jonas Platte
bfce4d1006
ui: Merge timeline::room_ext module into timeline::traits
2023-06-07 16:21:48 +02:00
Jonas Platte
2bcc70beb9
ui: Move timeline-internal traits into separate module
2023-06-07 16:21:48 +02:00
Damir Jelić
7552f4f72a
Merge pull request #2028 from matrix-org/release-matrix-sdk-crypto-js-v0.1.0-alpha.10
...
Bindings JS: New release `matrix-sdk-crypto-js v0.1.0-alpha.10`
2023-06-07 15:51:24 +02:00
Jonas Platte
415c13fa90
ui: Add a test for retrying a failed send
2023-06-07 13:29:42 +02:00
Jonas Platte
0ca8369a76
ui: Fix clippy warnings
2023-06-07 13:29:42 +02:00
Jonas Platte
dc05d17330
Upgrade eyeball-im-util
2023-06-07 13:29:42 +02:00
Jonas Platte
9505ace8e2
ffi: Add Room::retry_send
2023-06-07 13:29:42 +02:00
Jonas Platte
df7beb4afd
ui: Add Timeline::retry_send
2023-06-07 13:29:42 +02:00
Jonas Platte
f1e62b0bb8
ci: Run coverage when PR is ready for review
2023-06-07 11:31:39 +02:00
Ivan Enderlin
4e29e6e347
feat(ui): Disable caching and make Timelines lazy
...
feat(ui): Disable caching and make `Timeline`s lazy
2023-06-07 11:29:22 +02:00
Florian Duros
81d4dc8b6e
matrix-sdk-crypto-js v0.1.0-alpha.10
Release `crypto-js` / Publish 🕸 [m]-crypto-js (push) Failing after 36s
matrix-sdk-crypto-js-0.1.0-alpha.10
2023-06-07 10:07:05 +02:00
Florian Duros
65bdb1a2e3
Update CHANGELOG.md
2023-06-07 10:06:51 +02:00
Damir Jelić
0e5e8a205c
Merge pull request #2020 from matrix-org/florianduros/bindings/add-missing-key-identity
...
Bindings JS: Add missing keys to `UserIdentity` and `OwnUserIdentity`
2023-06-07 10:00:20 +02:00
Ivan Enderlin
5c182a0d03
sliding sync: enable read-receipts in the common extensions
...
sliding sync: enable read-receipts in the common extensions
2023-06-07 09:58:27 +02:00
Ivan Enderlin
3acb56aa31
feat(ui): Make Room::timeline and ::sneaky_timeline lazy.
...
This patch uses a new `async-once-cell` crate to make `Room::timeline`
and `Room::sneaky_timeline` by making them lazy. Their values are
computed lazily, on-demand, when calling the `Room::timeline` method or
`Room::latest_event`.
2023-06-07 09:51:56 +02:00
Ivan Enderlin
a2cefedf73
RoomList API: enable account_data extension by default
...
`RoomList` API: enable `account_data` extension by default
2023-06-07 09:35:04 +02:00
Ivan Enderlin
169038504d
fix(ui): Disable Sliding Sync caching in RoomList.
2023-06-07 09:31:52 +02:00
Benjamin Bouvier
d3ddfabaef
sliding sync: enable read-receipts in the common extensions
...
Signed-off-by: Benjamin Bouvier <public@benj.me >
2023-06-06 20:09:03 +02:00
Benjamin Bouvier
027db88078
sliding sync: have the RoomApi use add_list instead of add_cached_list until the perf issue of reloading has been fixed
...
Signed-off-by: Benjamin Bouvier <public@benj.me >
2023-06-06 19:36:42 +02:00
Benjamin Bouvier
3b10c235ab
sliding sync: enable account data extension in room list API
...
This extension was enabled by both ElementX apps by default, along with the e2ee / to-device extensions that will be handled
by the new Notification API. To maintain the current behavior, it's important to re-enable this extension before getting
RoomList in production.
Signed-off-by: Benjamin Bouvier <public@benj.me >
2023-06-06 19:35:20 +02:00
Florian Duros
198c8f6901
Prettier fix
2023-06-06 17:26:57 +02:00
Florian Duros
721a704540
Add tests
2023-06-06 17:23:16 +02:00
Florian Duros
d0f3f1e657
Review fixes
2023-06-06 17:21:27 +02:00
Benjamin Bouvier
f84ff148da
feat(sdk): add an optional temporary directory to get_media_file
...
By default, get_media_file will attempt to use a default directory
for temporary files and directories. Unfortunately, there might not be
such a thing on some older Android devices, which use per-application
directories.
For this specific case, an optional temporary directory parameter
is added to the `get_media_files` parameters, so one can provide their own
temporary directory path.
This new parameter is expected to be set at least on Android; other platforms
should work just fine without it.
Signed-off-by: Benjamin Bouvier <public@benj.me >
2023-06-06 15:20:06 +02:00
Florian Duros
b4c440a5e7
Update CHANGELOG.md
2023-06-06 15:16:30 +02:00
Florian Duros
b760c0e6ce
Add keys to UserIdentity and OwnUserIdentity
2023-06-06 15:05:28 +02:00
Kévin Commaille
407375ad17
base: Move StateStore::get_member_event to StateStoreExt
...
It is a wrapper around get_state_event_static_for_key
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2023-06-06 11:56:11 +02:00
Kévin Commaille
b690bcfbaf
sdk: Re-export store traits
...
The store is exposed with `Client::store()` but the traits are not.
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2023-06-06 11:56:11 +02:00
Benjamin Bouvier
d1a1a0f5c5
Reuse upstream Ruma repository
...
This was a temporary replacement I've made, waiting for a PR of mine to be merged, and it's been merged since then. Oh well.
Signed-off-by: Benjamin Bouvier <public@benj.me >
2023-06-06 10:04:20 +02:00
Ivan Enderlin
f61fdcbdbe
feat(ui): RoomList, step 1: the Foundation
...
feat(ui): `RoomList`, step 1: the Foundation
2023-06-05 20:50:25 +02:00
Ivan Enderlin
16932abeaa
chore: Make Tarpaulin happy.
2023-06-05 20:17:19 +02:00