2727 Commits

Author SHA1 Message Date
Jonas Platte
12b2d65e45
client-api: Fix recently broken test 2021-04-13 15:07:26 +02:00
Jonas Platte
a774771fc9
Remove verbose error types from tests 2021-04-13 14:14:27 +02:00
Jonas Platte
19806cc9d1
client-api: Fix recently broken test 2021-04-13 13:57:28 +02:00
Jonas Platte
355b462431
events-macros: Make methods on Copy type take self by value 2021-04-13 13:17:09 +02:00
Jonas Platte
6585aeb628
api: Make OutgoingResponse a supertrait of EndpointError 2021-04-13 13:15:57 +02:00
Jonas Platte
cc2f2a231b
events: Fix recently broken test 2021-04-13 13:13:02 +02:00
Jonas Platte
499c615f55
events: Clean up some comments 2021-04-13 12:35:25 +02:00
Jonas Platte
58b8797961
events: Remove custom event relations from public API 2021-04-13 12:35:13 +02:00
Devin Ragotzy
72394655fd Fix test using try_into -> try_into_http_response 2021-04-13 01:17:46 +02:00
Devin Ragotzy
f2286f8ae5 Fix confusing variable naming in ruma-api-macros 2021-04-13 01:17:46 +02:00
Jonas Platte
4a150984b4
ci: Remove option from cargo fmt
It is not needed for the command to apply to all workspace members.
2021-04-12 20:39:30 +02:00
Jonas Platte
15d92728ca
api-macros: Silence clippy::inconsistent_struct_constructor in generated code 2021-04-12 20:38:23 +02:00
Jonas Platte
15433a9751
api-macros: Fix a typo 2021-04-12 20:38:23 +02:00
Jonas Platte
e7a31f1fd1
api-macros: Split response code generation into more files 2021-04-12 20:38:23 +02:00
Jonas Platte
59d47227a6
api-macros: Split request code generation into more files 2021-04-12 20:38:23 +02:00
Jonas Platte
0e197aae0b
api: Update try_from_http_request to be generic like try_from_http_response 2021-04-12 20:38:22 +02:00
Jonas Platte
23ba0bc164
api-macros: Refactor request code generation 2021-04-12 20:38:22 +02:00
Jonas Platte
a20f03894e
api-macros: Inline request codegen methods 2021-04-12 20:38:22 +02:00
Jonas Platte
2e2609b752
api-macros: Fix a typo 2021-04-12 20:38:22 +02:00
Jonas Platte
b122dcc135
api: Introduce OutgoingResponse trait 2021-04-12 20:38:22 +02:00
Jonas Platte
6f5c1ee953
api: Stop storing the http::Request in RequestDeserializationError 2021-04-12 20:38:22 +02:00
Jonas Platte
2ac020173b
api: Introduce IncomingResponse trait 2021-04-12 20:38:22 +02:00
Jonas Platte
effb53444d
api: Stop storing the http::Response in ResponseDeserializationError 2021-04-12 20:38:22 +02:00
Kévin Commaille
d189c5ea29 xtask: Handle pre-releases in release 2021-04-12 20:12:28 +02:00
Kévin Commaille
508aa6dac5 xtask: Handle macros crates in release 2021-04-12 20:12:28 +02:00
Kévin Commaille
b89a18fa16
client-api: Fix check warnings and tests with no feature enabled 2021-04-12 18:57:04 +02:00
Johannes Becker
dbc6bb29d0
api: Add trait OutgoingRequestAppserviceExt
Provides the method `try_into_http_request_with_user_id`.
2021-04-12 13:30:04 +02:00
Kévin Commaille
9cf44a4475
events: Fix test error with unstable-pre-spec feature flag 2021-04-12 12:54:48 +02:00
Kévin Commaille
19e849a82a
docs: Document uses of the unstable-pre-spec feature flag 2021-04-12 11:31:01 +02:00
Timo Kösters
63421dfca6
federation-api: Improve create_invite endpoint 2021-04-12 11:01:34 +02:00
Jonas Platte
eae0b58163
ci: Clean up and add audit task 2021-04-11 14:02:29 +02:00
Jonas Platte
dd8493a0fc
ruma: Introduce full feature 2021-04-11 13:26:44 +02:00
Abhik Jain
563e891a4a
xtask: Add ci command 2021-04-11 12:11:45 +02:00
Jonas Platte
2803ee3721
events: Add public API for custom / unsupported message types 2021-04-11 12:08:31 +02:00
Kévin Commaille
e2728a7081
identifiers: Make MxcUri less strict 2021-04-11 10:15:37 +02:00
Jonas Platte
a68b854734
api: Refactor macro code and improve error handling
* Inline lots of methods that were only used once
* Create a separate error case for missing headers
2021-04-10 14:50:01 +02:00
Jonas Platte
110aa58300
ci: Clean up build script for MSRV and rename it 2021-04-10 11:58:54 +02:00
Abhik Jain
90082d02f7
identity-service-api: Add ephemeral key validity endpoint 2021-04-10 09:38:42 +02:00
Jonas Platte
20124cb215
api-macros: Small formatting fixes 2021-04-09 19:34:03 +02:00
Abhik Jain
455eb31c74
api-macros: Turn request codegen helper functions into methods 2021-04-09 19:28:33 +02:00
Akshay
06a2a27a99
api: Check http method in try_from_http_request 2021-04-09 17:21:05 +02:00
Jonas Platte
85f152fccc
api: Normalize std::fmt import 2021-04-09 12:51:50 +02:00
Jonas Platte
7acd73ec9a
client: Rewrap some lines 2021-04-09 12:14:35 +02:00
Jonas Platte
1ab1a24e1d
Remove outdated documentation 2021-04-09 10:58:37 +02:00
Adam
134b64af81
identity-service-api: Add public key retrieval endpoint 2021-04-08 18:33:28 +02:00
Jonas Platte
ddaaca1ec4
identifiers: Fix line wrapping 2021-04-08 14:05:00 +02:00
Jonas Platte
dd80c2e0ab
identity-service-api: Fix a typo 2021-04-08 14:02:34 +02:00
Jonas Platte
2923f1066e
serde: Add test for issue 446 2021-04-07 18:42:18 +02:00
Jonas Platte
5de8d3be5d
serde: Rewrite some tests to use assert_matches 2021-04-07 18:35:04 +02:00
Kévin Commaille
99b89c8267
docs: Fix warning during docs build 2021-04-07 17:08:51 +02:00