523 Commits

Author SHA1 Message Date
Kévin Commaille
f32dcb9254
common: Merge ruma-api into ruma-common 2022-03-03 14:01:51 +01:00
Kévin Commaille
84e1c919c9
client-api: Implement space summary API
According to MSC2946
2022-03-01 15:57:43 +01:00
Kévin Commaille
60b2212a57
client-api: Use Raw for set_*_account_data::Request::data 2022-02-25 22:46:30 +01:00
Kévin Commaille
557a595877 events: Move room::create::RoomType to ruma-common 2022-02-23 21:39:54 +01:00
Kévin Commaille
d987b80c56
client-api: Add new capabilities 2022-02-23 19:46:39 +01:00
Kévin Commaille
6866b2e5c2
client-api: Add LoginInfo::ApplicationService
According to MSC2778
2022-02-23 17:42:57 +01:00
Jonathan de Jong
0be32f989b
ruma-client-api: Add unstable path for MSC2432 2022-02-23 13:37:29 +01:00
Kévin Commaille
edc7b97d05
client-api: Fix thirdparty_id_creds according to clarification in spec 2022-02-23 13:29:49 +01:00
Jonathan de Jong
d0ad3aa419
client-api: Refactor backup APIs to be more descriptive and accurate 2022-02-22 20:59:26 +01:00
Kévin Commaille
771f437d9e
events: Rename MessageEvent to MessageLikeEvent 2022-02-22 20:06:36 +01:00
Kévin Commaille
f78ae4ddde
client-api: Make score and reason optional in room::report_content::Request 2022-02-22 19:23:43 +01:00
Kévin Commaille
412452ea2e
client-api: Add is_guest to account::whoami::Response
According to MSC3069
2022-02-22 18:43:25 +01:00
Kévin Commaille
4ab4614ef0
client-api: Add device_id to account::whoami::Response
According to MSC2033
2022-02-22 18:41:15 +01:00
Kévin Commaille
04cfc7c12d
client-api: Fix backup::update_backup endpoint
Method was POST instead of PUT
Docs were for the create_backup endpoint
2022-02-22 17:13:15 +01:00
Jonathan de Jong
936bb64e84
Update links to spec.matrix.org/v1.2 2022-02-18 19:45:04 +01:00
Kévin Commaille
c5a6cf033f
client-api: Rename UserIdentifier::MatrixId to UserIdOrLocalpart 2022-02-18 14:58:38 +00:00
Jonas Platte
48da0a1a12
client-api: Remove UIAA types m.login.oauth2 and m.login.token
Removed from the specification in v1.1.
2022-02-18 15:50:33 +01:00
Jonas Platte
fa2e3662a4
client-api: Add a borrowing iterator for SignedKeys 2022-02-18 14:56:00 +01:00
Jonas Platte
65e9259a80
client-api: Prefix self-imports / re-exports by 'self::' 2022-02-18 11:08:21 +01:00
Jonathan de Jong
4787bab6ac
client-api: Transition from r0 to versioned endpoints 2022-02-18 11:03:55 +01:00
Jonas Platte
c4d2eacc38
client-api: Update upload_signatures endpoint 2022-02-17 22:28:51 +01:00
Jonas Platte
7a70d96235
Remove PrivOwnedStr() from Debug formatting 2022-02-15 17:46:27 +01:00
Jonas Platte
ee99486978
client-api: Use new path metadata fields 2022-02-13 11:21:49 +01:00
Jonathan de Jong
397727726e
api: Add multiple path support to OutgoingRequest 2022-02-12 13:44:11 +01:00
Jonas Platte
dad84ac1a0
client-api: Clean up invalid r0 paths
These routes never existed under r0.
2022-02-12 12:46:03 +01:00
Jonas Platte
d107e04096
client-api: Use Raw for knock_state.events 2022-02-12 01:07:57 +01:00
Kévin Commaille
b9f32bc632
client-api: Move blurhash to unstable-msc2448 2022-02-11 11:29:21 +00:00
Kévin Commaille
695b0c9ef4
client-api: Finalize moving knocking support out of unstable-pre-spec 2022-02-11 10:59:58 +00:00
Kévin Commaille
739c3d5b16
client-api: Move support for fallback keys out unstable-pre-spec 2022-02-11 10:42:48 +00:00
Kévin Commaille
7a82fc0330
client-api: Move support for room type out of unstable-pre-spec 2022-02-11 10:28:51 +00:00
Kévin Commaille
203e5136fd
client-api: Move reason in membership requests out of unstable-pre-spec 2022-02-11 11:10:38 +01:00
Jonas Platte
e93511e993
client-api: Sort versions in get_supported_versions::Response::known_versions 2022-02-10 14:18:05 +01:00
Jonas Platte
2de652049d
client-api: Remove Option around RoomEventFilter 2022-02-04 13:46:28 +01:00
Jonathan de Jong
19fd35d066
api: Add MatrixVersion enum
Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>
2022-02-04 12:32:12 +01:00
Jonas Platte
9c4bf00f79
Remove remaining unstable-spec features
Everything that was gated behind it was stabilized with Matrix v1.2.
2022-02-02 23:32:27 +01:00
Jonas Platte
62f3d4a649
client-api: Move keys route changes out of unstable-pre-spec 2022-02-02 21:10:11 +01:00
Jonas Platte
39041286b9
Move from_raw_json_value to ruma-serde
… and remove unnecessary copies of it.
2022-02-02 20:58:47 +01:00
Jonas Platte
cbd4457f64
client-api: Move backup out of unstable-pre-spec 2022-02-02 19:45:17 +01:00
Jonas Platte
e6f025e037
client-api: Update spec links for backup endpoints 2022-02-02 19:45:01 +01:00
Jonas Platte
bfb6dc14d9
client-api: Update get_login_types tests 2022-02-02 16:52:22 +01:00
Jonas Platte
5668ebde5a
client-api: Fix serialized form of IdentityProviderBrand and improve its docs 2022-02-02 16:36:47 +01:00
Jonathan de Jong
abd702cfbc
api: Don't extract request path arguments in IncomingRequest impls
… instead requiring callers to pass them as a list of strings.
Parsing is still done within the trait implementations though.
2022-02-02 11:57:29 +01:00
Jonas Platte
f4a8ef6306
client-api: Fix todo comment formatting 2022-01-31 20:42:15 +01:00
Jonathan de Jong
f631685389
client-api: Move token registration to new unstable-spec feature 2022-01-31 20:10:19 +01:00
Jonas Platte
b8396b9cc0
client-api: Fix response serde for get[_latest]_backup 2022-01-28 23:52:40 +01:00
Jonas Platte
82becb86c8
client-api: Remove Raw nesting
… should be unnecessary.
2022-01-27 16:16:35 +01:00
Jonas Platte
fab5c9128f
client-api: Fix broken update_backup::Request deserialization 2022-01-27 15:41:33 +01:00
Jonas Platte
e906de7eee
client-api: Fix broken create_backup::Request deserialization 2022-01-27 15:39:48 +01:00
Jonas Platte
14de5dad29
client-api: Add missing import 2022-01-27 15:30:28 +01:00
Jonas Platte
16e18bdebf
client-api: Be consistent about Raw usage for backup key routes 2022-01-27 15:19:27 +01:00