Commit Graph

  • 7841ed8637 refactor(event cache): remove RoomPagination::hit_timeline_end() Benjamin Bouvier 2025-02-26 10:51:59 +01:00
  • 19df945155 fix(ffi): Correctly indicate OIDC support when fetching metadata fails. matrix-sdk-ffi/20250225 Doug 2025-02-25 17:04:05 +00:00
  • 3e3bff76de fixup! feat(crypto): Add support for the shared_history flag defined in MSC3061 Damir Jelić 2025-02-25 16:35:07 +01:00
  • ea073f55f0 doc(crypto): Document all the arguments of the InboundGroupSession::new method Damir Jelić 2025-02-25 16:14:45 +01:00
  • c1e28aa156 test(crypto): Add a snapshot test for the inbound group session pickle Damir Jelić 2025-02-20 12:20:55 +01:00
  • af62f09e37 test(crypto): Test that the shared history flag gets set when we ourselves crate a session Damir Jelić 2025-02-20 14:10:14 +01:00
  • 9a33385697 test(crypto): Test that the shared history flag gets set when creating sessions Damir Jelić 2025-02-20 13:43:12 +01:00
  • bfa89bc73f feat(crypto): Add support for the shared_history flag defined in MSC3061 Damir Jelić 2025-02-20 12:14:49 +01:00
  • e1d05fa53c refactor(crypto): Use struct destructuring instead of separate field access in some places Damir Jelić 2025-02-20 12:07:21 +01:00
  • b0ccc94b26 refactor(crypto): Simplify some tests by using a session created from a helper function Damir Jelić 2025-02-20 12:13:30 +01:00
  • b2356a0232 doc(crypto): Improve the documentation for the encrypted Content serialization Damir Jelić 2025-02-25 15:03:53 +01:00
  • 3bb883387e refactor(crypto): Use the DecryptedOlmV1Event type when encrypting to-device events Damir Jelić 2025-02-19 14:11:09 +01:00
  • 506a36b210 fix(crypto): Fix the serialization of DecryptedOlmV1Event Damir Jelić 2025-02-19 14:06:23 +01:00
  • 8c1966a237 refactor(crypto): Don't require event_type to return a static string Damir Jelić 2025-02-19 13:18:50 +01:00
  • 09513eaa5e refactor(oidc): Only support authorization URL parameters defined in MSCs Kévin Commaille 2025-02-20 11:46:35 +01:00
  • fda9177a70 refactor(oidc): Remove support for Pushed Authorization Requests Kévin Commaille 2025-02-20 04:59:26 +01:00
  • 21960a5ba2 chore(event cache): add more logs to the auto-shrinking mechanism Benjamin Bouvier 2025-02-25 13:37:58 +01:00
  • 0819ab1dad refactor(event cache): apply review comments of #4708 Benjamin Bouvier 2025-02-25 12:13:05 +01:00
  • 475ad79360 fix(sdk): RoomEventCache::event looks inside the store. Ivan Enderlin 2025-02-24 16:04:36 +01:00
  • 7b52306ff2 feat(base): Add EventCacheStore::find_event. Ivan Enderlin 2025-02-24 13:47:00 +01:00
  • e5f6d026ff ci: use an hardcoded version of cargo-machete in CI (#4710) Benjamin Bouvier 2025-02-25 11:35:18 +01:00
  • 5dd5710758 feat(event cache): auto-shrink a room event cache's chunk after all listeners are left matrix-sdk-ffi/20252502 Benjamin Bouvier 2025-02-20 17:07:11 +01:00
  • 37b62dfed1 test(sdk): Add a big test for a deduplication + event removals. Ivan Enderlin 2025-02-24 17:19:24 +01:00
  • d21a4152de chore(sdk): Code cleanup. Ivan Enderlin 2025-02-24 15:42:38 +01:00
  • 8c2dcd7b5d task(sdk): Make the code more robust around event removals. Ivan Enderlin 2025-02-24 15:35:55 +01:00
  • 019b4a20f6 chore(common): Rename EmptyChunk to EmptyChunkRule. Ivan Enderlin 2025-02-24 14:39:56 +01:00
  • 30a9a972ce tes(sdk): Deduplicator dispatches duplicated events in memory vs in store. Ivan Enderlin 2025-02-24 10:12:38 +01:00
  • 22ba1684b2 chore(sdk): Rename a test helper and some variables. Ivan Enderlin 2025-02-24 09:58:04 +01:00
  • 0b12ec2b38 test(sdk): Deduplicator excludes invalid events. Ivan Enderlin 2025-02-24 08:31:09 +01:00
  • a71f5bf21f test(sdk): Test Deduplicator filters events in the input. Ivan Enderlin 2025-02-24 08:26:22 +01:00
  • 9bd7cfda5f test(sdk): Rename a test. Ivan Enderlin 2025-02-24 08:12:55 +01:00
  • c1a13f7f98 test(sdk): Test sort_events_by_position_descending. Ivan Enderlin 2025-02-24 08:08:05 +01:00
  • a362584bb3 task(sdk): Use DeduplicationOutcome to remove events in their correct place. Ivan Enderlin 2025-02-21 15:57:09 +01:00
  • f9ce7628ff task(sdk): Redesign Deduplicator::filter_duplicate_events. Ivan Enderlin 2025-02-21 15:50:27 +01:00
  • 43c066e837 task(base): EventCacheStore::filter_duplicated_events returns Position. Ivan Enderlin 2025-02-21 15:47:27 +01:00
  • f3f37a33fd fix(event cache): override reached_start when there's a mismatch between network and disk Benjamin Bouvier 2025-02-24 12:50:40 +01:00
  • 39c6481f96 feat(event cache): include the lazy previous chunk in the debug string, if available Benjamin Bouvier 2025-02-24 12:45:49 +01:00
  • 66b9d334ef feat(event cache): shrink the linked chunk upon gappy syncs Benjamin Bouvier 2025-02-20 15:19:44 +01:00
  • e64cb2c4f1 feat(event cache): implement RoomEventCacheState::shrink_to_last_chunk Benjamin Bouvier 2025-02-19 15:49:51 +01:00
  • 4f47868930 feat(linked chunk): allow replacing a linked chunk's content with a raw chunk Benjamin Bouvier 2025-02-20 15:17:55 +01:00
  • 4c115b6ad5 feat(event cache): don't store a gap if we've deduplicated all events during sync Benjamin Bouvier 2025-02-20 11:24:19 +01:00
  • 242a1047bd doc(event cache): clarify that RoomEvents::updates() is only for storage updates Benjamin Bouvier 2025-02-19 14:57:28 +01:00
  • 2f3cab431f chore: Add changelog for Oidc::logout Kévin Commaille 2025-02-17 11:38:03 +01:00
  • 55f514897b refactor(oidc): Only revoke one token for logout Kévin Commaille 2025-02-17 11:28:01 +01:00
  • d4b92de8e4 refactor(oidc): Remove support for OIDC RP-Initiated logout Kévin Commaille 2025-02-17 11:20:03 +01:00
  • 4c2e94cb92 Try to make integration test for user verification work test/user-verification-ignored-test Jorge Martín 2025-02-24 13:55:52 +01:00
  • 25d39997a4 chore: Add changelog for moving qrcode module Kévin Commaille 2025-02-19 11:19:42 +01:00
  • 254ce8923b refactor(oidc): Use OidcBackend with LoginWithQrCode Kévin Commaille 2025-02-18 19:29:28 +01:00
  • 0a4db305b9 refactor(oidc): Move qrcode module inside oidc Kévin Commaille 2025-02-18 18:04:29 +01:00
  • 90ac2181e9 test: rename some MatrixMockServer helpers functions to make it clear they're matchers Benjamin Bouvier 2025-02-20 15:54:55 +01:00
  • bdf5fad992 chore(common): Remove LinkedChunkBuilderTest. Ivan Enderlin 2025-02-19 15:29:40 +01:00
  • 05be62183a task: Remove all usages of LinkedChunkBuilderTest. Ivan Enderlin 2025-02-19 15:13:09 +01:00
  • d545419684 test(common): Add lazy_loader::from_all_chunks. Ivan Enderlin 2025-02-19 15:11:04 +01:00
  • d53ddc14f1 fixup! fix(sliding_sync): Add fallback for ignore_verification_requests when the e2e-encryption feature is disabled Jorge Martín 2025-02-21 10:46:01 +01:00
  • f63c523067 fixup! fix(sliding_sync): Add fallback for ignore_verification_requests when the e2e-encryption feature is disabled Jorge Martín 2025-02-21 10:40:27 +01:00
  • 3a5bce90a8 fix(sliding_sync): Add fallback for ignore_verification_requests when the e2e-encryption feature is disabled Jorge Martín 2025-02-21 10:28:54 +01:00
  • ae8b54cf45 fix(sliding_sync): Add ignore_verification_requests method to SlidingSyncBuilder Jorge Martín 2025-02-21 10:19:04 +01:00
  • f900db49dd feat(sdk): Re-export the base crate's store module Jonas Platte 2025-02-20 21:24:40 +01:00
  • 1373f99288 refactor: Use NonZeroUsize::new + unwrap in const contexts Jonas Platte 2025-02-20 21:09:03 +01:00
  • f56bc4c0d6 chore: Bump nightly Jonas Platte 2025-02-20 21:08:41 +01:00
  • 60efcbc55d refactor(event cache): use Option<&mut> in Chunk::insert_before Benjamin Bouvier 2025-02-20 16:09:56 +01:00
  • 30589ca899 refactor(event cache): use Option<&mut> in Chunk::unlink Benjamin Bouvier 2025-02-20 16:08:45 +01:00
  • 61fa339163 refactor(crypto): Add a constructor to create an InboundGroupSession from a m.room_key event Damir Jelić 2025-02-19 12:57:32 +01:00
  • 3f5efc1ff6 docs(crypto): Update some docs for the InboundGroupSession Damir Jelić 2025-02-19 12:39:08 +01:00
  • 23f72ba15f test(common): Test ability for AsVector to generate several VectorDiff::Remove. Ivan Enderlin 2025-02-20 10:22:00 +01:00
  • a25acf7e62 feat(common): Update::RemoveChunk emits VectorDiff::Remove. Ivan Enderlin 2025-02-19 21:21:57 +01:00
  • c3fc310f29 refactor(event cache): simplify back-pagination Benjamin Bouvier 2025-02-19 12:17:51 +01:00
  • b9c7ffe7c3 doc(timeline): tweak comment in pagination to explain why it's correct Benjamin Bouvier 2025-02-19 11:46:58 +01:00
  • 017a947fc1 doc(timeline): fix a broken link to all_remote_events Benjamin Bouvier 2025-02-17 16:02:35 +01:00
  • 5c57631a6c refactor(event cache): simplify flow when deciding to resolve a gap Benjamin Bouvier 2025-02-19 14:52:16 +01:00
  • 3495cab7ad refactor(common): builder::LinkedChunkBuilder::* becomes lazy_loader::*. Ivan Enderlin 2025-02-19 11:04:06 +01:00
  • 7a06bdb695 Rename snapshots to reduce filename length (#4625) bitfriend 2025-02-19 21:29:51 +08:00
  • 6c57003d17 feat(sqlite) Add an index on events.event_id and .room_id. Ivan Enderlin 2025-02-18 16:48:17 +01:00
  • 2eb2ae7959 refactor(oidc): Use the GET /auth_metadata Matrix endpoint (#4673) Kévin Commaille 2025-02-18 17:41:48 +01:00
  • a055aa3e57 chore(sdk): Fix comments and rename variables. Ivan Enderlin 2025-02-18 16:54:33 +01:00
  • 5c7a733f49 task(common): LinkedChunkBuilder detects cycles. Ivan Enderlin 2025-02-18 08:38:16 +01:00
  • 00ae386b74 test(sdk): Test RoomEvents::debug_string. Ivan Enderlin 2025-02-17 15:05:04 +01:00
  • 9ad7ca8f11 test(sdk): Write a full integration test for the event cache lazy-loading. Ivan Enderlin 2025-02-11 23:57:42 +01:00
  • a43ce05200 task(sdk): LinkedChunkBuider::load_previous_chunk supports lazy_previous. Ivan Enderlin 2025-02-17 12:05:10 +01:00
  • 7d4dfb5c2d fix(sdk): Change semantics about duplicated events for a backwards pagination. Ivan Enderlin 2025-02-14 13:31:01 +01:00
  • d9e9006e61 feat(sdk): event_cache::Pagination::run_backwards paginates in the event cache. Ivan Enderlin 2025-02-10 15:28:30 +01:00
  • bfec34db20 task(sdk) Add RoomEventCacheState::load_more_events_backwards. Ivan Enderlin 2025-02-10 15:26:05 +01:00
  • 0aae72c161 feat(sdk): The EventCache loads only the last chunk when initialised. Ivan Enderlin 2025-02-10 15:22:53 +01:00
  • fbd8b9c816 chore(sdk): Remove useless indentations. Ivan Enderlin 2025-02-14 10:56:38 +01:00
  • d6120a5985 doc(sdk): Events from BackPaginationOutcome are deduplicated… Ivan Enderlin 2025-02-11 23:43:52 +01:00
  • a8f7939126 doc(ui): Fix a typo. Ivan Enderlin 2025-02-11 21:59:07 +01:00
  • 217429c3fe test(common): Add tests for LinkedChunkBuilder::insert_new_first_chunk. Ivan Enderlin 2025-02-11 15:52:38 +01:00
  • 716958bb86 test(common): Add tests for LinkedChunkBuilder::from_last_chunk. Ivan Enderlin 2025-02-11 15:08:16 +01:00
  • 1319558eb6 test(base): Add test_linked_chunk_incremental_loading. Ivan Enderlin 2025-02-11 08:54:16 +01:00
  • 096d478593 chore(base): Split LinkedChunkBuilder and create LinkedChunkBuilderTest. Ivan Enderlin 2025-02-10 16:03:31 +01:00
  • 8fcd5a91c4 test(sdk): Update tests. Ivan Enderlin 2025-02-10 15:34:52 +01:00
  • 155042e46c task(common): LinkedChunkBuilder gains from_last_chunk and insert_new_first_chunk. Ivan Enderlin 2025-02-10 15:15:09 +01:00
  • e03d40e946 chore(sdk): Rename RoomEvents::with_initial_chunks. Ivan Enderlin 2025-02-05 17:17:32 +01:00
  • 2671769d9f fix(compilation): fix benchmark compilation on non-linux platforms Benjamin Bouvier 2025-02-18 13:43:45 +01:00
  • 8d9d83f15f feat(ffi): add history_visibility_override param to the create room fn Jorge Martín 2025-02-06 08:34:51 +01:00
  • 6bc9dc5c6a test(sdk): Improve a test. Ivan Enderlin 2025-02-18 09:36:58 +01:00
  • d6566484a1 doc(sqlite): Fix typos in comments. Ivan Enderlin 2025-02-18 11:22:31 +01:00
  • 0e4d8ec62f feat(sqlite): Detect cycles when loading last chunk of LinkedChunk. Ivan Enderlin 2025-02-18 10:17:04 +01:00
  • f9c6f897c8 feat(common): Detect cycles when loading last chunk of LinkedChunk. Ivan Enderlin 2025-02-18 09:46:17 +01:00
  • 7252a685a6 test(common): Test RelationalLinkedChunk::load_last_chunk and load_previous_chunk. Ivan Enderlin 2025-02-11 14:20:44 +01:00