Commit Graph

  • d3ddfabaef sliding sync: enable read-receipts in the common extensions Benjamin Bouvier 2023-06-06 20:09:03 +02:00
  • 027db88078 sliding sync: have the RoomApi use add_list instead of add_cached_list until the perf issue of reloading has been fixed Benjamin Bouvier 2023-06-06 19:36:42 +02:00
  • 3b10c235ab sliding sync: enable account data extension in room list API Benjamin Bouvier 2023-06-06 19:33:35 +02:00
  • 198c8f6901 Prettier fix Florian Duros 2023-06-06 17:26:57 +02:00
  • 721a704540 Add tests Florian Duros 2023-06-06 17:21:14 +02:00
  • d0f3f1e657 Review fixes Florian Duros 2023-06-06 16:25:17 +02:00
  • f84ff148da feat(sdk): add an optional temporary directory to get_media_file Benjamin Bouvier 2023-05-30 11:40:16 +02:00
  • b4c440a5e7 Update CHANGELOG.md Florian Duros 2023-06-06 15:10:28 +02:00
  • b760c0e6ce Add keys to UserIdentity and OwnUserIdentity Florian Duros 2023-06-06 15:05:28 +02:00
  • 407375ad17 base: Move StateStore::get_member_event to StateStoreExt Kévin Commaille 2023-06-06 09:51:02 +02:00
  • b690bcfbaf sdk: Re-export store traits Kévin Commaille 2023-06-05 10:34:58 +02:00
  • d1a1a0f5c5 Reuse upstream Ruma repository Benjamin Bouvier 2023-06-05 19:25:25 +02:00
  • f61fdcbdbe feat(ui): RoomList, step 1: the Foundation Ivan Enderlin 2023-06-05 20:50:25 +02:00
  • 16932abeaa chore: Make Tarpaulin happy. Ivan Enderlin 2023-06-05 20:17:19 +02:00
  • e6fdcfdf52 chore: Make Clippy happy. Ivan Enderlin 2023-06-05 20:05:46 +02:00
  • 42df0d0e21 fix: Fix merge commit. Ivan Enderlin 2023-06-05 19:43:32 +02:00
  • d1bccacef9 chore: Make CI happy. Ivan Enderlin 2023-06-05 19:40:51 +02:00
  • 08559b58b6 Merge branch 'main' into feat-ui-roomlist Ivan Enderlin 2023-06-05 19:22:33 +02:00
  • ac7a576035 chore(ui): Address feedbacks. Ivan Enderlin 2023-06-05 19:13:48 +02:00
  • 9148eaaea1 sdk: Add a test for room update channels Jonas Platte 2023-06-05 17:17:08 +02:00
  • adb91262e0 ui: Do fully-read tracking in room update processing Jonas Platte 2023-06-05 12:16:12 +02:00
  • a916ef468e ui: Make some free functions TimelineInnerState methods instead Jonas Platte 2023-06-05 11:46:40 +02:00
  • 4986f98aa3 ui: Batch timeline object updates from sync response Jonas Platte 2023-06-05 11:06:12 +02:00
  • e59562725d ui: Move gappy sync response handling out of FFI Jonas Platte 2023-06-01 19:29:31 +02:00
  • 945a1228d0 ui: Use room subscription instead of event handler for timeline events Jonas Platte 2023-06-01 19:27:01 +02:00
  • 9489720386 Add Client::subscribe_to_room_updates Jonas Platte 2023-06-01 10:51:08 +02:00
  • 63f7f4a903 Update event handler functions to take Option<&_> instead of &Option<_> Jonas Platte 2023-06-01 18:08:07 +02:00
  • 2c2285b5d7 ui: Deduplicate local and remote echo by event ID when it comes in late Jonas Platte 2023-06-05 14:13:24 +02:00
  • ede6bed948 ui: Move echo integration test into separate module Jonas Platte 2023-06-05 12:57:36 +02:00
  • 185fc9aa3c ui: Add copyright headers to integration tests Jonas Platte 2023-06-05 12:55:45 +02:00
  • 62817a8ef8 ui: Move pagination integration tests into separate module Jonas Platte 2023-06-05 12:55:17 +02:00
  • 3a5f83d9dc ffi: Include causes when stringifying anyhow::Error Jonas Platte 2023-06-05 16:28:52 +02:00
  • 61c3a2a2c7 sliding sync: infer the storage key from the loop id and user id (#2008) Benjamin Bouvier 2023-06-05 16:51:40 +02:00
  • 4a62949b6c test(sdk): Simplify a test. Ivan Enderlin 2023-06-05 15:19:18 +02:00
  • ad8d7caecb feat(ui): Handle RoomList's State::Terminated properly. Ivan Enderlin 2023-06-05 15:09:10 +02:00
  • 4bfc48b4ae feat(sdk): Simplify returned values of SlidingSync::sync. Ivan Enderlin 2023-06-05 15:05:42 +02:00
  • c1a24cf033 feat(ui): Implement Room::timeline and ::latest_event. Ivan Enderlin 2023-06-02 22:32:57 +02:00
  • 67ef42f4c5 feat(ui): Implement RoomList::room. Ivan Enderlin 2023-06-02 21:28:45 +02:00
  • 537f95b683 feat(sdk): SlidingSync::get_rooms? are now async. Ivan Enderlin 2023-06-02 20:57:35 +02:00
  • dcad897084 test(ui): Ensure the timeline_limit is not reset. Ivan Enderlin 2023-06-02 20:49:33 +02:00
  • c6dae678bd sliding sync: move the bump_event_types to be per-list Ivan Enderlin 2023-06-02 20:29:10 +02:00
  • e18728aa5f feat(ui): Set timeline_limit for all_rooms and visible_rooms. Ivan Enderlin 2023-06-02 20:06:50 +02:00
  • 8ee84be839 doc(ui): Write documentation for RoomList. Ivan Enderlin 2023-06-02 20:06:31 +02:00
  • 588b58c616 crypto: Remove unnecessary to_owned Kévin Commaille 2023-06-02 09:54:12 +02:00
  • 3ab171ca2d chore: Update log dependency Kévin Commaille 2023-06-02 11:47:42 +02:00
  • 28c8e5df71 feat(sdk): move bump_event_types to the list sub-request Benjamin Bouvier 2023-06-01 18:57:45 +02:00
  • 6a58be38ca Temporarily use bnjbvr's repository for bump-event-types change in ruma Benjamin Bouvier 2023-06-01 18:51:51 +02:00
  • 2f68c86796 feat(ui): Add the RoomList Input API. Ivan Enderlin 2023-06-01 16:52:43 +02:00
  • 13d38993f8 feat(sdk): Expose the Range and Ranges type in matrix_sdk::sliding_sync. Ivan Enderlin 2023-06-01 16:52:16 +02:00
  • e2d2cf787d test(sdk): Fix according to previous commits. Ivan Enderlin 2023-06-01 16:52:09 +02:00
  • f5c950c54a fix(ffi): Update according to last commits. Ivan Enderlin 2023-06-01 15:58:58 +02:00
  • c2d082ca8d test(ui): Update the tests according to previous commits. Ivan Enderlin 2023-06-01 15:58:12 +02:00
  • 553b5c6db3 Merge pull request #1 from matrix-org/feat-ui-roomlist Ivan Enderlin 2023-06-01 15:46:00 +02:00
  • 5106255911 On-demand stream creation Jonas Platte 2023-06-01 15:40:39 +02:00
  • 58e8c0a7ac Fix warning Jonas Platte 2023-06-01 15:34:13 +02:00
  • db0217d093 Box internally Jonas Platte 2023-06-01 15:33:58 +02:00
  • 048b054a65 feat(ui): Implement RoomList::update_entries_stream_filter. Ivan Enderlin 2023-06-01 14:55:53 +02:00
  • 0a1c0547b4 test(ui): Add test to ensure RoomList::sync resumes from current state. Ivan Enderlin 2023-06-01 14:18:47 +02:00
  • fbe1603190 feat(ui): Rethink the state machine of RoomList. Ivan Enderlin 2023-06-01 14:00:09 +02:00
  • d6d19d9111 Don't re-encode the plaintext after decrypting a backup matrix-sdk-crypto-ffi-0.3.9 Damir Jelić 2023-06-01 12:16:06 +02:00
  • 3e2bc3a514 Drop matrix-sdk-sled Jonas Platte 2023-06-01 11:21:55 +02:00
  • 7cd8898f5f indexeddb: Use parentheses for the impl_state_store macro Kévin Commaille 2023-06-01 11:32:33 +02:00
  • 83e7afab5d sdk: Allow to get stripped state events from the store Kévin Commaille 2023-05-31 13:37:59 +02:00
  • 645af31c59 base: Use generic types for (Raw)MemberEvent Kévin Commaille 2023-05-31 11:35:25 +02:00
  • a090a070ee chore(cargo): Add missing EOF. Ivan Enderlin 2023-06-01 10:08:59 +02:00
  • 697c92beb1 test(ui): Test RoomList::entries_stream with more cases. Ivan Enderlin 2023-06-01 09:18:03 +02:00
  • 954d798ac3 test(ui): Write an assert_entries_stream macro. Ivan Enderlin 2023-06-01 08:33:11 +02:00
  • a3c96dcb62 feat(ui): Implement RoomList::entries_stream. Ivan Enderlin 2023-05-31 18:45:25 +02:00
  • 1caa8b1aa6 chore(ui): Polish after the rebase. Ivan Enderlin 2023-05-31 17:18:22 +02:00
  • 4557c2a7b2 feat(ui): Add RoomList::entries. Ivan Enderlin 2023-05-31 13:56:18 +02:00
  • f058c59582 feat(sdk): Add SlidingSyncList::room_list_filtered_stream. Ivan Enderlin 2023-05-31 13:54:39 +02:00
  • aa70c85e02 test(ui): Test RoomList sync from Init to Enjoy. Ivan Enderlin 2023-05-31 11:36:40 +02:00
  • 1173636b35 feat(ui): Add room_list::Error. Ivan Enderlin 2023-05-31 11:12:12 +02:00
  • 61f903a5a9 test(ui): Clean up a test. Ivan Enderlin 2023-05-31 10:47:29 +02:00
  • 4d6a6ac17f feat(ui) Add State::Terminated in RoomList. Ivan Enderlin 2023-05-31 10:47:01 +02:00
  • 26a764d9dd test(ui): Test all RoomList actions. Ivan Enderlin 2023-05-26 15:19:07 +02:00
  • bd175d9f66 test(sdk): Store the sync-mode in SlidingSyncListInner only for tests. Ivan Enderlin 2023-05-26 15:18:32 +02:00
  • f89060bbe9 chore(ui): Update after the rebase. Ivan Enderlin 2023-05-26 13:59:04 +02:00
  • 01366a08df !foo Ivan Enderlin 2023-05-26 12:05:48 +02:00
  • 4e07ac1c76 test(ui): Improve testability of RoomList. Ivan Enderlin 2023-05-26 11:21:03 +02:00
  • d1708ececf feat(ui): Update according to the last patch. Ivan Enderlin 2023-05-26 09:55:32 +02:00
  • 4fa38d23d4 feat(sdk): SlidingSync has more non-blocking API. Ivan Enderlin 2023-05-26 09:52:29 +02:00
  • 5f81d829c4 feat(ui): Create an Init state, and add state observer for RoomList. Ivan Enderlin 2023-05-25 16:13:50 +02:00
  • 92c3003535 !baz Ivan Enderlin 2023-05-25 15:50:00 +02:00
  • f47c2ba125 !bar Ivan Enderlin 2023-05-24 17:53:58 +02:00
  • 7706b0096b !foo Ivan Enderlin 2023-05-24 11:15:39 +02:00
  • 5f58438389 feat(ui): Oh, a roomlist module. Ivan Enderlin 2023-05-22 15:19:40 +02:00
  • 81d158889a fix(sdk): Replace a panic by a log in Sliding Sync Ivan Enderlin 2023-06-01 09:47:50 +02:00
  • 29346b11f3 test(ui): Use FutureExt::now_or_never instead of .await Ivan Enderlin 2023-06-01 09:41:56 +02:00
  • 036d9bf261 Add a test to check that the backup decryption works Damir Jelić 2023-06-01 07:46:55 +02:00
  • 811369ba28 Fix the argument order when decoding a PkMessage Damir Jelić 2023-05-31 19:10:19 +02:00
  • 06680a284a fix(sdk): Replace a panic by a log in Sliding Sync. Ivan Enderlin 2023-06-01 09:18:20 +02:00
  • fbe8826159 test(ui): Use FutureExt::now_or_never instead of .await. Ivan Enderlin 2023-06-01 08:39:44 +02:00
  • c82c0e46be feat(sdk): Ensure SlidingSync::sync “drains” its internal channel Ivan Enderlin 2023-05-31 18:08:06 +02:00
  • ae25ad557a Merge branch 'main' into fix-sdk-sliding-sync-drain-internal-channel Ivan Enderlin 2023-05-31 17:34:48 +02:00
  • d27ae257ec ffi: Remove unnecessary Deref implementations Jonas Platte 2023-05-31 13:51:21 +02:00
  • f9322c5de8 test(sdk): Ensure SlidingSync starts after it has been stopped manually Ivan Enderlin 2023-05-31 17:30:56 +02:00
  • d0d23afa5c feat(sdk): Introduce SlidingSync::internal_channel_send_if_possible. Ivan Enderlin 2023-05-31 16:44:54 +02:00
  • 875f379035 feat(sdk): Change SlidingSync's internal channel to MPMC. Ivan Enderlin 2023-05-31 16:41:50 +02:00
  • 9da1a2f48b feat(sdk): Ensure SlidingSync::sync drains its internal channel. Ivan Enderlin 2023-05-31 14:45:00 +02:00