Jonas Platte
157b36d305
xtask: Simplify match arm
...
Thanks to clippy for the lint!
2024-01-10 16:09:03 +01:00
Kévin Commaille
9a5142052c
appservice-api: Make the url field of Registration an Option
...
It was always possible to set it to `null`, according to the Matrix
spec.
2024-01-03 18:40:40 +01:00
Kévin Commaille
7c49b84e6d
events: Add convenience method to check if a user can changed another user's power level
2024-01-02 14:33:09 +01:00
Kévin Commaille
06ac62213c
events: Add convenience methods to check if a user can unban users
2024-01-02 14:33:09 +01:00
Kévin Commaille
9d9827c165
events: Add convenience methods about actions to other users according to power levels
...
Some of these actions are limited by the power level of the other user.
2024-01-02 14:33:09 +01:00
Kévin Commaille
b7829d5607
Fix test
2023-12-26 17:28:43 +01:00
Kévin Commaille
00f8a6743b
push: Allow to deserialize Ruleset with missing fields
...
According to the Matrix Specification, no field is required.
2023-12-26 17:28:43 +01:00
Kévin Commaille
4ae2455f80
client-api: Add GET /auth_issuer endpoint from MSC2965
2023-12-26 15:33:36 +01:00
Kévin Commaille
56d8a59c1b
push: Add accessor for the RuleKind of Predefined{*}RuleId
2023-12-05 10:56:36 +01:00
Kévin Commaille
ba75b09a45
push: Implement AsRef<str> for PredefinedRuleId
2023-12-05 10:56:36 +01:00
Kévin Commaille
df1a63909a
events: Implement From<RoomPowerLevels> for PushConditionPowerLevelsCtx
2023-12-03 13:03:06 +01:00
Kévin Commaille
90d3605b87
push: Make power levels optional in PushConditionRoomCtx
2023-12-03 13:03:06 +01:00
Kévin Commaille
4efca6fba5
docs: Point links to v1.9 of the spec
2023-11-30 14:42:14 +01:00
Kévin Commaille
ac2f725bcc
api: Add support for Matrix 1.9
2023-11-30 14:42:14 +01:00
Kévin Commaille
b4133b7863
push: Stabilize support for MSC3958
2023-11-30 14:37:17 +01:00
Jonas Platte
ec54fd99de
Merge branch 'ruma-0.9.x'
2023-11-27 16:19:31 +01:00
Jonas Platte
5b6bb2632d
Release ruma 0.9.4
2023-11-27 16:18:37 +01:00
Jonas Platte
23c2b9546d
Release ruma-events 0.27.11
2023-11-27 16:17:39 +01:00
Timo
ef9f790928
events: Add CallNotify event as described by MSC4075
...
https://github.com/matrix-org/matrix-spec-proposals/pull/4075
2023-11-27 16:17:23 +01:00
Timo
8fc12b0324
events: Add CallNotify event as described by MSC4075
...
https://github.com/matrix-org/matrix-spec-proposals/pull/4075
2023-11-27 15:49:36 +01:00
Jonas Platte
6639c727ae
Merge branch 'ruma-0.9.x'
2023-11-22 20:02:17 +01:00
Jonas Platte
877b1c63fe
Release ruma-events 0.27.10
2023-11-22 19:52:20 +01:00
Jonas Platte
e90076162e
Release ruma 0.9.3
2023-11-22 19:40:31 +01:00
Jonas Platte
5abb225078
Release ruma-client-api 0.17.4
2023-11-20 22:55:57 +01:00
Benjamin Bouvier
268f206dff
client-api: Use JsOption
for avatar
field in sliding sync response
...
The `avatar` field has different semantics whether it's `undefined` (hasn't
changed since previous time) vs `null` (it's now unset). Let's reflect
this in the API of the `SlidingSyncRoom` response. While a public breaking API
change, sliding sync is still considered experimental, so we're not bumping
the main version here.
2023-11-20 22:51:54 +01:00
Benjamin Bouvier
9728f97505
client-api: Use JsOption
for avatar
field in sliding sync response
...
The `avatar` field has different semantics whether it's `undefined` (hasn't
changed since previous time) vs `null` (it's now unset). Let's reflect
this in the API of the `SlidingSyncRoom` response. While a public breaking API
change, sliding sync is still considered experimental, so we're not bumping
the main version here.
2023-11-20 22:47:45 +01:00
Jonas Platte
5446ea979b
Update trybuild tests
...
There's a new stable release of Rust, error messages were tweaked.
2023-11-20 20:30:46 +01:00
Jonas Platte
1328e52387
events: Deprecate relations event_id
methods
2023-11-16 14:27:23 +01:00
Jonas Platte
740f357e97
events: Don't fail event content parsing on invalid relation
2023-11-16 14:12:55 +01:00
Jonas Platte
6602782a15
Merge branch 'ruma-0.9.x'
2023-11-16 10:45:30 +01:00
Jonas Platte
8d050d7830
Release ruma-client-api 0.17.3
2023-11-16 10:44:28 +01:00
Jonas Platte
5d7c1f5330
Release ruma-common 0.12.1
2023-11-16 10:43:15 +01:00
Jonas Platte
4189dde59e
client-api: Separate docstring into two paragraphs
2023-11-16 10:42:19 +01:00
Jonas Platte
e30360dd4c
client-api: Fix deserialization of claim_keys
responses
...
… without a `failures` field.
2023-11-16 10:41:42 +01:00
Jonas Platte
2aa8745bd3
client-api: Separate docstring into two paragraphs
2023-11-16 10:30:34 +01:00
Jonas Platte
8467e1342e
client-api: Fix deserialization of claim_keys
responses
...
… without a `failures` field.
2023-11-16 10:28:49 +01:00
Kévin Commaille
9b07772d1a
push: Allow to deserialize (New)ConditionalPushRule without conditions
2023-11-15 15:10:42 +01:00
Kévin Commaille
02f29d6114
client-api: Make conversion from PushRule to ConditionalPushRule infallible
2023-11-15 15:10:42 +01:00
Jonas Platte
5d0ac84ff8
Release ruma-client-api 0.17.2
2023-11-15 10:42:11 +01:00
Jonas Platte
b006aa37fa
Release ruma-events 0.27.9
2023-11-15 10:40:41 +01:00
Kévin Commaille
e409d22ea0
Fix fallback text field name for extensible events in RoomMessageEventContentWithoutRelation::make_reply_to_raw()
2023-11-14 19:53:37 +01:00
Damir Jelić
64089ed758
Add support for MSC3983
...
Co-authored-by: Jonas Platte <jplatte@matrix.org>
2023-11-10 14:03:21 +01:00
Jonas Platte
8e5ad1d437
client-api: Move keys::claim_keys::v3 to a separate file
2023-11-10 12:29:01 +01:00
Jonas Platte
9acc74998c
Release ruma-events 0.27.8
2023-11-09 12:00:47 +01:00
Jonas Platte
0601fb35e7
Release ruma-client-api 0.17.1
2023-11-09 11:52:03 +01:00
Jonas Platte
e8bc589e52
Transition to type privacy lints
2023-11-09 09:50:04 +01:00
Jonas Platte
c82f600d6a
Fix new lints
2023-11-08 18:16:44 +01:00
Jonas Platte
db06702a0f
ci: Upgrade nightly toolchain
2023-11-08 18:03:26 +01:00
Jonas Platte
37c93d57e5
events: Change rich_reply.md to not require specific symbols to be in scope
...
… for intra-doc links.
2023-11-08 17:49:00 +01:00
Damir Jelić
e37918c9b8
Add the M_WRONG_ROOM_KEYS_VERSION ErrorKind variant
...
This error kind is a bit hidden in the spec, it's under the room key
backup section.
Spec URL: https://spec.matrix.org/v1.3/client-server-api/#put_matrixclientv3room_keyskeysroomid
2023-10-24 17:55:56 +02:00