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
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