2288 Commits

Author SHA1 Message Date
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
Jonas Platte
e06c800701
Remove unnecessary clone in expand_derive_outgoing 2020-08-17 21:40:47 +02:00
Amanda Graven
aff914050e
federation-api: Add invite endpoint v1 and v2 2020-08-15 13:33:14 +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
f420082b39 Add get_public_rooms_filtered endpoint to ruma-federation-api 2020-08-14 12:14: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
Isaiah Inuwa
90af430d6b Copy shared directory types to ruma-common 2020-08-14 12:14:21 +02:00
Jonas Platte
29e115cbce
Move all foo/mod.rs to foo.rs 2020-08-14 11:56:33 +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
Jonas Platte
652c40a01b
fixup! Make some request and response types non-exhaustive 2020-08-14 00:34:42 +02:00
Jonas Platte
a165c43460
Make some request and response types non-exhaustive 2020-08-14 00:30:25 +02:00
Jonas Platte
157957ced6
client-api: Update more endpoints to new API conventions 2020-08-14 00:30:20 +02:00
Jonas Platte
a674afe512
client-api: Include add_3pid in r0::account 2020-08-14 00:20:06 +02:00
Devin Ragotzy
a6c1b8f0bd
Parse and emit attributes connected to the request/response defs in ruma_api macro 2020-08-14 00:01:19 +02:00
Jonas Platte
b68deabb86
Fix CI 2020-08-13 22:13:20 +02:00
Jonas Platte
6e2b76c528
Fixup for f210f916 2020-08-13 22:10:25 +02:00
Jonas Platte
148d876acb
Use ServerNameBox in ruma-events, ruma-*-api 2020-08-13 22:01:15 +02:00