Commit Graph

  • 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
  • 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
  • bed4d5034e test(sqlite): Test SqliteEventCacheStore::load_last_chunk and load_previous_chunk. Ivan Enderlin 2025-02-11 21:57:55 +01:00
  • e2a2f32e82 task(sqlite): Implement load_last_chunk and last_previous_chunk. Ivan Enderlin 2025-02-11 00:21:08 +01:00
  • 334c66b0a0 task(base): Update EventCacheStore to add load_last_chunk and load_previous_chunk. Ivan Enderlin 2025-02-10 15:07:51 +01:00
  • ca392b08c9 chore: Add changelog for UserSession deserialization Kévin Commaille 2025-02-17 17:45:45 +01:00
  • e9a34f6359 refactor(oidc): Remove support for deserializing previous UserSession format Kévin Commaille 2025-02-17 17:42:08 +01:00
  • 6411d27096 chore(deps): bump crate-ci/typos from 1.29.5 to 1.29.7 dependabot[bot] 2025-02-17 15:29:24 +00:00
  • 07f0017d30 feat(common): Introduce Chunk::lazy_previous in the LinkedChunk. Ivan Enderlin 2025-02-17 08:46:54 +01:00
  • 59f9d12da5 perf(timeline): make replacing replies much faster by indexing replies Benjamin Bouvier 2025-02-13 17:57:47 +01:00
  • 1c114978e4 refactor(oidc): Remove method to authorize arbitrary scope Kévin Commaille 2025-02-13 11:11:47 +01:00
  • 629421214f change(crypto): have the RoomIdentityProvider return processing changes when identities transition to IdentityState::Verified too (#4670) Stefan Ceriu 2025-02-17 11:48:35 +02:00
  • 97d772dd05 test: reverse the logic behind test_focused_timeline_reacts so it checks no reactions are received Jorge Martín 2025-02-13 18:20:12 +01:00
  • f28c64ba21 test: modify pinned event tests to make sure we don't add events from paginations or syncs to the timeline Jorge Martín 2025-02-07 16:08:25 +01:00
  • 20dd15e256 fix(timeline): Don't add events to the pinned events timeline when we receive them on paginations/syncs Jorge Martín 2025-02-07 15:42:11 +01:00
  • f33d10468d refactor(base): Remove the sliding_sync::http re-export. Ivan Enderlin 2025-02-05 15:25:49 +01:00
  • d3b3b4db10 chore(base): Remove the sliding_sync module. Ivan Enderlin 2025-01-20 15:20:53 +01:00
  • 38e28643f1 fix: Remove support for MSC3575. Ivan Enderlin 2025-01-14 15:01:34 +01:00
  • 9de6d28270 logging(crypto): Add more logs when identity or devices change Valere 2025-02-04 15:16:08 +01:00
  • 9f47201bab bench: add a profiling profile that doesn't enable LTO for quick rebuilds Benjamin Bouvier 2025-02-13 17:02:58 +01:00
  • 0b7140c123 bench: add a benchmark to measure how long it takes to fill a timeline with lots of initial items Benjamin Bouvier 2025-02-13 15:28:05 +01:00
  • 28a4918ff6 chore(test): Increase the timeout for the sync service offline mode test Damir Jelić 2025-02-13 16:13:39 +01:00
  • 534cd599f4 doc: remove internal links to macro Benjamin Bouvier 2025-02-13 15:32:50 +01:00
  • 910a5ce90a ci: add a task to compile benchmarks Benjamin Bouvier 2025-02-13 15:03:16 +01:00
  • dadd01a4ea chore: fix benchmarks and use the MatrixMockServer in there too Benjamin Bouvier 2025-02-13 14:56:49 +01:00
  • c4a9059814 Merge branch 'oidc_e2e' Damir Jelić 2025-02-13 15:59:20 +01:00
  • 51a1cd3c67 Merge pull request #4604 from zecakeh/qr-login-oauth2 Damir Jelić 2025-02-13 15:42:51 +01:00
  • c6d2ab4637 chore: Fix changelog location Kévin Commaille 2025-02-13 15:26:11 +01:00
  • c6c7307d6e Merge branch 'main' into qr-login-oauth2 Kévin Commaille 2025-02-13 15:20:10 +01:00
  • 9c9944aa0c chore: Update changelog for TLS 1.2 Kévin Commaille 2025-02-11 11:22:52 +01:00
  • b311197d41 feat(sdk): Only allow TLS 1.2 or newer Kévin Commaille 2025-02-08 12:23:43 +01:00
  • 1068d88c3e fix(event cache store): shortcut when there's no duplicate events to check at all Benjamin Bouvier 2025-02-13 12:27:46 +01:00
  • 861078a95e feat: Add a memoized variant of Oidc::fetch_account_management_url Damir Jelić 2025-01-29 15:28:08 +01:00
  • aa9aef44f7 refactor: Rename Oidc::account_management_url to fetch_account_management_url Damir Jelić 2025-01-29 14:44:58 +01:00
  • f2ad11a56a refactor(client): Create a common struct for client caches Damir Jelić 2025-01-29 13:37:36 +01:00
  • 12c327292f feat(common): Add a simple TTL cache implementation Damir Jelić 2025-02-12 16:50:41 +01:00
  • 31e78c2a1b refactor(oidc): Only support public clients (#4634) Kévin Commaille 2025-02-13 11:40:17 +01:00
  • 8a64922130 test(event cache): address review comments and add a test for storage deduplication Benjamin Bouvier 2025-02-13 10:37:53 +01:00
  • 2ae142f257 refactor(event cache): get rid of a few generics Benjamin Bouvier 2025-02-12 17:31:50 +01:00
  • faa0e6e554 feat(event cache): allow using the bloom filter OR the store to deduplicate events Benjamin Bouvier 2025-02-12 17:13:54 +01:00
  • b95cf79a6d refactor(event cache): move the gist of deduplication into BloomFilterDeduplicator Benjamin Bouvier 2025-02-12 17:03:53 +01:00
  • 28cd8beb77 refactor(event cache): rename Deduplicator to BloomFilterDeduplicator Benjamin Bouvier 2025-02-12 16:59:28 +01:00
  • 1918bd5f6b chore(base): Rename variables. Ivan Enderlin 2025-02-12 16:34:13 +01:00
  • d45addee10 feat(base): Add EventCacheStore::filter_duplicated_events. Ivan Enderlin 2025-02-12 15:34:11 +01:00
  • ed16e91aed fix: RoomEventCache::subscribe is now infallible. Ivan Enderlin 2025-02-11 22:50:14 +01:00
  • 714caae545 chore(sqlite): Remove a useless indentation. Ivan Enderlin 2025-02-11 00:25:41 +01:00
  • 25bb607b27 feat(crypto): Allow fetching encryption info using session ID Andy Balaam 2025-02-12 11:14:39 +00:00
  • c9a6ae9549 fix(tests): Prevent test flake by using different names for the test stores Andy Balaam 2025-02-12 12:37:54 +00:00
  • 58099fd6b5 test(timeline): add new tests for fetching replies that are UTD or sticker or polls Benjamin Bouvier 2025-02-11 11:43:11 +01:00
  • c5856a33f0 test(timeline): rewrite and comment fetch_details() test Benjamin Bouvier 2025-02-11 11:29:51 +01:00
  • a5f115f21f test(timeline): use the MatrixMockServer in integration/timeline/replies Benjamin Bouvier 2025-02-10 17:32:04 +01:00
  • ddd84e231b feat(timeline): support more timeline item content kinds in replied-to details Benjamin Bouvier 2025-02-10 17:14:33 +01:00
  • 51e9df87f5 chore(timeline): add some logs when fetching a reply details Benjamin Bouvier 2025-02-10 15:53:02 +01:00
  • aec4d37a2e refactor(event cache): fold all_deduplicated computation into collect_valid_and_duplicated_events Benjamin Bouvier 2025-02-12 12:16:30 +01:00
  • ceafc2155f refactor(event cache): move the Deduplicator instance to RoomEventCacheState Benjamin Bouvier 2025-02-12 12:10:36 +01:00