Commit Graph

  • 230feff430 test(sdk): Add tests for handle_refresh_tokens and Oidc Kévin Commaille 2025-03-06 18:35:35 +01:00
  • 8bb4387dc4 fix(oidc): Match the proper error type for invalid refresh token Kévin Commaille 2025-03-06 17:24:23 +01:00
  • 2506ba8364 refactor(oidc): Use oauth2 for token revocation Kévin Commaille 2025-03-06 12:51:10 +01:00
  • daad6d662f fix(multiverse): Don't wait for sync service state changes when shutting down Damir Jelić 2025-03-06 15:46:43 +01:00
  • 53853c2d9a refactor(multiverse): Put the login logic into a separate function Damir Jelić 2025-03-06 14:47:41 +01:00
  • 40de714e81 refactor(multiverse): Use clap to simplify the CLI argument parsing Damir Jelić 2025-03-06 14:35:39 +01:00
  • 27bde16843 refactor(multiverse): Simplify the terminal and panic hook setups Damir Jelić 2025-03-06 14:02:04 +01:00
  • 5e8f8d5513 refactor(multiverse): Simplify the tracing setup Damir Jelić 2025-03-06 13:55:28 +01:00
  • 120970c4ea chore(multiverse): Bump the deps Damir Jelić 2025-03-06 13:12:10 +01:00
  • 740e729606 docs(oidc): Document the arguments of url_for_oidc Kévin Commaille 2025-03-06 12:09:40 +01:00
  • 60b140b684 chore: Add changelog for using oauth2 Kévin Commaille 2025-03-05 17:27:25 +01:00
  • 9a165468eb test(oidc): Add more checks for the authorization URL Kévin Commaille 2025-03-01 15:02:21 +01:00
  • e15897b3f1 refactor(oidc): Use oauth2 for authorization code grant Kévin Commaille 2025-03-01 14:24:47 +01:00
  • 52f98582f1 refactor(oidc): Use oauth2 client for refreshing access tokens Kévin Commaille 2025-03-01 12:15:27 +01:00
  • 2e72c23868 refactor(oidc): Move error types to the error module Kévin Commaille 2025-03-01 12:08:03 +01:00
  • 0967027feb refactor(oidc): Use ClientId type from oauth2 Kévin Commaille 2025-02-28 18:14:39 +01:00
  • 6c9b1ef3c1 fix(common): Rename all snapshots in deserialized_responses to have shorter names matrix-sdk-ffi/20250306 Andy Balaam 2025-03-05 14:38:23 +00:00
  • 8cceded0ae refactor(oidc): Move the fallback issuer discovery logic into a separate method Damir Jelić 2025-03-05 12:26:21 +01:00
  • ff181475a0 fix(client): Add handle_verification_events field to BaseClient. Jorge Martín 2025-02-21 10:19:04 +01:00
  • 074c0e59e0 fix(common): Shorten the name of the snapshot_test_encryption_info Andy Balaam 2025-03-05 13:31:59 +00:00
  • 1d7c60c46a chore: Add changelog about ID tokens support removal Kévin Commaille 2025-02-26 16:15:23 +01:00
  • 377f34fae2 refactor(oidc): Get rid of OidcBackend Kévin Commaille 2025-02-26 15:34:59 +01:00
  • 26cb805e0f test(oidc): Use MatrixMockServer in the remaining tests Kévin Commaille 2025-02-26 14:42:47 +01:00
  • 81dbe2060c refactor(oidc): Remove support for ID tokens Kévin Commaille 2025-02-26 14:04:33 +01:00
  • fd0fca436b chore(sdk): Remove the request_body instrument's field. Ivan Enderlin 2025-03-05 13:30:05 +01:00
  • 3d653d3fdc fix(sqlite): Design a new schema to get faster insertions. Ivan Enderlin 2025-02-28 15:32:49 +01:00
  • b22bb3ee9f fix(sqlite): Use a prepared statement to insert events. Ivan Enderlin 2025-02-28 14:08:38 +01:00
  • 7f17b4be7b bench: Add a benchmark for the LinkedChunk with the EventCacheStore. Ivan Enderlin 2025-02-26 20:07:52 +01:00
  • fa3a9d81e3 refactor(event cache): use Ruma's is_redacted() method instead of original_content() Benjamin Bouvier 2025-03-05 11:49:59 +01:00
  • 892c99f0f3 test(sqlite): Improve a test to check uniqueness constraint. Ivan Enderlin 2025-02-26 16:05:37 +01:00
  • 8d8846a259 chore(sdk): Remove EventsPostProcessing. Ivan Enderlin 2025-03-05 10:17:44 +01:00
  • 9d63af6271 chore(sdk): maybe_apply_new_redaction no longer takes a &RoomVersionId. Ivan Enderlin 2025-03-05 09:08:21 +01:00
  • 37ad82adfc doc(sdk): Add missing documentation. Ivan Enderlin 2025-03-03 10:37:58 +01:00
  • 57953b9ae9 chore(sdk): Make Clippy happy. Ivan Enderlin 2025-03-03 10:11:52 +01:00
  • 777fb920f6 fix(sdk): maybe_apply_new_redaction updates in-store events. Ivan Enderlin 2025-03-03 09:47:05 +01:00
  • 05750e871b task(sdk): maybe_apply_new_redaction uses find_event. Ivan Enderlin 2025-03-03 09:41:18 +01:00
  • 5a11b8b836 task(sdk): RoomEventCacheState::find_event returns the event location. Ivan Enderlin 2025-03-03 09:40:04 +01:00
  • 8a785ea855 task(sdk): Move maybe_apply_new_redaction from RoomEvents inside RoomEventCacheState. Ivan Enderlin 2025-03-03 08:25:50 +01:00
  • 1874a76f67 task(sdk): Rename a variable, and AllEventsCache only stores valid events. Ivan Enderlin 2025-03-03 08:13:57 +01:00
  • 0b2b528962 task(sdk): Callback in with_events_mut returns an EventsPostProcessing. Ivan Enderlin 2025-03-03 07:56:46 +01:00
  • 2036c3da9d doc(sdk): Fix documentation of with_events_mut. Ivan Enderlin 2025-03-03 07:37:15 +01:00
  • 7694b016da chore: disable LTO on release builds Benjamin Bouvier 2025-03-05 10:40:58 +01:00
  • 6fdd59157a fix(timeline): steal hiddden receipts from the previous item, when inserting in the middle Benjamin Bouvier 2025-03-04 20:44:39 +01:00
  • 0d7096fa94 test(timeline): add regression test for duplicate read receipts Benjamin Bouvier 2025-03-04 19:51:07 +01:00
  • a94dc4e89b chore(timeline): add more logs for read receipts Benjamin Bouvier 2025-03-04 14:09:29 +01:00
  • bf965b2a17 feat(timeline): add an invariant check that there's no duplicate read receipts Benjamin Bouvier 2025-03-03 15:49:25 +01:00
  • 9c87625910 chore(event cache): include the room id in the sending linked chunk updates to the store log Benjamin Bouvier 2025-03-04 17:45:27 +01:00
  • 3f1543504a test(timeline): add an equivalent test when storage's enabled Benjamin Bouvier 2025-03-04 15:07:12 +01:00
  • 3773968d19 fix(timeline): remove events when back-paginating too Benjamin Bouvier 2025-03-04 14:34:42 +01:00
  • d28d4ce799 test(timeline): add a regression test for the incorrect timeline ordering Kévin Commaille 2025-03-04 14:20:27 +01:00
  • bffb19b23a refactor!(sdk): bump the MSRV, yay for async closures 🥳 Benjamin Bouvier 2025-03-04 17:54:02 +01:00
  • 6aea4c827a feat(ffi): allow setting the media retention policy from the FFI layer Benjamin Bouvier 2025-03-03 16:21:49 +01:00
  • ac3250c58b refactor(event cache): use u64 instead of usize in MediaCachePolicy Benjamin Bouvier 2025-03-03 16:21:25 +01:00
  • 6fe0880e11 feat(ffi): add a method to clear all the non-critical caches of a client Benjamin Bouvier 2025-03-03 16:06:56 +01:00
  • 78282bf1e1 chore(sdk-base): fix typos following typos crate bump to 1.30.0 Stefan Ceriu 2025-03-03 17:17:14 +02:00
  • 43d25127c3 chore(deps): bump crate-ci/typos from 1.29.7 to 1.30.0 dependabot[bot] 2025-03-03 14:17:58 +00:00
  • c33c61a256 feat(ci): Implement CI to detect long path in pushed commit bitfriend 2025-02-06 10:37:33 -06:00
  • def4be5a9f refactor(event cache): make use of Chunk::num_items when deciding whether to drop a previous empty event chunk Benjamin Bouvier 2025-03-03 14:56:18 +01:00
  • 9bc0d8b0d9 refactor(event cache): rename Chunk::len to Chunk::num_items Benjamin Bouvier 2025-03-03 14:54:42 +01:00
  • 0924b2e343 refactor(event cache): get rid of EmptyChunkRule::Keep which is only used in testing Benjamin Bouvier 2025-02-27 18:52:02 +01:00
  • 8b6e75980b refactor(event cache): don't keep an empty events chunk before a gap Benjamin Bouvier 2025-02-27 18:45:58 +01:00
  • 5fd0cb0ddb chore(deps): bump bnjbvr/cargo-machete from 0.7.1 to 0.8.0 dependabot[bot] 2025-03-03 14:18:02 +00:00
  • b5edc86a52 refactor(event cache): rename clear to clear_pending Benjamin Bouvier 2025-03-03 14:37:24 +01:00
  • d09655989d feat(event cache): don't include useless updates when clearing/resetting a linked chunk Benjamin Bouvier 2025-02-24 17:15:39 +01:00
  • 83415ac6ca refactor(event cache): clear all pending updates when resetting/shrinking a linked chunk Benjamin Bouvier 2025-02-24 17:01:35 +01:00
  • cc7fb63c6d refactor(sdk): Remove clone_request method Kévin Commaille 2025-03-03 03:32:21 +01:00
  • f5195222a7 refactor(ffi): move the TimelineEventTypeFilter to timeline/configuration Benjamin Bouvier 2025-02-27 19:16:49 +01:00
  • cecf15a34a refactor(ffi): unify a bit more Room::timeline_with_configuration and RoomListItem::init_timeline Benjamin Bouvier 2025-02-27 19:09:55 +01:00
  • 95b53d7e01 chore: Tweak the weekly-report command to include PR numbers Damir Jelić 2025-02-18 15:13:07 +01:00
  • 8cd70854ba refactor(crypto): Keep a long-lived DecryptionRetryTask in TimelineController Andy Balaam 2025-02-25 15:08:52 +00:00
  • dbaa36ec3e refactor(timeline): Share should_retry logic between the two places we use it Andy Balaam 2025-02-25 13:50:25 +00:00
  • 8976233905 refactor(timeline): Move the code to find which events to redecrypt into the async task Andy Balaam 2025-02-25 13:45:22 +00:00
  • 82d47d800c refactor(timeline): Pass requests to retry decryption through a channel, instead of spawning a task directly Andy Balaam 2025-02-25 13:29:31 +00:00
  • e84ad97edf refactor(timeline): Adjust tests that retry decryption to wait with timeouts Andy Balaam 2025-02-25 12:54:36 +00:00
  • d447342cbd refactor(timeline): Split finding retry indices into its own function Andy Balaam 2025-02-24 16:13:56 +00:00
  • c74ecff3f0 refactor(timeline): Move finding retry indices into DecryptionRetryTask Andy Balaam 2025-02-24 16:08:46 +00:00
  • a0282ec71b refactor(timeline): Move the decryption retrying into a separate struct Andy Balaam 2025-02-24 16:00:46 +00:00
  • a67f9d5bbf chore(sdk): Log all updates. Ivan Enderlin 2025-02-28 11:53:06 +01:00
  • f7297edd61 refactor(event cache): get rid of get_or_wait_for_token Benjamin Bouvier 2025-02-27 16:51:00 +01:00
  • 87a6037924 refactor(event cache): consolidate logic around returning the previous gap token Benjamin Bouvier 2025-02-27 15:17:14 +01:00
  • ee710e34dd test(event cache): turn test into failing regression test Benjamin Bouvier 2025-02-27 16:24:35 +01:00
  • 55143e1790 refactor(event cache): call /messages directly in the room pagination Benjamin Bouvier 2025-02-27 14:04:36 +01:00
  • 7a0bf9b9b9 chore(sdk): Don't repeat a log line about the list of users for a /keys/query Damir Jelić 2025-02-27 15:49:44 +01:00
  • b422b93c78 chore(crypto): Lower a very noisy log line Damir Jelić 2025-02-27 15:39:18 +01:00
  • 4742aa298a fix(event cache): wait for the initial previous-batch token, if there wasn't any Benjamin Bouvier 2025-02-26 13:27:51 +01:00
  • f9f389d9ec chore(event cache): remove unused errors Benjamin Bouvier 2025-02-26 15:34:00 +01:00
  • 7dba05f4c5 feat(sdk): Add Room::report_room Hanadi 2025-02-26 18:55:57 +03:00
  • f02a7d15ab test(sdk): Run integration tests for experimental-oidc feature too Kévin Commaille 2025-02-26 15:46:16 +01:00
  • 54ab46dcb4 test(oidc): Use MatrixMockServer for cross-signing test Kévin Commaille 2025-02-26 13:13:48 +01:00
  • 9b406cff87 test(oidc): Use mock server and client as much as possible Kévin Commaille 2025-02-25 12:40:11 +01:00
  • 5791ac9b76 test(oidc): Add an OauthMockServer and use it for qrcode login tests Kévin Commaille 2025-02-24 17:03:30 +01:00
  • 6026b0c4b7 test(oidc): Use MatrixMockServer for qrcode login tests Kévin Commaille 2025-02-24 15:55:23 +01:00
  • 52909b0eeb test(oidc): Simplify qrcode login tests Kévin Commaille 2025-02-24 15:51:30 +01:00
  • 1feb77bbef doc(event cache): tweak paginate_backwards_with_network doc comment Benjamin Bouvier 2025-02-26 12:17:37 +01:00
  • 2e1b051a4d refactor(event cache): split handling a successful network pagination into its own function Benjamin Bouvier 2025-02-26 12:16:11 +01:00
  • 15fd892b63 chore(event cache): remove the sync_ prefix from timeline_events_diff Benjamin Bouvier 2025-02-26 12:08:15 +01:00
  • 4833403d65 refactor(event cache): simplify signature of RoomEventCacheState::with_events_mut Benjamin Bouvier 2025-02-26 12:05:01 +01:00
  • 061a2f739a refactor(event cache): handle pagination status in a single location Benjamin Bouvier 2025-02-26 12:02:02 +01:00
  • 86b5cb4dba refactor(event cache): split disk and network paginations into smaller functions Benjamin Bouvier 2025-02-26 11:49:21 +01:00
  • 74bc3dfb6e refactor(event cache): don't hold onto a live instance of the paginator in RoomEventCache Benjamin Bouvier 2025-02-26 10:42:42 +01:00