146 Commits

Author SHA1 Message Date
Jonas Platte
e7dde6850c
client-api: Update profile endpoints to the new API standards 2020-09-03 17:44:34 +02:00
Jonas Platte
d6d5ad84c1
client-api: Update presence endpoints to the new API standards 2020-09-03 17:38:22 +02:00
Jonas Platte
ce402604e9
client-api: Update membership endpoints to the new API standards 2020-09-03 17:34:39 +02:00
Jonas Platte
53162321c9
client-api: Update media endpoints to the new API standards 2020-09-03 17:31:50 +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
38913946eb
client-api: Update a few more endpoints to the new API standards 2020-08-30 22:53:13 +02:00
Jonas Platte
e2406cc8f0
client-api: Update directory endpoints to the new API standards 2020-08-30 22:44:27 +02:00
Jonas Platte
76058b8170
client-api: Update thirdparty endpoints to the new API standards 2020-08-30 22:33:05 +02:00
Jonas Platte
5407a95a99
client-api: Update tag endpoints to the new API standards 2020-08-30 22:20:38 +02:00
Jonas Platte
961d45a581
client-api: Update device endpoints to the new API standards 2020-08-29 23:13:42 +02:00
Jonas Platte
d1f409bcb6
client-api: Update config and contact endpoints to the new API standards 2020-08-29 22:56:27 +02:00
Jonas Platte
cf9b83495c
client-api: Update backup endpoints to the new API standards 2020-08-29 22:37:06 +02:00
Jonas Platte
fec07a7426
Update lots of types to the new API standards 2020-08-28 23:37:22 +02:00
Jonas Platte
ab6c56b7de
Drop unnecessary named lifetimes 2020-08-28 21:32:58 +02:00
Devin Ragotzy
409fbcc9d7
Fixes get_turn_server_info path by prepending a "/" 2020-08-26 21:42:42 +02:00
Jonas Platte
e4cd59e7e5
client-api: Various API updates 2020-08-26 11:30:39 +02:00
Jonas Platte
7c31fceb61
client-api: Fix a bunch of issues for room::create_room 2020-08-25 16:20:07 +02:00
Jonas Platte
01c7eef72f
Consistently put an empty line after inner module docs 2020-08-24 21:42:48 +02:00
Jonas Platte
417b65def5
client-api: Make two more request / response pairs non-exhaustive 2020-08-21 20:40:14 +02:00
Jonas Platte
4215feb815
client-api: Add language field to search_users request 2020-08-21 20:40:14 +02:00
Alejandro Domínguez
d8340db310
Group fields in create_typing_event 2020-08-21 20:35:25 +02:00
Jonas Platte
64c5159f04
federation-api: Add lots of non_exhaustive attributes, other minor fixes 2020-08-19 02:04:10 +02:00
Jonas Platte
51e96fb915
client-api: Fix timeline_serde test 2020-08-18 20:17:27 +02:00
Timo
6aba097b10
Fix search::search_events event types 2020-08-18 13:18:49 +02:00
Jonas Platte
6df02fc7e2
client-api: Make more types in search_events non-exhaustive 2020-08-18 04:14:40 +02:00
Jonas Platte
d7c977e593
Derive Default for lots of types 2020-08-18 03:36:05 +02:00
Jonas Platte
647f56e0a1
client-api: Make structs in sync_events non-exhaustive 2020-08-18 03:22:13 +02:00
Jonas Platte
8b362e4b63
Fix double space 2020-08-18 03:12:30 +02:00
Jonas Platte
6d40361c07
client-api: Add missing serde attrs to struct fields in sync_events 2020-08-18 03:12:29 +02:00
Jonas Platte
277800b980
client-api: Make sync_events request and response types non-exhaustive 2020-08-18 00:18:11 +02:00
Jonas Platte
83140b585c
client-api: Add From conversions for sync_events::Filter 2020-08-18 00:10:00 +02:00
Jonas Platte
7764671c36
Resolve FIXME 2020-08-18 00:05:35 +02:00
Jonas Platte
679f824c67
client-api: Add retry_after_ms field to ErrorKind::LimitExceeded 2020-08-18 00:00:17 +02:00
Jonas Platte
6b25e9a90c
client-api: Add ErrorKind::CannotLeaveServerNoticeRoom 2020-08-17 23:56:45 +02:00
Jonas Platte
674f2eeb8b
client-api: Add ErrorKind::ResourceLimitExceeded 2020-08-17 23:55:06 +02:00
Jonas Platte
962b3da26b
client-api Add room_version field to ErrorKind::IncompatibleRoomVersion 2020-08-17 23:52:06 +02:00
Jonas Platte
b5e660893e
client-api: Add soft_logout field to ErrorKind::UnknownToken 2020-08-17 23:45:38 +02:00
Jonas Platte
578f6c8925
Replace r0::room::create_room::InitialStateEvent with ruma_events::InitialStateEvent 2020-08-17 23:36:00 +02:00
Jonas Platte
d6beef3d07
Make remaining filter types lifetime-generic 2020-08-17 22:48:53 +02:00
Jonas Platte
30a0a39d2b
Outgoing derive: Replace incoming_no_deserialize with incoming_derive(!Deserialize) 2020-08-17 22:08:56 +02:00
Jonas Platte
a1ee6c74c0
Update FilterDefinition to be lifetime-generic 2020-08-17 22:04:02 +02:00
Jonas Platte
e74158b262
Update more endpoints 2020-08-15 02:23:30 +02:00
Jonas Platte
640c5602d5
Make accidentally private fields public 2020-08-15 02:19:26 +02:00
Jonas Platte
9e8f4a3437
Use AnyStateEventContent in send_state_event_for_key 2020-08-15 00:40:39 +02:00
Jonas Platte
0babfb489c
Use AnyStateEventContent in send_state_event_for_empty_key 2020-08-15 00:40:11 +02:00
Jonas Platte
aead9fa852
Use AnyMessageEventContent in send_message_event 2020-08-15 00:37:39 +02:00
Devin Ragotzy
456505081b
Fix rooms/{roomId}/aliases and rooms/{roomId}/report endpoint metadata fields 2020-08-14 15:43:21 +02:00
Isaiah Inuwa
eaf3fd41cc Use shared directory types from ruma-common in ruma-federation-api and ruma-client-api 2020-08-14 12:14:21 +02:00
Jonas Platte
d6c15e5769
client-api: More borrowing 2020-08-14 01:40:35 +02:00
Jonas Platte
7557ed438b
Replace last explicit use of Box<ServerName> outside ruma-identifiers 2020-08-14 01:08:16 +02:00