119 Commits

Author SHA1 Message Date
Jonas Platte
329537afef
Release new versions of ruma-*-api
* ruma-appservice-api 0.2.0-alpha.2
* ruma-client-api 0.10.0-alpha.2
* ruma-federation-api 0.1.0-alpha.1
* ruma-identity-service-api 0.0.1
* ruma-push-gateway-api 0.0.1
2021-01-02 15:17:32 +01:00
Jonas Platte
8e247a5ce2
Release ruma-api 0.17.0-alpha.2 2021-01-02 14:58:00 +01:00
Jonas Platte
b95ab27272
Release ruma-events 0.22.0-alpha.2 2021-01-02 14:49:00 +01:00
Jonas Platte
ecfb8a4a4d
Relase ruma-common 0.3.0-alpha.1 2021-01-02 14:34:17 +01:00
Jonas Platte
6d468b88a3
Release ruma-identifiers-validation 0.2.0 and ruma-identifiers 0.18.0-alpha.1 2021-01-02 13:31:08 +01:00
Jonas Platte
2ebd827355
Release ruma-serde 0.3.0 2021-01-02 13:04:39 +01:00
Jonas Platte
f55e2b2cc6
Bump dependency requirements 2020-12-24 02:48:01 +01:00
Jonas Platte
3989e52844
Upgrade js_int to 0.2.0 2020-12-24 01:53:30 +01:00
Jonas Platte
87e821094c
federation-api: Move Visitor declaration into deserialize function 2020-12-15 14:35:46 +01:00
Jonas Platte
e1d621ebd0
Re-apply "federation-api: Make pdus of transactions optional under unstable-pre-spec"
This reverts commit cf7718107267eb65cc2b87a60dd343ce46fd70c1.
2020-12-13 11:55:06 +01:00
Jonas Platte
cf77181072
Revert "federation-api: Make pdus of transactions optional under unstable-pre-spec"
This reverts commit 5a65634a28cd007416fa2d4b665ab60e5d46d920.
2020-12-10 16:40:33 +01:00
Timo Kösters
5a65634a28
federation-api: Make pdus of transactions optional under unstable-pre-spec 2020-12-10 15:42:14 +01:00
Devin Ragotzy
f17c5fc619
Use Raw<Pdu> in get_event Response over Pdu 2020-12-06 12:20:48 +01:00
Jonas Platte
5562a23aaa
Move Raw, Outgoing and all macro code from ruma-common to ruma-serde 2020-11-28 03:45:39 +01:00
Jonas Platte
f8bf8b3fb8
federation-api: Rename SigningKey => ServerSigningKeys 2020-11-28 00:19:25 +01:00
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