Commit Graph

  • 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
  • 7113973ef5 Revert "feat(event cache): process room updates concurrently" bnjbvr/event-cache-store Benjamin Bouvier 2025-08-19 17:53:56 +02:00
  • 0a50883f91 feat(event cache): process room updates concurrently Benjamin Bouvier 2025-07-21 12:52:26 +02:00
  • 5eee20f34d refactor(event cache): pass the full store object even less Benjamin Bouvier 2025-08-19 17:37:38 +02:00
  • 5bf1cbd12d refactor(event cache): get rid of RoomEventCacheState::store \o/ Benjamin Bouvier 2025-08-19 17:31:36 +02:00
  • c9d76c2eb7 fixup! feat(event cache): use the event cache store lock as little as we must Benjamin Bouvier 2025-08-19 17:30:16 +02:00
  • 5fe1c3e65d fixup! feat(event cache): use the event cache store lock as little as we must Benjamin Bouvier 2025-08-19 17:24:48 +02:00
  • 9c605e6551 fixup! feat(event cache): use the event cache store lock as little as we must Benjamin Bouvier 2025-08-19 17:22:19 +02:00
  • 56c64fb16e fixup! feat(event cache): use the event cache store lock as little as we must Benjamin Bouvier 2025-08-19 17:19:08 +02:00
  • 085f872cc9 feat(event cache): use the event cache store lock as little as we must Benjamin Bouvier 2025-08-19 17:14:28 +02:00
  • c20b6b3609 chore(logs): simplify logs around taking a read/write sqlite connection Benjamin Bouvier 2025-08-19 16:38:26 +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
  • d2ecc77014 feat(linked chunk): derive ser/de traits for OwnedLinkedChunkId Michael Goldenberg 2025-08-14 10:14:18 -04:00
  • 2e86fbc234 feat(linked chunk): add display impl for LinkedChunkId Michael Goldenberg 2025-08-14 10:11:06 -04:00
  • 64698eaf1a feat(linked chunk): add trait-based conversions between owned and borrowed linked chunk id Michael Goldenberg 2025-08-14 10:04:06 -04:00
  • f180a14c88 feat(linked chunk): expose OwnedLinkedChunkId::as_ref for use in other crates Michael Goldenberg 2025-08-14 09:57:45 -04:00
  • bb0d480f24 fix(ci): clean more space in the CI runner for the codecov space Benjamin Bouvier 2025-08-19 12:10:23 +02:00
  • 7af1d3ab0e Merge pull request #5539 from matrix-org/kaylendog/msc3414/crypto Richard van der Hoff 2025-08-19 10:55:38 +01:00
  • 13ee4c8098 tests(crypto): Document introduced tests and helper Skye Elliot 2025-08-19 10:17:14 +01:00
  • 7bbd02ca73 chore(deps): bump actions/checkout from 4 to 5 dependabot[bot] 2025-08-19 08:19:12 +00:00
  • e22a7a2ed5 chore(deps): bump bnjbvr/cargo-machete from 0.8.0 to 0.9.1 dependabot[bot] 2025-08-18 23:58:23 +00:00
  • 4aad2c6b07 chore(deps): bump crate-ci/typos from 1.35.0 to 1.35.4 dependabot[bot] 2025-08-18 22:02:08 +00:00
  • 960162453c feat(base): Add EncryptionState::StateEncrypted Skye Elliot 2025-08-12 15:59:07 +01:00
  • 1ea2162012 chore(ci): add a search feature to try out the experimental-search branch in CI Benjamin Bouvier 2025-08-18 17:18:45 +02:00
  • 1f0151705a fix(search): make the experimental-search feature compile Benjamin Bouvier 2025-08-18 17:17:49 +02:00
  • 84ebbd913c feat: Add naive state key verification to OlmMachine Skye Elliot 2025-08-12 13:50:09 +01:00
  • 756d50737e feat(crypto): Add state event encryption methods to OlmMachine Skye Elliot 2025-08-06 14:16:49 +01:00
  • c32877284c feat(crypto): Add GroupSessionManager::encrypt_state Skye Elliot 2025-08-06 12:52:15 +01:00
  • 6260811ea5 feat(crypto): Add OutboundGroupSession::encrypt_state Skye Elliot 2025-08-06 12:47:04 +01:00
  • 4f0415d4d2 add .envrc to .gitignore dragonfly1033 2025-08-18 14:08:03 +01:00
  • b43aac129b chore: address review comments Benjamin Bouvier 2025-08-18 13:11:24 +02:00
  • c019009d00 refactor(event cache): avoid deserializing the full event content to be sent, for extracting its thread root Benjamin Bouvier 2025-08-14 13:34:19 +02:00
  • a88d6b37dc feat(event cache): also subscribe to a thread if we've sent a message into it Benjamin Bouvier 2025-08-14 13:19:56 +02:00
  • 705d6f870e refactor(event cache): move the listening to linked chunk updates to its own function, and introduce a select! at the top level Benjamin Bouvier 2025-08-14 13:00:36 +02:00
  • 4fc28c4701 feat(multiverse): enable threading support for multiverse with subscriptions Benjamin Bouvier 2025-08-14 12:28:26 +02:00
  • 64eecd0aee test(event cache): add tests for automatic thread subscriptions Benjamin Bouvier 2025-08-14 12:21:11 +02:00
  • c25be8b070 feat(event cache): automatically subscribe to threads according to msc4306 semantics Benjamin Bouvier 2025-07-29 15:42:29 +02:00
  • 1554c9d8fa feat(room): add a new function that will only subscribe to a thread if needed Benjamin Bouvier 2025-08-13 17:27:24 +02:00
  • d568c07489 feat(event cache): add a way to subscribe to any room's linked chunk updates Benjamin Bouvier 2025-08-14 09:23:08 +02:00
  • 13c30f6691 feat(sdk): Add creation of indexes and indexing of messages (#5505) dragonfly1033 2025-08-18 13:52:09 +01:00
  • 0e70a2fdfb test(sdk): add a regression test for the thread relation forwarding for poll start events Benjamin Bouvier 2025-08-18 12:50:28 +02:00
  • d70d758861 chore: bump Ruma Benjamin Bouvier 2025-08-18 12:49:34 +02:00
  • eefa9ff556 added comments including reference to MSCs fkwp 2025-08-15 16:24:36 +02:00
  • 28a8603f42 Allow new state key string-packing format for widget mode fkwp 2025-08-14 20:08:34 +02:00
  • ae7f0fe022 feat: Experimental encrypted state feature flag with CI support (#5537) Skye Elliot 2025-08-15 13:54:41 +01:00
  • d9f4e7c426 Merge pull request #5511 from kaylendog/kaylendog/room-settings Skye Elliot 2025-08-14 15:51:19 +01:00
  • 247ec1dcd2 refactor(event cache): shorten the name of room_event_cache_generic_update Benjamin Bouvier 2025-08-14 08:43:54 +02:00