Jonas Platte
e7f55ea2c6
Rewrap comments
2020-11-27 18:22:18 +01:00
Alejandro Domínguez
872701dc83
Introduce the unstable-synapse-quirks feature in ruma-events
2020-11-20 14:31:10 +01:00
Jonas Platte
d809066c9c
federation-api: Minor fixes to create_join_event
2020-11-18 19:36:32 +01:00
Guillem Nieto
b168c38d83
Use Pdu
on create_join_event
endpoints
...
Sending requests to this endpoints to Synapse/Dendrite homeservers leads
to some deserialization errors.
After claryfing it
(https://github.com/matrix-org/matrix-doc/issues/2856 ), `room_id` and
`event_id` fields are expected to appear on request's body and also on
path params. It seems that there's some initiative, in any case, to
remove the parameters from path:
https://github.com/matrix-org/matrix-doc/issues/2330
2020-11-18 19:30:23 +01:00
Jonas Platte
0f64a6ea39
Fix new clippy warnings
2020-11-10 16:48:35 +01:00
Jonas Platte
374603f51c
Rename SigningKeyId to ServerSigningKeyId
2020-11-08 19:24:48 +01:00
Isaiah Inuwa
b793a790db
Rename ServerKeyId to SigningKeyId
2020-11-08 13:21:55 +01:00
Jonas Platte
d34a270919
Allow custom values for more enums
2020-11-02 00:29:47 +01:00
Devin Ragotzy
c04a9e71c5
Add the unstable-pre-spec feature to the federation-api crate
2020-10-28 14:54:01 +01:00
Jonas Platte
3b3ef1cb75
Remove test_
prefix from lots of test functions
2020-10-25 23:11:08 +01:00
Timo Kösters
6f821835f1
federation-api: Wrap events jn get_missing_events in Raw
2020-10-18 11:25:24 +02:00
Timo Kösters
90bd4874e3
Remove Option wrapper around directory filters
2020-10-17 23:06:52 +02:00
Amanda Graven
6a1c452ac9
Add generic query endpoint
2020-10-10 01:12:53 +02:00
Devin Ragotzy
8049631827
Make get_missing_events Request/Response fields pub
2020-10-02 18:05:49 -04:00
Jonas Platte
006582e3f2
Various README updates
2020-09-29 20:30:33 +02:00
Amanda Graven
7412664c26
Correct metadata for bind_callback endpoint
2020-09-29 19:35:56 +02:00
Devin Ragotzy
38daf33b47
Add Raw wrapper to get_room_state endpoint
2020-09-27 18:01:08 +02:00
Jonas Platte
e0e7f901d0
Merge license sections in README.md's
2020-09-26 16:26:32 +02:00
Jonas Platte
565e3a1ee7
Merge LICENSE files
...
The Copyright notice is taken out because no single person has a
copyright to the entire codebase.
2020-09-26 15:52:52 +02:00
Amanda Graven
c08d350343
federation-api: Add third party invite endpoint
2020-09-25 18:59:50 +02:00
Jonas Platte
7f94479c2d
federation-api: Rewrap changelog
...
and regroup imports in 'Add endpoints' entry.
2020-09-25 15:42:53 +02:00
Amanda Graven
d562eef001
Add 3PID binding callpack endpoint v1
2020-09-25 15:40:58 +02:00
q-b
046f89a050
federation-api: Update changelog
2020-09-25 13:36:00 +02:00
Jonas Platte
e1bedc819c
Use ruma_identifiers::ServerName in more endpoints
...
Co-authored-by: Timo Kösters <timo@koesters.xyz>
2020-09-21 23:12:45 +02:00
Jonas Platte
2bd533c085
federation-api: Fix missing Raw<> for Pdu, Edu
2020-09-21 23:07:22 +02:00
Jonas Platte
7aec43c323
Fix missing serde(default) attributes
2020-09-21 23:06:20 +02:00
Vincent Lee
d36d005b97
Change requires_authentication: bool
to authentication: AuthScheme
2020-09-18 16:28:51 +02:00
Jonas Platte
2112ae00c6
federation-api: Make EventTemplate non-exhaustive
2020-09-17 22:09:51 +02:00
Jonas Platte
2b01a8211a
federation-api: Rewrap doc comments
2020-09-17 22:00:22 +02:00
Jonas Platte
15e1a4bea8
Remove origin field from transactions and pdus for #[feature = "unstable-pre-spec"]
...
See https://github.com/matrix-org/synapse/issues/3816
Co-authored-by: Timo <timo@koesters.xyz>
2020-09-17 21:24:02 +02:00
q-b
192db0371c
Add leave event endpoints
2020-09-17 20:04:41 +02:00
q-b
b05121877b
Merge room_state and invite_response serde modules
2020-09-16 13:14:33 +02:00
Jonas Platte
7426a4e359
Fix small code style inconsistency
2020-09-14 22:19:13 +02:00
Jonas Platte
481ca6b415
federation-api: Use ServerKeys for verify_keys, old_verify_keys
2020-09-13 17:12:48 +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
Julian Tescher
ebd1387bac
federation-api: Add retrieval endpoints
2020-09-11 19:12:48 +02:00
Julian Tescher
a2dbeeac71
federation-api: Update ts format for create_invite ( #258 )
2020-09-08 01:00:06 +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
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
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
Amanda Graven
dd87484a92
federation-api: Add get_missing_events endpoint v1
2020-08-21 20:30:11 +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
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