Commit Graph

2555 Commits

Author SHA1 Message Date
Kévin Commaille
6777907f28 Upgrade Ruma
Use the new release.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
2026-04-28 10:45:22 +03:00
Valere Fedronic
9266b89a0f feat(sdk-ui): Aggregation of call declines on to the notification event (#6494) 2026-04-27 14:48:40 +02:00
Doug
91bdb4c7bd chore: Add a changelog entry. 2026-04-27 12:31:37 +02:00
Doug
7f4a9c5ab4 ffi: Rename Encryption related OIDC types to OAuth. 2026-04-27 12:31:37 +02:00
Doug
5690692b9e ffi: Rename Session::oidc_data to Session::oauth_data. 2026-04-27 12:31:37 +02:00
Doug
add403e12f ffi: Rename OidcSessionData to OAuthSessionData. 2026-04-27 12:31:37 +02:00
Doug
f7bf39b346 ffi: Rename OIDC errors to OAuth errors. 2026-04-27 12:31:37 +02:00
Doug
a2a297a5d8 ffi: Rename HomeserverLoginDetails OIDC properties to OAuth. 2026-04-27 12:31:37 +02:00
Doug
ed89a2af3d ffi: Rename OidcPrompt to OAuthPrompt. 2026-04-27 12:31:37 +02:00
Doug
af00f08063 ffi: Rename Client OIDC login methods to OAuth naming. 2026-04-27 12:31:37 +02:00
Doug
d876b0ce61 ffi: rename OIDCConfiguration to OAuthConfiguration. 2026-04-27 12:31:37 +02:00
Damir Jelić
68432148ae fix(ffi): Fix the path of the OAuth logging configuration
Some time ago we renamed the oidc module into the oauth module it was
also moved under the authentication module.

This rename and move accidentally disabled a bunch of important logs.
2026-04-27 12:22:45 +02:00
ganfra
388eb7adbc feat: add client.subscribe_to_own_beacon_info_updates 2026-04-27 12:08:19 +03:00
Jorge Martín
ee9c5c98b9 doc: Add changelog entries 2026-04-24 08:35:18 +02:00
Jorge Martín
b46c808d4f refactor: handle possible StoreError from Room::active_service_members 2026-04-24 08:35:18 +02:00
Jorge Martín
5cc1dca7fa feat(ffi): Expose active_service_members_count in the room infos 2026-04-24 08:35:18 +02:00
ganfra
fb9e110ba4 feat(ffi): expose beacon_id through ffi so client can identify the current share 2026-04-23 21:41:39 +03:00
Mauro
823bc60498 chore: rename LiveLocationShares to LiveLocationObserver (#6446)
name says it all. The previous name was just too confusing, and since
this object acts as a service for the room to publish live location
share updates, I think the `RoomLiveLocationService` is a more
appropriate name
2026-04-23 15:19:07 +02:00
ganfra
f92ccd8d40 feat(ffi): expose BeaconError from sdk to ffi 2026-04-23 11:25:24 +02:00
Jorge Martín
2c2e0f1b15 doc: Add doc comments and changelog entries 2026-04-22 17:26:51 +02:00
Jorge Martín
f314578df5 feat(ffi): Add Client::get_dm_rooms
Expose the new function in the FFI layer
2026-04-22 17:26:51 +02:00
Damir Jelić
917f9ee298 chore: Bump vodozemac 2026-04-22 12:30:38 +02:00
Jorge Martín
e507eaabf6 feat(ffi): Expose ffi::NotificationRoomInfo::service_members
This is needed in some clients to know if a direct room is a DM or not
2026-04-21 13:22:58 +02:00
Jorge Martín
a2bbc33920 doc(ffi): Add changelog entry 2026-04-21 10:38:14 +01:00
Jorge Martín
58a139bf96 feat(ffi): Enable experimental-push-secrets feature by default 2026-04-21 10:38:14 +01:00
Benjamin Bouvier
cf4d3cb492 doc(ffi): clarify when to call Client::enable_automatic_backpagination
Since the boolean is read only once when subscribing the event cache,
let's make it clear when the FFI function should be called (based on
most prominent types used at the FFI layer).
2026-04-21 10:14:52 +02:00
Benjamin Bouvier
a1f32d741f refactor(ffi): remove unused struct 2026-04-20 12:18:52 +02:00
Benjamin Bouvier
ce01854078 refactor(sdk): Room::search_messages and Client::search_messages 2026-04-20 12:18:52 +02:00
Benjamin Bouvier
3621acb445 refactor(sdk): move the high-level search helpers back to the SDK crate 2026-04-20 12:18:52 +02:00
Benjamin Bouvier
4ee20befa3 chore: address first batch of review comments 2026-04-20 12:18:52 +02:00
Benjamin Bouvier
4348d9de23 chore: add changelog entries for search! 2026-04-20 12:18:52 +02:00
Benjamin Bouvier
477ee70e1c feat(ffi): bindings for search 2026-04-20 12:18:52 +02:00
Benjamin Bouvier
83989c030a feat(ffi): allow enabling search with a search index store 2026-04-20 12:18:52 +02:00
Ivan Enderlin
1bff8cbe5d chore(ffi): Do not log errors in ClientError::from_str.
This patch stops logging errors in `ClientError::from_str` as it was an
artifact of some old debugging sessions.
2026-04-20 11:33:15 +02:00
Ivan Enderlin
9bb67e8422 fix(ffi): Use the ERROR log level for errors.
This patch changes a `warn!` to an `error!` in `ClientError`. There are
errors, let's use the proper log level here.
2026-04-20 11:33:15 +02:00
Benoit Marty
3293c94451 feat(ffi): Expose Client.request_openid_token() in order to let sdk clients request an openId token 2026-04-17 08:29:43 +00:00
Johannes Marbach
63f5be6935 feat(sync): Allow setting a custom Sliding Sync connection ID and timeline limit on RoomListService
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
2026-04-15 11:06:57 +02:00
Jorge Martín
9c28ee7041 feat(ffi): Add ffi::Client::set_avatar_url
This method uses `Account::set_avatar_url` under the hood to update the user's avatar to the provided MXC url
2026-04-14 12:08:47 +02:00
ganfra
96d63b7c8d doc: update changelogs 2026-04-13 16:57:57 +02:00
ganfra
260eaeea2b feat (live location): rewrite live location shares subscription logic 2026-04-13 16:57:57 +02:00
Hubert Chathi
45fa860b6b add secret pushing feature to FFI 2026-04-10 14:52:39 +01:00
Daniel Salinas
d47306045f Add cfg around inadvertent use of sqlite in matrix-sdk-ffi crate
Several new functions implicitly rely on the sqlite config.
sqlite might not be present if you are using the indexedb store, in which case
these functions are likely irrelevant.

This change conditionalizes their compilation.
2026-04-10 14:11:36 +02:00
Philippe Bertin
ba461598b2 feat(ffi): expose latest json
Signed-off-by: Philippe Bertin <pbertin@teladochealth.com>
2026-04-09 15:57:29 +02:00
Stanislav Skobelkin
0233d03d4e fix(ffi): Export Eq and Hash traits in enums used as HashMap keys
matrix_sdk_ffi::ruma::TagName and matrix_sdk_ffi::event::TimelineEventType enums
that are used as HashMap keys by matrix_sdk_ffi::ruma::Tag and
matrix_sdk_ffi::room::power_levels::RoomPowerLevels respectively should probably
export Eq and Hash traits, so that we can generate bindings for languages that
implement uniffi's record/HashMap type using a hash table (e.g.
std::unordered_map in C++)

