Commit Graph

3983 Commits

Author SHA1 Message Date
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
40a96b93b1 xtask: Allow v1.2 spec links 2022-02-02 22:58:49 +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
Jonas Platte
d09c961a0b state-res: Apply clippy suggestion 2022-01-31 20:16:41 +01:00
Jonathan de Jong
f631685389 client-api: Move token registration to new unstable-spec feature 2022-01-31 20:10:19 +01:00
Jonas Platte
21ef0a3c63 federation-api: Use TransactionId for DirectDeviceContent#message_id 2022-01-29 02:11:22 +01:00
Jonas Platte
392cf23d4b events: Don't store data of unknown events in enums 2022-01-29 02:08:33 +01:00
Jonas Platte
38ba38228a events: Use PrivOwnedStr for #[doc(hidden)] event_type field 2022-01-29 01:31:18 +01:00
Jonas Platte
b8396b9cc0 client-api: Fix response serde for get[_latest]_backup 2022-01-28 23:52:40 +01:00
Jonas Platte
e0d7ea3ed1 api: Add manual_body_serde derive attribute for responses 2022-01-28 23:52:36 +01:00
Jonas Platte
82becb86c8 client-api: Remove Raw nesting
… should be unnecessary.
2022-01-27 16:16:35 +01:00
Jonas Platte
fab5c9128f client-api: Fix broken update_backup::Request deserialization 2022-01-27 15:41:33 +01:00
Jonas Platte
e906de7eee client-api: Fix broken create_backup::Request deserialization 2022-01-27 15:39:48 +01:00
Jonas Platte
14de5dad29 client-api: Add missing import 2022-01-27 15:30:28 +01:00
Jonas Platte
16e18bdebf client-api: Be consistent about Raw usage for backup key routes 2022-01-27 15:19:27 +01:00
Jonas Platte
37095f8855 events: Fix missing import 2022-01-23 17:22:25 +01:00