29 Commits

Author SHA1 Message Date
Julian Sparber
f053200462 ruma-client-api: Use Mxc type
This also fixes the wrong mxc url in the test for joined_members. Mxc
urls don't use a ":" as seperator between server name and media id.
2021-03-25 13:04:23 +01:00
Takayuki Maeda
eb3763b301 add test for deserializing room_member 2021-03-15 16:46:15 +01:00
Takayuki Maeda
9cfa3b075c deserialize empty string to none for avatar_url 2021-03-15 16:46:15 +01:00
Jonas Platte
95d21552e0
Use a dedicated method for conversion from http::Request to Ruma request types 2020-12-13 12:59:21 +01:00
Jonas Platte
5562a23aaa
Move Raw, Outgoing and all macro code from ruma-common to ruma-serde 2020-11-28 03:45:39 +01:00
Jonas Platte
dd6446822b
Derive PartialEq and Eq for all string-wrapping enums 2020-11-02 00:29:47 +01:00
Jonas Platte
d34a270919
Allow custom values for more enums 2020-11-02 00:29:47 +01:00
Jonas Platte
fdd326edf7
Move Outgoing from ruma-api to ruma-common
The derive macro moves from ruma-api-macros to a new ruma-common-macros
crate likewise.
2020-09-22 21:35:10 +02:00
Vincent Lee
d36d005b97
Change requires_authentication: bool to authentication: AuthScheme 2020-09-18 16:28:51 +02:00
Jonas Platte
67d113ba57
api: Add non_exhaustive attribute to request and reponse types through the macro 2020-09-11 21:01:02 +02:00
Jonas Platte
ce402604e9
client-api: Update membership endpoints to the new API standards 2020-09-03 17:34:39 +02:00
Nicholas Young
7ccdaa34d6 feature gate exhaustive types for all spec crates:
- ruma-appservice-api
- ruma-client-api
- ruma-events
- ruma-federation-api
2020-09-01 18:39:41 -06:00
Jonas Platte
e4cd59e7e5
client-api: Various API updates 2020-08-26 11:30:39 +02:00
Jonas Platte
01c7eef72f
Consistently put an empty line after inner module docs 2020-08-24 21:42:48 +02:00
Jonas Platte
d7c977e593
Derive Default for lots of types 2020-08-18 03:36:05 +02:00
Jonas Platte
e74158b262
Update more endpoints 2020-08-15 02:23:30 +02:00
Jonas Platte
a165c43460
Make some request and response types non-exhaustive 2020-08-14 00:30:25 +02:00
Jonas Platte
148d876acb
Use ServerNameBox in ruma-events, ruma-*-api 2020-08-13 22:01:15 +02:00
Jonas Platte
a00129fcfb
Borrow strings and identifiers in membership::ThirdPartySigned and dependent endpoints 2020-08-13 21:21:57 +02:00
Jonas Platte
dffa60d70f
client-api: Update leave_room to new API conventions 2020-08-11 02:03:14 +02:00
Jonas Platte
b20768c1b1
Integrate ruma-client 2020-08-11 01:41:23 +02:00
Jonas Platte
da78e215f8
Use thirdparty network types into ruma_common 2020-08-09 00:45:35 +02:00
Jonas Platte
9bc6ce9201
Use identifier macros for tests 2020-08-05 00:12:44 +02:00
Isaiah Inuwa
ade43c8516 Use ServerName everywhere 2020-07-18 07:50:53 -05:00
skim
b260a13d4b
move and rename ruma_events::json::EventJson to ruma_common::raw::Raw 2020-07-16 07:31:36 -07:00
Jonas Platte
8683901e14
Don't to_string() string literals 2020-07-14 22:11:05 +02:00
Ragotzy.devin
5376a3fc6e
Add colons to ruma_api! macro after each keyword 2020-06-30 13:06:37 +02:00
Jonas Platte
43ae129ce2
Add a test to get_member_events 2020-06-14 01:09:52 +02:00
Jonas Platte
6329cd471e Add 'ruma-client-api/' from commit '632eb9d520028816c5fb7224bd0aca8d1e3793f1'
git-subtree-dir: ruma-client-api
git-subtree-mainline: e5233c49f610f866e3c9bf8529a0613171fc2fe4
git-subtree-split: 632eb9d520028816c5fb7224bd0aca8d1e3793f1
2020-06-05 17:11:09 +02:00