matrix-spec/event-schemas/schema
Travis Ralston f923d08078 Add read markers
This is the spec for https://github.com/matrix-org/matrix-doc/issues/910

Fixes https://github.com/matrix-org/matrix-doc/issues/910

Some reverse engineering was required to work out the complete details as to how this works. In particular, the 405 for setting account data and the behaviour of m.read.

References:
* 405 for account data: d69decd5c7/synapse/rest/client/v2_alpha/account_data.py (L85-L90)
* m.read behaviour: d69decd5c7/synapse/rest/client/v2_alpha/read_marker.py (L45-L52)
2018-08-30 16:21:31 -06:00
..
core-event-schema Update schemas and auth rules to cover the @ state key restriction 2018-08-28 13:06:52 -06:00
m.call.answer Make all the schema files yaml 2015-12-07 13:56:36 +00:00
m.call.candidates Make all the schema files yaml 2015-12-07 13:56:36 +00:00
m.call.hangup Make all the schema files yaml 2015-12-07 13:56:36 +00:00
m.call.invite Make all the schema files yaml 2015-12-07 13:56:36 +00:00
m.direct Better types for additionalProps 2016-10-14 15:57:52 +01:00
m.forwarded_room_key fixup! document m.forwarded_room_key 2018-08-25 17:26:00 +02:00
m.fully_read Add read markers 2018-08-30 16:21:31 -06:00
m.ignored_user_list Add clarity to the m.ignored_user_list 2018-03-06 10:32:18 -07:00
m.presence Make m.presence match what synapse returns 2018-03-03 12:12:47 -07:00
m.receipt Add event as a parent for all event types 2016-03-16 16:46:16 +01:00
m.room.aliases Convert event schemas to yaml 2016-06-22 12:01:08 +01:00
m.room.avatar Make the key orders consistent 2016-11-07 14:54:59 +00:00
m.room.canonical_alias Make null m.room.name behaviour explicit 2016-07-12 13:44:04 +01:00
m.room.create Specify how room versioning works 2018-08-15 15:12:36 -06:00
m.room.encrypted Remove unused algorithms for encrypted messages 2018-08-27 15:05:56 -06:00
m.room.encryption require megolm algorithm in m.room.encryption 2018-08-18 11:41:45 +02:00
m.room.guest_access Convert event schemas to yaml 2016-06-22 12:01:08 +01:00
m.room.history_visibility Convert event schemas to yaml 2016-06-22 12:01:08 +01:00
m.room.join_rules Convert event schemas to yaml 2016-06-22 12:01:08 +01:00
m.room.member Update schemas and auth rules to cover the @ state key restriction 2018-08-28 13:06:52 -06:00
m.room.message Convert event schemas to yaml 2016-06-22 12:01:08 +01:00
m.room.message#m.audio Convert event schemas to yaml 2016-06-22 12:01:08 +01:00
m.room.message#m.emote Document message formats as-is 2018-07-10 12:52:11 -06:00
m.room.message#m.file Make the key orders consistent 2016-11-07 14:54:59 +00:00
m.room.message#m.image Make the key orders consistent 2016-11-07 14:54:59 +00:00
m.room.message#m.location Make the key orders consistent 2016-11-07 14:54:59 +00:00
m.room.message#m.notice Make m.notice description use stricter language 2016-11-30 00:59:51 +01:00
m.room.message#m.text Document message formats as-is 2018-07-10 12:52:11 -06:00
m.room.message#m.video Make the key orders consistent 2016-11-07 14:54:59 +00:00
m.room.message.feedback Convert event schemas to yaml 2016-06-22 12:01:08 +01:00
m.room.name Make null m.room.name behaviour explicit 2016-07-12 13:44:04 +01:00
m.room.pinned_events Add spec for m.room.pinned_events 2017-09-29 11:59:27 -06:00
m.room.power_levels s/number/integer 2018-08-29 14:18:41 -06:00
m.room.redaction Convert event schemas to yaml 2016-06-22 12:01:08 +01:00
m.room.server_acl Fix server ACL schema: The type is a string 2018-08-28 10:34:49 -06:00
m.room.third_party_invite Convert event schemas to yaml 2016-06-22 12:01:08 +01:00
m.room.topic Convert event schemas to yaml 2016-06-22 12:01:08 +01:00
m.room_key complete m.room_key documentation 2018-08-18 11:41:45 +02:00
m.room_key_request fixup! document key sharing and m.room_key_request 2018-08-25 17:26:40 +02:00
m.sticker Sticker messages (m.sticker) (#1158) 2018-03-27 10:00:41 +01:00
m.tag Add event as a parent for all event types 2016-03-16 16:46:16 +01:00
m.typing Add event as a parent for all event types 2016-03-16 16:46:16 +01:00