Andrew Ferrazzutti
3803792518
rtc: Handle non-MXID call member event state keys ( #3836 )
...
Update Ruma dependency to expect call membership state events with state
keys that are arbitrary strings, not just pure MXIDs.
When a call membership state key does not exactly match the format of an
MXID, treat it as a valid state key if it starts with an MXID followed
by an underscore, with that MXID designating the owner of the event.
(The state key may also be optionally prefixed with an underscore, which
is permitted as a way to bypass pre-MSC3757 authorization rules against
sending state events with state keys that do not exactly match the
sender's MXID.)
---------
Signed-off-by: Andrew Ferrazzutti <andrewf@element.io >
Co-authored-by: Benjamin Bouvier <public@benj.me >
Co-authored-by: Benjamin Bouvier <benjamin@bouvier.cc >
2024-08-14 08:43:02 +00:00
Timo
16a638400c
chore: Update ruma to a version supporting authenticated delayed events.
2024-08-02 15:14:09 +01:00
torrybr
5bbe022e97
sdk: basic support for sending and stopping live location shares
2024-07-26 10:17:50 +01:00
Ivan Enderlin
2aecf2950d
fix(sdk): Add m.room.create to bump_event_types for sliding sync.
...
This patch updates the `rev` of our `ruma`'s fork to match the latest
commit of our `feat-sss` branch, see
https://github.com/ruma/ruma/commit/f25b3220d0c3ece7720020ed180af4955a855402 .
It adds `m.room.create` in the `bump_event_types` of a
`v4::SyncRequestList` (equivalent of a `v5::request::List`).
2024-07-18 10:43:55 +02:00
Damir Jelić
30e95bf992
chore: Use a released version of vodozemac ( #3721 )
2024-07-17 18:07:39 +02:00
Ivan Enderlin
5a4bf780fb
feat(base): Create an http module for sliding_sync.
...
This patch creates an `http` module containing all the sliding sync types
types (from Simplified MSC3575 or simply MSC3575).
2024-07-17 16:33:37 +02:00
Ivan Enderlin
e1a607b6cf
Merge pull request #3669 from matrix-org/misc/update-uniffi-to-0.28.0
...
chore: update UniFFI to `v0.28.0`
2024-07-15 09:11:28 +02:00
Damir Jelić
9d464eb908
tests: Add a snapshot of a SQLite database to perform regression tests
...
The test database was created using a slightly modified `oidc-cli`
example, to turn of the database encryption, on commit
d6dca91df86413b0cbf193a4be191835dd81862e
2024-07-12 18:06:34 +02:00
Jorge Martin Espinosa
6bcd07fd7b
Merge branch 'main' into misc/update-uniffi-to-0.28.0
...
Signed-off-by: Jorge Martin Espinosa <jorgem@element.io >
2024-07-11 11:27:44 +02:00
Ivan Enderlin
0d264d209f
chore: Use tracing-subscriber from the workspace.
2024-07-11 11:16:17 +02:00
Timo
f6c2a28682
widget-driver: Support for sending futures events through the widget api.
2024-07-10 18:27:53 +02:00
Jorge Martín
3d9bdd2bb4
chore: update UniFFI to v0.28.0
2024-07-09 11:23:20 +02:00
Ivan Enderlin
73b481a8fc
chore(cargo): Update eyeball-im and eyeball-im-util.
...
The idea is to get the `SortBy` stream adapter.
2024-06-30 21:19:25 +02:00
Damir Jelić
fefdfd2e4b
test: Add a test to verify that interactive self-verification works
...
This also checks that secrets are gossiped from one device to the
other and that the recovery and backup states are correctly updated.
2024-06-26 14:31:31 +02:00
Benjamin Bouvier
2855b0f6a8
sdk: bump ruma to get the bug-fix for the serialization issue related to thread replies
2024-06-25 11:31:34 +02:00
Benjamin Bouvier
e1e4422670
sdk: update ruma to custom fork with proper event content deserialization
2024-06-24 13:56:10 +02:00
Timo
cb7814b362
MatrixRTC: bump ruma to be compatible with MSC4143.
...
Adapt types for the new ruma version.
2024-06-17 14:21:22 +02:00
Richard van der Hoff
1510f87fa0
UTD hook: stop re-reporting of UTDs on app relaunch ( #3519 )
...
Use a Bloom filter to keep track of which events we have already reported to the parent UTD hook.
We load the data from database on startup, and flush it out immediately on every update.
2024-06-10 18:56:35 +01:00
Ivan Enderlin
420a69f9de
feat(base): Update Ruma to get RoomSummary::heroes as Vec<OwnedUserId>.
...
This patch updates Ruma to 75e8829 so that `RoomSummary::heroes` is now
a `Vec<OwnedUserId>` instead of a `Vec<String>`. This patch updates our
code accordingly by removing the parsing of heroes as `OwnedUserId`.
2024-06-05 10:38:03 +02:00
Ivan Enderlin
d4df2624ff
Merge pull request #3444 from surakin/encrypted-stickers
...
Expose new sticker source field (and drop url field)
2024-06-05 09:04:40 +02:00
Jonas Platte
02185f7034
Configure unexpected-cfgs via Cargo.toml instead of build scripts
2024-06-04 23:34:38 +02:00
Marco Antonio Alvarez
dadca42776
expose sticker source field
...
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com >
go back to old ruma rev
2024-06-04 15:18:04 +02:00
Damir Jelić
29f29e981e
chore: Go back to depending on Ruma from the Ruma repo
2024-05-30 15:12:45 +02:00
Damir Jelić
e6dc24a914
feat: Add support to log in using a QR code
...
This implements one part of MSC4108[1], it implements the case where the
new device scans the QR code.
[1]: https://github.com/matrix-org/matrix-spec-proposals/pull/4108
2024-05-28 12:43:49 +02:00
Ivan Enderlin
4892fce37c
feat(sdk): Add include_heroes as a sticky parameter for SlidingSyncList.
2024-05-27 10:32:19 +02:00
Ivan Enderlin
cedcda5372
feat(base+ffi): SlidingSync consumes heroes from a response.
...
This patch does 3 things:
1. It updates Ruma to the latest revision at the time of writing,
2. It updates `matrix-sdk-ffi` to provide the
`RoomSubscription::include_heroes` field,
3. It updates `matrix-sdk-base` so that SlidingSync consumes `heroes`
from the response and update the `RoomSummary` accordingly.
A test has been added to ensure the `RoomSummary` is updated as expected.
2024-05-27 10:32:19 +02:00
Ivan Enderlin
e9dc02ae17
Merge pull request #3392 from Hywan/feat-sdk-linked-chunk-subscribe-as-vector
2024-05-23 19:02:45 +02:00
Stefan Ceriu
f672f17fcf
feat(calls): add support for sending Matrix RTC call notifications
2024-05-23 15:07:13 +02:00
Ivan Enderlin
2d10ea4dc9
chore(sdk): Use pin-project-lite in matrix-sdk.
...
This patch moves the `pin-project-lite` dependency from `matrix-sdk-ui`
to the workspace, and uses it in `matrix-sdk`.
2024-05-15 22:05:52 +02:00
Damir Jelić
35173347fd
chore: Bump the vodozemac version
...
This gives us the necessary primitives for the QR code login feature.
2024-05-15 15:01:53 +02:00
Ivan Enderlin
7ed6db9758
Merge pull request #3406 from zecakeh/edit-without-relation
...
ui: Make Timeline::edit take a RoomMessageEventContentWithoutRelation
2024-05-15 10:55:21 +02:00
Damir Jelić
6672302684
chore: Make the url crate a workspace dependency
2024-05-14 10:47:22 +02:00
Kévin Commaille
cb452802bb
chore: Upgrade ruma
...
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2024-05-13 20:25:43 +02:00
Ivan Enderlin
da8588787f
chore(cargo): Declare reqwest as a workspace dependency.
2024-05-13 14:15:35 +02:00
Damir Jelić
afa3808752
chore: Use the released version of Ruma
2024-05-09 17:34:16 +02:00
Damir Jelić
121dedee4e
chore: Use a released version of vodozemac
2024-05-06 15:24:21 +02:00
Damir Jelić
8eebb9bb39
chore: Use a released version of uniffi ( #3382 )
...
The commit we were using has been part of the 0.27.1 release, so let's
use it:
https://github.com/mozilla/uniffi-rs/commit/789a9023b522562a95618443cee5a0d4f111c4c7
2024-05-06 14:32:47 +02:00
Kévin Commaille
5eaf10e9f8
chore: Upgrade base64 crate
...
This matches the version used in ruma and vodozemac
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2024-04-30 17:46:59 +02:00
Kévin Commaille
856dd01009
Upgrade http, ruma, reqwest and wiremock dependencies ( #3362 )
...
They need to be updated together
because the latters depend on the former.
matrix-authentication-service is still using http 0.2
so we need to add a conversion layer between both major versions
for OIDC requests.
We need to update vodozemac too because of a dependency resolution issue.
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2024-04-30 14:04:56 +02:00
Benjamin Bouvier
0ebedfe286
clippy: disable the box_default lint, take 2
2024-04-30 12:04:29 +02:00
Benjamin Bouvier
bd65c77534
dependencies: use a fork of Ruma for the time being
2024-04-22 14:55:47 +02:00
Kévin Commaille
da2abccc0d
chore: Disable clippy::assigning_clones lint
...
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2024-04-02 15:05:41 +02:00
Hubert Chathi
8d968604e9
chore: Update Ruma to version that uses web-time crate ( #3264 )
2024-03-22 12:30:19 +01:00
Richard van der Hoff
97959bbcd0
crypto: Log details about olm session after encryption/decryption ( #3242 )
2024-03-22 09:43:35 +00:00
Andy Balaam
ca13be020c
build: Make wiremock a workspace dependency
2024-03-19 09:39:31 +00:00
Samy Djemaï
baf97c69b1
chore: upgrade uniffi-rs to latest commit
...
Signed-off-by: Samy Djemaï <53857555+SamyDjemai@users.noreply.github.com >
2024-03-19 10:37:26 +01:00
Andy Balaam
7b7ee980e8
build: Update minimum supported Rust version to 1.76
...
This reflects the reality of the situation at the moment: we need 1.76.
to compile, and Ruma requires 1.75.
2024-03-18 11:45:02 +01:00
Ivan Enderlin
b0880996fc
fix(ruma): Add the compat-tag-info feature.
...
This patch enables the `compat-tag-info` feature on Ruma, so that
`TagInfo::order` can be deserialized from both a `f64` or a `string`
representing a `f64`[^1].
[^1]: https://github.com/ruma/ruma/blob/f24cae17f50d140a0ff112cb3dc74a2053aa1df4/crates/ruma-events/src/tag.rs#L180-L185
2024-03-13 10:24:18 +01:00
Ivan Enderlin
3edaff1364
Merge pull request #3178 from matrix-org/ex-tui
...
labs: turn `rrrepl` into a timeline client
2024-03-11 14:53:35 +01:00
Kévin Commaille
fd709b9d52
workspace: Bump ruma crate
...
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2024-03-09 15:18:46 +01:00