5050 Commits

Author SHA1 Message Date
Jonas Platte
e7bd302293
ci: Bump typos action 2023-07-05 10:29:04 +02:00
Kévin Commaille
963c2472e2 chore: Bump MSRV to 1.65
Allows to use let-else statements.
2023-07-04 15:40:37 +02:00
Kévin Commaille
77d94caf11 chore: Use workspace-defined MSRV 2023-07-04 15:40:37 +02:00
Kévin Commaille
c8e61a2ee7 events: Implement Deserialize for encrypted::Relation 2023-07-04 15:31:05 +02:00
Jonas Platte
4d9781e05f client-api: Add missing serde(default) 2023-07-04 13:40:00 +02:00
Jonas Platte
bbdc0b68e8
client-api: Add a compat feature for Synapse's upload-signatures response 2023-07-04 13:11:46 +02:00
Kévin Commaille
52aa539cf0 federation-api: Use SpaceRoomJoinRule for SpaceHierarchy(Parent/Child)Summary(Init) 2023-07-04 12:38:45 +02:00
Kévin Commaille
86b999055e client-api: Move SpaceRoomJoinRule to ruma-common 2023-07-04 12:38:45 +02:00
Kévin Commaille
c77f08024a chore: Fix new clippy lints 2023-07-04 11:55:25 +02:00
Kévin Commaille
ae83055119 chore: Allow clippy::arc_with_non_send_sync temporarily
Triggers false positives for types with generics.
2023-07-04 11:55:25 +02:00
Kévin Commaille
8a342affca ci: Pin nightly toolchain 2023-07-04 11:55:25 +02:00
Kévin Commaille
e751c1b2ac chore: Run rustfmt for let-else statements 2023-07-04 11:55:25 +02:00
Jonas Platte
be611fc258 ci: Ban some serde_json features 2023-06-26 18:50:30 +02:00
Jonas Platte
213a8290e6 ci: Don't error on multiple versions of one indirect dependency 2023-06-26 18:50:30 +02:00
Kévin Commaille
2b68cb6eec events: Add AssetType::Pin 2023-06-23 12:41:37 +02:00
Kévin Commaille
d0f11f0075 events: Reintroduce MSC3488 fallback behavior in LocationMessageEventContent 2023-06-23 12:41:37 +02:00
Kévin Commaille
e017e65277 events: Improve compatibility of generated and stripped plain reply fallback 2023-06-23 12:32:24 +02:00
Kévin Commaille
9b694cdfa8 events: Add methods to compute poll results 2023-06-23 10:36:23 +02:00
Kévin Commaille
8d2521874d events: Put use behind feature flag 2023-06-23 10:36:23 +02:00
Kévin Commaille
09bc835936 events: Fix outdated docs 2023-06-23 09:40:23 +02:00
Jonas Platte
c5782ab8aa
Use new owned ID macros throught the codebase 2023-06-20 11:47:50 +02:00
Jonas Platte
e71c224308
Fix expansion of owned identifier creation macros 2023-06-20 11:06:18 +02:00
Kévin Commaille
f261f2ebed push: Add convenience methods for the different actions of a push rule 2023-06-16 11:05:14 +02:00
Benjamin Bouvier
1f8f62ecf6
client-api: Add lists and rooms to most extensions in sync::v4
Signed-off-by: Benjamin Bouvier <public@benj.me>
2023-06-16 10:41:25 +02:00
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