143 Commits

Author SHA1 Message Date
Jonas Platte
1291929131
Rename unstable-pre-spec to unstable-unspecified 2022-09-20 10:39:20 +02:00
Jonas Platte
2b4ac40981 Skip serializing None value for room_type fields 2022-08-17 20:45:05 +02:00
Kévin Commaille
e0bbf16c3c federation-api: Remove obsolete comment 2022-07-28 18:27:14 +02:00
Kévin Commaille
2e4e8d82ce federation-api: Make some test assertions more helpful 2022-06-14 10:01:49 +02:00
Kévin Commaille
f1079c94ee federation-api: Split some test assertions 2022-06-07 15:30:49 +02:00
Jonas Platte
a8e7c47bbe
Remove RoomName type 2022-06-03 11:40:33 +02:00
Jonas Platte
d24cbb981a
Add another missing semicolon 2022-06-03 08:48:28 +02:00
Kévin Commaille
0c67c6b3db docs: Reword docs for StringEnum 2022-05-30 17:17:06 +02:00
Kévin Commaille
240c8bc4b8 macros: Derive as_str() for types that derive StringEnum 2022-05-30 17:17:06 +02:00
Kévin Commaille
7f164b3173 doc: Add doc link to as_str implementations 2022-05-30 17:17:06 +02:00
Kévin Commaille
c11dfb6b10 federation-api: Fix link to old matrix-doc repo 2022-05-29 10:06:15 +02:00
Jonas Platte
b34bfaf1f6
Replace matches crate with assert_matches 2022-05-24 18:07:29 +02:00
Jonas Platte
4014e6959f
Replace Box<MxcUri> with OwnedMxcUri 2022-04-25 15:16:55 +02:00
Jonas Platte
efe48af207 Replace remaining uses of boxed IDs with dedicated owned ones 2022-04-20 10:39:36 +02:00
Jonas Platte
6100a0fa12 Use new owned ID types in more places 2022-04-20 10:39:36 +02:00
Jonas Platte
d855ec33d6 identifiers: Update ToOwned implementations to use new types
… and a lot of changes that cascaded from that.
2022-04-20 10:39:36 +02:00
Kévin Commaille
688d5bf47a
docs: Improve string enums documentation
Mention the conversion from string.
2022-04-10 14:48:09 +02:00
Jonathan de Jong
8351076845
federation-api: Fix send_leave version in path 2022-04-03 16:07:51 +02:00
Jonas Platte
9f56e6e497
events: Rename HierarchySpaceChildStateEvent => HierarchySpaceChildEvent 2022-03-31 18:42:27 +02:00
Jonas Platte
bf6687c92d
federation-api: Fix unstable-pre-spec tests 2022-03-26 09:36:58 +01:00
Jonas Platte
8f054ba39c
federation-api: Break up some large assert_matches! invocations 2022-03-26 09:16:42 +01:00
Kévin Commaille
ded83663de federation-api: Deserialize stable names for unstable features 2022-03-21 14:46:13 +01:00
Jonas Platte
7e05351f58
federation-api: Use fine-grained event type enums 2022-03-16 12:20:17 +01:00
Jonathan de Jong
1ffccaba18
federation-api: Add versions endpoint (MSC3723) 2022-03-14 12:03:27 +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
Kévin Commaille
c52e51c016
federation-api: Implement space summary API
According to MSC2946
2022-03-01 15:57:45 +01:00
Kévin Commaille
94dd352cc5 federation-api: Add cross-signing fields to get_devices::Response 2022-02-23 12:55:17 +01:00
Kévin Commaille
e7f19b41a7 federation-api: Add Edu::SigningKeyUpdate
According to MSC1756
2022-02-23 12:55:17 +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
2003948edb
federation-api: Wrap ServerSigningKeys in Raw
Instances might contain extra fields that need to be taken into account
for signature verification.
2022-02-18 11:44:29 +01: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
7a70d96235
Remove PrivOwnedStr() from Debug formatting 2022-02-15 17:46:27 +01:00
Jonas Platte
c5e396216a
federation-api: Use new path metadata fields 2022-02-13 11:25:38 +01:00
Jonas Platte
c5c90a50d5
federation-api: Use Raw for knock_room_state 2022-02-12 01:02:40 +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
Kévin Commaille
36d181daac
federation-api: Move cross-signing properties of get_keys::Response out of unstable-pre-spec
Part of #808
2022-02-10 14:52:24 +01:00
Kévin Commaille
69134c21e5
federation-api: Move knock out of unstable-pre-spec 2022-02-10 13:43:14 +00:00
Jonas Platte
39041286b9
Move from_raw_json_value to ruma-serde
… and remove unnecessary copies of it.
2022-02-02 20:58:47 +01:00
Jonas Platte
21ef0a3c63
federation-api: Use TransactionId for DirectDeviceContent#message_id 2022-01-29 02:11:22 +01:00
Jonathan de Jong
3b32577276
federation-api: Support MSC3618 2022-01-17 12:08:24 +01:00
Jonas Platte
ef6728abde
Add a TransactionId type 2022-01-16 23:17:23 +01:00
Jonas Platte
4c859c5aeb
Introduce a Base64 type and use it where applicable 2022-01-13 16:22:21 +01:00
Jonas Platte
ee977b48f0
Make the inner type of _Custom enum variants unusable
The variant itself would be private if possible, this is the solution
closest to that.
2022-01-13 11:38:48 +01:00
Jonas Platte
9621b83d49
Use doc_auto_cfg for automatic cfg documentation 2022-01-02 19:22:42 +01:00