4066 Commits

Author SHA1 Message Date
Kévin Commaille
1f23e8abcb xtask: Add doc task
Mirror the task in CI
2022-03-18 13:11:41 +01:00
Kévin Commaille
9a401cefae xtask: Split CI commands 2022-03-18 13:11:41 +01:00
Kévin Commaille
3c87839f6c xtask: Update dependencies 2022-03-18 13:11:41 +01:00
Kévin Commaille
097d329718 xtask: Switch to clap 2022-03-18 13:11:41 +01:00
Jonas Platte
d94e194b75
common: Fix build error 2022-03-18 12:51:30 +01:00
Kévin Commaille
af61a62202
macros: Add alias attribute to ruma_enum 2022-03-18 12:38:47 +01:00
Kévin Commaille
9b870cd9af
common: Add support for voice message events 2022-03-18 12:13:26 +01:00
Jonas Platte
d1e70c3d9f
events: Clean up m.room.member docs 2022-03-16 17:03:38 +01:00
Jonas Platte
2551950d20
common: Split up single assert_matches! into many assertions
Longer but provides better error messages. We should do this everywhere.
2022-03-16 16:31:00 +01:00
Jonas Platte
ada3108a96
common: Move prev_content into unsigned 2022-03-16 16:30:29 +01:00
Kévin Commaille
1f53f38b4f common: Add support for translatable text content.
According to MSC3554
2022-03-16 13:12:58 +01:00
Kévin Commaille
af58063c7b common: Reorder events::message types 2022-03-16 13:12:58 +01:00
Kévin Commaille
44f8192e3c client-api: Add new fields to RoomEventFilter
related_by_rel_types and related_by_senders according to MSC3440
2022-03-16 12:58:24 +01:00
Kévin Commaille
0935374f5d common: Add bundled thread to Relations
According to MSC3440
2022-03-16 12:58:24 +01:00
Kévin Commaille
5f51f9241f common: Add thread relation to Relation
According to MSC3440
2022-03-16 12:58:24 +01:00
Jonas Platte
e9c60cf36c
Deprecate the EventType enum 2022-03-16 12:20:18 +01:00
Jonas Platte
e86ee7dd31
macros: Silence deprecation warnings in generated code 2022-03-16 12:20:18 +01:00
Jonas Platte
cdc6b9a2aa
macros: Add missing automatically_derived attributes 2022-03-16 12:20:17 +01:00
Jonas Platte
26ffa5e5c8
client-api: Use fine-grained event type enums 2022-03-16 12:20:17 +01:00
Jonas Platte
88477f2ad5
push-gateway-api: Use fine-grained event type enums 2022-03-16 12:20:17 +01:00
Jonas Platte
7e05351f58
federation-api: Use fine-grained event type enums 2022-03-16 12:20:17 +01:00
Jonas Platte
ce785064a9
Use RoomEventType instead of EventType for PDUs and power levels 2022-03-16 12:20:17 +01:00
Jonas Platte
6f6e7ca68e
macros: Simplify *EventType generation 2022-03-16 12:20:17 +01:00
Jonas Platte
1b24a76967
macros: Refactor event type to type name conversion 2022-03-16 12:20:17 +01:00
Jonas Platte
862ee426ab
macros: Fix docs 2022-03-16 12:20:17 +01:00
Jonas Platte
6dc0bf248b
Use *EventType enums in more places 2022-03-16 12:20:17 +01:00
Jonas Platte
0f18deae1d
macros: Consistently use syn::Result type alias 2022-03-16 12:20:17 +01:00
Jonas Platte
c16ba45c9e
common: Replace event content marker traits with an associated type 2022-03-16 12:20:16 +01:00
Jonas Platte
8805b8f2e3
macros: Consistently put ruma_common import path last 2022-03-16 12:20:16 +01:00
Jonas Platte
0faa00ca95
macros: Move additional utility function into util module 2022-03-16 12:20:16 +01:00
Kévin Commaille
bb26f159e3
client-api: Add tile server to well-known
According to MSC3488
2022-03-15 18:41:11 +01:00
Kévin Commaille
195ddf8112
common: Add support for extensible location events
According to MSC3488
2022-03-15 18:41:05 +01:00
Kévin Commaille
5af2e38506
common: Add support for extensible audio events 2022-03-15 13:34:33 +01:00
Jonas Platte
24fd3f79f0
common: Add a test for Raw::get_field 2022-03-15 10:05:22 +01:00
Jonas Platte
4693179cb1
common: Use serde(borrow) to avoid unnecessary copying 2022-03-15 10:05:22 +01:00
Jonas Platte
a7bead5466
common: Rewrite Raw::get_field to be as fast as possible 2022-03-15 10:05:22 +01:00
Jonas Platte
39cafa3a8f
common: Don't import Formatter for consistency 2022-03-15 10:05:22 +01:00
Jonas Platte
13e53ea6d5
common: Remove RawExt in favor of inherent impl 2022-03-15 10:05:21 +01:00
Kévin Commaille
57e8b77d87
common: Add support for extensible video events 2022-03-15 09:40:20 +01:00
Kévin Commaille
2d88df7fb7 common: Clarify that reactions are not all emojis
According to MSC2677
2022-03-15 09:17:21 +01:00
Kévin Commaille
f0c8703ee5 common: Add replacement to Relations 2022-03-15 09:17:21 +01:00
Kévin Commaille
260dfeb100 common: Remove unstable Relations constructor
Not manageable with more unstable features
2022-03-15 09:17:21 +01:00
Kévin Commaille
77ce26701c common: Fix typo in Replacement docs 2022-03-15 09:17:21 +01:00
Jonas Platte
d78fb70953
macros: Ensure event content types are structs 2022-03-14 16:32:17 +01:00
Jonas Platte
0b10151bcb
macros: Only iterate fields once in EventContent derive 2022-03-14 16:32:17 +01:00
Jonas Platte
46bab5cca6
macros: Fix unnecessary named fields requirement in EventContent derive 2022-03-14 16:32:17 +01:00
Jonas Platte
44ed91a5af
macros: Fix inconsistent naming 2022-03-14 16:32:17 +01:00
Jonas Platte
22541ba92f
common: Feature-gate part of doctest 2022-03-14 16:32:16 +01:00
Timo Kösters
83e46b6aea
state-res: Fix restricted joins 2022-03-14 15:02:21 +01:00
Kévin Commaille
117880524f
client-api: Fix sso_login added version 2022-03-14 13:51:30 +01:00