Commit Graph

  • 3dadd0a772
    ruma: Export serde helpers for custom api creation Florian Jacob 2020-08-13 09:41:12 +02:00
  • a719174592
    serde: Repair minor docs typo Florian Jacob 2020-08-13 09:38:47 +02:00
  • 6e0edce35a Continue to update to keep compatibility with conduit Devin Ragotzy 2020-08-13 01:15:57 -04:00
  • 484f48dc41 Export all of the event_auth mod Devin Ragotzy 2020-08-12 18:39:33 -04:00
  • 5f77bc11a2 Update ruma with conduit, make event_id return EventId not Option<> Devin Ragotzy 2020-08-12 18:24:58 -04:00
  • c1b4b77bbd
    api: Update change log Jonas Platte 2020-08-12 23:43:57 +02:00
  • 987d48666c
    Split Endpoint trait into OutgoingRequest, IncomingRequest Jonas Platte 2020-08-12 22:35:18 +02:00
  • abc34eeb7e
    Move manual endpoint impl test into its own file Jonas Platte 2020-08-12 20:29:24 +02:00
  • 52f7546c47
    Make most things in ruma_api::error actually public (no more #[doc(hidden)]) Jonas Platte 2020-08-12 20:28:46 +02:00
  • edc38b340c
    federation-api: Update origin field type Jonas Platte 2020-08-12 22:40:43 +02:00
  • c6e625a85f
    federation-api: Add backfill endopint q-b 2020-08-12 22:15:47 +02:00
  • 656dc723ad
    appservice-api: Fix endpoint versioning q-b 2020-08-12 21:33:07 +02:00
  • 0a538b53df
    Update CONTRIBUTING.md Jonas Platte 2020-08-12 19:07:59 +02:00
  • 0a1a381e6c
    federation-api: Fix types in create_join_event_template::v1 request & response Jonas Platte 2020-08-12 14:36:03 +02:00
  • 835c41ce28
    Fix canonical alias type Timo 2020-08-12 14:10:33 +02:00
  • 835c721a12
    Fix non-empty Void Jonas Platte 2020-08-12 14:21:50 +02:00
  • eca333a9ec
    Fix doc link Jonas Platte 2020-08-12 14:14:06 +02:00
  • 906465d0c3
    Replace all ::ruma_api:: with the discovered crate name or $crate Devin Ragotzy 2020-08-12 08:01:43 -04:00
  • 467e7afd5e
    Require std::error::Error for EndpointError florianjacob 2020-08-12 14:00:44 +02:00
  • 5a45970266 Update how PDU works this needs to be fixed TODO Devin Ragotzy 2020-08-11 23:53:33 -04:00
  • 1509ef45c1 Update ruma depricated and use Option<String> for state_key Devin Ragotzy 2020-08-11 23:40:22 -04:00
  • 9a388fc813 Bump ruma to same rev as conduit federation-p2p branch Devin Ragotzy 2020-08-11 23:22:20 -04:00
  • 342181ab1a
    Use proc_macro_crate name in the event_enum! macro code-gen Devin Ragotzy 2020-08-11 14:55:10 -04:00
  • e2f84679b3
    Use proc_macro_crate name in the event content derives Devin Ragotzy 2020-08-11 14:38:19 -04:00
  • 9bc257b19e
    Use proc_macro_crate name in the Event derive Devin Ragotzy 2020-08-11 14:34:33 -04:00
  • cfe62f27d0
    Re-export ruma-events-macros and deps in ruma-events Devin Ragotzy 2020-08-11 14:32:58 -04:00
  • 636cc503ed
    Add get_keys endpoint and changelog entry Amanda Graven 2020-08-11 15:58:38 +02:00
  • de337ecb8c
    events: impl Display for room::message::MessageFormat Jonas Platte 2020-08-11 15:08:59 +02:00
  • a3722ca08c
    Add claim_keys endpoint and changelog entry Amanda Graven 2020-08-11 12:09:19 +02:00
  • 3454a0e750
    Implement FromStr for identifier types Jonas Platte 2020-08-11 02:15:14 +02:00
  • dffa60d70f
    client-api: Update leave_room to new API conventions Jonas Platte 2020-08-11 02:03:14 +02:00
  • abeb2160ad
    Fix formatting Jonas Platte 2020-08-11 01:57:53 +02:00
  • aa3e7416a9
    Update constructors in ruma_events::room::message Jonas Platte 2020-08-11 01:54:23 +02:00
  • b20768c1b1
    Integrate ruma-client Jonas Platte 2020-08-11 01:20:02 +02:00
  • 3a6bdd63bd Add 'ruma-client/' from commit 'fab0ef566f143c1926bff4af4a0a4751379eff1f' Jonas Platte 2020-08-10 23:49:55 +02:00
  • c4558774be Re-export ruma_api's pub api in the ruma crate Devin Ragotzy 2020-08-10 17:40:45 -04:00
  • 98ddf25ae2 Allow the main ruma crate to re-export the ruma-api-macro things Devin Ragotzy 2020-08-10 17:07:03 -04:00
  • 6877c2f38d Use ruma_api crate from ruma or if renamed or not in crate prelude Devin Ragotzy 2020-08-10 16:34:14 -04:00
  • 45aad4d10c
    Add device info endpoint Amanda Graven 2020-08-10 13:11:05 +02:00
  • a1426c9308
    Clean up room version id tests q-b 2020-08-10 20:44:02 +02:00
  • fdc15123b0
    Reorganize encyption related code Amanda Graven 2020-08-10 15:51:04 +02:00
  • 585485831b
    Make serde support in ruma-identifiers truly optional Jonas Platte 2020-08-10 17:53:28 +02:00
  • 9cf552f361
    Add Endpoint::{IncomingRequest, IncomingResponse} Jonas Platte 2020-08-09 03:18:14 +02:00
  • ddb1b48e71
    Pass the attributes of any type deriving Outgoing to the Incoming type Devin Ragotzy 2020-08-08 21:01:40 -04:00
  • f455d4c8ab
    Remove Response lifetime generation code in ruma_api macro Devin Ragotzy 2020-08-08 21:01:19 -04:00
  • 0cd87a6c07
    Update ruma-common changelog Jonas Platte 2020-08-09 00:57:06 +02:00
  • c3170c1182
    Make all types in ruma_common::thirdparty non-exhaustive Jonas Platte 2020-08-09 00:56:29 +02:00
  • da78e215f8
    Use thirdparty network types into ruma_common Jonas Platte 2020-08-09 00:45:35 +02:00
  • daf37063aa
    Update ruma-appservice-api to new API conventions Jonas Platte 2020-08-09 00:32:26 +02:00
  • a0a1987bbf
    Small style fix Jonas Platte 2020-08-09 00:01:47 +02:00
  • a183a6c801
    Add from_parts constructors for DeviceKeyId and ServerKeyId Jonas Platte 2020-08-08 22:37:37 +02:00
  • 1f056b4ba7
    Fix docs for DeviceId Jonas Platte 2020-08-08 22:24:40 +02:00
  • 1fbf05d71f
    Fix some bad formatting Jonas Platte 2020-08-08 21:52:58 +02:00
  • 0366466792
    Use toplevel imports in ruma_api! expansion Jonas Platte 2020-08-08 21:23:07 +02:00
  • c39e9f5779
    client-api: Move tests in get_public_rooms into tests module Jonas Platte 2020-08-08 21:07:35 +02:00
  • f37fc6845f
    Remove borrowing from API responses Jonas Platte 2020-08-08 21:04:45 +02:00
  • ade12dec47
    Fix inversion of NonAuthEndpoint implementations Jonas Platte 2020-08-08 20:05:44 +02:00
  • d6d84a9a70
    Bump ruma-identifiers version Jonas Platte 2020-08-08 18:28:23 +02:00
  • 0f3478bf90
    Rename serde dependency in ruma-identifiers Jonas Platte 2020-08-08 18:15:35 +02:00
  • 67154e2c31
    Fix key algorithm serde (de)serialization Jonas Platte 2020-08-08 18:11:14 +02:00
  • f7ac4e2080
    Add tests for key_algorithm parsing Jonas Platte 2020-08-08 18:05:54 +02:00
  • 9384d24d04
    Fix last commit not building with the unstable-pre-spec feature Jonas Platte 2020-08-08 17:06:14 +02:00
  • a74dddd93b
    Borrow strings and identifiers in more endpoints Jonas Platte 2020-08-08 16:50:37 +02:00
  • 6f805d2584
    client-api: Simplify r0::room::create_room::CreationContent::into_event_content using the assign crate Jonas Platte 2020-08-08 16:36:13 +02:00
  • a1916837f9
    Bump ruma-identifiers version Jonas Platte 2020-08-08 16:21:11 +02:00
  • e939f7049d
    Update ruma-identifiers changelog Jonas Platte 2020-08-08 16:20:05 +02:00
  • bc50230c8a
    identifiers: Restore key algorithm (de)serialization with default features Jonas Platte 2020-08-08 16:02:59 +02:00
  • 7eb945976c Use strong types in signatures fields Isaiah Inuwa 2020-08-05 21:04:49 -05:00
  • 7240184c1d Use DeviceKeyId and DeviceKeyAlgorithm from ruma-identifiers Isaiah Inuwa 2020-07-31 16:15:16 -05:00
  • 9fa96268b4 Add optional serde dependency. Isaiah Inuwa 2020-08-08 08:01:25 -05:00
  • d08fc02bc0
    Update ruma-client-api changelog Jonas Platte 2020-08-08 15:50:41 +02:00
  • 349027f87d
    Borrow strings and identifiers in send_state_event_* Jonas Platte 2020-08-08 14:36:31 +02:00
  • 2e683b2fd4
    Borrow strings and identifiers in send_message_event Jonas Platte 2020-08-08 14:28:07 +02:00
  • 582cc9fe2a
    Rename {create => send}_message_event, same for state Jonas Platte 2020-08-08 14:27:00 +02:00
  • 929cd8a8d0
    Fix ruma-client-api changelog Jonas Platte 2020-08-08 14:25:35 +02:00
  • 478385f0f2
    Add room::aliases endpoint Devin Ragotzy 2020-08-08 08:07:03 -04:00
  • c2cf8682e6
    Don't use * imports in ruma_api_lifetime test Jonas Platte 2020-08-08 13:23:57 +02:00
  • 7f0f5be1fe
    Convert alias mod and get_public_rooms to use Outgoing trait Devin Ragotzy 2020-08-07 16:08:03 -04:00
  • 30e73186e7
    Bump dependencies Jonas Platte 2020-08-07 19:13:00 +02:00
  • f470afcb2a
    Release ruma-identifiers 0.17.2 Jonas Platte 2020-08-07 18:35:01 +02:00
  • 5153279eba Fix missing RoomVersionId::Version6 try_from and tests Faelar 2020-08-07 17:51:10 +02:00
  • b2d45e4748 Rename generic_lifetime -> is_lifetime_generic Devin Ragotzy 2020-08-06 17:24:00 -04:00
  • 1060d63057 Use full type with Outgoing trait for request query deserialization Devin Ragotzy 2020-08-06 16:53:56 -04:00
  • e783288ef0 Limit when RequestQuery impls Deserialize and impl Outgoing Devin Ragotzy 2020-08-06 16:16:17 -04:00
  • 770a68d49b Fix Outgoing derive missing lifetimes when branching for emitting code Devin Ragotzy 2020-08-06 16:15:17 -04:00
  • 7e3ebff089 Add tests testing failing Outgoing derive for query fields Devin Ragotzy 2020-08-06 16:12:52 -04:00
  • 5103baeb4b Add semicolons and the other possible syn::Type types Devin Ragotzy 2020-08-06 14:55:21 -04:00
  • 1336cd8c41 Handle tuple types in collect_lifetime_idents Devin Ragotzy 2020-08-06 11:00:11 -04:00
  • 4e2f1a19e1 Fix typo and rename copy_lifetime_ident -> collect_lifetime_ident Devin Ragotzy 2020-08-06 10:59:22 -04:00
  • f67744bb4f Throw error if query_map has any ref types Devin Ragotzy 2020-08-06 09:54:41 -04:00
  • 588a6035f0 Use Outgoing trait in ruma_api_lifetime tests Devin Ragotzy 2020-08-05 21:12:27 -04:00
  • 80237d6dd1 Fix clippy warnings Devin Ragotzy 2020-08-05 18:14:47 -04:00
  • 2beaf450a3 Add a query_map field to ruma_api! lifetime test Devin Ragotzy 2020-08-06 09:48:39 -04:00
  • c980644d77 Clean up and fix missing comma for request query map Devin Ragotzy 2020-08-05 17:46:53 -04:00
  • e36149aea1 Add tuple lifetime stripping to derive_outgoing Devin Ragotzy 2020-08-05 16:00:54 -04:00
  • f0a5a43455 Move lifetime tests into their own file Devin Ragotzy 2020-08-05 16:00:27 -04:00
  • 0793724264 Refactor to use Req/ResLifetimes struct for adding lifetimes to req/res Devin Ragotzy 2020-08-06 09:47:29 -04:00
  • e7f7c3bb9d Add lifetime params to Request/Response when needed Devin Ragotzy 2020-08-04 20:02:20 -04:00
  • c2342e3ef7 Add failing test to ruma-api for lifetimes in ruma_api! macro Devin Ragotzy 2020-08-04 19:59:54 -04:00
  • 1155edcaed Add lifetime discovery and collection functions to ruma-api-macro Devin Ragotzy 2020-08-04 19:57:31 -04:00