2171 Commits

Author SHA1 Message Date
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
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
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
Hubert Chathi
c5f8137ba9
ruma: Export web_time as time 2024-03-27 18:48:55 +01: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
Kévin Commaille
041d871781 api: Add MatrixVersion::V1_10 2024-03-22 21:28:39 +01:00
strawberry
8afdd5b602 Merge remote-tracking branch 'upstream/main' into conduwuit-changes 2024-03-21 22:11:05 -04: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
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
d5d2698da3 Merge remote-tracking branch 'upstream/main' into conduwuit-changes 2024-03-18 23:03:35 -04:00
Kévin Commaille
6c4d1c0fd7 events: Add methods to get required power level for given actions 2024-03-18 21:57:13 +01:00
strawberry
97f1ca0c08 Merge remote-tracking branch 'upstream/main' into conduwuit-changes 2024-03-16 19:15:46 -04:00
Jonas Platte
95707b86c3 Provide a more helpful Debug impl for timestamps 2024-03-16 00:23:31 +01: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
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
strawberry
35a6a83721 Merge remote-tracking branch 'upstream/main' into conduwuit-changes 2024-03-12 22:22:00 -04: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
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
4899da4c0f Merge remote-tracking branch 'upstream/main' into conduwuit-changes 2024-03-08 09:25:59 -05:00