Commit Graph

  • 31e0bfa400 feat: Install RequestedRequiredStates and add handle_encryption_state. Ivan Enderlin 2025-03-12 12:58:21 +01:00
  • d32b10de80 feat: Introduce RequestedRequiredStates. Ivan Enderlin 2025-03-12 12:49:53 +01:00
  • 215853cf67 chore: Upgrade ruma Kévin Commaille 2025-03-06 14:30:08 +01:00
  • a941cc824d fix(ffi): Restore some needed OIDC prompts in the FFI layer Jorge Martín 2025-03-12 12:43:44 +01:00
  • d3daa18bf8 feat!(ffi): rename setup_tracing into init_platform (#4790) Benjamin Bouvier 2025-03-12 10:41:01 +01:00
  • 2ac3b6e9a2 chore(ffi): Remove useless block_on. Ivan Enderlin 2025-03-05 15:05:39 +01:00
  • e81817c1b2 chore(ci): add new exceptions for cargo-deny Benjamin Bouvier 2025-03-11 13:19:42 +01:00
  • 01bb8093d0 feat(ffi): add a function to setup a lightweight tokio runtime Benjamin Bouvier 2025-03-06 12:41:55 +01:00
  • 1565067cee doc(ffi): Update the CHANGELOG.md. Ivan Enderlin 2025-03-11 15:17:59 +01:00
  • ecc603171b feat(ffi): Add RoomInfo::encryption_state. Ivan Enderlin 2025-03-11 15:15:28 +01:00
  • 7f3308bd2b feat(sdk): don't trigger the ignored user list change if it hasn't changed since the previous time Benjamin Bouvier 2025-03-11 12:31:14 +01:00
  • 06d5fdb5ff fix(event cache): enable foreign keys on a connection basis Benjamin Bouvier 2025-03-11 12:01:40 +01:00
  • 6047d369a6 refactor(event cache): call clear() instead of doing it manually in clear_all_rooms Benjamin Bouvier 2025-03-11 10:08:10 +01:00
  • 961a893b8c test(event cache): double-check cascading happened in the clear linked chunk test Benjamin Bouvier 2025-03-11 09:58:58 +01:00
  • 2927974396 fix(event cache): don't try to remove a previous gap if it's the only chunk in memory Benjamin Bouvier 2025-03-10 17:18:13 +01:00
  • 8c780fc5d5 chore(event cache): don't make use of .not() when it's not useful Benjamin Bouvier 2025-03-10 17:17:54 +01:00
  • 8867d203e7 chore(event cache): add spans for RoomEventCache methods Benjamin Bouvier 2025-03-10 15:57:28 +01:00
  • cf5f14ef5d feat(base): Reduce memory usage of BaseClient::room_info_notable_update_sender. Ivan Enderlin 2025-03-11 13:57:35 +01:00
  • 132f063769 feat(base): Add ObservableMap::len. Ivan Enderlin 2025-03-11 13:56:54 +01:00
  • 915cb13d45 fix(ffi): Remove Room::is_encrypted. Ivan Enderlin 2025-03-11 12:30:23 +01:00
  • 0089da10cc refactor(ffi): Use methods on OidcConfiguration to construct parts Kévin Commaille 2025-03-08 13:49:20 +01:00
  • 28293d0f2b chore: Add changelog for url_for_oidc changes Kévin Commaille 2025-03-08 00:01:04 +01:00
  • d3e64295cf refactor(oidc): Add redirect URI as an argument of url_for_oidc Kévin Commaille 2025-03-07 23:46:52 +01:00
  • 6cd3217c2e refactor(oidc): Don't take the client metadata as an argument of url_for_oidc Kévin Commaille 2025-03-07 23:25:32 +01:00
  • eba2a7a6e3 doc(ffi): Update the CHANGELOG.md. Ivan Enderlin 2025-03-11 11:05:30 +01:00
  • a98b822eeb feat(ffi): Replace Room::is_encrypted by encryption_state and latest_encryption_state. Ivan Enderlin 2025-03-11 10:59:47 +01:00
  • 0a80021742 doc: Update the CHANGELOG.mds. Ivan Enderlin 2025-03-10 17:21:26 +01:00
  • 63e8fc84a3 test(sdk): Test encryption_state() vs latest_encryption_state(). Ivan Enderlin 2025-03-10 17:01:12 +01:00
  • fe0fb641f3 test(base): Test EncryptionState helpers. Ivan Enderlin 2025-03-10 16:54:38 +01:00
  • 1c43bc7e29 test(base): Test EncryptionState::NotEncrypted. Ivan Enderlin 2025-03-10 16:52:30 +01:00
  • d03ed3063c feat: Introduce EncryptionState. Ivan Enderlin 2025-03-10 16:40:41 +01:00
  • ea8664c487 Merge pull request #4780 from matrix-org/stefan/invitesRoomSummaryFallback Stefan Ceriu 2025-03-11 11:02:23 +02:00
  • ca025f8cca feat(ffi): forget the room when rejecting invites - we're doing this as an extra layer of protection against spam attacks. Stefan Ceriu 2025-03-11 09:59:31 +02:00
  • 78e19fce32 chore(sdk): rewrite the room summary fallback test on top of the MatrixMockServer Stefan Ceriu 2025-03-11 09:22:29 +02:00
  • c8536e9e46 fix(crypto): Redecrypt non-UTD messages to remove no-longer-relevant warning shields (#4644) Andy Balaam 2025-03-11 07:01:54 +00:00
  • 1caa6069db refactor(timeline): move is_utd() to TimelineItemContent Benjamin Bouvier 2025-03-11 07:29:23 +01:00
  • abe8338e5c chore(ffi): expose a method for retrieving rooms based on their identifier Stefan Ceriu 2025-03-10 19:03:10 +02:00
  • 5373e39ce5 chore(ffi): remove now unnecessary invited_room and inviter methods as those should be retrieved through the room preview Stefan Ceriu 2025-03-10 18:50:35 +02:00
  • 5875973c13 feature(ffi): have previews for invited rooms fallback to cached client data if fetching the preview fails - relates to element-hq/element-x-ios/issues/3713 - this will allow us to interact with them even if the given homeserver doesn't have MSC3266 enabled Stefan Ceriu 2025-03-10 18:48:44 +02:00
  • 3fbf159d0e chore(deps): bump crate-ci/typos from 1.30.0 to 1.30.1 dependabot[bot] 2025-03-10 14:58:54 +00:00
  • b5c4fe3f7d test(sdk): Allow any MockEndpoint to override the expected access token Kévin Commaille 2025-03-09 12:13:26 +01:00
  • 516d066d4c test(sdk): Add a constructor for MockEndpoint on MatrixMockServer Kévin Commaille 2025-03-09 11:51:15 +01:00
  • fbcd5a71aa test(sdk): Always call MockEndpoint::respond_with Kévin Commaille 2025-03-09 11:20:03 +01:00
  • b5a23086fd test(sdk): Add test for maybe_apply_new_redaction. Ivan Enderlin 2025-03-05 16:25:52 +01:00
  • a9ce3f6963 chore: Add changelog for merging SessionTokens Kévin Commaille 2025-03-08 18:48:13 +01:00
  • a27f8f79a4 refactor(sdk): Move the session tokens into the AuthCtx Kévin Commaille 2025-03-08 18:30:45 +01:00
  • dd01479c6b refactor(sdk): Use a single SessionTokens type Kévin Commaille 2025-03-08 17:40:32 +01:00
  • e7f85ba545 chore(deps): bump ring from 0.17.8 to 0.17.13 dependabot[bot] 2025-03-07 17:05:58 +00:00
  • 48767da6cc refactor(test): Make use of is_utd method in integration test Andy Balaam 2025-03-07 13:57:43 +00:00
  • 73754399be feat(timeline): Provide is_utd on EventTimelineItem Andy Balaam 2025-03-07 13:13:44 +00:00
  • 18f5668e3e Add assertion messages Kévin Commaille 2025-03-07 12:56:48 +01:00
  • bc92e55b53 Improve tests Kévin Commaille 2025-03-07 12:25:09 +01:00
  • 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