Commit Graph

  • f9639e110e
    client-api: Add constructors for the types in unversioned Jonas Platte 2020-06-18 21:33:22 +02:00
  • 4abcc4c0bd
    Change get_message_events Request limit field from Option<UInt> to UInt Alan Darmasaputra 2020-06-18 22:18:17 +07:00
  • 1aed6ab52b
    Fix intra_doc_link_resolution_failure warnings Jonas Platte 2020-06-18 12:27:21 +02:00
  • 046668466c
    identifiers: Add more conversion functions Jonas Platte 2020-06-18 12:11:52 +02:00
  • f8492db766
    Add ServerName identifier iinuwa 2020-06-18 04:21:00 -05:00
  • 8ee1b2302d Correct documentation of remote server keys batch query endpoint Isaiah Inuwa 2020-06-17 22:08:00 -05:00
  • c20d52e2af
    identifiers: Update DeviceKeyId::device_id to return a reference instead of cloning Jonas Platte 2020-06-17 12:15:38 +02:00
  • bfad8cf1f1
    Add send transaction endpoint iinuwa 2020-06-17 04:02:19 -05:00
  • 7c934e1b8f Implement EventContent for CustomEventConent and include in Any*EventContent enums Devin R 2020-06-16 17:27:39 -04:00
  • 8195496cfd
    events: Remove unused util module Jonas Platte 2020-06-16 02:15:54 +02:00
  • d78cd2ed15
    Fix deserializing event enums from serde_json::Value Jonas Platte 2020-06-16 02:12:13 +02:00
  • f4665761be
    Fix failing deserialization when encountering an unknown field Ragotzy.devin 2020-06-15 18:34:58 -04:00
  • f2f283c965
    Optimize event enum deserialization Jonas Platte 2020-06-16 00:29:00 +02:00
  • 0381190bdb
    Add is_compatible method to event content enums to fix Any*Event deserialization Ragotzy.devin 2020-06-15 17:59:31 -04:00
  • c40e3974e7
    Remove ruma_events::InvalidEvent Jonas Platte 2020-06-15 22:59:49 +02:00
  • 418f92153d
    ruma-client-api: Re-add r0::push::Action as deprecated, update change log Jonas Platte 2020-06-15 19:21:04 +02:00
  • 1d954f3089
    Deprecate / remove re-exports from ruma_common Jonas Platte 2020-06-15 19:10:34 +02:00
  • 83d8f8c43e
    Move some types from ruma_events::push_rules to ruma_common::push Jonas Platte 2020-06-15 19:05:17 +02:00
  • 3ec0936a28
    Add back ruma-events/tests/stripped.rs Ragotzy.devin 2020-06-15 05:37:26 -04:00
  • 9074e4c17a Update event creation endpoints to r0.6.1 Isaiah Inuwa 2020-06-14 20:35:44 -05:00
  • 43ae129ce2
    Add a test to get_member_events Jonas Platte 2020-06-14 01:09:52 +02:00
  • 9dab2f5b1f
    Fix clippy warning in nightly CI Ragotzy.devin 2020-06-13 08:02:53 -04:00
  • 9e04d648ca
    events: Make almost all enums non_exhaustive Jonas Platte 2020-06-13 00:32:44 +02:00
  • 40d3c8ae66
    events: Remove stripped.rs (whose mod declaration was already removed previously) Jonas Platte 2020-06-13 00:28:29 +02:00
  • a9189d7db3
    events: Remove EventJson from presence tests Jonas Platte 2020-06-13 00:26:57 +02:00
  • a6feed7dcb Convert Timeline's events field AnyRoomEvent -> AnyRoomEventStub Devin R 2020-06-12 15:06:02 -04:00
  • a4dd53ef98 Use AnyStateEventStub for /sync response state events Devin R 2020-06-11 17:43:15 -04:00
  • be0838e7d3
    Change EncryptedEventContent from StateEventContent to MessageEventContent Ragotzy.devin 2020-06-11 17:48:57 -04:00
  • 9f93d20a34
    Add back temporarily commented-out modules Jonas Platte 2020-06-11 22:30:58 +02:00
  • 0a788c1273
    Integrate ruma-events Jonas Platte 2020-06-10 22:20:41 +02:00
  • fbf0deacfe
    Re-rustfmt ruma-events Jonas Platte 2020-06-10 22:17:59 +02:00
  • f304c04d1d Add 'ruma-events/' from commit '00692d532e26f58d48ead9589dc823403c6e59a5' Jonas Platte 2020-06-10 22:07:24 +02:00
  • 00692d532e
    Add a simple to-device test Jonas Platte 2020-06-10 22:03:25 +02:00
  • 900e9e324b
    Add to-device event enum Jonas Platte 2020-06-10 21:09:20 +02:00
  • bc5b7aa3e2
    Add RedactionEventStub, event enums Jonas Platte 2020-06-10 21:04:03 +02:00
  • 2a91dc1eb7
    Remove event_enum! and only use event_content_enum Ragotzy.devin 2020-06-10 14:51:41 -04:00
  • 92a2dfa2e8
    Uncomment all event enum variants, convert remaining ruma_event! usages Ragotzy.devin 2020-06-10 07:10:50 -04:00
  • aea827a199 Make event_enum! error message more helpful Devin R 2020-06-10 06:22:23 -04:00
  • 86ca6bb39d Add trybuild tests for event_enum! macro Devin R 2020-06-09 20:18:05 -04:00
  • 36d7ee2676
    Add EphemeralRoomEventStub Jonas Platte 2020-06-10 10:29:00 +02:00
  • 10ad9760d6 Extend MembershipChange::ProfileChanged Jonas Platte 2020-06-09 23:45:07 +02:00
  • b33e57c589
    Remove support for room events from ruma_event! Jonas Platte 2020-06-10 00:24:17 +02:00
  • a7a16ccfcc
    Delete old tests Jonas Platte 2020-06-10 00:20:01 +02:00
  • 47a4dc51c6
    Add TagEvent type alias Jonas Platte 2020-06-10 00:19:33 +02:00
  • 7491b33e81
    Add MemberEvent type alias Jonas Platte 2020-06-09 23:38:14 +02:00
  • c2b1c9897b
    Any event enum macro implementation (also generates event content enums) Ragotzy.devin 2020-06-09 17:31:31 -04:00
  • b0d775a535
    Restore unsigned.redacted_because Jonas Platte 2020-06-09 17:02:08 +02:00
  • 9478050792
    Remove stripped module Jonas Platte 2020-06-09 17:01:08 +02:00
  • a317ae6340
    Add and re-export remaining event kinds Jonas Platte 2020-06-09 16:58:58 +02:00
  • 49e4d35db7
    Adopt matrix-doc iv description clarification Jonas Platte 2020-06-09 14:08:49 +02:00
  • 1fdf986bae
    Add RedactionEvent and convert RedactionEventContent to struct def Ragotzy.devin 2020-06-09 06:43:21 -04:00
  • 647130c0fb
    Clean up lib.rs Jonas Platte 2020-06-09 02:24:06 +02:00
  • d377df88b8
    Add content_enums::AnyToDeviceEventContent Jonas Platte 2020-06-09 02:22:21 +02:00
  • abdc7ff2f7
    Convert m.key.verification.start ot the new API Jonas Platte 2020-06-09 02:13:07 +02:00
  • beabaec03e
    Update AnyMessageEventContent Jonas Platte 2020-06-09 02:05:36 +02:00
  • 886320cbf4
    Remove event_enums.rs, event enums will be generated Jonas Platte 2020-06-09 02:03:00 +02:00
  • 1373d4daaf
    Rename ephemeral_event to ephemeral_room_event Jonas Platte 2020-06-09 01:56:20 +02:00
  • 924ff5096b
    Bring back direct, dummy, push_rules Jonas Platte 2020-06-09 01:54:58 +02:00
  • 63a2e5e4eb
    Fix tests Jonas Platte 2020-06-09 01:53:24 +02:00
  • 1e365c6a2d
    Re-introduce dedicated event types as type alises Jonas Platte 2020-06-09 01:40:52 +02:00
  • d4a196f682
    Update ReceiptEventContent representation Jonas Platte 2020-06-09 01:33:40 +02:00
  • 1f2c186ce1
    Remove ToDeviceEventContent Jonas Platte 2020-06-09 01:22:50 +02:00
  • 6a0a10fcff
    Add BasicEventContent derive and create AnyBasicEventContent enum Ragotzy.devin 2020-06-08 17:51:22 -04:00
  • d59a616e2c
    federation-api: Add query server key discovery endpoints stoically 2020-06-08 15:48:15 +02:00
  • d38e385aab
    Remove unused imports and fix serde::ser::Error trait not being in scope Ragotzy.devin 2020-06-08 08:40:59 -04:00
  • 800fba7c32
    Implement PresenceEvent and EphemeralEvent Ragotzy.devin 2020-06-07 16:56:43 -04:00
  • ef3a6787a0
    Remove src/from_raw.rs and ruma-events-macro/src/from_raw.rs Ragotzy.devin 2020-06-07 16:21:04 -04:00
  • baa8710456 Re-export key identifiers at crate root Isaiah Inuwa 2020-06-07 13:52:27 -05:00
  • 8c271fb835
    Add event_enums.rs Jonas Platte 2020-06-07 20:18:07 +02:00
  • d3b17e2b5b
    Fix a typo Jonas Platte 2020-06-07 20:08:50 +02:00
  • 29a6c94a4f
    Remove all but the toplevel .gitignore Jonas Platte 2020-06-07 18:53:53 +02:00
  • dd89b24aa4
    Update custom module Jonas Platte 2020-06-07 17:50:47 +02:00
  • 9e51208c19
    Rerun cargo fmt for ruma-federation-api Jonas Platte 2020-06-07 17:35:41 +02:00
  • 7a6264e0ff
    Integrate ruma-identifiers Jonas Platte 2020-06-07 17:26:33 +02:00
  • b1193a2883
    identifiers: Add DeviceId, DeviceIdRef to the crate root Jonas Platte 2020-06-07 17:22:44 +02:00
  • abf8eafe0e
    Rerun cargo fmt Jonas Platte 2020-06-07 17:22:20 +02:00
  • 83de77f002 Add 'ruma-identifiers/' from commit 'c0a1d8bd440c7cde0fa4ab5e22898ddb26bb706d' Jonas Platte 2020-06-07 17:06:45 +02:00
  • c0a1d8bd44
    Add key identifiers iinuwa 2020-06-07 10:03:49 -05:00
  • 19ce9645b6
    Integrate ruma-federation-api Jonas Platte 2020-06-07 16:26:11 +02:00
  • 10bd7d5f95 Add 'ruma-federation-api/' from commit '44a0f493d0ae119fb1175a5f61c2db52ef001fb7' Jonas Platte 2020-06-07 16:21:23 +02:00
  • 283370ff2f
    Add more event kinds Jonas Platte 2020-06-07 16:15:24 +02:00
  • 315ac55d46
    Replace state.rs, messages.rs by event_kinds.rs, content_enums.rs Jonas Platte 2020-06-07 16:01:35 +02:00
  • aa7a54015c
    Rename ruma_content_collection to ruma_content_enum Jonas Platte 2020-06-07 15:54:23 +02:00
  • f531dce754
    Externalize generic event struct tests Jonas Platte 2020-06-07 15:48:44 +02:00
  • acff664671
    Optimize /sync response Timo Kösters 2020-06-07 12:08:25 +02:00
  • b3f024bf13
    Update list of events in AnyStateEventContent Jonas Platte 2020-06-07 01:02:29 +02:00
  • 0a91ac5126
    Remove raw mod and TryFromRaw/FromRaw, derive Deserialize for event content types Ragotzy.devin 2020-06-06 16:14:01 -04:00
  • 2c8d609095
    Add Event derive macro Ragotzy.devin 2020-06-04 15:19:54 -04:00
  • 6a844625fc
    Clean up macro crate attributes Jonas Platte 2020-06-04 11:31:59 +02:00
  • 76cd387506
    Remove support for state events in ruma_event! Jonas Platte 2020-06-04 11:29:48 +02:00
  • b95b7db0d4
    Convert remaining state structs from ruma_event! to derive(StateEventContent) Jonas Platte 2020-06-04 11:24:33 +02:00
  • 74f680f8ed
    Add back all commented-out room events Jonas Platte 2020-06-04 11:12:51 +02:00
  • 7d303fff7e
    Fix unsigned field not being serialized for MessageEvent, StateEvent Jonas Platte 2020-06-04 11:09:06 +02:00
  • 158287204b
    Fix a typo Jonas Platte 2020-06-04 10:44:46 +02:00
  • 35eb0bcfbf
    Re-export MessageEvent from the crate root Jonas Platte 2020-06-04 10:43:55 +02:00
  • 33ac5267a9
    Implement MessageEvent and AnyMessageEventContent Ragotzy.devin 2020-06-03 06:56:51 -04:00
  • 24f720d1f1
    Convert most message events from ruma_event! to derive(MessageEventContent) Jonas Platte 2020-06-02 23:48:18 +02:00
  • 80ff10ae6a
    Move event content collection trait impl's into macro code Ragotzy.devin 2020-06-02 08:22:15 -04:00
  • 5091b9a9a8
    Integrate generic event types and EventContent trait with TryFromRaw Jonas Platte 2020-05-31 17:29:22 +02:00
  • 3814690b29
    event_content_collection!: implement parsing input and generating an enum Ragotzy.devin 2020-05-29 14:38:55 -04:00