Commit Graph

  • 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
  • 4a37d6ebe2 refactor(event cache): move remove_events_and_update_insert_position to the public impl block Benjamin Bouvier 2025-02-12 12:01:23 +01:00
  • 10095f8627 refactor(event cache): rename RoomEvents::remove_events to remove_events_by_id Benjamin Bouvier 2025-02-12 11:58:38 +01:00
  • 84bb1ab595 refactor(event cache): extract deduplication outside the RoomEvents events methods Benjamin Bouvier 2025-02-12 11:50:46 +01:00
  • fce7999890 chore(common) Split the test_insert_items_at tests. Ivan Enderlin 2025-02-11 16:54:21 +01:00
  • 10b72ef4b4 test(common): Update test_replace_item. Ivan Enderlin 2025-02-11 16:32:39 +01:00
  • bfbb354c39 chore(common): Split a test into 3 tests. Ivan Enderlin 2025-02-11 16:28:30 +01:00
  • 9db137af44 refactor(common): LinkedChunk can start by a gap. Ivan Enderlin 2025-02-10 17:31:31 +01:00
  • 2999d10fb9 fix(ffi): check that our own device is cross-signed before responding to incoming user verification requests Stefan Ceriu 2025-02-11 12:07:03 +02:00
  • 654885a925 fix(ui): Demote aggregation target not found log to TRACE level Kévin Commaille 2025-02-11 15:15:26 +01:00
  • 8042abe5f5 fix(recovery): Delete the known secrets from 4s when disabling recovery Damir Jelić 2025-02-05 14:56:51 +01:00
  • 65ee18a52d feat(sqlite): Run VACUUM operation after removing a room Kévin Commaille 2025-02-11 15:13:25 +01:00
  • 69588d5266 test(timeline): use a builder pattern to create a TestTimeline Benjamin Bouvier 2025-02-06 14:53:10 +01:00
  • 7b77b19bc0 refactor(timeline): get rid of the optional in is_room_encrypted field Benjamin Bouvier 2025-02-06 14:38:27 +01:00
  • 357b36b287 refactor(timeline): simplify transition from unencrypted -> encrypted Benjamin Bouvier 2025-02-05 16:51:13 +01:00
  • a5f0473e1b test(timeline): use the MatrixMockServer and EventFactory in integration/timeline/mod.rs Benjamin Bouvier 2025-02-05 16:04:08 +01:00
  • 8d74d46d80 chore(ffi): expose UserIdentity was_previously_verified and has_verification_violation methods Stefan Ceriu 2025-02-10 17:01:29 +02:00
  • 9f2c572709 fix(timeline): maintain aggregations when an event is deduplicated (#4576) Benjamin Bouvier 2025-02-10 16:38:25 +01:00
  • 4b6dd5c857 fix(ffi): Client::resolve_room_alias was mapping the wrong error type Jorge Martín 2025-02-07 15:48:49 +01:00
  • 83dd11ea7d chore(ffi): expose the whole sender profile when receiving a verification request Stefan Ceriu 2025-02-07 11:04:37 +02:00
  • 6c2a88cdc0 test: Fix flaky test_publishing_room_alias Jorge Martín 2025-02-06 18:55:36 +01:00
  • e00d57fee2 test: wait for the redact endpoint to be hit in test_abort_before_being_sent Benjamin Bouvier 2025-02-06 16:42:06 +01:00
  • ce44c6e4e7 chore(base): don't show timeline verification requests as last messages Stefan Ceriu 2025-02-05 08:54:39 +02:00
  • f9ff4fff50 feat(ffi): add support for starting and responding to user verification requests Stefan Ceriu 2025-01-29 16:58:35 +02:00
  • 2291a61379 ci: add a new feature set to test experimental-oidc too Benjamin Bouvier 2025-02-04 15:35:31 +01:00
  • d8f37509af chore(ffi): reduce the verbosity of the store locks and ambiguity map Stefan Ceriu 2025-02-05 14:57:19 +02:00
  • dddbcfbabb fix(ffi): Align RoomList::preview_room with Client::get_room_preview_* functions. Jorge Martín 2025-02-05 08:53:36 +01:00
  • ed8c1d543a doc(sdk): Add #4627 in the CHANGELOG.md. Ivan Enderlin 2025-02-05 09:46:53 +01:00
  • 3e02d90a27 chore(sdk): Remove RoomEventCacheUpdate::Clear. Ivan Enderlin 2025-02-05 09:17:43 +01:00
  • 954b16ad39 Merge pull request #4603 from zecakeh/media-cache-auto-cleanup Ivan Enderlin 2025-02-05 13:24:20 +01:00
  • ed18c5113f fix: Fix changelogs for new media service feature after new release Kévin Commaille 2025-02-05 00:28:56 +01:00
  • 0f4b3aa187 Merge branch 'main' into media-cache-auto-cleanup Kévin Commaille 2025-02-05 00:12:18 +01:00
  • 8a7658745d chore: Fallback to jplatte/eyeball instead of Hywan/eyeball's fork. Ivan Enderlin 2025-02-04 16:00:17 +01:00
  • 2ea39877cc fix: Add github.com/Hywan/eyeball in the allow-git list. Ivan Enderlin 2025-02-04 08:33:52 +01:00
  • 4212691cf0 fix(ui): Don't use 0 as the initial value for Skip. Ivan Enderlin 2025-02-03 16:33:26 +01:00
  • d66fe79579 task(ui): Create TimelineSubscriber. Ivan Enderlin 2025-01-31 14:27:45 +01:00
  • 88caf11842 chore(ui): Rename Timeline::subscribe to subscribe_raw. Ivan Enderlin 2025-01-31 13:46:57 +01:00
  • 5320d952e5 test(ui): Test the Timeline lazy backwards pagination. Ivan Enderlin 2025-01-31 10:52:10 +01:00
  • 7eae832b8c test: set_timeline_prev_batch takes anything that implements Into<String>. Ivan Enderlin 2025-01-31 10:46:35 +01:00
  • 1d18ab03d7 test(ui): Improve the assert_timeline_stream macro. Ivan Enderlin 2025-01-30 09:38:23 +01:00
  • 337bc2c097 doc(ui): Fix a typo. Ivan Enderlin 2025-01-29 16:06:44 +01:00
  • 7e59ae99d0 featui): Timeline::subscribe() supports lazy backwards pagination. Ivan Enderlin 2025-01-29 15:40:58 +01:00
  • 51feda1042 task(ui): TimelineStateTransaction::commit adjusts the Skip's count. Ivan Enderlin 2025-01-29 13:02:18 +01:00
  • 0a520e4f9f task(ui): Apply the Skip higher-order stream for the Timeline. Ivan Enderlin 2025-01-29 11:38:14 +01:00
  • e07212d356 task(ui): Add TimelineMetadata::subscriber_skip_count. Ivan Enderlin 2025-01-29 11:31:04 +01:00
  • 1d52073b45 task(ui): Add the SkipCount type to help computing the count for Skip. Ivan Enderlin 2025-01-29 11:30:49 +01:00
  • d85d6cfbca refactor(ui): Rename TimelineStream to TimelineWithDropHandle. Ivan Enderlin 2025-01-29 08:47:26 +01:00
  • 892cb9116c refactor(ui): Move TimelineStream into the new subscriber module. Ivan Enderlin 2025-01-29 08:45:37 +01:00