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
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
Matthias Ahouansou
f01f00a90a
federation-api: add unstable support for MSC4125
2024-04-10 16:30:06 +02: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
Kévin Commaille
fb904e76be
ci: Fix tag of surge action
2024-04-04 13:24:40 +02:00
Jonas Platte
4a02b97aa3
Update website URL
2024-04-04 13:20:58 +02:00
Jonas Platte
a123b30cf2
Update unstable docs URL
2024-04-04 00:13:41 +02:00
Kévin Commaille
8f4f4460cd
ci: Upgrade surge action
2024-04-03 12:22:51 +02:00
Kévin Commaille
13da587d1c
ci: Upgrade typos action
2024-04-03 12:22:51 +02:00
Kévin Commaille
a64dff7ea3
ci: Upgrade other actions
2024-04-03 12:22:51 +02:00
Kévin Commaille
3f47742d60
ci: Upgrade upload / deploy pages actions
2024-04-02 18:24:54 +02: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
Hubert Chathi
c5f8137ba9
ruma: Export web_time as time
2024-03-27 18:48:55 +01: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
Jonas Platte
80d228ae45
Fix some cargo-deny deprecation warnings
2024-03-26 18:32:28 +01:00
Jonas Platte
467ca810ec
ci: Downgrade pages deploy actions again
2024-03-26 11:23:53 +01:00
Jonas Platte
83b1c73e6f
ci: Downgrade pages deploy actions
2024-03-26 11:12:27 +01: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
Jonas Platte
5495b85aa3
ci: Update upload / deploy pages actions
2024-03-22 22:49:46 +01:00
Kévin Commaille
cab3b99ba7
docs: Mark changelog entries for Matrix 1.10
2024-03-22 21:28:39 +01:00
Kévin Commaille
7959f95c05
xtask: Allow links to v1.10 of the spec
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
Kévin Commaille
041d871781
api: Add MatrixVersion::V1_10
2024-03-22 21:28:39 +01:00
Hubert Chathi
4c00bd010d
Also use Duration and UNIX_TIME from web-time crate
2024-03-21 15:20:03 +01:00
Damir Jelić
ccd3b81557
Use web-time to return a SystemTime that works under WASM
...
The `MilliSecondsSinceUnixEpoch::to_system_time()` method returns the
`SystemTime` type from the standard library.
The `std::time::SystemTime::elapsed()` method sadly panics under WASM.
Instead of returning the `SystemTime` from the standard library we're
now returning a drop-in replacement of this type coming from the web-time
crate.
2024-03-20 12:19:18 +01:00
Kévin Commaille
6c4d1c0fd7
events: Add methods to get required power level for given actions
2024-03-18 21:57:13 +01:00
Jonas Platte
95707b86c3
Provide a more helpful Debug impl for timestamps
2024-03-16 00:23:31 +01: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
Matthias Ahouansou
bbf81544f2
api: support for appservice-exclusive authentication
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
Jonas Platte
a80caa4c21
events: Remove recently-introduced builder-style methods
...
It's unclear whether they are that important, and whether their argument
types make sense as-is.
2024-03-11 20:51:54 +01:00
Jonas Platte
0d72acd5e9
events: Improve media event content formatted field docs
2024-03-11 20:51:54 +01:00
Jonas Platte
65d0880dc9
Fix a typo
2024-03-11 20:51:54 +01: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
Kévin Commaille
22e89bde2b
events: Make some fields of Candidate optional
...
For compatiblity with the WebRTC spec.
Notably the last Candidate should only contain the `candidate` field
with an empty string.
2024-03-08 15:12:02 +01:00
Tulir Asokan
b2c3df421d
identifiers: Fix MXC URI validation
2024-03-07 13:39:57 +01:00