2746 Commits

Author SHA1 Message Date
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
Jonas Platte
d883debe07
ruma: Re-export MxcUri, mxc_uri! from ruma-identifiers 2021-04-05 21:17:43 +02:00
Jonas Platte
444239cc10
common: Use RoomId in PushConditionCtx 2021-04-05 20:42:54 +02:00
Jonas Platte
a07eb4ecff
client-api: Fix deserialization of recently changed state endpoint requests 2021-04-05 19:37:45 +02:00
Jonas Platte
466b8679d6
Replace all uses of ruma_serde::empty::Empty
… and remove it from the public API.
2021-04-05 18:57:42 +02:00
Kévin Commaille
ae6183ce6e
xtask: Make release check before each step and ask to continue 2021-04-05 17:40:18 +02:00
Jonas Platte
2805dd733b
serde: Improve error handling in time modules 2021-04-05 17:27:13 +02:00
Jonas Platte
2f1b9f0979
client-api: Merge _for_empty_key endpoints into their more general siblings 2021-04-05 16:04:28 +02:00
Louis de Wardt
ea33128014
Use Github Actions to automatically deploy documentation 2021-04-05 16:03:11 +02:00
Jonas Platte
4b05ee5f0a
client-api: Use ruma_api! for endpoints with special request types 2021-04-05 15:11:59 +02:00
Jonas Platte
345d0cf990
api-macros: Allow ruma_api! invocation without request / response 2021-04-05 14:49:40 +02:00
Jonas Platte
95fef0b0ec
api-macros: Make helper functions private 2021-04-05 14:13:49 +02:00
Jonas Platte
7cb7e6a211
api-macros: Move most parts of api and util into more specific modules 2021-04-05 14:05:43 +02:00
Jonas Platte
b4da6b784a
Replace non-renaming uses of serde_json::{from_str, to_string} 2021-04-05 13:33:59 +02:00
Jonas Platte
1878e8aae0
Replace some turbofishes with type annotations 2021-04-05 13:13:28 +02:00
Jonas Platte
536a8aea1b
api-macros: Replace ToTokens implementations with inherent methods 2021-04-05 12:57:50 +02:00