Commit Graph

  • c044f81d7b refactor(base): Rename Store to BaseStateStore. Ivan Enderlin 2025-03-26 17:01:36 +01:00
  • 5730f0e00e chore(ui): introduce an as_message MsgLikeContent helper and use in tests Stefan Ceriu 2025-03-27 14:50:48 +02:00
  • 76f92ba9af chore(ui): rename AggregatedTimelineItemContent to MsgLikeContent and AggregatedTimelineItemContentKind to MsgLikeKind. - we decided on this naming convention to keep consistent with Ruma which uses MsgLike as well Stefan Ceriu 2025-03-27 14:26:02 +02:00
  • d599c72278 chore(ui): use a newer version of as_variant to match nested types. Stefan Ceriu 2025-03-27 13:43:22 +02:00
  • e5243e32be chore(ui): simplify the fetch_replied_to_event method Stefan Ceriu 2025-03-27 10:37:07 +02:00
  • db18e7fd74 chore(ui): simplify the test by using more of the TimelineItemContent helpers Stefan Ceriu 2025-03-27 09:59:00 +02:00
  • f3baf7efd2 refactor(timeline): push the reply logic down into matrix_sdk (#4842) Johannes Marbach 2025-03-27 13:47:51 +01:00
  • f6e223edf6 refactor(timeline): bump as_variant and make more use of its pattern matching form Benjamin Bouvier 2025-03-27 10:09:20 +01:00
  • 4f3b40d6fb feat!(timeline): Introduce an extra TimelineItemContent layer that holds aggregations (#4839) Stefan Ceriu 2025-03-26 18:27:03 +02:00
  • 6e480271d3 crypto: get_most_recent_session: return None for unknown device (#4846) Richard van der Hoff 2025-03-26 14:42:24 +00:00
  • e60cf18337 refactor(base): Rename BaseClient::with_store_config to new. Ivan Enderlin 2025-03-26 14:20:43 +01:00
  • 6409adb879 doc(base): Remove an empty line in an example. Ivan Enderlin 2025-03-26 14:16:36 +01:00
  • 915e0e83bc doc(base): Fix documentation of BaseClient::with_store_config. Ivan Enderlin 2025-03-26 14:15:50 +01:00
  • 8323ecdc8b doc(base): Improve documentation of BaseClient. Ivan Enderlin 2025-03-26 14:14:27 +01:00
  • e0e9c06ca4 Don't use serde to avoid returning an error Kévin Commaille 2025-03-26 14:41:41 +01:00
  • eb313efdeb Don't qualify error! macro Kévin Commaille 2025-03-26 14:04:38 +01:00
  • bc22ff1221 refactor(oauth): Introduce AccountManagementUrlBuilder Kévin Commaille 2025-03-23 11:56:33 +01:00
  • 8c988beaf2 doc(linked chunk): tweak comments related to clearing/dropping a linked chunk Benjamin Bouvier 2025-03-26 11:43:21 +01:00
  • 752c9baf7c refactor(timeline): simplify removal of duplicated local echo item Benjamin Bouvier 2025-03-19 17:06:28 +01:00
  • 766772f654 feat(timeline): insert the start of the timeline in places where it's required Benjamin Bouvier 2025-03-19 16:26:01 +01:00
  • f5b6767253 feat(timeline): add a timeline start virtual item Benjamin Bouvier 2025-03-19 16:09:37 +01:00
  • 5ce045ee02 refactor(timeline): avoid unnecessary shadowing variables Benjamin Bouvier 2025-03-19 15:55:44 +01:00
  • b83889dcba fix(ffi): propagate initial values before the future is picked by a runtime Benjamin Bouvier 2025-03-20 10:54:27 +01:00
  • cfc839f71b doc(sqlite) Add entry to the changelog. Ivan Enderlin 2025-03-21 11:59:36 +01:00
  • 660d4e7ccb feat(sqlite): Add StoreOpenConfig and open_with_config for all stores. Ivan Enderlin 2025-03-21 11:55:06 +01:00
  • 404dd3949f test: remove unused helpers Benjamin Bouvier 2025-03-24 16:33:08 +01:00
  • 693c8df8d0 test(timeline): more of the same, with a new EventFactory method to add a receipt with a given timestamp Benjamin Bouvier 2025-03-24 16:32:21 +01:00
  • d587d5f145 test(timeline): make more use of MatrixMockServer / EventFactory Benjamin Bouvier 2025-03-24 16:06:05 +01:00
  • be6daa5930 test: add EventFactory::typing for typing notifications and get rid of more old cruft Benjamin Bouvier 2025-03-24 15:56:46 +01:00
  • acee5415c5 test: get rid of a few global statics for read receipts event contents Benjamin Bouvier 2025-03-24 15:34:12 +01:00
  • 6399a99452 test(timeline): use the EventFactory a bit more Benjamin Bouvier 2025-03-24 15:22:30 +01:00
  • b5aa2113db test: add a way to create ephemeral read receipts events in the EventFactory Benjamin Bouvier 2025-03-24 14:59:21 +01:00
  • 1585b0c32e test(timeline): use more MatrixMockServer Benjamin Bouvier 2025-03-24 14:44:49 +01:00
  • 3c01f88ab8 benchmark(linked chunk): add a benchmark for reading events out of the store Benjamin Bouvier 2025-03-25 16:42:01 +01:00
  • 785312856e fix(linked chunk): don't leak upon drop Benjamin Bouvier 2025-03-25 16:30:05 +01:00
  • fc8a6dc9b1 refactor(ffi): always try to load InReplyToDetails from the event cache or network Benjamin Bouvier 2025-03-24 17:54:44 +01:00
  • 7b8694e465 refactor(timeline): better encapsulate RepliedToEvent's fields Benjamin Bouvier 2025-03-24 17:49:24 +01:00
  • 655f62c331 refactor(timeline): don't ever look into the timeline's items to fetch the replied-to event content Benjamin Bouvier 2025-03-24 17:15:43 +01:00
  • 53732e0ff2 refactor(timeline): use load_or_fetch_event when fetching a reply's content Benjamin Bouvier 2025-03-24 17:06:28 +01:00
  • 4cae122854 refactor(room): use load_or_fetch_event when creating an edit event Benjamin Bouvier 2025-03-24 17:05:02 +01:00
  • 2a11494c33 feat(room): introduce a new method to load from cache or network Benjamin Bouvier 2025-03-24 17:03:45 +01:00
  • 1dddd97d96 refactor(timeline): simplify ReplyContent::Message Benjamin Bouvier 2025-03-24 16:54:42 +01:00
  • f8236a8b96 feat(timeline): add functions for sending messages in threads Johannes Marbach 2025-03-24 14:31:20 +01:00
  • aa07108c98 fix(oauth): Put cross-process module behind e2e-encryption feature Kévin Commaille 2025-03-22 11:30:20 +01:00
  • 9aed0cc933 chore: Add changelog about experimental-oidc feature removal Kévin Commaille 2025-03-22 10:47:13 +01:00
  • f6c5addf55 refactor(sdk): Remove experimental-oidc feature Kévin Commaille 2025-03-22 10:38:14 +01:00
  • 9434a112d9 fix(oauth): Don't run OAuth tests under WASM Kévin Commaille 2025-03-22 10:21:22 +01:00
  • c4ec32cb78 fix(sdk): Gate QR login imports and methods for WASM Kévin Commaille 2025-03-22 10:19:55 +01:00
  • c5b8c812b3 fix(oauth): Use WASM-compatible types from matrix-sdk-common Kévin Commaille 2025-03-22 10:17:40 +01:00
  • fdc2ca0c9e fix(oauth): Do not expose OAuthRegistrationStore under wasm32 Kévin Commaille 2025-03-22 10:14:48 +01:00
  • dcd0e078f6 docs(qr-login): Update docs matrix-sdk-ffi/20250325 Kévin Commaille 2025-03-21 20:35:02 +01:00
  • 78b79a758f feat(oauth-cli): Use OAuthRegistrationStore Kévin Commaille 2025-03-21 20:32:04 +01:00
  • 29f6606d99 refactor(examples): Rename oidc_cli to oauth_cli Kévin Commaille 2025-03-21 19:57:12 +01:00
  • 94f0beec51 chore: Add changelog for login with registration methods Kévin Commaille 2025-03-21 16:16:07 +01:00
  • 590d1d7890 test(oauth): Add test for OAuth::use_registration_method Kévin Commaille 2025-03-21 15:52:50 +01:00
  • 400c92fc89 refactor(oauth): Reuse the AuthorizationServerMetadata when possible Kévin Commaille 2025-03-21 15:38:29 +01:00
  • b3e82a05db refactor(oauth): Merge OAuth::login_with_oidc_callback() and OAuth::finish_login() Kévin Commaille 2025-03-21 15:05:50 +01:00
  • a8aa364757 refactor(oauth): Allow to use any registration method with OAuth::login Kévin Commaille 2025-03-21 03:36:26 +01:00
  • 7457ecb1a8 feat(oauth): Allow to use any registration method with login_with_qr_code Kévin Commaille 2025-03-21 03:10:25 +01:00
  • 01caf56edc refactor(oauth): Rename OAuth::configure to restore_or_register_client Kévin Commaille 2025-03-20 20:24:48 +01:00
  • 6f07d008c9 refactor(oauth): Inline store_client_registration and load_client_registration Kévin Commaille 2025-03-20 20:15:41 +01:00
  • b408087320 refactor(oauth): OAuth::login doesn't return a Result Kévin Commaille 2025-03-20 20:46:28 +01:00
  • 22cbce82ce refactor(oauth): Use tokio::fs APIs instead of spawn_blocking Kévin Commaille 2025-03-21 09:53:53 +01:00
  • ecdc68aa1c chore: Add changelog for OidcRegistrations changes Kévin Commaille 2025-03-19 12:47:16 +01:00
  • 4a0bf80ab0 test(oauth): Add checks that client ID is written to OAuthRegistrationStore Kévin Commaille 2025-03-21 02:48:19 +01:00
  • 095425f664 refactor(oauth): Do not take static registrations in default OAuthRegistrationStore constructor Kévin Commaille 2025-03-21 02:35:08 +01:00
  • ca4e212e98 refactor(oauth): Make OAuthRegistrationStore methods async Kévin Commaille 2025-03-19 12:33:29 +01:00
  • 0b0f84b784 refactor(oauth): Don't ignore errors when reading the file of the OAuthRegistrationStore Kévin Commaille 2025-03-19 11:54:14 +01:00
  • fbd4a7dc38 refactor(oauth): Get rid of OAuthError::UnknownError Kévin Commaille 2025-03-19 11:45:22 +01:00
  • cb90d7fee6 refactor(oauth): Avoid impossible error Kévin Commaille 2025-03-19 11:42:17 +01:00
  • 1a79ea94ed refactor(oauth): Improve OAuthRegistrationError variants Kévin Commaille 2025-03-19 11:05:20 +01:00
  • c3328a03f6 refactor(oauth): Avoid unnecessary allocations when accessing OAuthRegistrationStore data Kévin Commaille 2025-03-19 10:56:13 +01:00
  • 6803538c2e refactor(oauth): Rename OidcRegistrations to OAuthRegistrationStore Kévin Commaille 2025-03-19 10:28:52 +01:00
  • 9d27e9b379 refactor(oauth): Make registrations module private Kévin Commaille 2025-03-19 11:26:18 +01:00
  • 8683ca4d13 refactor(oauth): Re-export ClientID from the oauth module Kévin Commaille 2025-03-19 10:23:47 +01:00
  • d4f5ac152a feat(ffi): log the log targets and levels Benjamin Bouvier 2025-03-20 16:38:27 +01:00
  • 31a1724390 feat(ffi): add support for log bundles Benjamin Bouvier 2025-03-20 16:33:29 +01:00
  • c034818c92 chore: Add changelog for OAuth::login changes Kévin Commaille 2025-03-19 18:17:43 +01:00
  • e1fe479008 refactor(oauth): Get rid of OAuthError::MissingDeviceId Kévin Commaille 2025-03-19 18:06:57 +01:00
  • 530659b59d feat(oauth): Allow user to log into the same session again Kévin Commaille 2025-03-19 17:03:17 +01:00
  • 45dd96e30a refactor(oauth): Merge finish_authorization and finish_login Kévin Commaille 2025-03-19 16:53:57 +01:00
  • 3f4c1fd1bb feat(widgets, element-call): Update the widget url generation Hugh Nimmo-Smith 2025-03-20 14:28:45 +00:00
  • 5acaaf5865 fix(ffi): call the back-pagination status callback immediately matrix-sdk-ffi/20250320 Benjamin Bouvier 2025-03-19 17:56:36 +01:00
  • 156501dbbd chore(event cache): add logs here and there Benjamin Bouvier 2025-03-18 15:35:49 +01:00
  • a0eb9340d5 Revert "feat(widgets, element-call) Update the widget url generation (#4802)" Hugh Nimmo-Smith 2025-03-19 15:56:20 +00:00
  • dbdbfd0b38 feat(notification): Add support for custom conditional push rules (#4587) Jonas Richard Richter 2025-03-19 12:50:02 +01:00
  • 1d9d4d3b3a chore(sdk): Annotate RoomEventCacheState::remove_events with #[instrument]. Ivan Enderlin 2025-03-19 11:08:41 +01:00
  • 8d16b3265c refactor(sdk): RoomEventCacheState checks if events to remove aren't empty. Ivan Enderlin 2025-03-19 11:05:56 +01:00
  • 9c37a0393c fix(base): Check the lazy_previous of the first chunk matches the new first chunk. Ivan Enderlin 2025-03-18 17:05:03 +01:00
  • 82ef6232e7 doc(sdk): Precise in which context a variable can or cannot be used. Ivan Enderlin 2025-03-18 17:43:03 +01:00
  • 3b9ae3e65e feat(widgets, element-call) Update the widget url generation (#4802) Timo 2025-03-19 10:29:07 +01:00
  • a539518cd4 chore: Add changelog for Oidc renaming Kévin Commaille 2025-03-15 12:12:05 +01:00
  • f61cd60147 refactor(oauth): Change the Oauth prefix in test utils with OAuth Kévin Commaille 2025-03-18 15:17:54 +01:00
  • b9c970dc43 refactor(oauth): Rename OauthGrantType to OAuthGrantType Kévin Commaille 2025-03-18 15:13:47 +01:00
  • ba5e395a59 refactor(oauth): Change Oauth prefix for error types to OAuth Kévin Commaille 2025-03-18 15:07:57 +01:00
  • c46e6623fe refactor(oauth): Rename OauthClient and OauthHttpClient to OAuthClient and OAuthHttpClient Kévin Commaille 2025-03-18 14:58:03 +01:00
  • 7ad1b113dc doc(oauth): Change mentions of OpenID Connect to OAuth 2.0 Kévin Commaille 2025-03-15 11:23:56 +01:00
  • c0d3ed1a90 refactor(oauth): Rename provider_metadata to server_metadata Kévin Commaille 2025-03-15 10:35:33 +01:00
  • 00d7a77ebe refactor(encryption): Rename OidcCrossSigningResetInfo to OAuthCrossSigningResetInfo Kévin Commaille 2025-03-14 22:36:20 +01:00
  • f29d3fd666 refactor(oauth): Rename OidcAuthCodeUrlBuilder to OAuthAuthCodeUrlBuilder Kévin Commaille 2025-03-14 22:26:26 +01:00