5191 Commits

Author SHA1 Message Date
Kévin Commaille
dc68190adc api: Add initial support for Matrix 1.7 2023-05-25 19:28:33 +02:00
Kévin Commaille
631c4e6733 federation-api: Move create_join_event::v1 test as integration test
Otherwise cargo check always complains that we are using
a deprecated const.
See https://github.com/rust-lang/rust/issues/47238
2023-05-25 16:53:56 +02:00
Kévin Commaille
9dd55ae3bc federation-api: Deprecate v1/send_join and v1/send_leave
According to a spec clarification
2023-05-25 16:53:56 +02:00
Kévin Commaille
2296f16ea0 api: Allow to have an endpoint both defined and deprecated in Matrix 1.0 2023-05-25 16:53:56 +02:00
Kévin Commaille
d78c3e11f1 signatures: Remove age_ts from reference hash calculation
According to a spec clarification
2023-05-24 20:08:20 +02:00
Kévin Commaille
6df78e8aee events: Move CalCapabilities behind feature unstable-msc2747 2023-05-24 17:53:32 +02:00
Kévin Commaille
77454b70e9
identity-service-api: Fix format of keys in store_invitation::v2::PublicKeys
According to a spec clarification

Co-authored-by: Jonas Platte <jplatte@element.io>
2023-05-24 09:04:36 +00:00
Jonas Platte
f45a09e958
Appease clippy 2023-05-24 10:41:24 +02:00
Jonas Platte
486ecc2b68
Upgrade yap to 0.10.0 2023-05-24 09:58:19 +02:00
Jonas Platte
12537c19ac
Upgrade criterion to 0.5.0 2023-05-24 09:58:10 +02:00
Jonathan de Jong
01344edc8d
Update Mutual Rooms (MSC2666) implementation (#1547) 2023-05-20 22:24:22 +02:00
Kévin Commaille
dcbb5ec432 client: Upgrade hyper-rustls dependency 2023-05-19 19:55:23 +02:00
Kévin Commaille
6a77b4c9e4 push: Remove the DontNotify and Coalesce variants of push::Action
According to MSC3987.
2023-05-04 13:44:54 +02:00
Kévin Commaille
10d70c6055 client-api: Fix timeout field in media download endpoint requests
According to the stabilization spec PR.
2023-05-04 13:12:43 +02:00
Kévin Commaille
b27e54c7ed serde: Add deser functions for Duration from milliseconds 2023-05-04 13:12:43 +02:00
Kévin Commaille
f3ba40a56f client-api: Use Request::new() in Request::from_url() for get_content_as_filename 2023-05-04 13:12:43 +02:00
Kévin Commaille
67019c7f48 client-api: Fix the type of unused_expires_at for create_mxc_uri 2023-05-04 13:12:43 +02:00
Kévin Commaille
0e5503ed88 client-api: Add filename field for create_content_async 2023-05-04 13:12:43 +02:00
Kévin Commaille
e0f373ec74 ci: Only allow spec links with version as whole path segment 2023-05-04 13:04:57 +02:00
Kévin Commaille
e97e46e623 chore: Fix URLs to old spec 2023-05-04 13:04:57 +02:00
Kévin Commaille
d98903e46c chore: Work around new rustfmt bug 2023-05-04 13:04:57 +02:00
Jonas Platte
d5b0cc608f
Add user ID localpart emptiness check 2023-05-02 15:09:23 +02:00
Jonas Platte
54a4223caa client-api: Fix type of SlidingSyncRoom#invite_state 2023-04-27 19:27:05 +02:00
Kévin Commaille
b50037affc events: Implement sanitize on MessageType 2023-04-27 19:19:37 +02:00
Jonas Platte
44ed922ba2
events: Remove unnecessary Option around sliding sync extension types 2023-04-27 17:56:29 +02:00
Jonas Platte
1224dd3810
events: Add more convenient power level action checks to RoomPowerLevels 2023-04-27 12:20:11 +02:00
Jonas Platte
21e9af105c
Add a pull request template 2023-04-27 11:50:08 +02:00
Jonas Platte
1c88cef1a1
ci: Use cargo's sparse registry format 2023-04-26 17:38:49 +02:00
Jonas Platte
44393fe171
ci: Remove unnecessary env variable from docs workflows 2023-04-26 17:38:41 +02:00
Kévin Commaille
af2407e98a client-api: Add M_DUPLICATE_ANNOTATION error kind
According to MSC2677
2023-04-26 16:02:19 +02:00
Jonas Platte
cb512f01d6
macros: Fix weird indentation 2023-04-24 17:02:23 +02:00
Jonas Platte
53622f8ce0
macros: Upgrade syn to 2.0 2023-04-24 17:02:23 +02:00
Jonas Platte
fd895fab40 Upgrade checkout GitHub action 2023-04-24 17:02:13 +02:00
Kévin Commaille
4105169577 push: Panic on Regex construction error 2023-04-24 17:00:01 +02:00
Kévin Commaille
ed7c26ff9f push: Use bytes Regex to fix regex construction
Due to a new error detected in the regex crate.
2023-04-24 17:00:01 +02:00
Jonas Platte
0143bd9b9f
Replace other actions-rs GitHub actions 2023-04-20 15:14:37 +02:00
Jonas Platte
38245da1ba
Replace unmaintained actions-rs/toolchain with dtolnay/rust-toolchain 2023-04-20 15:14:37 +02:00
Jonas Platte
927be5f256
Upgrade GitHub actions 2023-04-20 14:00:50 +02:00
Jonas Platte
4c85fe9c78
Replace compat feature with more fine-grained compat-* features
… and document them.
2023-04-20 14:00:27 +02:00
Jonas Platte
57b7b2d0f5
Add context to compat attribute 2023-04-20 13:02:30 +02:00
Jonas Platte
89e398fd06
events: Add back relations accessors for message-like event enums 2023-04-18 11:33:54 +02:00
Jonas Platte
0bbad284f3
events: Add RoomRedactionUnsigned 2023-04-18 11:16:56 +02:00
Kévin Commaille
2bf33def5c client-api: Remove token from keys::get_keys::Request
According to a spec clarification.
2023-04-17 16:11:38 +02:00
Jonas Platte
fea6299935
Fix broken doc comment
Thanks clippy!
2023-04-12 19:19:17 +02:00
Jonas Platte
2d23af2f98
Check dependencies more exhaustively, using cargo-deny 2023-04-12 19:11:00 +02:00
Jonas Platte
1229fa4461
events: Add FullStateEventContent::redact 2023-04-11 16:16:32 +02:00
Kévin Commaille
2ccc0323f6 push: Add support for event_property_contains push condition
According to MSC3966
2023-04-11 16:12:05 +02:00
Kévin Commaille
2e7b67bb23 push: Add support for event_property_is push condition
According to MSC3758
2023-04-11 16:12:05 +02:00
Kévin Commaille
82b4257bfe push: Split push conditions tests 2023-04-11 16:12:05 +02:00
Kévin Commaille
33fa1b48ed push: Collect a bigger subset of JSON values in FlattenedJson 2023-04-11 16:12:05 +02:00