5609 Commits

Author SHA1 Message Date
strawberry
b8f30d4da4 add content_disposition to /thumbnail
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-05-05 15:30:30 -04:00
Benjamin Lee
16de61357e client-api: Don't skip the events field serializing timeline in sync response
This field is marked as required in the spec. Before
7caa8f2739e38c43effd8a215e788cc1aece13c8, the fact that we had it marked
as `skip_serializing_if` didn't really matter, because we were skipping
the entire timeline object when `events` was empty. Now that we can
serialize timelines with zero events, we always need to include the
field.
2024-05-05 03:09:56 -04:00
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
Kévin Commaille
1689a50639 api: Add changelog entry for http major version bump 2024-04-30 17:03:04 +02: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
Jonas Platte
b6200c01a1
Upgrade itertools from 0.11 to 0.12 2024-04-28 22:53:03 +02:00
Jonas Platte
5e68c93ec8
Upgrade proc-macro-crate from 2.0 to 3.0 2024-04-28 22:52:18 +02:00
Jonas Platte
2a6d31a023
Upgrade pulldown-cmark from 0.9 to 0.10 2024-04-28 22:50:39 +02:00
Jonas Platte
c3e282b441
Upgrade base64 from 0.21 to 0.22 2024-04-28 22:08:10 +02:00
Jonas Platte
7a89ab392c
Upgrade yap from 0.11 to 0.12 2024-04-28 22:06:27 +02:00
Kévin Commaille
19a29934fa client-api: Add unstable support for animated thumbnails
According to MSC2705
2024-04-27 16:15:21 +02:00
Kévin Commaille
a28d1428e0 events: Add unstable support for muting in VoIP calls
According to MSC3291
2024-04-27 16:11:10 +02:00
strawberry
d01b3cc967 Merge remote-tracking branch 'upstream/main' into conduwuit-changes 2024-04-26 18:07:34 -04:00
strawberry
d6311fac84 Revert "Bump http version."
This reverts commit 5338e1d3868689e462e9910a15641a9ea9cf4bc0.
2024-04-26 18:07:30 -04:00
Jonas Platte
3760d69ade
Upgrade http from 0.2 to 1.0
… and related dependencies.
2024-04-27 00:06:19 +02:00
mib
7b373b78bb
xtask: Migrate from isahc to reqwest
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
Co-authored-by: Kévin Commaille <76261501+zecakeh@users.noreply.github.com>
2024-04-26 20:43:49 +00:00
Ossi Herrala
f1428d138a client: Remove unused serde and serde_json dependencies 2024-04-26 16:40:59 -04:00
Ossi Herrala
87950e9d40 client: Remove isahc feature of ruma-client 2024-04-26 16:40:59 -04:00
Kévin Commaille
770dce844e ci: Remove docs preview jobs
It uses unmaintained CI actions and is easy to replace locally.
2024-04-26 18:57:21 +02:00
strawberry
7136799881 Merge remote-tracking branch 'upstream/main' into conduwuit-changes 2024-04-24 15:22:18 -04:00
avdb13
8881755235
api: Add status parameter to request attribute macro
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2024-04-24 14:44:49 +02:00
Kévin Commaille
6e763ee5e7 html: Allow to navigate through the HTML tree 2024-04-24 13:15:12 +02:00
Kévin Commaille
d36f485b19 html: Do not export Node in the public API
It is not usable on its own and it is
not in the output of any public method.
2024-04-24 13:15:12 +02:00
Kévin Commaille
221e9c055c html: Add method to get root node of Html 2024-04-24 13:15:12 +02:00
Kévin Commaille
21b644ac6a identifiers: Allow to clone MatrixToUri and MatrixUri 2024-04-21 14:25:10 +02: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
June
3d0308ca2f
Merge pull request #3 from jevolk/conduwuit-changes
Conduwuit changes
2024-04-19 21:24:33 -04:00
Jason Volk
5338e1d386 Bump http version.
Signed-off-by: Jason Volk <jason@zemos.net>
2024-04-19 17:38:03 -07:00
strawberry
5194ea1861 Merge remote-tracking branch 'upstream/main' into conduwuit-changes 2024-04-18 19:45:17 -04:00
Kévin Commaille
d299534e9a ruma: Add missing unstable features to __ci 2024-04-18 15:01:08 +02:00
Benjamin Bouvier
ccc0a64ba3
events: allow deserialize a m.tag's order as an integer (#1767)
Some servers use an integer to represent e.g. `1` for the order, instead of the double representation (that would be `1.` or `1.0)`. This makes it possible to parse such values as integers too, since they're technically not double. Implementing `visit_u64` and `visit_i64` covers all the smaller sizes too, so I've implemented only that here.
2024-04-18 09:15:27 +00:00
Matthias Ahouansou
becc4ac0b3 federation-api: add unstable support for MSC3843 2024-04-17 14:51:23 +02:00
Jason Volk
37ffec73c9 state-res: downgrade info! log messages to debug!
Signed-off-by: Jason Volk <jason@zemos.net>
2024-04-16 03:21:44 -07:00
Matthias Ahouansou
62fcc7361b federation-api: add unstable support for MSC4125 2024-04-11 18:16:36 -04:00
Matthias Ahouansou
f01f00a90a federation-api: add unstable support for MSC4125 2024-04-10 16:30:06 +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
Kévin Commaille
1e185ddb9d Create m.lowercase renaming rule 2024-04-07 15:46:24 +02:00
Kévin Commaille
2313217470 events: Add support for multi-stream VoIP
According to MSC3077 / Matrix 1.10
2024-04-07 15:46:24 +02:00
Matthias Ahouansou
3501c2bc34
federation-api: Make /v1/send_join use RawValue for body rather than using query parameters 2024-04-07 15:45:52 +02:00
Kévin Commaille
da1df75619 html: Add support for deprecated HTML tags
According to Matrix 1.10
2024-04-07 15:45:26 +02:00
Kévin Commaille
5a0faa81b1 html: Upgrade html5ever 2024-04-07 15:45:26 +02:00
strawberry
a938640491 add MSC3026 support (busy presence status)
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-05 17:48:02 -04: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
Kévin Commaille
fb904e76be ci: Fix tag of surge action 2024-04-04 13:24:40 +02:00