Kévin Commaille
f8ac66ca25
events: Add support for intentional mentions
...
According to MSC3952
2023-07-10 13:12:17 +02:00
Kévin Commaille
07bc06038f
events: Keep data of unknown relations
2023-07-06 17:05:25 +02:00
Benjamin Bouvier
2c8ece6bf2
events: Parse TagInfo::order
as a f64 or a stringified f64
2023-07-06 14:34:43 +02:00
Jonas Platte
4ac9e9a979
Upgrade itertools to 0.11.0
2023-07-05 11:12:02 +02:00
Jonas Platte
650792bcb5
Upgrade konst to 0.3.5
2023-07-05 11:12:02 +02:00
Jonas Platte
a45ad6b41e
Upgrade indexmap to 2.0
2023-07-05 11:12:01 +02:00
Jonas Platte
775484c408
events: Add emote convenience constructors
...
… the same ones we have for text and notice msgtypes.
2023-07-05 10:36:41 +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
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
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