2210 Commits

Author SHA1 Message Date
Jonas Platte
fec07a7426
Update lots of types to the new API standards 2020-08-28 23:37:22 +02:00
Jonas Platte
bfe4e9fa27
Add ruma_serde::is_empty
This will be used for serde attributes that are copied to incoming types
and thus actually have to function for multiple types.
2020-08-28 22:53:40 +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
650438695a
Heavily reduce noise in CI output 2020-08-25 16:25:05 +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
3b36a974fa
Clean up dependencies 2020-08-25 16:01:30 +02:00
Jonas Platte
01c7eef72f
Consistently put an empty line after inner module docs 2020-08-24 21:42:48 +02:00
Jonas Platte
21eb1e8e41
federation-api: Fix various issues 2020-08-24 21:39:50 +02:00
Jonas Platte
6aee819d5d
federation-api: get_public_rooms_filtered/mod.rs => get_public_rooms_filtered.rs 2020-08-24 21:14:07 +02:00
Jonas Platte
f84287038e
federation-api: Make remaining request / response types non-exhaustive 2020-08-23 18:00:58 +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
Amanda Graven
dd87484a92
federation-api: Add get_missing_events endpoint v1 2020-08-21 20:30:11 +02:00
Devin Ragotzy
a8b4bad684
Support optional header values in request/response types 2020-08-21 19:53:46 +02:00
Jonas Platte
5182015b76
appservice-api: Make remaining request / response types non-exhaustive 2020-08-20 20:59:41 +02:00
Jonas Platte
135bea8562
federation-api: More small improvements 2020-08-20 02:13:57 +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
fbeae794c1
common: Make remaining fully public struct non-exhaustive 2020-08-19 01:38:23 +02:00
Jonas Platte
18c507bf49
federation-api: Make some types non-exhaustive 2020-08-18 22:29:13 +02:00
Jonas Platte
c798ef1fad
federation-api: Fix misssing path parameter in get_devices 2020-08-18 22:26:34 +02:00
Jonas Platte
c6b4fe1e50
federation-api: Wrap Pdu in Raw in get_event_authorization 2020-08-18 22:25:45 +02:00
Jonas Platte
51e96fb915
client-api: Fix timeline_serde test 2020-08-18 20:17:27 +02:00
Jonas Platte
8f31f40b81
Fix formatting 2020-08-18 13:55:19 +02:00
Timo
6aba097b10
Fix search::search_events event types 2020-08-18 13:18:49 +02:00
Timo
58abd51d1e
Fix create_join_event and create_join_event_template endpoints 2020-08-18 13:17:50 +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
a9757b13ae
client: Require a next_batch token for Client::sync 2020-08-18 00:25:41 +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
3428cabdca
Resolve TODO 2020-08-18 00:03:24 +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
6006e0b52e
Rename local variable 2020-08-17 23:24:13 +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
f101611c3d
Add incoming_derive to Outgoing derive macro 2020-08-17 22:03:56 +02:00
Jonas Platte
4a52931af7
Fix outdated docs on Outgoing derive 2020-08-17 21:40:48 +02:00