Commit Graph

  • 4adabcf747 WidgetDriver: Add io.element.call.encryption_keys to-device capability. This needs to be part of the send/read capabilities so that to-device keys can be used. toger5/widget_to_device Timo 2025-04-30 06:53:52 +02:00
  • 9fbb9cbe9b WidgetDriver: refactor Filter This commit simplifies the filter public api. Timo 2025-04-29 17:45:12 +02:00
  • 4e64f28318 WidgetDriver: filter event_type change from dedicated ...EventType -> String This is (sadly) required since we cannot do as_str() for TimlineEventType and other ruma event types. So we need to use String. We also never used them more specifically than strings. Timo 2025-04-29 17:38:57 +02:00
  • 5e2f775b2b WidgetDriver: rename EventFilter->Filter & MatrixEventFilterInput -> FilterInput This is a simple devtool refactor rename. Nothing fancy here. Timo 2025-04-29 17:32:04 +02:00
  • 0856f4e6b0 refactor(crypto): Properly encapsulate internal OutboundGroupSession state procr1337 2025-04-29 17:39:21 +02:00
  • ae4cdda939 feat(sdk): add a room method to retrieve all related events Benjamin Bouvier 2025-04-24 15:34:14 +02:00
  • 0db273bf38 test(sdk): add a mocking endpoint for listing relations and test Room::relations Benjamin Bouvier 2025-04-24 16:45:18 +02:00
  • a912a7584f test(sdk): add a mocking endpoint for listing threads and test Room::list_threads() Benjamin Bouvier 2025-04-24 14:46:59 +02:00
  • fa1aa57581 feat(sdk): add a room method to retrieve a list of threads Benjamin Bouvier 2025-04-24 13:52:52 +02:00
  • b22bb3fa86 crypto: Move some test helpers out from sender_data_finder Richard van der Hoff 2025-04-24 19:06:33 +01:00
  • be922b74b4 Changelog: Add WidgetDriver to-device support Timo 2025-04-11 12:47:06 +02:00
  • 659eb35df8 WidetDriver: ffi for the toDevice feature Timo 2025-04-07 18:59:34 +02:00
  • e712af81e3 WidgetDriver: integration tests for the toDevice feature. Timo 2025-04-07 18:59:20 +02:00
  • 2829d88f1c WidgetDriver: add matrix driver toDevice support (reading and sending events via cs api) This also hooks up the widget via the machine actions. And adds toDevice events to the subscription. Timo 2025-04-07 18:58:41 +02:00
  • cea1060c13 WidgetDriver: add toDevice capability parsing Timo 2025-04-07 18:52:00 +02:00
  • d1e71343e5 WidgetDriver: add ToDevice widget events and machine actions. It consists of the following changes: - add a NotifyNewToDeviceEvent ToWidgetRequest (a request that will be sent to the widget from the client when the client receives a widget action over the widget api) - add the SendToDeviceRequest (driver request that will be sent from the widget and asks the driver to send a to_device event) - add the ToDeviceActions to the required enums: machine IncomingMessage, MatrixDriverResponse, FromWidgetResponse, FromWidgetRequest, MatrixDriverRequestData Timo 2025-04-07 18:51:22 +02:00
  • 9ed3e47e45 WidgetDriver: refactor Filter and introduce ToDeviceFilter ToDevice events need their own custom filter type. Introducing this new filter type is the main purpose of this commit. The API for the filters was a bit confusing since it had a lot of special cases. This commit also simplifies the filter public api. Timo 2025-04-07 18:35:51 +02:00
  • c3ed8b9e7b docs(ffi): update changelog Michael Goldenberg 2025-04-28 16:32:00 -04:00
  • 6e442d9046 feat(ffi): rename fields in UploadSource to match AttachmentSource Michael Goldenberg 2025-04-26 12:21:21 -04:00
  • 79c5edd319 refactor(ffi): add conversion from UploadSource to AttachmentSource Michael Goldenberg 2025-04-26 12:09:39 -04:00
  • bd6361e23a feat(ffi): replace file-related fields with UploadSource in UploadParameters Michael Goldenberg 2025-04-25 17:45:42 -04:00
  • 02fdf8c0d3 feat(ffi): add UploadSource for representing upload data Michael Goldenberg 2025-04-25 17:30:30 -04:00
  • 1e835b24fb feat(ffi): update changelog Michael Goldenberg 2025-04-16 12:27:05 -04:00
  • 1a12ba3ad4 feat(ffi): allow file data to be passed through bindings when sending attachment Michael Goldenberg 2025-04-16 11:38:14 -04:00
  • d9f2588561 chore(deps): Bump tj-actions/changed-files dependabot[bot] 2025-04-28 16:32:06 +00:00
  • 5268bc35db chore(deps): Bump crate-ci/typos from 1.31.1 to 1.31.2 dependabot[bot] 2025-04-28 16:22:20 +00:00
  • ff32840387 refactor(crypto): Move session_id from EncryptionInfo to AlgorithmInfo as it is megolm specific Valere Fedronic 2025-04-29 10:07:03 +02:00
  • b4afb91de5 feat(bindings): check if report room api is supported Mauro Romito 2025-04-28 18:14:01 +02:00
  • d800d3c324 crypto: clean up confusing method (#4983) Richard van der Hoff 2025-04-28 13:55:51 +01:00
  • 7c84ab2701 Merge pull request #4982 from matrix-org/rav/random_fix_1 Richard van der Hoff 2025-04-28 13:51:12 +01:00
  • f8347a5df6 sdk: remove redundant variable rav/random_fix_1 Richard van der Hoff 2025-04-23 10:47:09 +01:00
  • 6e119c737c fix(crypto): Take into account pending to-device room key sharing requests when collecting devices that have already received a session procr1337 2025-04-25 15:51:41 +02:00
  • 237c0256a2 fix(tests): tweak a flaky test to make it more stable + logs (#4968) Valere Fedronic 2025-04-25 12:42:55 +02:00
  • f763d3690d docs(common): add a comment explaining how to use the timer! macro Benjamin Bouvier 2025-04-22 16:58:49 +02:00
  • ff89165836 fixup! feat(event cache): start implementing threads in the event cache bnjbvr/thread-data-model Benjamin Bouvier 2025-04-24 17:46:34 +02:00
  • 6ebca8288c feat(multiverse): add a plain view of all the threads in a room Benjamin Bouvier 2025-04-22 16:59:10 +02:00
  • 3a97c61293 docs(common): add a comment explaining how to use the timer! macro Benjamin Bouvier 2025-04-22 16:58:49 +02:00
  • 5ddd23a3cc feat(event cache): start implementing threads in the event cache Benjamin Bouvier 2025-04-22 19:04:35 +02:00
  • 14c6dcc464 test(sdk): add a mocking endpoing for listing relations and test Room::relations Benjamin Bouvier 2025-04-24 16:45:18 +02:00
  • ace0026b1d feat(sdk): add a room method to retrieve all related events Benjamin Bouvier 2025-04-24 15:34:14 +02:00
  • 9a5e9e8950 test(sdk): add a mocking endpoint for listing threads and test Room::list_threads() Benjamin Bouvier 2025-04-24 14:46:59 +02:00
  • 91d085c41b task(tests): Ignore test_new_users_first_messages_dont_warn_about_insecure_device_if_it_is_secure because it is flaky Andy Balaam 2025-04-24 14:41:37 +01:00
  • 69a0b784dd feat(sdk): add a room method to retrieve a list of threads Benjamin Bouvier 2025-04-24 13:52:52 +02:00
  • afb6627bef fix(crypto): Fixed a bug where room keys would be rotated unecessarily procr1337 2025-04-24 14:39:02 +02:00
  • 8c3f55456f refactor(widget): reduce indent in a few places thanks to early returns Benjamin Bouvier 2025-04-23 19:30:20 +02:00
  • 03d9e9b368 refactor(widget): avoid complicated combinators and make decisions more local and explicit Benjamin Bouvier 2025-04-23 19:11:43 +02:00
  • 75c4af5f4e chore(widget): make some names more explicit Benjamin Bouvier 2025-04-23 18:31:37 +02:00
  • c9f6938cb7 refactor(widget): get rid of WidgetDriverRequestHandle::null too Benjamin Bouvier 2025-04-23 18:17:43 +02:00
  • 939af521f3 refactor(widget): simplify further the MatrixDriverRequestHandle Benjamin Bouvier 2025-04-23 18:11:58 +02:00
  • bb9d481d88 refactor(widget): get rid of the null MatrixDriverRequestHandle Benjamin Bouvier 2025-04-23 18:11:07 +02:00
  • 3df336ab1c refactor(widget): get rid of function used only once Benjamin Bouvier 2025-04-23 17:40:07 +02:00
  • 12e358a54f fix(sdk): Don't overwrite previously added state events in state_event processing Benjamin Kampmann 2025-04-24 12:49:22 +01:00
  • 468e7c35f6 Merge pull request #4932 from matrix-org/rav/history_sharing/save_key_bundle_data Richard van der Hoff 2025-04-24 12:22:14 +01:00
  • a3cb1cd6b5 Merge branch 'main' into rav/history_sharing/save_key_bundle_data Richard van der Hoff 2025-04-24 12:07:21 +01:00
  • 1554e05d8a refactor(send_queue): generalize SentRequestKey::Media and DependentQueuedRequestKind::UploadFileWithThumbnail to prepare for MSC4274 gallery uploads (#4897) Johannes Marbach 2025-04-24 11:52:33 +02:00
  • 85e0626d5f indexeddb: fudge implementation of get_received_room_key_bundle_data Richard van der Hoff 2025-04-16 16:28:32 +01:00
  • e89c45ba42 sqlite: store data on received room key bundles Richard van der Hoff 2025-04-14 12:31:28 +01:00
  • 6173aef064 memorystore: store received room key bundle data Richard van der Hoff 2025-04-14 11:40:20 +01:00
  • 00364d95af crypto: add methods for room key bundles to store traits Richard van der Hoff 2025-04-14 18:15:16 +01:00
  • 3aa0983a5c crypto: add received room key bundles to store changes list Richard van der Hoff 2025-04-14 11:38:04 +01:00
  • 4be4d39851 crypto: add types to support decryption of RoomKeyHistoryBundle to-device events Richard van der Hoff 2025-04-11 16:58:20 +01:00
  • 884775086a chore: add an intermittent test failure policy Benjamin Bouvier 2025-04-23 15:18:07 +02:00
  • a60e336f85 feat(crypto): Start using the stable identifier for the sender device keys Damir Jelić 2025-04-23 13:48:11 +02:00
  • 426a4ff1bf chore(ci): make clippy happy on all configurations Benjamin Bouvier 2025-04-23 11:45:28 +02:00
  • 9492614ea6 refactor(sdk): rename a few push_action_ctx variables back into push_ctx Benjamin Bouvier 2025-04-22 20:50:49 +02:00
  • 234e0be337 refactor(timeline): reuse the same push context for all the events we're trying to re-decrypt Benjamin Bouvier 2025-04-22 20:45:06 +02:00
  • b6d71a3875 refactor(timeline): make use of PushContext in the RoomDataProvider trait Benjamin Bouvier 2025-04-22 20:21:07 +02:00
  • 4c8e2fd4ae refactor(sdk): no need to recompute push actions from /messages, since try_decrypt_event does it for us Benjamin Bouvier 2025-04-22 20:02:33 +02:00
  • 55342a84fa refactor(sdk): explicit the case where we can't compute the push actions Benjamin Bouvier 2025-04-22 19:54:59 +02:00
  • 9950268164 refactor(sdk): rename Room::push_action_ctx to Room::push_context() (and associated type too) Benjamin Bouvier 2025-04-22 19:48:13 +02:00
  • f17c9fb2d5 refactor(sdk): rename Room::push_context() to Room::push_condition_room_ctx() Benjamin Bouvier 2025-04-22 19:46:31 +02:00
  • 93c961d673 refactor(sdk): avoid recomputing the push context and ruleset for every single event when decrypting a batch Benjamin Bouvier 2025-04-22 19:43:27 +02:00
  • 6e786e0ede refactor(sdk): use Room::try_decrypt_event in an extra location Benjamin Bouvier 2025-04-17 18:09:33 +02:00
  • 6c4a4382d7 WidgetDriver: Use matrix_sdk_common::executor::spawn instead of tokio::spawn to make it wasm compatible. (#4959) Timo 2025-04-23 14:39:34 +02:00
  • 7272a347fa Merge pull request #4961 from matrix-org/rav/history_sharing/deflake_integ_test Richard van der Hoff 2025-04-23 11:49:41 +01:00
  • 6d1c24f6fb test: attempt to deflake history-sharing test Richard van der Hoff 2025-04-22 15:59:28 +01:00
  • 4300148663 test: factour out new helper wait_until_some. Richard van der Hoff 2025-04-22 15:58:37 +01:00
  • 75cde02283 Merge pull request #4946 from matrix-org/rav/history_sharing/share_on_invite Richard van der Hoff 2025-04-23 11:15:57 +01:00
  • 59ecb1edbd fix(multiverse): Add a shortcut to mark rooms as read back Damir Jelić 2025-04-22 17:00:56 +02:00
  • 6e963917d6 sdk: clean up imports Richard van der Hoff 2025-04-23 09:51:01 +01:00
  • 7adf60d2c6 fixup: Cleaner ProcessedToDevice snapshot serialization Valere 2025-04-22 13:54:29 +02:00
  • bd576c22c0 fixup: test, redact snapshot value that is dependent of feature flag Valere 2025-04-22 09:33:33 +02:00
  • 35023ceb0b fixup: invalid tag in doc Valere 2025-04-22 09:05:04 +02:00
  • f1e7894c01 fixup: insta use shorter names Valere 2025-04-22 08:57:47 +02:00
  • ef44631fc6 review: remove outdated changelog line Valere 2025-04-18 15:43:09 +02:00
  • 541586f6cc review: add snapshot test with proper redaction Valere 2025-04-18 15:41:50 +02:00
  • f89150d3ee review: quick doc improvements Valere 2025-04-18 14:33:55 +02:00
  • b27770801c review: refactor, rename NotProcessed variant to Invalid Valere 2025-04-18 14:33:43 +02:00
  • a49bffac4c review: refactors ProcessedToDeviceEvent to tuple variants Valere 2025-04-18 14:23:07 +02:00
  • d4a0c2882d review: Move ProcessedToDeviceEvent to crypto types mod Valere 2025-04-18 11:06:25 +02:00
  • 031f4ec329 review: Remove encryption_info. Will be part of another PR Valere 2025-04-18 10:53:14 +02:00
  • 4bf103db38 test: Add more olm decryption encryption_info tests Valere 2025-04-16 12:20:15 +02:00
  • 4363105976 crypto: Add variants for plain text and encrypted to-device events Valere 2025-04-15 11:08:48 +02:00
  • 3b133865f0 chore: Remove unused contacts field from OidcConfiguration. Doug 2025-04-22 13:49:37 +01:00
  • 82a0708b4e SDK: rename confusing-named Room::query_keys_for_untracked_users Richard van der Hoff 2025-04-22 15:19:51 +01:00
  • 3eafefcf37 chore(deps): Bump tj-actions/changed-files dependabot[bot] 2025-04-21 15:39:00 +00:00
  • d2874afb75 fix(integration-tests): Fixes #4871 (hopefully). Repeatedly sync in a test after other user cross-signs Andy Balaam 2025-04-17 11:23:46 +01:00
  • a848506669 feat(multiverse): Add a /invite command Damir Jelić 2025-04-16 14:20:33 +02:00
  • f0e49c2adf feat(multiverse): Render membership changes Damir Jelić 2025-04-16 14:05:26 +02:00
  • 74e2e767dd fix(base): Add RoomNotableUpdateReasons::NONE to… fix a possible regression. Ivan Enderlin 2025-04-16 17:55:27 +02:00