68 Commits

Author SHA1 Message Date
Jonas Platte
4a02b97aa3
Update website URL 2024-04-04 13:20:58 +02:00
Stefan Ceriu
68c9bb0930
Add support for MSC2867 - Manually marking rooms as unread 2024-01-26 23:28:11 +00:00
Jonas Platte
f0f63086d5
events: Add html_favicon_url and html_logo_url for docs 2023-10-12 15:44:14 +02:00
Jonas Platte
e7ed90ad0f
events: Add RoomMessageEventContentWithoutRelation::add_mentions 2023-10-10 09:54:11 +02:00
Jonas Platte
bc48eb2162
events: Ensure that all public items are documented 2023-09-20 11:52:25 +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
c3f9a3cb70
common: Merge ruma-events into ruma-common 2022-03-04 11:45:07 +00:00
Kévin Commaille
c37a514a89 events: Add support for extensible file events
As defined in MSC3551
2022-03-03 13:55:04 +01:00
Kévin Commaille
99cd70b430 events: Add support for extensible notice and emote events
As defined in MSC1767
2022-03-02 18:09:43 +01:00
Kévin Commaille
f78d3480a5 events: Add support for extensible text event
As defined in MSC1767
2022-03-02 18:09:43 +01:00
Kévin Commaille
84e1c919c9
client-api: Implement space summary API
According to MSC2946
2022-03-01 15:57:43 +01:00
Kévin Commaille
ede7601aa9
events: Fix typos 2022-02-28 13:42:12 +01:00
Kévin Commaille
f2dca60fc7
macros: Rename ruma-events-macros to ruma-macros 2022-02-27 13:54:17 +01: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
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
Kévin Commaille
cdf383cc45 events: Move MSCs to per-msc features 2022-02-11 10:18:07 +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
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
f46c7a643f
events: Move space events from unstable-pre-spec to unstable-spec 2022-02-01 22:02:23 +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
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
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
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
Jonas Platte
52608cc72c
identifiers: Make EventId a DST 2021-11-25 22:34:40 +01: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
Jonas Platte
04080085f9
events: Include all event type segments in Rust type names 2021-10-02 21:25:21 +02:00
Jonas Platte
edbd5a696c
events: Use inline code blocks instead of emphasis for type strings 2021-10-01 18:35:01 +02:00
Jonas Platte
1df1256a86
events: Put pdu module behind an unstable feature flag 2021-09-15 20:58:37 +02:00
Jonas Platte
098339056b
events: Add a compat workaround for prev_content in unsigned 2021-08-16 22:55:27 +02:00
Jonas Platte
f954865d4d
events: Move unsigned types into a new module 2021-08-14 23:36:51 +02:00
Adam
0768f551c3
events: Add unstable support for secret sharing 2021-08-13 14:59:20 +00:00
Jonas Platte
e9cb896bf7
events: Silence clippy lint 2021-08-12 21:36:20 +02:00
Jonas Platte
44a998f70d
events: Remove unnecessary qualification 2021-08-12 21:23:03 +02:00
Jonas Platte
3b0afb520a
events: Optimize deserialization helpers 2021-08-12 20:46:15 +02:00
Jonas Platte
9445e8756a
events: Derive / implement StaticEventContent for all relevant types 2021-08-11 20:31:03 +02:00
Jonas Platte
d213ee4718
events: Remove / replace previous error types 2021-08-10 15:22:45 +02:00
Devin Ragotzy
db755f994e
events: Make all pub enums non_exhaustive 2021-08-10 15:22:26 +02:00
Jonas Platte
565793a37e
events: Add StaticEventContent trait 2021-08-10 01:26:20 +02:00
Devin Ragotzy
e05aad184e events: Make all pub structs non_exhaustive 2021-06-18 20:53:06 +02:00
Amanda Graven
97937d384c Typo corrections
The "comforming" typo in the function name at
crates/ruma-identifiers-validation/src/user_id.rs:22:26
was not corrected as that would be a breaking change.
2021-06-01 12:45:34 +02:00
Marcel
a322c8cf08
Add support for spaces 2021-05-20 18:36:35 +02:00
Jonas Platte
67deaeb0fc
events: Improve RawExt documentation 2021-05-15 15:27:42 +02:00
Jonas Platte
ab850d8237
events: Remove marker trait
It was not used anywhere.
2021-05-15 15:06:31 +02:00
Jonas Platte
37899db3c5
events: Borrow raw JSON in EventContent::from_parts 2021-05-15 15:02:27 +02:00