43 Commits

Author SHA1 Message Date
Matthias Ahouansou
f01f00a90a federation-api: add unstable support for MSC4125 2024-04-10 16:30:06 +02:00
Matthias Ahouansou
3501c2bc34
federation-api: Make /v1/send_join use RawValue for body rather than using query parameters 2024-04-07 15:45:52 +02:00
Jonas Platte
31331f3165
Bring back ruma-events
Co-authored-by: Kévin Commaille <zecakeh@tedomum.fr>
2023-08-28 10:23:54 +02:00
Kévin Commaille
631c4e6733 federation-api: Move create_join_event::v1 test as integration test
Otherwise cargo check always complains that we are using
a deprecated const.
See https://github.com/rust-lang/rust/issues/47238
2023-05-25 16:53:56 +02:00
Kévin Commaille
9dd55ae3bc federation-api: Deprecate v1/send_join and v1/send_leave
According to a spec clarification
2023-05-25 16:53:56 +02:00
Kévin Commaille
fa06f2f839 federation-api: Move support for partial state in send_join out of unstable-msc3706
According to Matrix v1.6
2023-02-14 22:18:05 +01:00
Kévin Commaille
f159776f52 chore: Make all applicable spec links use the latest spec instead of a specific version 2023-02-12 12:39:24 +01:00
Kévin Commaille
5344521105 federation-api: Note that create_join_event v2 should include heroes for nameless rooms
According to MSC3943
2023-02-10 11:54:21 +01:00
Kévin Commaille
9b239663fb federation-api: Add support for partial state in send_join
According to MSC3706
2023-01-10 11:11:45 +01:00
Jonas Platte
3211fccab0
Remove borrowing in requests 2022-11-28 14:02:35 +01:00
Jonas Platte
ae3394a6df api: Turn metadata name and description fields into docstrings 2022-11-12 10:17:24 +01:00
Jonas Platte
80c060cb69 Remove usage of ruma_api! 2022-11-12 10:17:24 +01:00
Kévin Commaille
045861441a doc: Update Matrix spec links to v1.4 2022-10-21 10:41:20 +02:00
Kévin Commaille
7ab6e3ed02 federation-api: Add the event field to RoomState
According to MSC3083
2022-10-19 12:17:41 +02:00
Jonas Platte
1291929131
Rename unstable-pre-spec to unstable-unspecified 2022-09-20 10:39:20 +02:00
Jonathan de Jong
8351076845
federation-api: Fix send_leave version in path 2022-04-03 16:07:51 +02:00
Jonas Platte
7e05351f58
federation-api: Use fine-grained event type enums 2022-03-16 12:20:17 +01:00
Kévin Commaille
bdcf07be87
common: Merge ruma-serde into ruma-common 2022-03-10 12:11:00 +01:00
Kévin Commaille
088d1872b7
common: Merge ruma-identifiers into ruma-common 2022-03-09 17:46:51 +00:00
homersimpsons
2ec50bd03c
doc: migrate links from matrix-doc to matrix-spec(-proposals) 2022-03-08 10:24:26 +01:00
Kévin Commaille
c3f9a3cb70
common: Merge ruma-events into ruma-common 2022-03-04 11:45:07 +00:00
Kévin Commaille
f32dcb9254
common: Merge ruma-api into ruma-common 2022-03-03 14:01:51 +01:00
Jonathan de Jong
936bb64e84
Update links to spec.matrix.org/v1.2 2022-02-18 19:45:04 +01:00
Jonathan de Jong
b3d4b27b91
federation-api: Set a consistent naming scheme for membership endpoints 2022-02-18 12:54:50 +00:00
Jonas Platte
215cb35806
Clean up import grouping / ordering 2022-02-18 11:20:39 +01:00
Jonathan de Jong
5768f181ca ruma-federation-api: Refactor file structure and add docs 2022-02-17 21:49:38 +01:00
Jonas Platte
c5e396216a
federation-api: Use new path metadata fields 2022-02-13 11:25:38 +01:00
Kévin Commaille
431decd140
federation-api: Move MSCs to per-msc features
Part of #820
2022-02-10 17:38:07 +01:00
Jonas Platte
6b76d7813e
identifiers: Shorten RoomVersionId variant names 2021-11-26 01:07:26 +01:00
Jonas Platte
aa5fdf9d22
Merge serde attributes and improve docs 2021-10-08 12:49:13 +02:00
Jonas Platte
271491732e
Remove now-redundant doc(cfg) attributes
They are now implied:
https://github.com/rust-lang/rust/pull/89596
2021-10-08 11:52:18 +02:00
Devin Ragotzy
52bea1d9b4
Update server-server spec links 2021-10-06 10:48:08 +02:00
Jonas Platte
04080085f9
events: Include all event type segments in Rust type names 2021-10-02 21:25:21 +02:00
Jonas Platte
ca49cf802d
federation: Borrow more request fields 2021-09-19 19:59:18 +02:00
Jonas Platte
36bc8bf73a
federation-api: Replace Raw<Pdu> with Box<RawJsonValue> 2021-09-15 20:36:20 +02:00
Jonas Platte
15553e1da9
federation-api: Add a test for v1 /send_join response serialization
Co-authored-by: Timo Kösters <timo@koesters.xyz>
2021-08-17 00:20:10 +02:00
Jonas Platte
ef96b0f381
Add missing Debug implementations 2021-08-10 15:22:04 +02:00
Jonas Platte
9b2602649f
Stop special-casing zero fields in macro code 2021-07-09 15:10:22 +02:00
Devin Ragotzy
6d0ff8b876 federation: Remove ctor in favor of Init struct 2021-06-18 21:02:14 +02:00
Devin Ragotzy
030f23b9e9 federation: Make all pub structs non_exhaustive 2021-06-18 21:02:14 +02:00
Jonas Platte
4dd9baa238
Improve consistency in docs 2021-05-16 23:38:19 +02:00
Jonas Platte
5710d2740c
Replace uses of SystemTime with new UInt-based timestamp types 2021-05-14 01:13:17 +02:00
Jonas Platte
3db0ea7026
Move all crates into a new crates directory 2021-05-03 15:50:27 +02:00