157 Commits

Author SHA1 Message Date
Jonas Platte
219cea9c1e
client-api: Add some missing constructors / non-exhaustive attributes 2020-09-17 00:07:25 +02:00
Jonas Platte
8cd3df1465
Remove questionable use of Raw
The notifications field was never really meant to use it.
2020-09-15 11:28:44 +02:00
Jonas Platte
4a9b1aeb3c
Remove borrowing from types in ruma_common::encryption
Until a better solution can be found for types that appear both in
request & response types and would otherwise require incoming types to
appear as fields of outgoing types.
2020-09-12 02:50:57 +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
bb9b2b4a06
client-api: Update state endpoints to the new API standards 2020-09-11 20:39:52 +02:00
Jonas Platte
de22a06976
client-api: Update push endpoints to the new API standards 2020-09-11 20:23:17 +02:00
Devin Ragotzy
bedffcd45a
Move PusherData to ruma-common 2020-09-11 19:18:52 +02:00
Devin Ragotzy
55a67fbcf4
Fix a typo 2020-09-11 19:17:19 +02:00
Jonas Platte
9f814a2415
client-api: Update room endpoints to the new API standards 2020-09-06 01:31:14 +02:00
Jonas Platte
a012ad3532
client-api: Update include_leave in RoomFilter from Option<bool> to bool 2020-09-03 21:23:06 +02:00
Jonas Platte
56d2623b7d
client-api: Improve docs for contains_url in RoomEventFilter 2020-09-03 21:22:47 +02:00
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