Commit Graph

  • 394d26744a Use own Error type for all errors Devin Ragotzy 2020-08-27 19:32:32 -04:00
  • b846aec94a Replace membership auth with timo's logic Devin Ragotzy 2020-08-27 15:46:36 -04:00
  • aadccdee64 Fix DM room creator rejoining Devin Ragotzy 2020-08-27 09:08:52 -04:00
  • 17958665f6 Update docs in event_auth and add first few event_auth tests Devin Ragotzy 2020-08-26 20:51:39 -04:00
  • fbcd26c6d2 All of event_auth follows the spec strictly, all the synapse-isms removed Devin Ragotzy 2020-08-26 20:08:48 -04:00
  • 409fbcc9d7
    Fixes get_turn_server_info path by prepending a "/" Devin Ragotzy 2020-08-26 15:42:42 -04:00
  • 025c2df752 Allow join room creator only if create event has no prev_events Devin Ragotzy 2020-08-26 11:04:30 -04:00
  • 36cec22cf3 Follow spec for is_membership_change_allowed Devin Ragotzy 2020-08-26 10:31:44 -04:00
  • e8acae05ff Add test testing conduits event sorting logic Devin Ragotzy 2020-08-25 18:19:18 -04:00
  • e4cd59e7e5
    client-api: Various API updates Jonas Platte 2020-08-26 11:30:39 +02:00
  • 650438695a
    Heavily reduce noise in CI output Jonas Platte 2020-08-25 16:25:05 +02:00
  • 7c31fceb61
    client-api: Fix a bunch of issues for room::create_room Jonas Platte 2020-08-25 16:20:07 +02:00
  • 3b36a974fa
    Clean up dependencies Jonas Platte 2020-08-25 16:01:30 +02:00
  • 01c7eef72f
    Consistently put an empty line after inner module docs Jonas Platte 2020-08-24 21:42:48 +02:00
  • 21eb1e8e41
    federation-api: Fix various issues Jonas Platte 2020-08-24 21:39:50 +02:00
  • 6aee819d5d
    federation-api: get_public_rooms_filtered/mod.rs => get_public_rooms_filtered.rs Jonas Platte 2020-08-24 21:14:02 +02:00
  • f84287038e
    federation-api: Make remaining request / response types non-exhaustive Jonas Platte 2020-08-23 18:00:58 +02:00
  • 63be0b550f Add room version check to event auth and room_version to StateEvent Devin Ragotzy 2020-08-21 17:16:06 -04:00
  • 417b65def5
    client-api: Make two more request / response pairs non-exhaustive Jonas Platte 2020-08-21 20:40:07 +02:00
  • 4215feb815
    client-api: Add language field to search_users request Jonas Platte 2020-08-21 20:27:25 +02:00
  • d8340db310
    Group fields in create_typing_event Alejandro Domínguez 2020-08-21 20:35:25 +02:00
  • dd87484a92
    federation-api: Add get_missing_events endpoint v1 Amanda Graven 2020-08-21 20:30:11 +02:00
  • a8b4bad684
    Support optional header values in request/response types Devin Ragotzy 2020-08-21 13:53:46 -04:00
  • 07807974f7 Update readme add docs Devin Ragotzy 2020-08-21 07:39:02 -04:00
  • 43e0f20d3b Remove self param from all StateResolution methods Devin Ragotzy 2020-08-20 17:43:04 -04:00
  • 5182015b76
    appservice-api: Make remaining request / response types non-exhaustive Jonas Platte 2020-08-20 20:59:41 +02:00
  • 135bea8562
    federation-api: More small improvements Jonas Platte 2020-08-20 02:13:57 +02:00
  • 64c5159f04
    federation-api: Add lots of non_exhaustive attributes, other minor fixes Jonas Platte 2020-08-19 02:03:26 +02:00
  • fbeae794c1
    common: Make remaining fully public struct non-exhaustive Jonas Platte 2020-08-19 01:38:23 +02:00
  • 18c507bf49
    federation-api: Make some types non-exhaustive Jonas Platte 2020-08-18 22:29:13 +02:00
  • c798ef1fad
    federation-api: Fix misssing path parameter in get_devices Jonas Platte 2020-08-18 22:26:34 +02:00
  • c6b4fe1e50
    federation-api: Wrap Pdu in Raw in get_event_authorization Jonas Platte 2020-08-18 22:25:45 +02:00
  • 4e9b428c0d Add depth getter to StateEvent Devin Ragotzy 2020-08-18 16:06:18 -04:00
  • bafc2016c6 Add origin getter to StateEvent Devin Ragotzy 2020-08-18 16:03:24 -04:00
  • 8650f8fea7 Add hashes getter to StateEvent Devin Ragotzy 2020-08-18 16:00:13 -04:00
  • 51e96fb915
    client-api: Fix timeline_serde test Jonas Platte 2020-08-18 20:17:27 +02:00
  • ce2d5a0d9b Add license, update readme and add docs for event_auth functions Devin Ragotzy 2020-08-18 13:46:14 -04:00
  • 8f31f40b81
    Fix formatting Jonas Platte 2020-08-18 13:55:19 +02:00
  • 6aba097b10
    Fix search::search_events event types Timo 2020-08-18 13:01:43 +02:00
  • 58abd51d1e
    Fix create_join_event and create_join_event_template endpoints Timo 2020-08-12 14:11:11 +02:00
  • 6df02fc7e2
    client-api: Make more types in search_events non-exhaustive Jonas Platte 2020-08-18 04:14:40 +02:00
  • d7c977e593
    Derive Default for lots of types Jonas Platte 2020-08-18 03:36:05 +02:00
  • 647f56e0a1
    client-api: Make structs in sync_events non-exhaustive Jonas Platte 2020-08-18 03:22:13 +02:00
  • 8b362e4b63
    Fix double space Jonas Platte 2020-08-18 03:10:48 +02:00
  • 6d40361c07
    client-api: Add missing serde attrs to struct fields in sync_events Jonas Platte 2020-08-18 03:08:51 +02:00
  • a9757b13ae
    client: Require a next_batch token for Client::sync Jonas Platte 2020-08-18 00:25:41 +02:00
  • 277800b980
    client-api: Make sync_events request and response types non-exhaustive Jonas Platte 2020-08-18 00:18:11 +02:00
  • 83140b585c
    client-api: Add From conversions for sync_events::Filter Jonas Platte 2020-08-18 00:10:00 +02:00
  • 7764671c36
    Resolve FIXME Jonas Platte 2020-08-18 00:05:35 +02:00
  • 3428cabdca
    Resolve TODO Jonas Platte 2020-08-18 00:03:24 +02:00
  • 679f824c67
    client-api: Add retry_after_ms field to ErrorKind::LimitExceeded Jonas Platte 2020-08-18 00:00:17 +02:00
  • 6b25e9a90c
    client-api: Add ErrorKind::CannotLeaveServerNoticeRoom Jonas Platte 2020-08-17 23:56:45 +02:00
  • 674f2eeb8b
    client-api: Add ErrorKind::ResourceLimitExceeded Jonas Platte 2020-08-17 23:55:06 +02:00
  • 962b3da26b
    client-api Add room_version field to ErrorKind::IncompatibleRoomVersion Jonas Platte 2020-08-17 23:48:47 +02:00
  • b5e660893e
    client-api: Add soft_logout field to ErrorKind::UnknownToken Jonas Platte 2020-08-17 23:45:38 +02:00
  • 578f6c8925
    Replace r0::room::create_room::InitialStateEvent with ruma_events::InitialStateEvent Jonas Platte 2020-08-17 23:36:00 +02:00
  • 6006e0b52e
    Rename local variable Jonas Platte 2020-08-17 23:24:13 +02:00
  • d6beef3d07
    Make remaining filter types lifetime-generic Jonas Platte 2020-08-17 22:48:53 +02:00
  • 30a0a39d2b
    Outgoing derive: Replace incoming_no_deserialize with incoming_derive(!Deserialize) Jonas Platte 2020-08-17 22:08:56 +02:00
  • a1ee6c74c0
    Update FilterDefinition to be lifetime-generic Jonas Platte 2020-08-17 21:46:34 +02:00
  • f101611c3d
    Add incoming_derive to Outgoing derive macro Jonas Platte 2020-08-17 21:46:12 +02:00
  • 4a52931af7
    Fix outdated docs on Outgoing derive Jonas Platte 2020-08-17 21:17:09 +02:00
  • e06c800701
    Remove unnecessary clone in expand_derive_outgoing Jonas Platte 2020-08-17 21:14:36 +02:00
  • 789c814089 Update ruma to latest Devin Ragotzy 2020-08-15 13:32:48 -04:00
  • aff914050e
    federation-api: Add invite endpoint v1 and v2 Amanda Graven 2020-08-15 13:33:14 +02:00
  • 85693cc30a Update signatures since Cargo.lock seemed to be using cached ruma Devin Ragotzy 2020-08-14 20:29:15 -04:00
  • e74158b262
    Update more endpoints Jonas Platte 2020-08-15 02:23:30 +02:00
  • 640c5602d5
    Make accidentally private fields public Jonas Platte 2020-08-15 02:19:26 +02:00
  • 9e8f4a3437
    Use AnyStateEventContent in send_state_event_for_key Jonas Platte 2020-08-14 19:10:24 +02:00
  • 0babfb489c
    Use AnyStateEventContent in send_state_event_for_empty_key Jonas Platte 2020-08-14 19:06:16 +02:00
  • aead9fa852
    Use AnyMessageEventContent in send_message_event Jonas Platte 2020-08-08 20:47:38 +02:00
  • ccc75313c5 Add docs and rename _get_event -> get_or_load_event Devin Ragotzy 2020-08-14 15:49:43 -04:00
  • 456505081b
    Fix rooms/{roomId}/aliases and rooms/{roomId}/report endpoint metadata fields Devin Ragotzy 2020-08-14 09:43:21 -04:00
  • d22d83522b Make auth_types_for_event take the ruma types instead of StateEvent Devin Ragotzy 2020-08-14 07:39:30 -04:00
  • f420082b39 Add get_public_rooms_filtered endpoint to ruma-federation-api Isaiah Inuwa 2020-08-11 20:54:45 -05:00
  • eaf3fd41cc Use shared directory types from ruma-common in ruma-federation-api and ruma-client-api Isaiah Inuwa 2020-08-11 20:54:26 -05:00
  • 90af430d6b Copy shared directory types to ruma-common Isaiah Inuwa 2020-08-11 20:49:15 -05:00
  • 29e115cbce
    Move all foo/mod.rs to foo.rs Jonas Platte 2020-08-14 00:16:52 +02:00
  • d6c15e5769
    client-api: More borrowing Jonas Platte 2020-08-14 01:28:05 +02:00
  • 7557ed438b
    Replace last explicit use of Box<ServerName> outside ruma-identifiers Jonas Platte 2020-08-14 01:08:16 +02:00
  • 652c40a01b
    fixup! Make some request and response types non-exhaustive Jonas Platte 2020-08-14 00:34:42 +02:00
  • a165c43460
    Make some request and response types non-exhaustive Jonas Platte 2020-08-14 00:30:25 +02:00
  • 157957ced6
    client-api: Update more endpoints to new API conventions Jonas Platte 2020-08-14 00:23:27 +02:00
  • a674afe512
    client-api: Include add_3pid in r0::account Jonas Platte 2020-08-14 00:20:06 +02:00
  • a6c1b8f0bd
    Parse and emit attributes connected to the request/response defs in ruma_api macro Devin Ragotzy 2020-08-13 18:01:19 -04:00
  • b68deabb86
    Fix CI Jonas Platte 2020-08-13 22:13:20 +02:00
  • 6e2b76c528
    Fixup for f210f916 Jonas Platte 2020-08-13 22:10:25 +02:00
  • 148d876acb
    Use ServerNameBox in ruma-events, ruma-*-api Jonas Platte 2020-08-13 21:57:56 +02:00
  • b4b96e44fd
    Borrow things in more endpoint requests Jonas Platte 2020-08-13 21:22:11 +02:00
  • a00129fcfb
    Borrow strings and identifiers in membership::ThirdPartySigned and dependent endpoints Jonas Platte 2020-08-13 21:21:57 +02:00
  • 4a1b6d5607
    Use DeviceIdBox in ruma-events, ruma-*-api Jonas Platte 2020-08-13 21:13:36 +02:00
  • f210f91611
    Borrow strings and identifiers in uiaa::AuthData and dependent endpoints Jonas Platte 2020-08-13 21:11:28 +02:00
  • a842c5ccdc
    identifiers: Add DeviceIdBox and ServerNameBox Jonas Platte 2020-08-13 20:42:03 +02:00
  • 662ce82bc2
    Add "(Type) Privacy and Forwards Compatiblity" to CONTRIBUTING.md Jonas Platte 2020-08-13 20:40:22 +02:00
  • ed767d253b
    Fix missing title case in CONTRIBUTING.md Jonas Platte 2020-08-13 20:32:24 +02:00
  • 5c025da37d
    Add to ruma-events change log Jonas Platte 2020-08-13 20:03:57 +02:00
  • b470d4d681
    Fix ruma-events change log Jonas Platte 2020-08-13 19:56:23 +02:00
  • 221befe401
    Add constructors to MessageEventContent Jonas Platte 2020-08-13 19:51:02 +02:00
  • d36dcdb202
    Add NoticeMessageEventContent::html and TextMessageEventContent::html Jonas Platte 2020-08-13 19:46:05 +02:00
  • 4a5272e37b
    Fix doc typo Jonas Platte 2020-08-13 19:45:03 +02:00