329 Commits

Author SHA1 Message Date
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
Jonas Platte
61282642c0
client-api: Rewrite small test to remove test-only PartialEq impl 2022-06-21 18:02:16 +02:00
Kévin Commaille
28d0d90ab5 client-api: Add knock_restricted join rule
According to MSC3787
2022-06-20 19:02:32 +02:00
Kévin Commaille
fdb45296c5 client-api: Stabilize MSC3316 2022-06-20 17:57:12 +02:00
Kévin Commaille
a077c4ea77 client-api: Stabilize MSC2675 2022-06-20 17:44:18 +02:00
Kévin Commaille
0d71ce17da client-api: Stabilize MSC2918 2022-06-20 17:16:12 +02:00
Kévin Commaille
05a28c8097 client-api: Remove pre-v1.3 note in docs 2022-06-20 16:56:57 +02:00
Jonas Platte
fa4ad103f4
client-api: Add missing serde attributes 2022-06-17 12:03:18 +02:00
Doug
aae6fa2843
client-api: Add MSC2965 feature and m.authentication discovery 2022-06-16 18:56:16 +00:00
Jonathan de Jong
34863ca80f
client-api: Add support for mutual rooms endpoint (MSC2666) 2022-06-15 11:45:53 +02:00
Kévin Commaille
70b3d1e55b client-api: Add relations querying endpoint
According to MSC2675
2022-06-14 16:39:03 +02:00
Kévin Commaille
635a6e04a0 Add support for timestamp massaging
According to MSC3316
2022-06-14 12:26:47 +02:00
Kévin Commaille
cad5e81c68 client-api: Add error kinds encountered for restricted rooms
According to MSC3083
2022-06-12 14:28:12 +02:00
Kévin Commaille
cf3aee33f4
client-api: Split uiaa::UserIdentifier::ThirdParty 2022-06-11 22:41:52 +02:00