Benjamin Lee
3f67772dd3
client-api: Don't skip all no-event timelines serializing sync response
...
There are some cases where a timeline can have zero events but should
still be included in the api response. For example, when calling `/sync`
with a filter that rejects all events after `since`, but does not
necessarily reject all events in the room's history, the response should
include a `prev_batch` field so that the client can search for earlier
events matching the filter using `/messages`.
2024-05-05 03:09:56 -04:00
strawberry
1c291e18ef
add custom room ID field to room creation request body
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-05-01 15:27:48 -04:00
strawberry
b10df150a2
Merge remote-tracking branch 'upstream/main' into conduwuit-changes
2024-05-01 15:25:44 -04:00
strawberry
cab4d5e18f
skip serialising identity_server
if None, and return empty string for base_url
identity server if null
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-28 22:29:19 -04:00
Kévin Commaille
19a29934fa
client-api: Add unstable support for animated thumbnails
...
According to MSC2705
2024-04-27 16:15:21 +02:00
strawberry
7136799881
Merge remote-tracking branch 'upstream/main' into conduwuit-changes
2024-04-24 15:22:18 -04:00
Benjamin Bouvier
cc44459117
client-api: add unstable MSC3266 support (room summary) ( #1776 )
...
This implements experimental support for MSC3266 for getting a room summary, which is really nice to get room previews even for rooms one is not part of.
2024-04-21 12:47:22 +02:00
strawberry
5194ea1861
Merge remote-tracking branch 'upstream/main' into conduwuit-changes
2024-04-18 19:45:17 -04:00
Matthias Ahouansou
becc4ac0b3
federation-api: add unstable support for MSC3843
2024-04-17 14:51:23 +02:00
Jason Volk
23535bc153
client-api: Allow empty failures object in response to upload_signatures.
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-04-08 07:04:56 -04:00
strawberry
580eefe1c6
Merge remote-tracking branch 'upstream/main' into conduwuit-changes
2024-04-07 11:04:24 -04:00
strawberry
047764bc15
client-api: add unstable MSC4121 support (moderator role definition)
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-07 16:58:07 +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
Jason Volk
eb970d044d
client-api: Add cache-control header to media responses.
2024-04-05 11:34:47 -04:00
strawberry
31851540e9
Merge remote-tracking branch 'upstream/main' into conduwuit-changes
2024-04-05 11:34:23 -04:00
Jonas Platte
4a02b97aa3
Update website URL
2024-04-04 13:20:58 +02:00
strawberry
3a9c8fb87d
Merge remote-tracking branch 'upstream/main' into conduwuit-changes
2024-04-03 13:56:50 -04:00
Kévin Commaille
917584e0ca
client-api: Move Error authenticate field to ErrorKind::Forbidden
2024-03-31 21:04:18 +02:00
Kévin Commaille
4f4085a013
client-api: Make Error non-exhaustive
2024-03-31 21:04:18 +02:00
strawberry
fd26b59718
Merge remote-tracking branch 'upstream/main' into conduwuit-changes
2024-03-27 13:24:52 -04:00
strawberry
7b0056b3ab
client-api: make recursion_depth
field public
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-27 18:07:06 +01:00
strawberry
85ecb1b11b
client-api: add missing dir
field on the relations endpoints
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-27 18:07:06 +01:00
strawberry
aee12dfde3
Merge remote-tracking branch 'upstream/main' into conduwuit-changes
2024-03-23 13:29:04 -04:00
Kévin Commaille
e249f08f4b
client-api: Add server support discovery endpoint
...
According to MSC1929 / Matrix 1.10
2024-03-23 09:34:36 +01:00
Kévin Commaille
1d66031f8b
client-api: Add support for recursion on the get_relating_events
endpoints
...
According to MSC3981 / Matrix 1.10
2024-03-23 09:30:06 +01:00
strawberry
c988b5ff15
Merge remote-tracking branch 'upstream/main' into conduwuit-changes
2024-03-22 20:02:19 -04:00
Kévin Commaille
cab3b99ba7
docs: Mark changelog entries for Matrix 1.10
2024-03-22 21:28:39 +01:00
Kévin Commaille
0e7c91d789
docs: Point links to v1.10 of the spec
2024-03-22 21:28:39 +01:00
strawberry
5ab81eef0a
dont skip serialising default values for capabilities
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-18 23:04:43 -04:00
strawberry
b36cacb4d1
Merge remote-tracking branch 'upstream/main' into conduwuit-changes
2024-03-13 21:11:05 -04:00
Matthias Ahouansou
4ffbed0e06
client-api: allow /login to support authentication from appservices
2024-03-13 22:06:58 +01:00
Matthias Ahouansou
93c1605a46
client-api: allow /register to support authentication from appservices
2024-03-13 22:06:58 +01:00
Levitating Pineapple
a57ec8190f
Update changelog
2024-03-13 10:11:23 +01:00
Levitating Pineapple
2655624e35
client-api: Update the query parameter of check_registration_token_validity
request
2024-03-13 10:11:23 +01:00
strawberry
13b8386812
Merge remote-tracking branch 'upstream/main' into conduwuit-changes
2024-03-08 17:10:49 -05:00
strawberry
b2542df2bb
client-api: don't require ts
request parameter for URL previews
...
spec does not say this is required and Element Android (legacy)
is a client known to *not* send this query parameter.
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-08 23:08:59 +01:00
strawberry
88e857db7d
Merge remote-tracking branch 'upstream/main' into conduwuit-changes
2024-03-08 00:07:10 -05:00
Kévin Commaille
3997e445b5
client-api: Allow /versions
to optionally accept authentication
...
According to MSC4026.
2024-03-07 12:30:28 +01:00
strawberry
1623fffe15
Merge remote-tracking branch 'upstream/main' into conduwuit-changes
2024-03-02 10:51:18 -05:00
Kévin Commaille
f24cae17f5
client-api: Add support for local user erasure
...
According to MSC4025
2024-02-28 20:24:45 +01:00
strawberry
3b4946d66e
feat: query param to return the full room state event or just the content
...
`?format=event|content`
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-02-23 19:30:36 -05:00
avdb13
abebde0cf1
client-api: Add optional cookie field to sso_login*::Response
2024-02-23 14:22:49 +00:00
Damir Jelić
b8768c3f19
client-api: Don't require the failures field in the signatures upload response
...
The field is not marked as required in the spec[1] and at least one homeserver, namely Dendrite, omits the field if it's empty.
[1]: https://spec.matrix.org/unstable/client-server-api/#post_matrixclientv3keyssignaturesupload
2024-02-22 16:17:44 +01:00
strawberry
4d9f754657
client-api: add deprecated login fields to password and appservice login types
...
`user`, `medium`, and `address` for `m.login.password`
`user` for `m.login.appservice`
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-02-17 18:22:20 +01:00
Jonas Platte
aa3acd88d2
Add error_kind accessor methods for client-server API errors
2024-01-13 11:16:09 +01:00
Jonas Platte
8d9e96ed76
Simplify known_versions return types
...
Thanks to clippy for the lint!
2024-01-10 16:12:49 +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
4efca6fba5
docs: Point links to v1.9 of the spec
2023-11-30 14:42:14 +01:00
Jonas Platte
6639c727ae
Merge branch 'ruma-0.9.x'
2023-11-22 20:02:17 +01:00
Jonas Platte
5abb225078
Release ruma-client-api 0.17.4
2023-11-20 22:55:57 +01:00