Commit Graph

  • 79cbce00cc
    client-api: Update change log Jonas Platte 2021-09-23 18:20:51 +02:00
  • efd5ad52fa
    client-api: Add the reason field for remaining endpoints (MSC2367) Niklas Kunz 2021-09-23 18:18:49 +02:00
  • a7be60d9eb
    client-api: Use an enum for user-interactive auth stage type Jonas Platte 2021-09-23 18:04:30 +02:00
  • 36462694e6
    client-api: Fix a spec link Jonas Platte 2021-09-23 17:55:50 +02:00
  • 898ec65e77
    client-api: Add registration token UIAA type (from MSC3231) Callum Brown 2021-09-22 13:18:03 +01:00
  • a2254562b9
    identifiers: Rewrap doc comment Jonas Platte 2021-09-22 13:40:34 +02:00
  • ef0e9c77c3
    identifiers: Merge impl blocks Jonas Platte 2021-09-22 13:40:01 +02:00
  • 237b423996
    Release ruma-api 0.18.5 Jonas Platte 2021-09-21 18:55:29 +02:00
  • 4eb5783474
    client-api: Move conditionally-used import so it's always used Jonas Platte 2021-09-21 18:54:33 +02:00
  • 7df5a0f09d
    api: Fix inverse condition for sending application/json content-type Jonas Platte 2021-09-21 18:54:10 +02:00
  • 21e4c90cfa
    Revert "client-api: Allow testing sync_events structs for exhaustiveness" Jonas Platte 2021-09-21 15:08:47 +02:00
  • 9b8e6e8d96 Merge tag 'ruma-client-api-0.12.3' Jonas Platte 2021-09-21 13:52:58 +02:00
  • 2f9081cd81
    Release ruma-client-api 0.12.3 Jonas Platte 2021-09-21 13:46:01 +02:00
  • 630c1b1d01
    client-api: Fix compat workaround for Element Jonas Platte 2021-09-21 13:40:44 +02:00
  • 1350f65dcb
    client-api: Fix compat workaround for Element Jonas Platte 2021-09-21 13:40:44 +02:00
  • 8079e1c155
    Release ruma-api 0.18.4 Jonas Platte 2021-09-21 11:33:18 +02:00
  • d16db420e3
    api: Stop adding Content-Type to requests without any fields Jonas Platte 2021-09-21 11:32:18 +02:00
  • e2d9bf5eba Merge tag 'ruma-events-0.24.6' Jonas Platte 2021-09-20 21:27:12 +02:00
  • d07cacb61d
    Release ruma-events 0.24.6 Jonas Platte 2021-09-20 21:25:27 +02:00
  • a9f23f6638
    Add allow to JoinRulesEventContent Jonas Platte 2021-09-20 20:28:52 +02:00
  • 83b66ab8c2
    Add allow to JoinRulesEventContent Jonas Platte 2021-09-20 20:28:52 +02:00
  • ca49cf802d
    federation: Borrow more request fields Jonas Platte 2021-09-19 19:59:18 +02:00
  • 2bf17fd727
    events: Further clean up tests Jonas Platte 2021-09-19 19:10:52 +02:00
  • 9929a3f8d5
    events: Clean up some tests Jonas Platte 2021-09-19 18:56:12 +02:00
  • 69a97232b9
    state-res: Clean up test code Jonas Platte 2021-09-17 23:42:46 +02:00
  • 62b0034a83
    identifiers: Remove extraneous newlines Jonas Platte 2021-09-17 20:21:16 +02:00
  • 4f3eaa83a0
    identifiers: Fix Debug output of opaque identifier types Jonas Platte 2021-09-17 20:09:21 +02:00
  • 5d27a36cb1
    identifiers: Split opaque_ids module back into device_id, key_name Jonas Platte 2021-09-17 20:07:16 +02:00
  • 4ec9f1aa03
    events: Require MessageType to always contain a body Jonas Platte 2021-09-17 19:08:57 +02:00
  • aa2388fe86 Add the module style clippy lint Devin Ragotzy 2021-08-27 19:54:45 -04:00
  • a9985d7763
    events / state-res: Use RawJsonValue over JsonValue for event content Jonas Platte 2021-09-15 19:46:27 +02:00
  • 1df1256a86
    events: Put pdu module behind an unstable feature flag Jonas Platte 2021-09-15 20:31:31 +02:00
  • 36bc8bf73a
    federation-api: Replace Raw<Pdu> with Box<RawJsonValue> Jonas Platte 2021-09-15 20:27:57 +02:00
  • da14fdaf17
    serde: Remove impl From<T> for Raw<T> Jonas Platte 2021-09-15 16:18:29 +02:00
  • 0126a7223a
    client-api: Use generics for content in send_{message,state}_event::Request::new Jonas Platte 2021-09-15 15:30:32 +02:00
  • f214aef8ad
    events: Update changelog Jonas Platte 2021-09-11 23:35:02 +02:00
  • bb9f95224c
    events: Remove RedactedStrippedStateEvent Jonas Platte 2021-09-11 22:12:44 +02:00
  • c33920d8ae
    Use thiserror in id-validation, add more detail to mxc-uri errors Jonathan de Jong 2021-08-17 14:48:10 +02:00
  • b0e6b22ffe
    events: Fix a test Jonas Platte 2021-09-15 20:36:15 +02:00
  • 0196c53530
    events: Remove outdated docs Jonas Platte 2021-09-15 20:06:24 +02:00
  • 9cb9b1104a
    state-res: Remove unused Event trait methods Jonas Platte 2021-09-15 18:15:01 +02:00
  • c94f9d5c88
    state-res: Remove unnecessary .iter() call Jonas Platte 2021-09-14 10:14:48 +02:00
  • 989c25a541
    client-api: Remove redundant dev-dependency Jonas Platte 2021-09-14 09:31:20 +02:00
  • a6a1224652
    state-res: Make functions more general Jonas Platte 2021-09-13 18:34:08 +02:00
  • 0999e420ae
    state-res: Return borrowed content in Event method Jonas Platte 2021-09-13 18:51:37 +02:00
  • e49f76b4be
    state-res: Implement Event for &T where T: Event Jonas Platte 2021-09-13 18:33:37 +02:00
  • 889406b6c2
    state-res: Make resolve more general by using impl IntoIterator for state_sets Jonas Platte 2021-09-13 16:01:43 +02:00
  • 3830dcddc2
    state-res: Simplify tests a bit Jonas Platte 2021-09-13 15:40:54 +02:00
  • 717fd1198d
    state-res: Remove unnecessary unwrap call Jonas Platte 2021-09-13 15:35:21 +02:00
  • f566cd4486
    state-res: Remove unneeded rebuilding of collection for logging Jonas Platte 2021-09-12 18:44:07 +02:00
  • a9a522ccfa
    state-res: Fix benchmark Jonas Platte 2021-09-12 18:25:45 +02:00
  • 118aa8fc4a
    state-res: Make usage of Arc optional Jonas Platte 2021-09-12 01:20:55 +02:00
  • a4b8f3bc90
    state-res: Implement Event for Arc<T> where T: Event Jonas Platte 2021-09-12 00:50:53 +02:00
  • f0cd82dae7
    state-res: Refactor test_utils Jonas Platte 2021-09-12 01:12:23 +02:00
  • 279322862c
    state-res: Reduce public API to what Conduit uses Jonas Platte 2021-09-12 00:45:47 +02:00
  • bc1e7eb1fc
    state-res: Remove unused code from test_utils Jonas Platte 2021-09-12 00:42:05 +02:00
  • 3c0493bddf
    state-res: Move tests into the crate and make test_utils private Jonas Platte 2021-09-12 00:34:46 +02:00
  • 3b9bd1fc76
    state-res: Simplify benchmark Jonas Platte 2021-09-12 00:22:35 +02:00
  • 2b7ab82401
    state-res: Remove unneeded .as_deref() call Jonas Platte 2021-09-11 22:32:50 +02:00
  • d60b7bf814
    state-res: Filter out Nones from conflicted_state earlier Jonas Platte 2021-09-07 13:45:54 +02:00
  • b31065827b
    state-res: Allocate less when computing all_conflicted Jonas Platte 2021-09-07 13:30:46 +02:00
  • 6559681095
    state-res: Rewrite get_auth_chain_diff algorithm Jonas Platte 2021-09-07 13:24:04 +02:00
  • 3a04aea446
    state-res: Delete empty file Jonas Platte 2021-09-07 13:15:37 +02:00
  • 00a59d0528
    state-res: Reduce unnecessary Arc usage Jonas Platte 2021-09-05 19:53:33 +02:00
  • 2d83cf9a03
    state-res: Remove unused functions Jonas Platte 2021-09-05 19:37:56 +02:00
  • f65b8b63e2
    state-res: Make most functions in event_auth private Jonas Platte 2021-09-05 19:37:28 +02:00
  • 355a493024
    state-res: Fix some docs Jonas Platte 2021-09-05 19:34:17 +02:00
  • 0cd91ed61e
    state-res: Don't import-rename crate root Jonas Platte 2021-09-05 19:33:44 +02:00
  • 0ed0a620a3
    state-res: Refactor iterative_auth_check Jonas Platte 2021-09-05 19:32:46 +02:00
  • 1e19de9579
    state-res: Return borrows from Event::{prev_events, auth_events} Jonas Platte 2021-09-05 18:31:43 +02:00
  • 34a10b87c5
    state-res: Return borrows from Event::{event_type, state_key} Jonas Platte 2021-09-05 18:10:13 +02:00
  • 660cd97962
    state-res: Remove todo comment Jonas Platte 2021-09-05 00:51:48 +02:00
  • 91e6a1c65c
    state-res: Use HashSet::retain Jonas Platte 2021-09-04 12:33:07 +02:00
  • 1a4b7903b8
    state-res: Replace if let with match Jonas Platte 2021-09-04 12:28:52 +02:00
  • 324fb58a62
    state-res: Simplify get_auth_chain_diff signature Jonas Platte 2021-09-04 10:37:15 +02:00
  • 290c61820b
    state-res: Remove unused function parameters Jonas Platte 2021-09-04 10:35:42 +02:00
  • 17ffade52b
    state-res: Use named fields instead of multiline messages for tracing events Jonas Platte 2021-09-04 01:43:28 +02:00
  • 43c8df18ad
    state-res: Use match instead of repeatedly comparing the same variable Jonas Platte 2021-09-04 01:41:24 +02:00
  • b4c22d5783
    state-res: Further simplify valid_membership_change Jonas Platte 2021-09-04 01:39:20 +02:00
  • 22cee51e1a
    state-res: Replace two uses of map_or with simpler match Jonas Platte 2021-09-04 01:35:42 +02:00
  • d1fa58abb2
    state-res: Make logic a bit easier to read Jonas Platte 2021-09-04 01:33:10 +02:00
  • d8637d3b30
    state-res: Replace map_or_else with simpler alternatives Jonas Platte 2021-09-04 01:28:18 +02:00
  • 4d0064330a
    state-res: Inline get_named_level Jonas Platte 2021-09-04 01:20:27 +02:00
  • 8b4d019861
    state-res: More fetch_state deduplication Jonas Platte 2021-09-04 01:16:18 +02:00
  • f9f4106757
    state-res: Don't call .to_string() for server name comparison Jonas Platte 2021-09-04 01:12:35 +02:00
  • 7f4eba5a5c
    state-res: Inline get_user_power_level Jonas Platte 2021-09-04 01:12:01 +02:00
  • 4259e9ec0c
    state-res: Deduplicate a few redundant function calls Jonas Platte 2021-09-04 01:05:17 +02:00
  • f00b4a0984
    state-res: Remove fetch_state parameter from a few more functions Jonas Platte 2021-09-04 00:54:29 +02:00
  • 4bba58d781
    state-res: Move more fetch_state calls into auth_check (from sub-functions) Jonas Platte 2021-09-04 00:44:06 +02:00
  • a6377067cd
    state-res: Don't turn Int into i64 internally Jonas Platte 2021-09-03 22:48:34 +02:00
  • b0d475eac3
    state-res: Inline can_send_invite Jonas Platte 2021-09-03 22:43:37 +02:00
  • 983ce8451f
    state-res: Inline check_event_sender_in_room Jonas Platte 2021-09-03 22:38:08 +02:00
  • 359a0cb125
    state-res: Don't pass fetch_state to valid_membership_change Jonas Platte 2021-09-03 22:20:13 +02:00
  • 0a93780e83
    state-res: Move tests/utils.rs to src/test_utils.rs Jonas Platte 2021-09-03 22:08:33 +02:00
  • 6b1f027b88
    state-res: Raise an error (don't panic) on invalid power-levels event Jonas Platte 2021-09-03 21:20:48 +02:00
  • 40f99cb364
    state-res: Update verify_third_party_invite signature Jonas Platte 2021-09-03 21:46:33 +02:00
  • 76fa15f248
    state-res: Rename Event::kind to event_type Jonas Platte 2021-09-03 20:51:20 +02:00
  • a56814a4f4
    state-res: Fix up doc comments Jonas Platte 2021-09-03 20:28:14 +02:00
  • 4bea59caef
    state-res: Remove StateResolution type Jonas Platte 2021-08-31 20:23:59 +02:00
  • cc9336e444
    state-res: Take ownership of events to sort in reverse_topological_power_sort Jonas Platte 2021-08-31 19:12:30 +02:00