Signed-off-by: Stanislav Skobelkin <stanislav@skobelk.in>
2026-04-09 12:12:57 +02:00
Damir Jelić
725f74cbe8 fix(ffi): Correctly return that the backup is complete if the backup key is valid 2026-04-09 12:01:04 +02:00
Damir Jelić
34a35ad32a feat(ffi): Allow passing in a SecretsBundle after logging in (#6212)
This allows people to get a secrets bundle out of band or out of a database and import it
after logging in a new client.

Mainly targeted to support the Element Classic -> Element X migration.

Signed-off-by: Damir Jelić <poljar@termina.org.uk>
Co-authored-by: Benoit Marty <benoitm@matrix.org>
2026-04-08 14:07:57 +00:00
Jonas Platte
94d8674709 refactor(ffi): Deduplicate thumbnail conversion code 2026-04-08 07:58:36 +02:00
Jonas Platte
dfc4e03d5b refactor(ffi): Replace nested match with if-let chain 2026-04-08 07:58:36 +02:00
Jonas Platte
14b8248e4b refactor(ffi): Extract closure as fn to reduce indentation 2026-04-08 07:58:36 +02:00
Jonas Platte
447c89aed4 refactor(ffi): Merge separate impl blocks 2026-04-08 07:58:36 +02:00