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
Kévin Commaille
3997e445b5
client-api: Allow /versions
to optionally accept authentication
...
According to MSC4026.
2024-03-07 12:30:28 +01:00
Kévin Commaille
f652cbb60f
api: Add support for optional authentication
2024-03-07 12:30:28 +01:00
Kévin Commaille
a8f1440698
state-res: Refactor Knock membership transition
2024-03-05 10:43:52 +01:00
Kévin Commaille
f24cae17f5
client-api: Add support for local user erasure
...
According to MSC4025
2024-02-28 20:24:45 +01:00
Kévin Commaille
6c7fbb5e88
events: Disallow invite->knock membership change
2024-02-28 10:34:52 +01:00
Kévin Commaille
812625fab4
state-res: Disallow invite->knock membership transition
...
Due to a spec clarification that reverts the previous spec clarification
2024-02-28 10:34:52 +01:00
SpiritCroc
631911a1de
events: Add filename and formatted fields to media messages
...
For MSC2530 media captions
2024-02-27 11:40:56 +01:00
Matthias Ahouansou
1a1c61ee1e
events: change type of state_key field of HierarchySpaceChildEvent to OwnedRoomId
2024-02-24 20:30:44 +01: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
Matthias Ahouansou
f1a8497ecb
federation-api: Implement From<SpaceHierarchyParentSummary> for SpaceHierarchyChildSummary
2024-02-16 11:21:29 +01:00
Matthias Ahouansou
c00085b520
events: Implement From<JoinRule> for SpaceRoomJoinRule
2024-02-14 14:27:21 +01:00
Kévin Commaille
76c58b143a
push: Don't use deprecated methods
2024-02-14 13:07:21 +01:00
Kévin Commaille
05c88d6afc
state-res: Fix new clippy warnings
2024-02-14 13:07:21 +01:00
Kévin Commaille
201733ebe9
ci: Bump nightly toolchain
2024-02-14 13:07:21 +01:00
Stefan Ceriu
68c9bb0930
Add support for MSC2867 - Manually marking rooms as unread
2024-01-26 23:28:11 +00:00