283 Commits

Author SHA1 Message Date
Kévin Commaille
794f1185ed
events: Update the description of JoinRule::Knock 2022-02-23 12:35:24 +00:00
Kévin Commaille
771f437d9e
events: Rename MessageEvent to MessageLikeEvent 2022-02-22 20:06:36 +01:00
stoically
1db909fbc7
events: Add simple custom state event example 2022-02-20 12:34:52 +01:00
Jonas Platte
b725865cba
Release ruma-events 0.26.0 2022-02-19 14:53:14 +01:00
Jonas Platte
06344cdc73
Release ruma-common 0.8.0 2022-02-19 14:47:08 +01:00
Jonas Platte
2ed51f1d54
Release ruma-identifiers 0.22.0 2022-02-19 14:28:28 +01:00
Jonas Platte
90fd1d8f0a
Release ruma-events 0.25.0 2022-02-19 01:38:25 +01:00
Jonas Platte
b29755f0c5
Release ruma-common 0.7.0 2022-02-19 01:33:25 +01:00
Jonas Platte
fec52a0218
Release ruma-identifiers 0.21.0 2022-02-19 01:07:23 +01:00
Jonas Platte
38881dd6af
Release ruma-serde 0.6.0 2022-02-19 01:01:17 +01:00
Jonathan de Jong
936bb64e84
Update links to spec.matrix.org/v1.2 2022-02-18 19:45:04 +01:00
Jonas Platte
215cb35806
Clean up import grouping / ordering 2022-02-18 11:20:39 +01:00
Jonas Platte
7a70d96235
Remove PrivOwnedStr() from Debug formatting 2022-02-15 17:46:27 +01:00
Jonas Platte
ebb09589f9
Remove authors field from Cargo manifests
It's no longer necessary and authorship is much better tracked with git.
2022-02-12 13:46:44 +01:00
Jonas Platte
f130d09daa
events: Remove Serialize implementations for event enums 2022-02-12 01:52:53 +01:00
Kévin Commaille
cdf383cc45 events: Move MSCs to per-msc features 2022-02-11 10:18:07 +01:00
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
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
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
f9c14eb128
events: Fix missing feature-gate on import 2022-02-02 21:10:48 +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
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
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
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
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
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
37095f8855
events: Fix missing import 2022-01-23 17:22:25 +01:00
Jonas Platte
46d2957c29
events: Use TransactionId for secret request IDs 2022-01-23 17:21:53 +01:00
Jonas Platte
9aa748459a
Revert "identifiers: Add SecretRequestId"
This reverts commit aafbe14923a9272029652e7f56ef2aa809b03e34.
2022-01-23 17:20:59 +01:00
Jonas Platte
aafbe14923
identifiers: Add SecretRequestId 2022-01-23 17:01:24 +01:00
Jonas Platte
0dbeac8505
events: Fix wrong base64 character set for k field in JsonWebKey 2022-01-23 13:48:42 +01:00
Timo Kösters
08d60b3d37
events: Add is_allowed method to RoomServerAclEventContent 2022-01-17 11:47:39 +00:00
Jonas Platte
026c186b32
events: Fix non-public doc(hidden) fn 2022-01-17 11:16:51 +01:00
Jonas Platte
e387abda81
events: Raise an error when trying to serialize _Custom variant of event content enum 2022-01-17 00:43:00 +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
Julian Sparber
f8ba7f7957
ruma-events: Add CancelCode variants for SAS verification
See: https://spec.matrix.org/v1.1/client-server-api/#verification-messages-specific-to-sas
2022-01-12 21:48:06 +01:00
Jonas Platte
3cb728e61a
Enforce most serde_json import renames through clippy 2022-01-03 12:28:15 +01:00
Jonas Platte
9621b83d49
Use doc_auto_cfg for automatic cfg documentation 2022-01-02 19:22:42 +01:00
homersimpsons
2d3816d72c
ruma-events: Add links to specs in modules docs 2021-12-28 14:36:34 +00:00