Jonas Platte
3d1ab0cd3f
api-macros: Fix docs for associated METADATA types
2020-09-11 21:09:55 +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
Julian Tescher
ebd1387bac
federation-api: Add retrieval endpoints
2020-09-11 19:12:48 +02:00
Devin Ragotzy
acd829336e
If no power_level event default to 0 power_level for user
2020-09-08 16:59:29 -04:00
Julian Tescher
c3a074059f
Make custom enum variants doc hidden
2020-09-08 01:06:23 +02:00
Julian Tescher
a2dbeeac71
federation-api: Update ts format for create_invite ( #258 )
2020-09-08 01:00:06 +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
Devin Ragotzy
a3ae741699
Add unstable-exhaustive-types flag to ruma-common
2020-09-03 20:55:11 +02:00
Jonas Platte
19af16850c
Fix ruma_identifiers::device_id!
2020-09-03 20:23:16 +02:00
Jonas Platte
03c636caf0
identifiers: Replace single-char push_str with just push
2020-09-03 20:21:30 +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
Devin Ragotzy
8ca1726e98
Remove RedactAllowed enum in favor of bool
2020-09-01 15:14:09 -04:00
Devin Ragotzy
3cc4ae2bf7
Remove the last few synapse-ism using only spec event auth
2020-08-31 14:53:20 -04:00
Devin Ragotzy
1eb89941b7
Rename power_event -> control_event and add more docs
2020-08-31 07:21:30 -04: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
532e7a7233
events: Hide EventType::Custom
2020-08-29 23:39:08 +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
Devin Ragotzy
8dbd9aae0b
Add error type, more docs, and conduit sorting test
...
Not resolve sorting just topo/mainline
2020-08-29 16:33:40 -04:00
q-b
e3de44ef2f
Fix StateStore get_event() signature in README
...
5f77bc11a2
2020-08-29 15:18:03 -04:00
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
394d26744a
Use own Error type for all errors
2020-08-27 20:03:19 -04:00
Devin Ragotzy
b846aec94a
Replace membership auth with timo's logic
2020-08-27 15:46:36 -04:00
Devin Ragotzy
aadccdee64
Fix DM room creator rejoining
...
Check only the previous event is a RoomCreate event not that one exists
2020-08-27 09:08:52 -04:00
Devin Ragotzy
17958665f6
Update docs in event_auth and add first few event_auth tests
2020-08-26 20:51:39 -04:00
Devin Ragotzy
fbcd26c6d2
All of event_auth follows the spec strictly, all the synapse-isms removed
2020-08-26 20:08:48 -04:00
Devin Ragotzy
409fbcc9d7
Fixes get_turn_server_info path by prepending a "/"
2020-08-26 21:42:42 +02:00
Devin Ragotzy
025c2df752
Allow join room creator only if create event has no prev_events
2020-08-26 11:04:30 -04:00
Devin Ragotzy
36cec22cf3
Follow spec for is_membership_change_allowed
...
Add checks for caller in room and remove unspec'ed synapse check leave
-> join with join_rule = invite
2020-08-26 10:45:06 -04:00
Devin Ragotzy
e8acae05ff
Add test testing conduits event sorting logic
...
This could possibly be turned into another public function for exporting.
A list of ruma::Pdu (events) and another list of ruma::Pdu (auth_events)
and returns the sorted list of events.
2020-08-26 07:10:47 -04: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