Ivan Enderlin
be7b79b4e5
feat(ffi): Add binding for SlidingSyncBuilder::bump_event_types.
...
This patch adds a new binding on `SlidingSyncBuilder` to
`matrix_sdk::SlidingSyncBuilder::bump_event_types`.
2023-04-24 10:05:00 +02:00
Ivan Enderlin
7b2b3fa78f
feat(sdk): Add support for bump_event_types in SlidingSync.
...
The `SlidingSyncBuilder` now has a new method: `bump_event_types`, to
configure the `bump_event_types` HTTP request parameter. This value
is passed to `SlidingSync`, which is used to build the `SlidingSync`
request.
2023-04-24 10:05:00 +02:00
Ivan Enderlin
1c2e7d8c0d
chore: Update Cargo.lock.
2023-04-24 09:56:55 +02:00
Valere
f8e4e3d7d5
fix(bindings): Withheld code mapping
2023-04-22 21:10:56 +02:00
Jonas Platte
9ffcb8bc8a
ffi: Move error type into its own module
matrix-sdk-crypto-ffi-0.3.5
2023-04-20 18:24:47 +02:00
Jonas Platte
4f316a130f
Remove uniffi_types modules
2023-04-20 18:24:47 +02:00
Jonas Platte
7e58e72671
Upgrade UniFFI
2023-04-20 18:24:47 +02:00
Florian Duros
fd739a3676
matrix-sdk-crypto-js v0.1.0-alpha.7
2023-04-20 18:24:36 +02:00
Jonas Platte
167d81e36a
ci: Simplify test-all-crates job
2023-04-20 14:52:34 +02:00
Richard van der Hoff
0a0da040d2
account.rs: add some comments ( #1799 )
2023-04-20 13:01:44 +01:00
Jonas Platte
f2d2a20987
ffi: Change make_span to be a constructor, write docs
2023-04-20 11:43:45 +02:00
Jonas Platte
29068265db
ffi: Add filtering of tracing events and spans
2023-04-20 11:43:45 +02:00
Jonas Platte
50f29e5a11
ffi: Add Span::is_none
2023-04-20 11:43:45 +02:00
Jonas Platte
54bd26d683
ffi: Add Span::current
2023-04-20 11:43:45 +02:00
Jonas Platte
b532d35d21
Remove root_span from Client
2023-04-20 11:43:45 +02:00
Jonas Platte
bb05ac7dac
ffi: Add basic tracing bindings
2023-04-20 11:43:45 +02:00
Richard van der Hoff
0da8e56a68
crypto-js: wait for device updates in getUserDevices ( #1790 )
...
Wait for up to a second for any in-flight device list updates to complete.
2023-04-20 08:58:26 +01:00
Richard van der Hoff
a88f53ee85
crypto-js: Expose more data on Device ( #1786 )
...
Implement Device.algorithms and Device.isSignedByOwner for the js bindings.
2023-04-20 08:57:54 +01:00
Jonas Platte
530fceb40d
Fix some rustdoc warnings
2023-04-20 09:02:28 +02:00
Jonas Platte
7d5908beef
sdk: Add more data to RemoteEventTimelineItem Debug string
2023-04-20 09:02:09 +02:00
Anderas
5d94a5d2f4
Update iOS Crypto SDK docs
...
… and add local podspec.
2023-04-19 18:09:21 +02:00
Jonas Platte
0e08d0f9ef
sdk: Make EventTimelineItem's fields pub(super)
...
… and avoid an unnecessary clone.
2023-04-19 14:17:16 +02:00
Jonas Platte
3f6c9956ab
sdk: Move timestamp to EventTimelineItem
...
… from Local/RemoteEventTimelineItem.
2023-04-19 14:17:16 +02:00
Jonas Platte
c97d8afa58
sdk: Remove extra visibility boundary on {Local,Remote}EventTimelineItem
2023-04-19 14:17:16 +02:00
Jonas Platte
abd508676e
sdk: Remove {Local,Remote}EventTimelineItem from public API
2023-04-19 14:17:16 +02:00
Jonas Platte
7376198dfa
sdk: Move sender, sender_profile, content to EventTimelineItem
...
… from Local/RemoteEventTimelineItem.
2023-04-19 14:17:16 +02:00
Jonas Platte
2960aafe3d
sdk: Make EventTimelineItem an opaque struct instead of an enum
2023-04-19 14:17:16 +02:00
Jonas Platte
4daf31f5b1
Fix clippy lint
2023-04-19 14:17:16 +02:00
Jonas Platte
bf4349ffb3
base-sdk: Don't separate member events from other state events
...
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2023-04-19 14:04:53 +02:00
Kévin Commaille
b87a4e8c20
base-sdk: Don't separate member events from other state events
...
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2023-04-19 13:16:55 +02:00
Alfonso Grillo
3b1ed1403d
sdk: Add DM invitation to m.direct account data upon accepting it
2023-04-18 18:05:48 +02:00
Alfonso Grillo
fe10bcc814
base: Use member event is_direct field for is_direct() on invited rooms
2023-04-18 18:05:48 +02:00
Jonas Platte
be67c91a6b
Use regular backticks in matrix-sdk-ffi/README.md
2023-04-18 15:20:51 +02:00
Jonas Platte
89c06568dd
Remove unneeded explicit lifetime
2023-04-18 15:20:51 +02:00
Alfonso Grillo
dffa1b16c3
sdk: Skip user's own ID when marking a room as DM
2023-04-18 13:41:34 +02:00
Jonas Platte
5bc20669c2
sdk: Implement MSC3925 for the timeline
...
https://github.com/matrix-org/matrix-spec-proposals/blob/main/proposals/3925-replace-aggregation-with-full-event.md
Implemented in Synapse 1.79.0:
https://github.com/matrix-org/synapse/releases/tag/v1.79.0
2023-04-18 13:14:33 +02:00
Jonas Platte
86930581a5
Upgrade Ruma
2023-04-18 13:14:33 +02:00
Jonas Platte
40c1252f48
sdk: Simplify handling of bundled relations in timeline
2023-04-18 13:14:33 +02:00
Alfonso Grillo
cfdc9b2a82
Expose accept_invitation to UniFFI
2023-04-18 12:45:30 +02:00
Jorge Martin Espinosa
c5919e3e63
Add workaround for building Android bindings with supported NDK versions (r23+)
2023-04-17 16:06:46 +00:00
Damir Jelić
cd865d21c3
Drop outbound group sessions in the SQLite store
...
The format of the outbound group session struct has changed. We nowadays correctly rotate the group session if we can't restore it, but it's still good to avoid logging the error in this case.
2023-04-13 14:48:14 +00:00
Damir Jelić
8137c39f3a
Don't log the raw Ruma sliding sync response
2023-04-13 16:14:47 +02:00
Jonas Platte
f21946ef06
sdk: Avoid raw JSON in debug strings
2023-04-13 16:00:50 +02:00
Damir Jelić
730b66e26c
Add withheld code support
2023-04-13 11:46:19 +02:00
Damir Jelić
316b29c95f
Merge branch 'main' into valere/msc_2399
2023-04-13 10:59:05 +02:00
Jonas Platte
1e737208e5
sdk: Handle ephemeral events after timeline events
matrix-sdk-crypto-ffi-0.3.4
2023-04-12 16:15:35 +02:00
Jonas Platte
36b9064e51
sdk: Reduce indentation in read receipt handling code
...
… by factoring out a function.
2023-04-12 15:24:52 +02:00
Jonas Platte
086106a96d
sdk: Simplify return type of fetch_in_reply_to_details
2023-04-12 13:16:36 +02:00
Simon Farre
b9fba69dc7
ffi: Fix kotlin build failure
...
Workaround for https://github.com/mozilla/uniffi-rs/issues/1434
2023-04-12 10:11:07 +00:00
Simon Farre
8bad59bbe1
ffi: Add avatar_url getter for SlidingSyncRoom
...
Signed-off-by: Simon Farre <simon.farre.cx@gmail.com >
2023-04-11 15:47:40 +00:00