Kévin Commaille
d6c4533b7d
chore: Fix new warnings
2024-05-12 15:49:28 +02:00
Kévin Commaille
bbc0fe875f
ci: Update version of Rust nightly
2024-05-12 15:49:28 +02:00
Kévin Commaille
8699c174a9
ruma: Add missing feature reexports
2024-05-11 12:11:35 +02:00
Kévin Commaille
9b3f4a2c0f
ci: Add lint to check if all sub-crates features can be enabled from ruma crate
2024-05-11 12:11:35 +02:00
Kévin Commaille
30701596d0
xtask: Set user-agent string of HTTP client
...
GitHub doesn't allow to use the REST API without a user-agent set
2024-05-09 15:17:07 +02:00
Kévin Commaille
14d7ec42e7
xtask: Don't try to read ruma-macros changelog and only publish it
2024-05-09 15:17:07 +02:00
Kévin Commaille
e08822fce1
docs: Update workspace dependencies graph
2024-05-09 14:20:02 +02:00
Kévin Commaille
5b882208ef
Release ruma 0.10.0
2024-05-09 13:17:10 +02:00
Kévin Commaille
8ed8267e5d
Release ruma-state-res 0.11.0
2024-05-09 13:09:14 +02:00
Kévin Commaille
f4433c1ff0
Release ruma-client 0.13.0
2024-05-09 13:05:46 +02:00
Kévin Commaille
8a8c0adff9
Release ruma-push-gateway-api 0.9.0
2024-05-09 13:03:52 +02:00
Kévin Commaille
42f20a4e8d
Release ruma-signatures 0.15.0
2024-05-09 13:01:32 +02:00
Kévin Commaille
699053d629
Release ruma-federation-api 0.9.0
2024-05-09 12:55:58 +02:00
Kévin Commaille
00a332b037
Release ruma-client-api 0.18.0
2024-05-09 12:53:11 +02:00
Kévin Commaille
84c174da49
Release ruma-appservice-api 0.10.0
2024-05-09 12:50:40 +02:00
Kévin Commaille
3799aef382
Release ruma-identity-service-api 0.9.0
2024-05-09 12:46:20 +02:00
Kévin Commaille
cee4a3f779
Release ruma-events 0.28.0
2024-05-09 12:39:10 +02:00
Kévin Commaille
38369dc53b
Release ruma-server-util 0.3.0
2024-05-09 12:36:45 +02:00
Kévin Commaille
2b46250c8b
Release ruma-html 0.2.0
2024-05-09 12:31:49 +02:00
Kévin Commaille
75455d3e0f
Release ruma-common 0.13.0
2024-05-09 12:14:59 +02:00
Kévin Commaille
efd0b4f308
Release ruma-macros 0.13.0
2024-05-09 12:11:41 +02:00
Kévin Commaille
d2d64f32c2
Release ruma-identifiers-validation 0.9.5
2024-05-09 11:49:30 +02:00
Kévin Commaille
10c7e59c57
client-api: Add helper methods to convert SystemTime from/to a HTTP date
2024-05-08 19:09:13 +02:00
Kévin Commaille
b4d0ab42a3
client-api: Make get_uiaa_fallback::v3::Response
an enum
...
It is now either a redirect or a HTML page,
with the proper status code, headers and body.
2024-05-07 17:22:17 +02:00
Kévin Commaille
fcaf4bd54a
client-api: Return proper status code for SSO login endpoints
2024-05-07 08:59:08 +02:00
Kévin Commaille
cae00cfff8
client-api: Return proper content type in login_fallback::Response
2024-05-07 08:49:16 +02:00
Kévin Commaille
b6dcb421bf
html: Re-export html5ever types used in our public API
2024-05-06 14:56:53 +02:00
Kévin Commaille
bd56071587
html: Add more settings to SanitizerConfig
...
Allows to use it with a whitelist or a blacklist,
and extend or reduce the lists from the Matrix spec.
2024-05-06 14:56:53 +02:00
Kévin Commaille
e161a57eda
html: Add HTML data types for elements and attributes suggested by Matrix Spec
2024-05-06 14:56:53 +02:00
Kévin Commaille
18244143ca
html: Take a reference to SanitizerConfig for Html::sanitize_with
...
Allows to reuse the configuration without cloning it.
2024-05-06 14:56:53 +02:00
Matthias Ahouansou
8ecbc47e55
state-res: perform extra redaction checks for v1 and v2 rooms rather than v3+
2024-05-06 14:56:09 +02: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
Kévin Commaille
1689a50639
api: Add changelog entry for http major version bump
2024-04-30 17:03:04 +02: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
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
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