Commit Graph

  • 47204830a9 refactor(oauth): Rename OidcError to OAuthError Kévin Commaille 2025-03-14 22:14:34 +01:00
  • f4bb14a30e refactor(oauth): Rename OidcSession to OAuthSession Kévin Commaille 2025-03-14 22:02:58 +01:00
  • 0a345a3124 refactor(oauth): Rename OidcAuthData to OAuthAuthData Kévin Commaille 2025-03-14 21:51:48 +01:00
  • 450a66ad11 refactor(oauth): Rename OidcCtx to OAuthCtx Kévin Commaille 2025-03-14 21:28:56 +01:00
  • 6f3694cfa9 refactor(oauth): Rename Oidc API to OAuth Kévin Commaille 2025-03-14 21:23:39 +01:00
  • 1658610f93 refactor(sdk): Rename oidc module to oauth Kévin Commaille 2025-03-14 20:48:16 +01:00
  • f9b1bdb22d chore: Add changelog for LocalServerBuilder Kévin Commaille 2025-03-14 19:35:58 +01:00
  • f8abb85e9e refactor(oidc_cli): Use LocalServerBuilder Kévin Commaille 2025-03-14 17:50:57 +01:00
  • 1b5e6462ee refactor(sdk): Use LocalServerBuilder with SsoLoginBuilder Kévin Commaille 2025-03-14 17:33:36 +01:00
  • fbdd8839e6 feat(sdk): Expose a local server builder Kévin Commaille 2025-03-14 16:38:38 +01:00
  • d86117ac70 chore(deps): bump crate-ci/typos from 1.30.1 to 1.30.2 dependabot[bot] 2025-03-17 15:16:17 +00:00
  • 914b7125cf chore(deps): bump tj-actions/changed-files dependabot[bot] 2025-03-17 15:16:13 +00:00
  • ad0223cafb Merge pull request #4775 from matrix-org/rav/history_sharing/room_key_bundle Richard van der Hoff 2025-03-17 11:45:38 +00:00
  • a870c02eab test: snapshot test for HistoricRoomKey::debug Richard van der Hoff 2025-03-14 15:22:55 +00:00
  • 002e77616d crypto: support for building key bundles Richard van der Hoff 2025-03-10 13:02:10 +00:00
  • d777e68c4a Pin tj-actions/changed-files Michael Telatynski 2025-03-17 10:04:50 +00:00
  • cabb345a1c fix(xtask): Add --limit 100 to gh pr list. Ivan Enderlin 2025-03-14 15:45:22 +01:00
  • 2f08f27b59 chore: Add changelog about removing mas-oidc-client Kévin Commaille 2025-03-11 17:15:49 +01:00
  • 3a7b0e9404 refactor(oidc): Remove dependency on mas-oidc-client Kévin Commaille 2025-03-08 14:46:29 +01:00
  • 7713ce768a refactor(oidc): Create ClientMetadata type Kévin Commaille 2025-03-08 13:38:30 +01:00
  • aea573d001 refactor(oidc): Import code to register a client Kévin Commaille 2025-03-07 14:03:32 +01:00
  • 7ca6494efa refactor(oidc): Remove support for software statement Kévin Commaille 2025-03-07 14:12:15 +01:00
  • 6f44853bf7 refactor(oidc): Use Url for the issuer Kévin Commaille 2025-03-06 17:15:34 +01:00
  • 2c6c818005 refactor(oidc): Use ruma's server metadata type Kévin Commaille 2025-03-06 16:24:51 +01:00
  • abc4fbc2f7 refactor(oidc): Import code to discover OIDC provider configuration Kévin Commaille 2025-03-06 16:10:54 +01:00
  • 9adff21f78 refactor(oidc): Import code for building the account management URL Kévin Commaille 2025-03-06 14:23:46 +01:00
  • 91f9ef85ae refactor(oidc): Add type alias for oauth2 errors Kévin Commaille 2025-03-07 13:57:59 +01:00
  • 17c6ad6b70 test(ui): Ensure Timeline runs a redecryption for all UTD. Ivan Enderlin 2025-03-14 13:20:33 +01:00
  • 8f61bdb046 fix(ui): Events received from the event cache trigger a decryption. Ivan Enderlin 2025-03-12 17:12:40 +01:00
  • 53c36226cb refactor(ui): TimelineController::retry_event_decryption no longer needs a &Room. Ivan Enderlin 2025-03-12 17:09:06 +01:00
  • 5a22944f52 chore(ui): Move an inline comment. Ivan Enderlin 2025-03-12 16:28:28 +01:00
  • 494f93d2a4 chore(ui): Move the RoomKeyInfo task inside its own function. Ivan Enderlin 2025-03-12 16:28:05 +01:00
  • d7849a1aa5 chore(ui): Move the BackupState task inside its own function. Ivan Enderlin 2025-03-12 16:21:56 +01:00
  • bc9adaab06 chore(ui): Move the rooms keys from backups task inside its own function. Ivan Enderlin 2025-03-12 16:17:57 +01:00
  • 1ec47ca24f chore(ui): Move the RoomSendQueueUpdate task inside its own function. Ivan Enderlin 2025-03-12 16:10:38 +01:00
  • faa2fa2ef0 chore(ui): Move the pinned event IDs stream task inside its own function. Ivan Enderlin 2025-03-12 16:04:08 +01:00
  • 33e8b453ee chore(ui): Move the RoomEventCacheUpdate task inside its own function. Ivan Enderlin 2025-03-12 16:01:46 +01:00
  • b9fadd0a10 fix(base): Do not define the RoomInfoNotableUpdate's channel based on number of rooms. Ivan Enderlin 2025-03-14 10:12:43 +01:00
  • 294fd79947 multiverse: support passing a server URL Richard van der Hoff 2025-03-13 18:24:20 +00:00
  • 8b6096729c fix(sdk): event_cache::Room::replace_all_events_by takes an EventsOrigin. Ivan Enderlin 2025-03-12 15:41:05 +01:00
  • 6f370daaed fix(sdk): Replace assert! by debug_assert!. Ivan Enderlin 2025-03-12 15:38:25 +01:00
  • 3c694e7909 fix(sdk): event_cache::Room::clear sends EventsOrigin::Cache. Ivan Enderlin 2025-03-12 15:36:27 +01:00
  • c3245a4f22 fix(sdk): Events loaded from the cache have EventsOrigin::Cache. Ivan Enderlin 2025-03-12 15:30:22 +01:00
  • da89a53605 feat(ui): Add EventItemOrigin::Cache. Ivan Enderlin 2025-03-12 15:20:17 +01:00
  • 968582af01 chore(ui): Update a log message. Ivan Enderlin 2025-03-12 15:14:26 +01:00
  • 07c7b6ab2a fix(ui): Pass the correct RemoteEventOrigin to replace_with_initial_remote_events. Ivan Enderlin 2025-03-12 15:10:43 +01:00
  • 5aae0cbcd9 test: Fix a test in NotificationClient. Ivan Enderlin 2025-03-12 13:54:24 +01:00
  • 3ea842dae4 test(base): Test that room encryption is correctly computed. Ivan Enderlin 2025-03-12 12:58:47 +01:00
  • 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