5076 Commits

Author SHA1 Message Date
Kévin Commaille
3cbc1c5038 events: Re-enable clippy::needless_update 2023-06-16 09:16:09 +02:00
Kévin Commaille
af437bc642 events: Re-enable clippy::needless_borrow lint
It seems false positives have been fixed.
2023-06-16 09:16:09 +02:00
Jonas Platte
f964656a4d
Upgrade typos-ci, fix typos 2023-06-14 12:47:57 +02:00
Jonas Platte
ba16ce40cc
Make html sanitization types pub(crate)
Makes it more obvious when reading that they're not part of the public API.
2023-06-14 12:20:45 +02:00
Jonas Platte
fe2d62a5ee
Remove unused pub visibility 2023-06-14 12:20:15 +02:00
Jonas Platte
f8b9a03272
Enable private_in_public lint 2023-06-14 12:19:59 +02:00
Jonas Platte
beded100ac
events: Fix documentation for a few functions 2023-06-13 17:25:11 +02:00
Jonas Platte
b183677ef5
events: Add builder-style methods to media event content structs 2023-06-13 17:15:10 +02:00
Jonas Platte
c1fa8d9406
events: Streamline constructors of media event content structs 2023-06-13 17:15:09 +02:00
Jonas Platte
59fd881521
Fix unused warnings under certain cfg 2023-06-08 11:37:11 +02:00
Jonas Platte
82bfb2e4d2
client-api: Fix accidentally private response field 2023-06-08 11:37:11 +02:00
Jonas Platte
ba5bf8cfce
Replace assert_matches by assert_matches2 2023-06-08 11:37:11 +02:00
Jonas Platte
a8670e7fdf
identifiers: Add owned_* ID construction macros 2023-06-07 14:55:18 +02:00
Jonas Platte
00e619daa2
identifiers: Use intra-doc links for macros 2023-06-07 14:45:23 +02:00
Kévin Commaille
07ea09548f events: Stabilize VoIP signalling improvements 2023-06-06 10:44:48 +02:00
Nicolas Mauri
a2b64c20bc
client-api: Fix the http method of set_pushrule request serialization
… by using METADATA.method.
2023-06-05 19:23:20 +00:00
Benjamin Bouvier
e3282d8bfe
client-api: Move the sync v4 bump_event_types field to the list request
… as it's now per-list.

Signed-off-by: Benjamin Bouvier <public@benj.me>
2023-06-01 19:24:05 +02:00
Kévin Commaille
3b722c7faa client-api: Add support for the appservice ping mechanism
According to MSC2659
2023-05-30 20:58:24 +02:00
Kévin Commaille
7239be4fcb appservice-api: Add support for the appservice ping mechanism
According to MSC2659
2023-05-30 20:58:24 +02:00
Kévin Commaille
915da3c983 client-api: Fix missing ErrCode deser variants 2023-05-30 20:58:24 +02:00
Kévin Commaille
b1680bd398 push: Link to the spec for dot-separated path definition 2023-05-30 16:38:55 +02:00
Kévin Commaille
38f600c602 docs: Update v1.6 spec links to v1.7 2023-05-30 16:38:30 +02:00
Benjamin Bouvier
89d12fa48a
client-api: Add conn_id to sync v4 request parameters
Signed-off-by: Benjamin Bouvier <public@benj.me>
2023-05-30 11:00:06 +02:00
Kévin Commaille
766fba75f9 push: Add support for intentional mentions push rules
According to MSC3952
2023-05-26 14:39:58 +02:00
Kévin Commaille
f8ed83aa53 push: Collect empty objects in FlattenedJson 2023-05-26 14:39:58 +02:00
Kévin Commaille
3f28f2a6f1 events: Use a string for SessionDescription's type
A clarification in MSC2746 / Matrix 1.7 explains that the `type` field
should not be validated but passed as-is to the WebRTC API.
It
    also avoids an unnecessary conversion between the WebRTC API
and the Ruma type.
2023-05-26 11:45:50 +02:00
Kévin Commaille
60ed2c7b9a events: Add missing version field to CallNegotiateEventContent 2023-05-26 10:55:37 +02:00
Kévin Commaille
854d8076ef client-api: Stabilize async media uploads 2023-05-26 09:27:24 +02:00
Kévin Commaille
2d697fcc95 events: Stabilize annotations and reactions 2023-05-26 09:26:30 +02:00
Kévin Commaille
ce30aeb775 client-api: Stabilize annotations 2023-05-26 09:26:30 +02:00
Kévin Commaille
0bec1ad507 push: Stabilize event_property_contains 2023-05-26 09:26:09 +02:00
Kévin Commaille
b8668f863b push: Stabilize event_property_is 2023-05-26 09:26:09 +02:00
Kévin Commaille
93ae0a3379 client-api: Add support for media download redirects
According to MSC3860
2023-05-25 20:33:44 +02:00
Kévin Commaille
0b390cc3c9 client-api: Add support for using an existing session to log in another
According to MSC3882
2023-05-25 20:23:07 +02:00
Kévin Commaille
5f20a3292c docs: Fix links for v1.7 2023-05-25 19:28:33 +02:00
Kévin Commaille
dc68190adc api: Add initial support for Matrix 1.7 2023-05-25 19:28:33 +02:00
Kévin Commaille
631c4e6733 federation-api: Move create_join_event::v1 test as integration test
Otherwise cargo check always complains that we are using
a deprecated const.
See https://github.com/rust-lang/rust/issues/47238
2023-05-25 16:53:56 +02:00
Kévin Commaille
9dd55ae3bc federation-api: Deprecate v1/send_join and v1/send_leave
According to a spec clarification
2023-05-25 16:53:56 +02:00
Kévin Commaille
2296f16ea0 api: Allow to have an endpoint both defined and deprecated in Matrix 1.0 2023-05-25 16:53:56 +02:00
Kévin Commaille
d78c3e11f1 signatures: Remove age_ts from reference hash calculation
According to a spec clarification
2023-05-24 20:08:20 +02:00
Kévin Commaille
6df78e8aee events: Move CalCapabilities behind feature unstable-msc2747 2023-05-24 17:53:32 +02:00
Kévin Commaille
77454b70e9
identity-service-api: Fix format of keys in store_invitation::v2::PublicKeys
According to a spec clarification

Co-authored-by: Jonas Platte <jplatte@element.io>
2023-05-24 09:04:36 +00:00
Jonas Platte
f45a09e958
Appease clippy 2023-05-24 10:41:24 +02:00
Jonas Platte
486ecc2b68
Upgrade yap to 0.10.0 2023-05-24 09:58:19 +02:00
Jonas Platte
12537c19ac
Upgrade criterion to 0.5.0 2023-05-24 09:58:10 +02:00
Jonathan de Jong
01344edc8d
Update Mutual Rooms (MSC2666) implementation (#1547) 2023-05-20 22:24:22 +02:00
Kévin Commaille
dcbb5ec432 client: Upgrade hyper-rustls dependency 2023-05-19 19:55:23 +02:00
Kévin Commaille
6a77b4c9e4 push: Remove the DontNotify and Coalesce variants of push::Action
According to MSC3987.
2023-05-04 13:44:54 +02:00
Kévin Commaille
10d70c6055 client-api: Fix timeout field in media download endpoint requests
According to the stabilization spec PR.
2023-05-04 13:12:43 +02:00
Kévin Commaille
b27e54c7ed serde: Add deser functions for Duration from milliseconds 2023-05-04 13:12:43 +02:00