2861 Commits

Author SHA1 Message Date
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
Kévin Commaille
d3ee7c4d74
docs: Fix some wording issues 2021-04-07 16:55:59 +02:00
Kévin Commaille
154f9b2d58
docs: Document compat feature uses 2021-04-07 12:47:44 +02:00
Kévin Commaille
2f406e63a4
docs: Add missing doc_cfg 2021-04-07 12:17:36 +02:00
Kévin Commaille
e049e45423
docs: Add missing dots 2021-04-07 12:15:37 +02:00
Kévin Commaille
963400979b
docs: Harmonize ruma modules descriptions 2021-04-07 12:14:49 +02:00
Kévin Commaille
b3bbd31fa3
docs: Improve ruma crate documentation 2021-04-07 12:07:17 +02:00
Jonas Platte
bd61e97b96
identifiers: Fix hidden _macros module being visible in rustdoc 2021-04-06 19:30:07 +02:00
Kévin Commaille
b0ae341e87 docs: Use docsrs config attributes 2021-04-06 18:37:07 +02:00
Jonas Platte
a310ccc318
client-api: Move some tests behind feature flags 2021-04-06 17:20:47 +02:00
Jonas Platte
22d9f30c67
client: Clean up dependency features 2021-04-06 13:27:08 +02:00
Kévin Commaille
0cf02c7d4b
Add unstable documentation to readme 2021-04-06 10:16:30 +02:00
Jonas Platte
74342765bb
events: Make ForwardedRoomKeyToDeviceEventContent non-exhaustive 2021-04-06 01:12:51 +02:00
Jonas Platte
c523fa0f74
Use ruma_api::try_deserialize in manual endpoint implementations 2021-04-05 22:33:05 +02:00
Jonas Platte
afec9f0fbf
api-macros: Generate cleaner code 2021-04-05 22:16:46 +02:00
Jonas Platte
34243d49ba
events: Add as_str and as_bytes methods for EventType 2021-04-05 21:49:50 +02:00
Jonas Platte
0dcbec5fa7
identifiers: Add more conversion methods and a trait impl 2021-04-05 21:41:54 +02:00