150 Commits

Author SHA1 Message Date
Jonas Platte
f818b53ca1
Make conversions from Ruma types to http types generic
So users can select the Body type that makes the most sense for them.
2021-04-23 13:26:10 +02:00
Jonas Platte
108f13b3b0
Release ruma-federation-api 0.1.0-alpha.2 2021-04-17 19:58:34 +02:00
Jonas Platte
de949815af
Release ruma-api 0.17.0-alpha.4 2021-04-17 19:39:02 +02:00
Jonas Platte
b3c646a2b7
Release ruma-events 0.22.0-alpha.3 2021-04-17 19:33:51 +02:00
Jonas Platte
6581eb8606
Release ruma-common 0.5.0 2021-04-17 19:03:42 +02:00
Devin Ragotzy
992266b38e
federation-api: Create Edu enum 2021-04-17 00:28:49 +02:00
Jonas Platte
10fb4c9910
Release ruma-common 0.4.0 2021-04-13 21:29:26 +02:00
Jonas Platte
2a8b4a0478
Release ruma-identifiers 0.19.0 2021-04-13 21:12:24 +02:00
Timo Kösters
6394609feb
federation-api: Clean up create_leave_event and get_leave_event 2021-04-13 15:10:01 +02:00
Devin Ragotzy
72394655fd Fix test using try_into -> try_into_http_response 2021-04-13 01:17:46 +02:00
Kévin Commaille
19e849a82a
docs: Document uses of the unstable-pre-spec feature flag 2021-04-12 11:31:01 +02:00
Timo Kösters
63421dfca6
federation-api: Improve create_invite endpoint 2021-04-12 11:01:34 +02:00
Kévin Commaille
154f9b2d58
docs: Document compat feature uses 2021-04-07 12:47:44 +02:00
Kévin Commaille
963400979b
docs: Harmonize ruma modules descriptions 2021-04-07 12:14:49 +02:00
Jonas Platte
466b8679d6
Replace all uses of ruma_serde::empty::Empty
… and remove it from the public API.
2021-04-05 18:57:42 +02:00
Jonas Platte
1bf4157a89
Add favicon and logo URLs for rustdoc 2021-04-05 11:42:07 +02:00
Kévin Commaille
b1470261e0 federation-api: Replace String with MxcUri for avatar_url 2021-04-05 08:10:21 +02:00
Jonas Platte
39a8c26263
Release ruma-identifiers 0.18.1 2021-04-03 17:56:01 +02:00
Jonas Platte
83ee0e72e2
Release ruma-common 0.3.1 2021-04-03 17:21:55 +02:00
Jonas Platte
36df3e341a
Release ruma-common 0.3.0 2021-03-31 13:47:24 +02:00
Jonas Platte
b79fd0c3aa
Release ruma-identifiers 0.18.0 2021-03-23 21:08:44 +01:00
Jonas Platte
c910d57b14
Release ruma-serde 0.3.1 2021-03-23 20:58:53 +01:00
Takayuki Maeda
f196f5b6f1 fix clippy warnings 2021-03-15 16:46:15 +01:00
Takayuki Maeda
9cfa3b075c deserialize empty string to none for avatar_url 2021-03-15 16:46:15 +01:00
Akshay
4d51e98707
Introduce client and server feature flags for *-api crates 2021-03-05 16:00:35 +01:00
Jonas Platte
a20c75d536
Fix import grouping issues 2021-02-25 20:55:19 +01:00
Jonas Platte
b6a9293d37
Add missing badges to READMEs 2021-02-08 20:14:34 +01:00
Jonas Platte
891db9083b
Clean up cargo features 2021-02-02 19:21:45 +01:00
Akshay
adeb545062
Add push rule for .m.rule.reaction 2021-01-21 19:51:32 +01:00
Jonas Platte
ca1f334ded
Remove documentation links from all Cargo.tomls
It was wrong for ruma-federation-api and useless for all others since
crates.io will link to docs.rs automatically if no link is given.
2021-01-17 17:00:09 +01:00
gnieto
a85b7031a3
Wrap PDUs in Raw on federation backfill endpoint
Wrap the PDU as done in all the other federation endpoints.
2021-01-17 16:57:30 +01:00
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