492 Commits

Author SHA1 Message Date
Kévin Commaille
f31530e02c client-api: Use an enum for the scope of the push rule endpoints 2022-11-09 14:45:12 +01:00
Kévin Commaille
cb122e755c push: Move RuleKind to ruma-common 2022-11-09 14:45:12 +01:00
Kévin Commaille
2bd5c131f4 client-api: Make PusherKind contain the pusher data
Since it depends on the kind
2022-11-07 10:21:48 +01:00
Kévin Commaille
801d9bf212 client-api: Use an enum to differentiate when deleting a pusher 2022-11-07 10:21:48 +01:00
Jonas Platte
d3a8a8c2e0 client-api: Future-proof Debug implementations of login types
Make sure we don't forget to update them when there are new fields.
2022-11-01 11:13:36 +01:00
Jonas Platte
e271af0140 client-api: Simplify Debug output of uiaa::AuthData 2022-11-01 11:13:36 +01:00
Jonas Platte
c68791a5d8 client-api: Don't include sensitive data in Debug-format of UIAA types 2022-11-01 11:13:36 +01:00
Jonas Platte
2b624c264e client-api: Simplify Debug output for LoginInfo 2022-11-01 11:13:36 +01:00
Jonas Platte
c7e84c5249
Fix clippy lints
Automated using `cargo clippy --fix`.
2022-10-26 13:38:29 +02:00
Jonas Platte
54183bd748
Fix double space 2022-10-24 15:25:26 +02:00
Kévin Commaille
045861441a doc: Update Matrix spec links to v1.4 2022-10-21 10:41:20 +02:00
Jonas Platte
6ec01bfdb4
client-api: Reorder path fields 2022-10-20 20:51:09 +02:00
Jonas Platte
bb9742e84c
client-api: Don't include extra field in Debug-format of login::CustomLoginInfo 2022-10-17 17:16:38 +02:00
Jonas Platte
fe2d0c93e2
client-api: Don't include token in Debug-format of login::Token 2022-10-17 17:16:38 +02:00
Jonas Platte
70b0d249a8
client-api: Don't include password in Debug-format of login::Password 2022-10-17 17:16:38 +02:00
Timo Kösters
00315d9c48 client-api: Remove serde aliases 2022-10-12 16:52:26 +02:00
Timo Kösters
d6b858c5fa
client-api: Add missing default attribute to create_receipt::Request#thread 2022-10-12 10:46:02 +02:00
Kévin Commaille
f9958ae2e3 client-api: Add support for read receipts for threads
According to MSC3771
2022-10-10 20:49:04 +02:00
Kévin Commaille
e6e7e52034 client-api: Send CORP headers by default for media responses
According to MSC3828.
2022-10-10 19:09:39 +02:00
Kévin Commaille
739c35aaca api: Allow to use any HeaderName with the header keyword of ruma_api 2022-10-10 19:09:39 +02:00
Kévin Commaille
b57338c1cf client-api: Add support for notifications for threads
According to MSC 3773
2022-10-10 18:39:55 +02:00
Kévin Commaille
b695dee787 client-api: Add support for dir parameter to /relations
According to MSC3715
2022-10-10 18:04:04 +02:00
Kévin Commaille
e2e123dd89 client-api: Move Direction to the root of the crate 2022-10-10 18:04:04 +02:00
Kévin Commaille
a7e10770fa client-api: Remove direct association between transaction ID and access token 2022-10-02 13:29:30 +02:00
Kévin Commaille
489820303e client-api: Stabilize support for private read receipts 2022-10-01 11:21:18 +02:00
Kévin Commaille
fa64b36c11 client-api: Add support for the threads list API
According to MSC3856
2022-09-30 21:17:20 +02:00
Kévin Commaille
a091faa7d2 client-api: Remove thread event filters
According to MSC3856
2022-09-30 17:27:28 +02:00
Jonas Platte
715c226975 api: Make select_path and make_endpoint_url methods on Metadata
… and remove #[doc(hidden)] attribute.
2022-09-29 15:49:39 +02:00
Jonas Platte
8290d712f2 api: Move the majority of endpoint URL building out of macro code 2022-09-29 15:49:39 +02:00
gnieto
a4a14aa9dc
client-api: Add M_BAD_ALIAS to ErrorKind 2022-09-29 14:37:30 +02:00
Jonas Platte
289821aa07
client-api: Remove DeviceLists re-export 2022-09-22 13:21:55 +02:00
Benjamin Kampmann
efc5e61021
client-api: Update sliding sync to latest 2022-09-21 18:11:32 +02:00
Jonas Platte
4fb051ba0f Use Default derive for enums 2022-09-20 13:49:16 +02:00
Jonas Platte
9dd4014750
client-api: Export nothing with neither client nor server feature active
… to work around a build failure in that configuration.
This configuration is useful either way.
2022-09-12 20:51:50 +02:00
Jonas Platte
914e5c21e9
events: Rename Any[Sync]RoomEvent to Any[Sync]TimelineEvent 2022-08-24 17:43:42 +02:00
Jonas Platte
661f6e60bd
client-api: Reorder fields and ctor parameters for account data endpoints 2022-08-18 18:43:47 +02:00
Jonas Platte
2b4ac40981 Skip serializing None value for room_type fields 2022-08-17 20:45:05 +02:00
Benjamin Kampmann
23a608788b
client-api: Add sliding-sync endpoint
Co-authored-by: Matthew Hodgson <matthew@matrix.org>
2022-08-17 16:16:02 +02:00
Jonas Platte
ccb6babe9e
client-api: Fix type of display_name field in update_device::Request 2022-08-17 13:24:12 +02:00
Jonas Platte
3ddbcd8152 client-api: Use a stronger type for send_state_event::Request::new 2022-08-16 12:50:24 +02:00
Kévin Commaille
90f9463c1a client-api: Use borrowed types in refresh_token::v3::Request 2022-07-30 17:03:02 +02:00
Kévin Commaille
f5000cb52f client-api: Add support for API scope restriction
According to MSC2967
2022-07-28 18:39:35 +02:00
Kévin Commaille
64203a3cba client: Remove leftover unstable prefixes
From v1.2 and v1.3
2022-07-28 18:27:14 +02:00
Jonas Platte
3e34cda48a
client-api: Add more docs to get_message_events::Requests constructors 2022-07-19 18:04:11 +02:00
Jonas Platte
c97f5507b9
client-api: Simplify message::get_message_events::v3::Requests constructors 2022-07-19 17:48:14 +02:00
Jonas Platte
da5def6731
client-api: Update message::get_message_events::v3::Request's constructors 2022-07-18 19:04:37 +02:00
Jonas Platte
f4a8a66bde
client-api: Remove get_message_events::Request::new's from parameter 2022-07-18 18:50:28 +02:00
Kévin Commaille
7ec599e83d client-api: Add support for private read receipts
According to MSC2285
2022-07-18 11:18:55 +02:00
Johannes Becker
d80e7c9c32
client-api: Make from optional for get_message_events::Request::new 2022-07-15 18:37:28 +02:00
Doug
e2d0e4cf20 Add unstable prefix for m.authentication. 2022-07-11 12:01:27 +02:00