Commit Graph

  • 33db267a89 test(base): test_cached_latest_event_can_be_redacted runs only if e2e-encryption is enabled. Ivan Enderlin 2025-08-27 15:50:22 +02:00
  • 6fc68dac83 refactor(sdk,base): Move LatestEventValue into matrix_sdk_base. Ivan Enderlin 2025-08-27 15:04:26 +02:00
  • f3eeb82b0b refactor(sdk): LatestEvent::_room_id becomes _weak_room: WeakRoom. Ivan Enderlin 2025-08-27 14:28:08 +02:00
  • 951d22ac24 common: js_tracing: drop TRACE logs Richard van der Hoff 2025-08-27 17:03:51 +01:00
  • 527d001010 fix: Only report duplicate one-time key errors once Damir Jelić 2025-08-27 16:31:05 +02:00
  • 759eeeb27f feat(test): add event factory methods for creating space rooms and populating parent-children relationships. Stefan Ceriu 2025-08-04 15:10:35 +03:00
  • 97d6f57aee feat(base): add SyncResponse::RoomUpdates::is_empty method to check if there were any room updates Stefan Ceriu 2025-08-18 11:39:35 +03:00
  • 6622a3ac93 fix(room): fix event types in matrix_sdk::Room::parent_spaces method comments Stefan Ceriu 2025-08-11 11:25:07 +03:00
  • 39730173d4 chore(ffi): expose the SyncService.expire_sessions so client can expire Sliding Sync positions on demand Stefan Ceriu 2025-08-19 10:33:21 +03:00
  • 763314645b feat(sdk): add a Client::joined_space_rooms method that allows retrieving the list of joined spaces. Stefan Ceriu 2025-08-21 10:09:17 +03:00
  • b2fee72d79 refactor(sdk): Revisit the assert_latest_event_content macro. Ivan Enderlin 2025-08-27 11:40:38 +02:00
  • 9803d2bcca refactor(sdk): Use SerializableEventContent. Ivan Enderlin 2025-08-27 11:18:58 +02:00
  • 296867d2ac feat(sdk): LatestEventValue implements Serialize and Deserialize. Ivan Enderlin 2025-08-20 15:46:57 +02:00
  • 710b57e035 refactor(sdk): Remove LatestEventContent. Ivan Enderlin 2025-08-20 15:19:13 +02:00
  • baa75368d6 ci: Add feature matrix for integration testing Skye Elliot 2025-08-27 12:52:15 +01:00
  • feb264e899 test: Add a test to check that we don't create event cache reference cycles Damir Jelić 2025-08-27 13:03:44 +02:00
  • 8e5075569e feat: Add top-level support for decrypting state events (#5552) Skye Elliot 2025-08-27 10:53:55 +01:00
  • 33c11d08f0 test(indexeddb): add tests for media retention policy related fns Michael Goldenberg 2025-08-25 18:09:31 -04:00
  • 9714ac8e10 refactor(indexeddb): add IndexedDB-backed impl for media retention policy fns Michael Goldenberg 2025-08-25 17:57:25 -04:00
  • e1d136aa6e refactor(indexeddb): add indexed type to represent media retention policy Michael Goldenberg 2025-08-25 17:54:40 -04:00
  • 8018753332 refactor(indexeddb): add primary key to core object store in event cache database Michael Goldenberg 2025-08-25 17:40:57 -04:00
  • 61824f866c refactor(indexeddb): delegate media-related queries via media service to EventCacheStoreMedia implementation Michael Goldenberg 2025-08-25 15:47:34 -04:00
  • 6919444e98 feat(indexeddb): add MemoryStore-backed impl of EventCacheStoreMedia Michael Goldenberg 2025-08-25 15:40:41 -04:00
  • c5097cf07e refactor(indexeddb): remove macros for implementing EventCacheStore Michael Goldenberg 2025-08-25 15:35:37 -04:00
  • b77c6c65cc feat(indexeddb): derive Clone for IndexeddbEventCacheStore Michael Goldenberg 2025-08-25 15:06:29 -04:00
  • f4ce4356ab refactor(event cache): only process threaded linked chunks if thread support has been globally enabled matrix-sdk-ffi/20250826 Benjamin Bouvier 2025-08-26 13:17:56 +02:00
  • d66733052a feat(event cache): add indexes for finding related events Benjamin Bouvier 2025-08-26 13:09:37 +02:00
  • 001dadffe1 bench: add a benchmark for finding related events (#5578) Benjamin Bouvier 2025-08-26 15:57:06 +02:00
  • b2387bf3a9 test(search): Add tests for RoomIndex::contains and indexing idempotency Shrey Patel 2025-08-19 14:53:25 +01:00
  • d43858ecb2 fix(search): Make indexing idempotent Shrey Patel 2025-08-19 14:53:25 +01:00
  • 8804966094 chore(deps): bump actions/setup-java from 4 to 5 dependabot[bot] 2025-08-26 02:57:33 +00:00
  • a3ee011b61 chore(deps): bump crate-ci/typos from 1.35.4 to 1.35.5 dependabot[bot] 2025-08-26 02:35:43 +00:00
  • f586172f3e chore(deps): bump actions/upload-pages-artifact from 3 to 4 dependabot[bot] 2025-08-26 02:11:10 +00:00
  • 85d52586b6 fix(media): Use the right Option<Duration> value to get no timeout Jorge Martín 2025-08-25 13:03:55 +02:00
  • 40d3dd57db tests(threads): add an exhaustive test to check for all notification mode combinations Benjamin Bouvier 2025-08-21 14:43:56 +02:00
  • 4e2655aa1b feat(sdk): Use clearer fields for Span in SendRawStateEvent Skye Elliot 2025-08-21 16:51:06 +01:00
  • 41fcebbcb0 chore(sdk): Move ensure_room_encryption_ready to end of file Skye Elliot 2025-08-21 15:23:13 +01:00
  • 13b86a3f5d tests: Add test_room_encrypted_state_event_send Skye Elliot 2025-08-19 15:50:24 +01:00
  • dba23b66fa feat(sdk): Use SendStateEvent future in Room send_state methods Skye Elliot 2025-08-06 15:13:50 +01:00
  • 132d0eb34a feat(sdk): Add SendStateEvent future Skye Elliot 2025-08-06 15:04:40 +01:00
  • e2e70448ca feat(sdk): Modify Room::send_state_event_raw to return SendRawStateEvent Skye Elliot 2025-08-06 15:01:37 +01:00
  • adaccbab2c feat(sdk): Add SendRawStateEvent future and deduplicate Skye Elliot 2025-08-18 16:21:11 +01:00
  • 7a09ca0bbd Merge pull request #5545 from matrix-org/kaylendog/msc3414/json-castable Richard van der Hoff 2025-08-21 18:59:23 +01:00
  • fffdd34ebd Merge pull request #5559 from matrix-org/kaylendog/encrypt-poll-sync Richard van der Hoff 2025-08-21 17:07:22 +01:00
  • 24502d2706 fix(sdk): Check correct encryption state for encrypted state events Skye Elliot 2025-08-21 15:37:55 +01:00
  • b6433dea27 refactor(sdk): Move index handling to EventCache and use linked_chunk_update_sender. dragonfly1033 2025-08-21 15:17:45 +01:00
  • 385f1a824f feat(multiverse): Add search feature to multiverse dragonfly1033 2025-08-10 16:18:03 +01:00
  • dfc0ef8b35 refactor(multiverse): Create generic PopupInput widget dragonfly1033 2025-08-10 16:18:03 +01:00
  • d2feeaac30 refactor(sdk): avoid an explicit dependency on ruma-common Benjamin Bouvier 2025-08-21 15:15:49 +02:00
  • 25a81876a0 tests: allow conversion from EventBuilder into Raw<AnyGlobalAccountDataEvent> Benjamin Bouvier 2025-08-21 13:13:08 +02:00
  • e388fe6522 tests: streamline the SyncResponseBuilder global account methods Benjamin Bouvier 2025-08-21 13:07:51 +02:00
  • ef20342ddf tests: use the new global account data methods a bit more Benjamin Bouvier 2025-08-21 12:55:56 +02:00
  • e6b1ffba99 tests: add support for the global account PushRules event in the event factory Benjamin Bouvier 2025-08-21 12:44:42 +02:00
  • 9a3ceb8be6 tests: add support for the global account IgnoredUserList event in the event factory Benjamin Bouvier 2025-08-21 12:08:47 +02:00
  • faee647c3a tests: get rid of GlobalAccountDataTestEvent::Direct Benjamin Bouvier 2025-08-21 12:02:57 +02:00
  • 1866143456 tests: add support for the global account Direct event in the event factory Benjamin Bouvier 2025-08-21 12:02:01 +02:00
  • be8e322ad6 doc(sdk): add comments around the NotificationSettings data structure Benjamin Bouvier 2025-08-21 11:36:45 +02:00
  • 838f607b32 refactor(benchmark): slightly change the benchmark to make it not use iter_custom Benjamin Bouvier 2025-08-20 14:59:59 +02:00
  • 6965004812 fix(benchmark): make the event cache benchmark compute what it's supposed to Benjamin Bouvier 2025-08-20 12:31:51 +02:00
  • 8ec23a95d5 fix(event cache): avoid cycle of EventCacheInner with the auto_shrink_linked_chunk_task Benjamin Bouvier 2025-08-20 14:37:16 +02:00
  • 7880ec5b01 fix(sdk): Return from poll when encryption state known Skye Elliot 2025-08-20 13:56:05 +01:00
  • 36428564fc feat(sdk): Poll encryption state on sync event for up to 3 seconds. Skye Elliot 2025-08-20 12:45:04 +01:00
  • 7adaf7be73 feat(sdk): Rename state encryption methods for improved clarity Skye Elliot 2025-08-20 11:06:50 +01:00
  • 7920723bb4 docs(sdk): Update CHANGELOG.md Skye Elliot 2025-08-19 17:46:21 +01:00
  • b73163aa45 feat(sdk): Add Room::enable_encryption_with_state Skye Elliot 2025-08-19 17:31:56 +01:00
  • feeeb53f19 refactor(sdk): Simplify Client::(joined|invited|left)_rooms. Ivan Enderlin 2025-08-20 10:18:13 +02:00
  • 1ac876db98 doc(sdk): Rephrase a couple of comments. Ivan Enderlin 2025-08-20 08:23:07 +02:00
  • afaf2cc036 test(sdk): Test that local latest event values has priority over remote's. Ivan Enderlin 2025-08-19 18:02:24 +02:00
  • 5a3bb0a86d feat(sdk): Ensure the send queue has the priority over the event cache for computing a LatestEventValue. Ivan Enderlin 2025-08-19 17:33:40 +02:00
  • 2640aa1e23 fix(sdk): Compute the LatestEventValue on SentEvent before removing it from the buffer. Ivan Enderlin 2025-08-19 17:30:22 +02:00
  • d1a8392ce7 refactor(sdk): Rename LocalIsWedged to LocalCannotBeSent. Ivan Enderlin 2025-08-19 16:19:25 +02:00
  • 4d14dd3692 doc(sdk): Add a TODO marker for later. Ivan Enderlin 2025-08-19 15:50:50 +02:00
  • 63defca8af chore(sdk): Add mark_ prefix. Ivan Enderlin 2025-08-19 15:44:33 +02:00
  • fd83904b4d feat(sdk): Handle replacing a local event by a non-suitable latest event value. Ivan Enderlin 2025-08-19 15:39:05 +02:00
  • 9254c38a8d chore(sdk): Log all deserialize errors in latest_events. Ivan Enderlin 2025-08-19 15:23:25 +02:00
  • 63d9dd5c6e refactor(sdk): Rename find_and_map_any_message… to extract_content_from_any_message_like. Ivan Enderlin 2025-08-19 15:13:31 +02:00
  • 23dacc329e refactor(sdk): Rename LatestEventKind to LatestEventContent. Ivan Enderlin 2025-08-19 15:12:54 +02:00
  • 5896a438f5 chore(sdk): Change error! to warn! when channels have been closed. Ivan Enderlin 2025-08-19 14:53:47 +02:00
  • 31a3d76436 feat(sdk): Introduce LatestEventKind::Redacted. Ivan Enderlin 2025-08-18 15:02:05 +02:00
  • dfaaf323ad test(sdk): Test that a None latest event value is ignored. Ivan Enderlin 2025-08-18 12:19:46 +02:00
  • 94439d8913 test(sdk): Write tests for LatestEvent and SendQueue. Ivan Enderlin 2025-08-11 12:06:52 +02:00
  • 9cc29d7c65 feat(sdk): Implement LatestEvent::update_with_send_queue. Ivan Enderlin 2025-08-11 10:45:57 +02:00
  • f2fbdfbac2 chore(sdk): Rename and split a couple of types in latest_event. Ivan Enderlin 2025-08-11 10:38:01 +02:00
  • fd34927f61 feat(sdk): compute_latest_events broadcasts the update to LatestEvent. Ivan Enderlin 2025-08-04 16:31:47 +02:00
  • 0190d3556d chore(sdk): Rename update to update_with_event_cache in latest_events. Ivan Enderlin 2025-08-04 16:26:54 +02:00
  • 2d657fe908 feat(sdk): LatestEvents listens to the SendQueue. Ivan Enderlin 2025-08-04 15:50:25 +02:00
  • 5e43177d3a chore(sdk): Simplify code in listen_to_event_cache_and_send_queue_updates_task. Ivan Enderlin 2025-08-04 14:12:38 +02:00
  • e44b01cbe5 feat(sdk): Support room key downloading using JsonCastable<EncryptedEvent> Skye Elliot 2025-08-14 12:52:42 +01:00
  • 4882c98f99 refactor(indexeddb): allow IndexeddbSerializer::hash_key to be unused until event cache store is a default feature Michael Goldenberg 2025-08-17 15:05:30 -04:00
  • 4bf0187310 style(indexeddb): format event cache store impl by temporarily removing enclosing macro Michael Goldenberg 2025-08-17 12:05:05 -04:00
  • 10ca400d4d docs(indexeddb): correct key docs to express that keys are hashed, not encrypted Michael Goldenberg 2025-08-17 12:02:37 -04:00
  • cc61e123b7 docs(indexeddb): remove references to room where relevant in transaction docs Michael Goldenberg 2025-08-17 11:58:55 -04:00
  • 6f23981268 refactor(indexeddb): log linked chunk id rather than room id in handle_linked_chunk_updates Michael Goldenberg 2025-08-15 13:49:14 -04:00
  • 859044285a test(indexeddb): use event cache store integration tests from matrix_sdk_base Michael Goldenberg 2025-08-15 13:43:34 -04:00
  • 6c1134006e fix(indexeddb): integrate linked chunk id into relevant chunk- and gap-related types and fns Michael Goldenberg 2025-08-15 13:41:46 -04:00
  • 6d1cdbc613 fix(indexeddb): integrate linked chunk id into relevant event-related types and fns Michael Goldenberg 2025-08-15 13:39:08 -04:00
  • 6160c15103 refactor(indexeddb): re-organize type synonyms in event_cache_store::serializer Michael Goldenberg 2025-08-15 13:37:03 -04:00
  • 100cbde526 refactor(indexeddb): use room-based queries in event-related fns that don't use linked chunk ids Michael Goldenberg 2025-08-15 13:33:38 -04:00
  • 6ff8a26cca refactor(indexeddb): add room-based index to event object store in preparation for linked chunk id as primary key Michael Goldenberg 2025-08-15 10:26:53 -04:00
  • a1c484fb6e refactor(indexeddb): expose hash_key fn in serializer for keys represented as bytes rather than strings Michael Goldenberg 2025-08-14 10:19:49 -04:00