Commit Graph

  • d800412865 openssl-generated CMS PEM Richard van der Hoff 2026-06-18 14:38:18 +01:00
  • 3862625075 Merge pull request #6671 from matrix-org/features/event-cache-refactoring Ivan Enderlin 2026-06-18 12:06:11 +02:00
  • 05b0146b5c doc: Add changelog files! Ivan Enderlin 2026-06-18 11:29:59 +02:00
  • ae4938265e test: Fix a couple of tests since code updates. Ivan Enderlin 2026-06-11 16:58:15 +02:00
  • 313a955ed4 chore(sdk): Rename a couple of private methods in EventCache. Ivan Enderlin 2026-06-15 15:56:31 +02:00
  • a6495f9476 fix(sdk): R2D2 does not replace an event that has already been decrypted. Ivan Enderlin 2026-06-15 14:37:42 +02:00
  • 4dfbc912ac fix(sdk): Implement Caches::all_encrypted_events. Ivan Enderlin 2026-06-12 17:48:09 +02:00
  • 2e3d7df6bb fix(sdk): Caches::all_events includes in-memory events from the event-focused cache. Ivan Enderlin 2026-06-12 17:06:33 +02:00
  • 4b1c47571d doc(sdk): Format documentation. Ivan Enderlin 2026-06-12 17:07:35 +02:00
  • b0b6347b9a doc(ui): Fix a typo. Ivan Enderlin 2026-06-12 11:35:43 +02:00
  • 9c080f258f fix(sdk): ThreadCache::find_event must acquire a read lock, not a write lock. Ivan Enderlin 2026-06-12 11:00:49 +02:00
  • 0055d8b8d0 fix(sdk): Remove deadlocks with Event Cache calling Room calling the Event Cache. Ivan Enderlin 2026-06-11 18:14:13 +02:00
  • 4b8edad0e2 test(sdk): Remove test_redecryptor_no_deadlock_with_event_focused_cache_pagination. Ivan Enderlin 2026-06-11 18:18:35 +02:00
  • 47c43db731 fix(common): Fix a bug where cloning CrossProcessLockGuard does not increase num_holders. Ivan Enderlin 2026-06-11 15:36:27 +02:00
  • d97b8f5382 feat(sdk): Introduce ReloadPreprocessing. Ivan Enderlin 2026-06-09 15:51:18 +02:00
  • 663708272c refactor(sdk): Rename EventCacheStore::clear_all_linked_chunks to clear_all_events. Ivan Enderlin 2026-06-09 14:50:17 +02:00
  • 9a480fa6d6 doc(common): Format a Safety Section. Ivan Enderlin 2026-06-05 18:25:16 +02:00
  • f20ec6edaf fix(sdk): Compute the new thread summary before updating it, separately. Ivan Enderlin 2026-06-05 17:47:56 +02:00
  • 615ef737e4 doc(common): Fix a typo. Ivan Enderlin 2026-06-05 14:16:56 +02:00
  • a7059e5461 chore(sdk): Remove EventCacheInner::multiple_room_updates_lock. Ivan Enderlin 2026-06-05 14:11:15 +02:00
  • cd18bd14eb chore(sdk): Implement Debug for selectors. Ivan Enderlin 2026-06-05 14:05:06 +02:00
  • f40f9ec757 chore(sdk): Remove all the reset methods and a bit of clean up. Ivan Enderlin 2026-06-05 14:01:33 +02:00
  • fe24a2590f refactor(sdk): Re-implement EventCacheInner::clear_all_rooms. Ivan Enderlin 2026-06-05 13:42:14 +02:00
  • 0c83e653c0 chore(sdk): Remove the event_cache::caches::lock module. Ivan Enderlin 2026-06-05 12:49:45 +02:00
  • 764e1587aa fix(sdk): Room::event_with_context stops inserting events in the Event Cache. Ivan Enderlin 2026-06-05 11:23:24 +02:00
  • f94ee60b70 feat(sdk): Migrate EventFocusedCache to the new State API. Ivan Enderlin 2026-06-02 15:53:43 +02:00
  • aa4816b710 feat(sdk): Migrate PinnedEventsCache to the new State API. Ivan Enderlin 2026-06-02 14:05:44 +02:00
  • e9ff0887ef feat(sdk): Migrate ThreadEventCache to the new State API. Ivan Enderlin 2026-06-02 12:03:16 +02:00
  • b1808eceb3 refactor(sdk): Disable ResetCaches for the moment. Ivan Enderlin 2026-06-02 12:00:25 +02:00
  • abe32fc2b8 feat(sdk): Migrate RoomEventCache to the new State API. Ivan Enderlin 2026-06-01 17:17:58 +02:00
  • 7ab448e03c feat(sdk): Introduce StateLockWriteGuardKind. Ivan Enderlin 2026-06-02 11:22:16 +02:00
  • 16a847f2cc chore(sdk): EventCacheInner holds a StateLock. Ivan Enderlin 2026-06-01 15:35:26 +02:00
  • c0d4feaebf feat(sdk): Add a unique type that holds all the Event Cache states. Ivan Enderlin 2026-04-21 18:22:11 +02:00
  • 91717b8141 doc(common): Add the changelog file. Ivan Enderlin 2026-06-01 09:56:29 +02:00
  • a0c9c39f63 chore: Update code according to the new TimelineEvent::event_id() signature. Ivan Enderlin 2026-05-29 15:25:41 +02:00
  • e98e1988bb refactor(common): TimelineEvent::event_id now returns an Option<&EventId>. Ivan Enderlin 2026-05-29 13:46:06 +02:00
  • e6147c7124 test(common): Add a test to ensure TimelineEvent::replace_raw update the cached event ID. Ivan Enderlin 2026-05-29 11:49:26 +02:00
  • 7dcafcaa42 refactor(common): Rename TimelineEventKind::event_id and sender to parse_event_id and parse_sender. Ivan Enderlin 2026-05-29 11:42:47 +02:00
  • 6a49bd6413 perf(common): Cache TimelineEventKind::event_id() in TimelineEvent::event_id. Ivan Enderlin 2026-05-29 11:37:09 +02:00
  • 4c435ce5d0 doc(sdk): Fix typos. Ivan Enderlin 2026-05-29 14:42:01 +02:00
  • 3d7c4e0086 feat(sdk): aggregate_timeline_for_threads looks for thread roots in the timeline itself. Ivan Enderlin 2026-05-28 15:23:55 +02:00
  • 0cf4a8bd67 fix(ui): In-thread encrypted events are no long part of the main timeline if filtered out. Ivan Enderlin 2026-05-26 17:29:43 +02:00
  • d16f7fd5d1 test(sdk): Re-enable the test_latest_thread_event_is_redecrypted_and_updated test. Ivan Enderlin 2026-05-26 16:52:47 +02:00
  • 3af500f7b4 fix(sdk): Re-compute the ThreadSummary when R2D2 redecrypts an event in a thread. Ivan Enderlin 2026-05-26 14:31:18 +02:00
  • a268c5cdce fix(sdk): Restore UTD resolution on threads. Ivan Enderlin 2026-05-21 15:32:24 +02:00
  • b064cd3882 doc(sdk): Fix a typo in the documentation of Caches::all_events. Ivan Enderlin 2026-05-22 14:04:18 +02:00
  • 86bc97911c feat(sdk): Allow to reset an EventFocusedCache. Ivan Enderlin 2026-05-21 17:55:35 +02:00
  • 53839f0318 refactor(sdk): Rename EventFocusedCacheInner to EventFocusedCacheState. Ivan Enderlin 2026-05-21 17:54:54 +02:00
  • f9faa082b8 chore(sdk): Reorganise imports. Ivan Enderlin 2026-05-21 14:11:56 +02:00
  • 95aa489abd test(sdk): Update the tests. Ivan Enderlin 2026-05-21 14:04:48 +02:00
  • 5db963d6fe chore(sdk): Remove EventFocusedCache from RoomEventCache. Ivan Enderlin 2026-05-21 11:56:46 +02:00
  • 7cbc73304e refactor(sdk): R2D2 uses Caches directly to resolve UTD on various caches. Ivan Enderlin 2026-05-21 14:27:44 +02:00
  • 0064ff63d1 chore(ui): TimelineController::new uses EventCache::event_focused. Ivan Enderlin 2026-05-21 11:57:15 +02:00
  • dc99577ef8 refactor(sdk): Rename focused to focused_event_id in EventFocusedCacheKey. Ivan Enderlin 2026-05-21 11:31:21 +02:00
  • b99da4f1cd feat(sdk): Add EventCache::event_focused. Ivan Enderlin 2026-05-21 11:03:34 +02:00
  • d1ebc91a79 fix(sdk): Remove the room argument of EventFocusedCache::start_from. Ivan Enderlin 2026-05-21 10:52:59 +02:00
  • 5140c7578f chore(sdk): Save the creation of a WeakRoom from scratch since one already exists. Ivan Enderlin 2026-05-21 10:55:27 +02:00
  • de8d8e7d2b feat(sdk): EventFocusedCacheKey implements Debug. Ivan Enderlin 2026-05-19 19:10:07 +02:00
  • 3f6637666a refactor(sdk): Move EventFocusedCacheKey from room to event_focused. Ivan Enderlin 2026-05-19 18:59:34 +02:00
  • ba94328399 chore: Remove an unused reload method. Ivan Enderlin 2026-05-19 12:02:53 +02:00
  • f0d6a896b7 test(sdk,ui): Update tests to the new API. Ivan Enderlin 2026-05-18 18:13:36 +02:00
  • 31f8a3b545 chore(sdk): Remove PinnedEventsCache entirely from RoomEventCache. Ivan Enderlin 2026-05-18 18:28:54 +02:00
  • 5b756d3c9d refactor(sdk): R2D2 replaces UTD on PinnedEventsCache without involving RoomEventCache. Ivan Enderlin 2026-05-18 18:47:16 +02:00
  • cac7dcce94 chore(sdk): Remove subscribe_to_pinned_events. Ivan Enderlin 2026-05-18 17:46:50 +02:00
  • 9ce66dc804 feat(ui): TimelineFocusKind::PinnedEvents now uses PinnedEventsCache. Ivan Enderlin 2026-05-18 17:45:11 +02:00
  • a30374a734 chore(sdk): Simplify imports. Ivan Enderlin 2026-05-18 17:20:40 +02:00
  • 4c262fce27 feat(sdk): PinnedEventsCache handles redaction. Ivan Enderlin 2026-05-18 16:16:49 +02:00
  • dee70e1401 feat(sdk): Deduplicate pinned events. Ivan Enderlin 2026-05-18 16:00:54 +02:00
  • d3051d1208 refactor(sdk): Handle the Timeline for pinned-events in Caches instead of RoomEventCache. Ivan Enderlin 2026-05-18 15:24:16 +02:00
  • 041d293bb8 feat(sdk): Add aggregator_timeline_for_pinned_events. Ivan Enderlin 2026-05-13 11:03:47 +02:00
  • 6da4665344 feat(sdk): Add EventCache::pinned_events. Ivan Enderlin 2026-05-12 17:41:34 +02:00
  • 72c8510584 feat(sdk): Add PinnedEventsCacheInner::update_sender. Ivan Enderlin 2026-05-12 17:14:30 +02:00
  • 28712229ad refactor(sdk): Introduce PinnedEventsCacheInner. Ivan Enderlin 2026-05-12 17:06:04 +02:00
  • 91d34c23f1 doc(sdk): Fix document in thread cache. Ivan Enderlin 2026-05-12 17:00:26 +02:00
  • 2badf08376 refactor(sdk): Introduce PinnedEventsCacheUpdateSender. Ivan Enderlin 2026-05-12 16:57:18 +02:00
  • 7a9aeec7d4 doc(sdk): Fix an intra-link. Ivan Enderlin 2026-05-12 16:50:19 +02:00
  • e603f17949 refactor(sdk): Rename PinnedEventsCacheStateLock to LockedPinnedEventsCacheState. Ivan Enderlin 2026-05-12 16:45:51 +02:00
  • eedb9e2a40 chore(sdk): PinnedEventsCache::new takes a WeakRoom instead of a Room. Ivan Enderlin 2026-05-12 16:16:46 +02:00
  • e6cd80f2b9 refactor(sdk): Rename PinnedEventCache to PinnedEventsCache. Ivan Enderlin 2026-05-12 15:33:34 +02:00
  • 3618631cec doc(sdk): Remove a useless TODO. Ivan Enderlin 2026-05-12 14:53:15 +02:00
  • b4699ea040 chore(sdk): Implement Debug for PinnedEventCache. Ivan Enderlin 2026-05-12 14:27:05 +02:00
  • be8d61d7bb test(sdj): Fix test_redact_touches_threads if async runtime is slow. Ivan Enderlin 2026-05-12 14:19:26 +02:00
  • d34830b2d6 chore(sdk,ui): Fix typos. Ivan Enderlin 2026-05-12 14:10:36 +02:00
  • 2bd8013ebe test(sdk): Disable test_latest_thread_event_is_redecrypted_and_updated for now. Ivan Enderlin 2026-05-11 18:23:33 +02:00
  • 3f535952ee chore(sdk): Make Clippy happy :-). Ivan Enderlin 2026-05-08 14:30:53 +02:00
  • bd8133c209 fix(sdk): Restore the handling of bunlded_latest_thread_event in RoomEventCache. Ivan Enderlin 2026-05-08 11:01:05 +02:00
  • 8e4faa2a18 test(sdk): Update to match the edit and redaction behaviours. Ivan Enderlin 2026-05-05 17:07:49 +02:00
  • ca44aced0e feat(sdk): ThreadSummary uses the LatestEvent filtering API. Ivan Enderlin 2026-05-05 17:06:26 +02:00
  • f43df41f9e fix(ui): Updates from RoomEventCache are not forwarded to a Thread Timeline. Ivan Enderlin 2026-05-08 11:48:03 +02:00
  • 208c9331c8 feat(sdk): Annotations and redactions events are stored in their associated threads. Ivan Enderlin 2026-05-05 17:04:32 +02:00
  • 6b316d1406 test(sdk): Update tests to the new API. Ivan Enderlin 2026-05-01 14:22:16 +02:00
  • d79f49380b chore(sdk): Clean up the reset/clear API. Ivan Enderlin 2026-04-29 16:58:19 +02:00
  • 3c862d2586 refactor(ui): TimelineFocusKind holds the appropriate event cache. Ivan Enderlin 2026-04-29 14:43:08 +02:00
  • 90b069b052 chore(sdk): Remove a call to clone(). Ivan Enderlin 2026-04-29 14:31:11 +02:00
  • 25d9871033 feat(sdk): Implement std::fmt::Debug for RoomPagination and ThreadPagination. Ivan Enderlin 2026-04-29 13:34:04 +02:00
  • 42b673e2a6 feat(sdk): Add EventCache::thread. Ivan Enderlin 2026-04-29 13:20:35 +02:00
  • 8fba4e56d8 refactor(sdk): Rename EventCache::for_room to room and make it public. Ivan Enderlin 2026-04-29 13:14:54 +02:00
  • bba75f1453 chore(sdk): Clean up imports. Ivan Enderlin 2026-04-29 11:58:46 +02:00
  • e6cbf6e8a1 chore(sdk): Remove useless arguments in RoomEventCacheStateLockWriteGuard::post_process_new_events. Ivan Enderlin 2026-04-29 11:52:17 +02:00
  • 91e4c9a286 chore(sdk): Remove RoomEventCache::find_event_in_thread. Ivan Enderlin 2026-04-29 10:48:34 +02:00