24 Commits

Author SHA1 Message Date
Kévin Commaille
3ca8adaadf client-api: Add ErrorKind::UserSuspended
According to MSC3823
2024-12-15 03:06:24 -05:00
strawberry
0738b7f72d Merge remote-tracking branch 'upstream/main' into conduwuit-changes
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-10-01 10:46:37 -04:00
Kévin Commaille
a9267360cb client-api: Add support for account locking
According to MSC3939.
2024-09-29 11:11:18 +02:00
strawberry
b6f82a72b6 Merge remote-tracking branch 'upstream/main' into conduwuit-changes 2024-09-13 16:35:24 -04:00
Ivan Enderlin
7cfa3be0c6
client-api: Implement MSC4186. (#1907)
* client-api: Derive `Default` for `v4::SyncList`.

* client-api: Implement MSC4186.
2024-09-12 07:12:49 +00:00
strawberry
000d1e3732 add missing other piece to ThreepidMediumNotSupported
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-08-24 13:15:34 -04:00
Matthias Ahouansou
becc4ac0b3 federation-api: add unstable support for MSC3843 2024-04-17 14:51:23 +02:00
Kévin Commaille
31dc4a2dfb
client-api: Add support for the Retry-After header
According to MSC4041 / Matrix 1.10

Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2024-04-07 13:52:43 +00:00
Kévin Commaille
917584e0ca client-api: Move Error authenticate field to ErrorKind::Forbidden 2024-03-31 21:04:18 +02: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
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
915da3c983 client-api: Fix missing ErrCode deser variants 2023-05-30 20:58:24 +02:00
Kévin Commaille
854d8076ef client-api: Stabilize async media uploads 2023-05-26 09:27:24 +02:00
Kévin Commaille
ce30aeb775 client-api: Stabilize annotations 2023-05-26 09:26:30 +02:00
Kévin Commaille
af2407e98a client-api: Add M_DUPLICATE_ANNOTATION error kind
According to MSC2677
2023-04-26 16:02:19 +02:00
Benjamin Kampmann
9c46d1143d
client-api: Add M_UNKNOWN_POS error kind (MSC3575) 2022-11-15 15:01:09 +00:00
Charlotte
ddc5279b6e
client-api: Implement asynchronous uploads (MSC2246)
https://github.com/matrix-org/matrix-spec-proposals/pull/2246
2022-05-28 20:49:05 +00:00
Jonas Platte
5f902851af
Upgrade to Rust 2021 2022-05-27 12:04:23 +02:00
Kévin Commaille
bdcf07be87
common: Merge ruma-serde into ruma-common 2022-03-10 12:11:00 +01:00
Kévin Commaille
088d1872b7
common: Merge ruma-identifiers into ruma-common 2022-03-09 17:46:51 +00:00
Andrej Kacian
e4a21580a2
Add M_WEAK_PASSWORD error code to ruma-client-api 2022-01-17 15:57:22 +01:00
Jonas Platte
ee977b48f0
Make the inner type of _Custom enum variants unusable
The variant itself would be private if possible, this is the solution
closest to that.
2022-01-13 11:38:48 +01:00
Devin Ragotzy
c6aa2e0428 Fix clippy warnings across workspace 2021-05-06 06:16:28 -04:00
Jonas Platte
3db0ea7026
Move all crates into a new crates directory 2021-05-03 15:50:27 +02:00