844 Commits

Author SHA1 Message Date
Kévin Commaille
355343235f events: Move space deserialization test out of unstable-pre-spec 2022-02-11 10:18:07 +01:00
Kévin Commaille
bb80b33bd9 events: Move VerificationRequest's deserialization out of unstable-pre-spec 2022-02-11 10:18:07 +01:00
Jonathan de Jong
851646dd97
events: Fix rustdoc warning 2022-02-10 20:24:29 +01:00
Kévin Commaille
2da8a34ff4
signatures: Move Room v9 allowed content keys out of unstable-pre-spec
Part of #849
2022-02-10 18:11:29 +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
e93511e993
client-api: Sort versions in get_supported_versions::Response::known_versions 2022-02-10 14:18:05 +01:00
Jonas Platte
1e94c3cd39
api: Add impl FromStr for MatrixVersion
Enables `str.parse::<MatrixVersion>()`.
2022-02-10 14:18:05 +01:00
Jonas Platte
ae4c9243cb
api: Move Metadata and MatrixVersion into new metadata module 2022-02-10 14:18:05 +01:00
Jonas Platte
f365f21ca8
api: Further simplify MatrixVersion::is_superset_of
… and make (major, minor) representation public.
2022-02-10 14:18:05 +01:00
Jonas Platte
af1ae46521
api: Fix a typo 2022-02-10 14:18:05 +01:00
Jonas Platte
932fe4fa38
common: Skip serializing empty default_payload in PusherData, simplify type 2022-02-09 18:47:24 +01:00
Jonathan de Jong
689d911cdc
api-macros: Simplify IncomingRequest impl generation 2022-02-09 17:54:57 +01:00
Jonas Platte
08fb612fed
api: Inline PartialOrd for VersionRepr impl 2022-02-08 19:22:11 +01:00
Jonas Platte
b08e8cff9d
events: Remove custom module
… and shuffle things around so there's still a content type that can be
used for _Custom event enum variants.
2022-02-08 19:12:19 +01:00
Jonathan de Jong
fe337f8d5b
api: Move UnknownVersionError into error module 2022-02-08 15:38:24 +00:00
Jonathan de Jong
1e900ab58c
api: Add stable_path, r0_path and unstable_path metadata fields 2022-02-08 14:29:21 +01:00
Jonathan de Jong
0dcdb57c29
api: Add added, deprecated, and removed metadata fields 2022-02-08 10:52:43 +01:00
Jonas Platte
2de652049d
client-api: Remove Option around RoomEventFilter 2022-02-04 13:46:28 +01:00
Jonathan de Jong
19fd35d066
api: Add MatrixVersion enum
Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>
2022-02-04 12:32:12 +01:00
Jonas Platte
9c4bf00f79
Remove remaining unstable-spec features
Everything that was gated behind it was stabilized with Matrix v1.2.
2022-02-02 23:32:27 +01:00
Jonas Platte
a55df1ef9d
state-res: Remove unstable-spec feature
Everything that was gated behind it was stabilized with Matrix v1.2.
2022-02-02 23:25:52 +01:00
Jonas Platte
71a7dbdc43
events: Remove unstable-spec feature
Everything that was gated behind it was stabilized with Matrix v1.2.
2022-02-02 23:25:49 +01:00
Jonas Platte
e9994b89c8
identifiers: Move room versions 8, 9 out of unstable-spec
… since v1.2 is out!
2022-02-02 23:06:39 +01:00
Jonas Platte
c4bccfe17e
common: Remove leftover feature gate 2022-02-02 21:17:07 +01:00
Jonas Platte
f9c14eb128
events: Fix missing feature-gate on import 2022-02-02 21:10:48 +01:00
Jonas Platte
62f3d4a649
client-api: Move keys route changes out of unstable-pre-spec 2022-02-02 21:10:11 +01: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
c5550bdbc8
events: Fix missing condition in Unsigned::is_empty under unstable-pre-spec 2022-02-02 20:09:28 +01:00
Jonas Platte
cbd4457f64
client-api: Move backup out of unstable-pre-spec 2022-02-02 19:45:17 +01:00
Jonas Platte
e6f025e037
client-api: Update spec links for backup endpoints 2022-02-02 19:45:01 +01:00
Jonas Platte
bfb6dc14d9
client-api: Update get_login_types tests 2022-02-02 16:52:22 +01:00
Jonas Platte
5668ebde5a
client-api: Fix serialized form of IdentityProviderBrand and improve its docs 2022-02-02 16:36:47 +01:00
Jonathan de Jong
eeba51d4d6
state-res: Resolve FIXME comment 2022-02-02 14:27:59 +01:00
Jonathan de Jong
e4d8761222
signatures: Add redact_content function 2022-02-02 14:27:27 +01:00
Jonas Platte
96b879eb2a
api: Fix inconsistent formatting 2022-02-02 12:06:57 +01:00
Jonathan de Jong
abd702cfbc
api: Don't extract request path arguments in IncomingRequest impls
… instead requiring callers to pass them as a list of strings.
Parsing is still done within the trait implementations though.
2022-02-02 11:57:29 +01:00
Jonas Platte
f7a10a7e47
events: Fix missing feature flags 2022-02-02 11:47:56 +01:00
Jonas Platte
f46c7a643f
events: Move space events from unstable-pre-spec to unstable-spec 2022-02-01 22:02:23 +01:00
Jonas Platte
2706f24688
state-res: Move room version 8, 9 logic from unstable-pre-spec to unstable-spec 2022-02-01 21:37:11 +01:00
Jonas Platte
760cbb94fc
events: Move join_authorized_via_users_server to unstable-spec 2022-02-01 21:35:32 +01:00
Jonas Platte
de0b3e1cf3
events: Move RoomMemberEventContent reason field out of unstable-pre-spec
… stable since v1.1.
2022-02-01 21:28:19 +01:00
Jonas Platte
3ed7c8a643
state-res: Move knocking logic out of unstable-pre-spec 2022-02-01 21:08:19 +01:00
Jonas Platte
1a4e464422
Move restricted join rules and room versions 8, 9 from unstable-pre-spec to unstable-spec 2022-02-01 20:47:37 +01:00
Jonathan de Jong
8348b97091
Improve Synapse compatibility w.r.t. power levels 2022-02-01 15:26:30 +01:00
Jonathan de Jong
bdf4a86770
signatures: Add redact_in_place 2022-02-01 15:03:22 +01:00
Jonas Platte
89ae41166d
events: Move new verification events out of unstable-pre-spec
… since they were stabilized with v1.1.
2022-01-31 20:43:38 +01:00
Jonas Platte
90fe9edc32
events: Remove questionable trait implementations
They weren't really useful for user code.
2022-01-31 20:43:38 +01:00
Jonas Platte
f4a8ef6306
client-api: Fix todo comment formatting 2022-01-31 20:42:15 +01:00