Commit Graph

6163 Commits (main)
 

Author SHA1 Message Date
Jonas Platte c8b74bec0d ci: Fixes to toolchain installation 16 hours ago
Jonas Platte b5339ceaba ui: Activate sdk's testing feature for unit tests
Fixes running `cargo test` without any flags from the crate root.
16 hours ago
Jonas Platte 0898c76bb7 crypto: Simplify is_cross_signing_trusted 16 hours ago
Jonas Platte c19d72f0f4 Use Option::is_some_and where applicable 16 hours ago
Jonas Platte 0b9c082e11 ffi: Add EventTimelineItem::transaction_id 17 hours ago
Jonas Platte aa3adbd53d ui: Don't wait on prev_batch token for more than 3s 17 hours ago
Jonas Platte 87510a5bc2 ffi: Add wait_for_token to PaginationOptions 17 hours ago
Jonas Platte af870fcff3 ui: Allow waiting for token before starting pagination 17 hours ago
Jonas Platte 1e10a54d3d ui: Fix clippy lints 17 hours ago
Jonas Platte bfce4d1006 ui: Merge timeline::room_ext module into timeline::traits 17 hours ago
Jonas Platte 2bcc70beb9 ui: Move timeline-internal traits into separate module 17 hours ago
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`
18 hours ago
Jonas Platte 415c13fa90 ui: Add a test for retrying a failed send 20 hours ago
Jonas Platte 0ca8369a76 ui: Fix clippy warnings 20 hours ago
Jonas Platte dc05d17330 Upgrade eyeball-im-util 20 hours ago
Jonas Platte 9505ace8e2 ffi: Add Room::retry_send 20 hours ago
Jonas Platte df7beb4afd ui: Add Timeline::retry_send 20 hours ago
Jonas Platte f1e62b0bb8 ci: Run coverage when PR is ready for review 22 hours ago
Ivan Enderlin 4e29e6e347
feat(ui): Disable caching and make `Timeline`s lazy
feat(ui): Disable caching and make `Timeline`s lazy
22 hours ago
Florian Duros 81d4dc8b6e
matrix-sdk-crypto-js v0.1.0-alpha.10 23 hours ago
Florian Duros 65bdb1a2e3
Update `CHANGELOG.md` 23 hours ago
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`
24 hours ago
Ivan Enderlin 5c182a0d03
sliding sync: enable read-receipts in the common extensions
sliding sync: enable read-receipts in the common extensions
24 hours ago
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`.
24 hours ago
Ivan Enderlin a2cefedf73
`RoomList` API: enable `account_data` extension by default
`RoomList` API: enable `account_data` extension by default
24 hours ago
Ivan Enderlin 169038504d
fix(ui): Disable Sliding Sync caching in `RoomList`. 1 day ago
Benjamin Bouvier d3ddfabaef sliding sync: enable read-receipts in the common extensions
Signed-off-by: Benjamin Bouvier <public@benj.me>
2 days ago
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>
2 days ago
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>
2 days ago
Florian Duros 198c8f6901
Prettier fix 2 days ago
Florian Duros 721a704540
Add tests 2 days ago
Florian Duros d0f3f1e657
Review fixes 2 days ago
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>
2 days ago
Florian Duros b4c440a5e7
Update `CHANGELOG.md` 2 days ago
Florian Duros b760c0e6ce
Add keys to `UserIdentity` and `OwnUserIdentity` 2 days ago
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>
2 days ago
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>
2 days ago
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>
2 days ago
Ivan Enderlin f61fdcbdbe
feat(ui): `RoomList`, step 1: the Foundation
feat(ui): `RoomList`, step 1: the Foundation
3 days ago
Ivan Enderlin 16932abeaa
chore: Make Tarpaulin happy. 3 days ago
Ivan Enderlin e6fdcfdf52
chore: Make Clippy happy. 3 days ago
Ivan Enderlin 42df0d0e21
fix: Fix merge commit. 3 days ago
Ivan Enderlin d1bccacef9
chore: Make CI happy. 3 days ago
Ivan Enderlin 08559b58b6
Merge branch 'main' into feat-ui-roomlist 3 days ago
Ivan Enderlin ac7a576035
chore(ui): Address feedbacks. 3 days ago
Jonas Platte 9148eaaea1 sdk: Add a test for room update channels 3 days ago
Jonas Platte adb91262e0 ui: Do fully-read tracking in room update processing
… instead of separate event handlers.
3 days ago
Jonas Platte a916ef468e ui: Make some free functions TimelineInnerState methods instead 3 days ago
Jonas Platte 4986f98aa3 ui: Batch timeline object updates from sync response 3 days ago
Jonas Platte e59562725d ui: Move gappy sync response handling out of FFI 3 days ago