Commit Graph

  • 600fd62dc5 crypto(fix): Fail to decrypt if there's a key mismatch Damir Jelić 2023-01-24 09:14:42 +01:00
  • 00d1437e5a chore(crypto): Log the full error messages when decrypting room events Damir Jelić 2023-01-23 10:59:14 +01:00
  • f774159e15 chore(crypto): Record the event id when decrypting a room event Damir Jelić 2023-01-23 10:46:52 +01:00
  • a1fba86f75 chore(crypto): Log the session id when we receive a room key Damir Jelić 2023-01-23 10:28:22 +01:00
  • 3c4d1cfb47 fix(sled): Don't load the tracked users with the Account Damir Jelić 2023-01-19 13:38:39 +01:00
  • 3ab95c74c7 refactor!(crypto): Make the methods related to tracked users async Damir Jelić 2023-01-19 13:08:09 +01:00
  • 8c1a81eebc chore: Fix the conventional commit type for documentation Damir Jelić 2023-01-20 20:00:34 +01:00
  • acfa8a4190 docs(bindings): Fix return type documentation for get_missing_sessions Richard van der Hoff 2023-01-20 19:09:42 +00:00
  • 0771d73543 matrix-sdk-crypto-js v0.1.0-alpha.3 matrix-sdk-crypto-js-v0.1.0-alpha.3 Richard van der Hoff 2023-01-20 17:37:49 +00:00
  • 92546acc85 chore(crypto-js): configuration for 'yarn version' Richard van der Hoff 2023-01-20 17:37:40 +00:00
  • c7f258d8b0 doc: Improve the documentation of "tracked users" Richard van der Hoff 2023-01-20 13:02:02 +00:00
  • 1e2fd02478 doc(base): Explain purpose of BaseClient#crypto_store Jonas Platte 2023-01-20 10:03:40 +01:00
  • b0c70dc606 chore(bindings): Exclude the target folder from the debug swift package Stefan Ceriu 2023-01-20 11:00:36 +02:00
  • 0fea33de4d feat(ffi): expose server_versions on ClientBuilder Benjamin Kampmann 2023-01-18 20:44:03 +00:00
  • 053b609899 chore(sdk): Add a prefix to the request id to make it easier to grep for them Damir Jelić 2023-01-19 12:05:24 +01:00
  • a54a421f91 chore(sdk): Log the response/request sizes as well Damir Jelić 2023-01-19 11:50:52 +01:00
  • 78147e0d33 doc(crypto-js): Fix wording. Ivan Enderlin 2023-01-18 17:22:02 +01:00
  • 430c573494 feat(crypto-nodejs): Request types have more fields. Ivan Enderlin 2023-01-18 16:55:44 +01:00
  • 9db09e22b2 feat(crypto-js): Request types have fields extracted from their “body” directly Ivan Enderlin 2023-01-18 13:41:14 +01:00
  • 94fadf74b9 feat(crypto-js): Rename RoomMessageRequest.content to .body. Ivan Enderlin 2023-01-18 13:31:26 +01:00
  • 7c01f8490f test(crypto-js): Test `RoomMessageRequest.content. Ivan Enderlin 2023-01-18 13:14:06 +01:00
  • ca00112804 test(crypto-js): Add test for in-room verification (w/ RoomMessageRequest). Ivan Enderlin 2023-01-18 11:42:34 +01:00
  • 6c0ef2db51 refactor(ffi): refactor stoppable spawn to be more token-oriented Benjamin Kampmann 2023-01-16 16:12:53 +00:00
  • 938a03867b feat(ffi): add subscribe_and_add_timeline_listener helper fn Benjamin Kampmann 2023-01-16 16:11:19 +00:00
  • 90cce1a47c chore(crypto-js): Improve documentation, and do a little clean up. Ivan Enderlin 2023-01-06 17:28:44 +01:00
  • c427caf473 feat(crypto-js): Rename requests extra field to body. Ivan Enderlin 2023-01-05 17:03:13 +01:00
  • 3ad675db5c feat(crypto-js): Extract RoomMessageRequest.event_type from EventContent. Ivan Enderlin 2023-01-05 16:05:03 +01:00
  • efde81646b feat(crypto-js): Extract RoomMessageRequest.content as a JSON-encoded string. Ivan Enderlin 2023-01-05 12:02:33 +01:00
  • 8f9859c41c feat(crypto-js): Rename the body fields to extra to avoid confusion with HTTP terminology. Ivan Enderlin 2023-01-05 11:45:17 +01:00
  • 6248e2bc68 test(crypto-js): Update tests according to previous commit. Ivan Enderlin 2022-12-22 17:50:43 +01:00
  • c0ccd55df8 feat(crypto-js): request! differentiates “extracted” and “grouped” fields. Ivan Enderlin 2022-12-22 17:42:23 +01:00
  • b125b2e9da test(crypto-js): Update tests according to previous commit. Ivan Enderlin 2022-12-22 16:12:09 +01:00
  • 3c838b2f4a feat(crypto-js): Request types have fields from their “body” directly. Ivan Enderlin 2022-12-22 16:11:49 +01:00
  • f4fba3efb7 fix(bindings): Add user_id to RoomMembership Jonas Platte 2023-01-18 09:48:11 +01:00
  • e64b2f65da Revert "refactor(bindings): Fetch latest event earlier" Jonas Platte 2023-01-17 17:45:24 +01:00
  • 9e12a88e03 feat(bindings): Allow setting the store passphrase in the bindings Doug 2023-01-18 06:45:21 +00:00
  • 0af38d9a76 fix(crypto): Mark our own identity as verified if we have the private part of the identity Anderas 2023-01-17 18:41:00 +00:00
  • ade3a09848 chore(base): Remove a leftover unwrap Damir Jelić 2023-01-17 18:36:07 +01:00
  • 3641e0d540 docs(crypto): Note that the in-room verification events need to be decrypted Damir Jelić 2023-01-17 14:06:07 +01:00
  • e1d8c72d3a chore(crypto): Improve some docs Damir Jelić 2023-01-12 11:09:03 +01:00
  • c8d9581f8b refactor!(crypto): Don't process in-room verification implicitly Damir Jelić 2023-01-11 14:52:10 +01:00
  • 8cc632ffd1 feat(sdk): Add support for state events in the timeline Kévin Commaille 2023-01-12 12:14:23 +01:00
  • 1b7f4b4b42 fix(test): Fix position of prev_content in JSON Kévin Commaille 2023-01-12 12:11:10 +01:00
  • 928871d16e chore(sdk): Log the request body for sliding sync requests Damir Jelić 2023-01-16 14:16:16 +01:00
  • 87f5b251f5 chore(sdk): Add a request id counter to our HTTP client Damir Jelić 2023-01-16 12:55:52 +01:00
  • e76272a68b chore(sdk): Improve the HTTP request sending logs Damir Jelić 2023-01-16 12:42:17 +01:00
  • b30c74cb01 chore(crypto): Bump the to-device event logging to debug Damir Jelić 2023-01-16 16:07:39 +01:00
  • 686541155f feat(sdk): Add display_name_ambiguous to timeline::Profile Jonas Platte 2023-01-16 13:42:46 +01:00
  • b256b6f625 refactor(bindings): Fetch latest event earlier Jonas Platte 2023-01-11 14:46:53 +01:00
  • 7b913a0759 feat(bindings): Add EventTimelineItem::sender_profile Jonas Platte 2023-01-11 13:29:05 +01:00
  • 9e60a9dd3f feat(sdk): Attach profile information to timeline items Jonas Platte 2023-01-11 10:45:11 +01:00
  • 00bdb08973 refactor(sdk): Move locking of timeline_items into handle_remote_event Jonas Platte 2023-01-11 10:33:08 +01:00
  • ed70ccb988 refactor(sdk): Add trait ProfileProvider for use in TimelineInner Jonas Platte 2023-01-10 19:13:36 +01:00
  • e52af8a315 refactor(sdk): Make TimelineInner fields private Jonas Platte 2023-01-10 19:02:27 +01:00
  • b5450ee5ad test(sdk): Simplify TestTimeline construction Jonas Platte 2023-01-10 18:58:50 +01:00
  • b105b34cf6 refactor(sdk): Use regular struct update syntax for EventTimelineItem Jonas Platte 2023-01-10 15:32:46 +01:00
  • e0b0b632ec chore: Fix a typo Jonas Platte 2023-01-16 10:51:58 +01:00
  • 4febe45364 refactor(base): Make AmbiguityChange(s) non-exhaustive Jonas Platte 2023-01-16 10:51:07 +01:00
  • 70de11a73a refactor: Remove unused Deserialize, Serialize implementations Jonas Platte 2023-01-16 10:34:54 +01:00
  • 58f2d53293 doc(sdk): Update spec link Jonas Platte 2023-01-16 10:32:54 +01:00
  • 6540b9bb49 feat(bindings): Expose read receipts to FFI Doug 2023-01-16 09:58:40 +00:00
  • 6c53842599 chore: Bump ruma, vodozemac Jonas Platte 2023-01-16 10:15:32 +01:00
  • 663d043abb refactor: Always use Debug for logging enum or identifier values Jonas Platte 2023-01-13 14:02:50 +01:00
  • 386cbce344 Revert "feat(ffi): add subscribe_and_add_timeline_listener helper fn" Damir Jelić 2023-01-13 14:39:37 +01:00
  • ece9252a3d chore(crypto): Add the sender and event type to the to-device handling span Damir Jelić 2023-01-13 11:43:56 +01:00
  • c13cb4957e chore(crypto): Don't use a JsOption needlessly. Damir Jelić 2023-01-13 11:56:00 +01:00
  • 1f34a016e5 chore(crypto): Add the to-device message id to the logs if there is one Damir Jelić 2023-01-13 10:31:48 +01:00
  • b8dd704658 refactor(crypto): Move the to-device event handling into a separate method Damir Jelić 2023-01-13 10:28:09 +01:00
  • 273e96265f Merge pull request #1335 from gnunicorn/ben-sliding-sync-integration-test Benjamin Kampmann 2023-01-13 10:11:30 +00:00
  • 0e3ea58aa4 Revert unrelated change Jonas Platte 2023-01-13 10:51:52 +01:00
  • ba4e304cad feat(ffi): add subscribe_and_add_timeline_listener helper fn Benjamin Kampmann 2023-01-12 16:23:43 +01:00
  • 723e3a3135 tests(sliding-sync): minor style improvements Benjamin Kampmann 2023-01-12 15:35:59 +01:00
  • 1c754e663d fix(sdk): Make pagination strategy implement Send Kévin Commaille 2023-01-12 19:24:47 +01:00
  • 846844e67b fixup! chore(sdk): Re-export the AmbiguityChange type Damir Jelić 2023-01-12 17:22:52 +01:00
  • 51d96213ba chore(sdk): Re-export the AmbiguityChange type Damir Jelić 2023-01-11 12:12:20 +01:00
  • 80868919ae fix(crypto): Make the device update logic a bit more strict and obvious Damir Jelić 2023-01-09 12:10:01 +01:00
  • e3e9898f88 fixup! test(crypto): Check that we sign and verify fallback keys properly Damir Jelić 2023-01-04 10:39:14 +01:00
  • f2055f8069 test(crypto): Check that we sign and verify fallback keys properly Damir Jelić 2023-01-03 12:52:12 +01:00
  • 151f87a417 chore(crypto): Improve some docs Damir Jelić 2023-01-12 17:13:03 +01:00
  • 0e4f4d69b8 feat(crypto): Handle the failures field in the /keys/claim response Damir Jelić 2023-01-03 12:32:52 +01:00
  • 8db84a3c9e feat(crypto): Handle the failures field in the /keys/query response Damir Jelić 2023-01-03 12:32:46 +01:00
  • 1b18402707 feat(crypto): Add a TTL-cache that will handle failures for some requests Damir Jelić 2023-01-03 12:32:41 +01:00
  • 6ec8ff6363 ci(coverage): ignore new sliding-sync-integration-tests for now Benjamin Kampmann 2023-01-12 13:51:59 +01:00
  • 906c09987f style(sliding-sync): minor style refinements Benjamin Kampmann 2023-01-12 13:20:17 +01:00
  • c93a9ef9a3 fix(sliding-sync): Simply room_range checking Benjamin Kampmann 2023-01-12 13:18:40 +01:00
  • 51f2e773a0 fix(ffi): add Pop and Clear to VecDiff for sliding-sync Benjamin Kampmann 2023-01-11 17:29:24 +01:00
  • 3c6c5f4fae ci: disable broken sliding-sync-integration-test-runs Benjamin Kampmann 2023-01-11 17:25:45 +01:00
  • a8d49b86df feat(sliding-sync): adding views on live sliding-sync Benjamin Kampmann 2023-01-11 17:24:18 +01:00
  • 2949dcc773 docs: Add a Readme to explain usage Benjamin Kampmann 2023-01-11 14:29:47 +01:00
  • b790bf9397 test(sliding-sync): add integration test covering #1333 Benjamin Kampmann 2023-01-11 12:10:51 +01:00
  • 91941a5360 fix(sliding-sync): ensure we are only replacing items in the requested range Benjamin Kampmann 2023-01-11 11:58:07 +01:00
  • fabf0d40bc test: add test for moving window and rooms Benjamin Kampmann 2023-01-10 15:45:55 +01:00
  • 08bec243ff ci(sliding-sync): add sliding sync integration test Benjamin Kampmann 2023-01-10 12:14:06 +01:00
  • 60d82fde38 test: add sliding-sync integration-testing facilities Benjamin Kampmann 2023-01-10 12:13:44 +01:00
  • 866158f6ff chore(sdk): Add logging for when timeline events are not handled Jonas Platte 2023-01-11 16:57:41 +01:00
  • f883293168 chore: Update Ruma Kévin Commaille 2023-01-11 16:05:02 +01:00
  • c6e883da68 fix(sdk): Pass in to-device events to the OlmMachine unconditionally Damir Jelić 2023-01-11 13:50:08 +01:00
  • cdfb51a606 refactor!(sdk): Add the experimental prefix to the sliding-sync feature Damir Jelić 2023-01-11 11:33:42 +01:00
  • 3e88905518 chore(sdk): Make the timeline feature a dependency of the sliding sync one Damir Jelić 2023-01-11 10:55:16 +01:00
  • 156c351023 chore(crypto): Instrument the receive_sync_changes method Damir Jelić 2023-01-11 10:47:02 +01:00