Commit Graph

  • 187809cff5
    api-macros: Export METADATA as a regular constant Jonas Platte 2020-11-27 20:45:33 +01:00
  • aab6ed9c94 Hide RulesetMember::add_to in the docs Ana Gelez 2020-11-27 20:46:09 +01:00
  • 483fe8f940 Run cargo fmt Ana Gelez 2020-11-27 20:34:38 +01:00
  • 57efd8cd5b Custom iterator for Ruleset Ana Gelez 2020-11-27 20:53:34 +01:00
  • 0e6d3f17c6 Seal the RulesetMember trait Ana Gelez 2020-11-27 19:35:17 +01:00
  • 65ef5f21e5 Use Self constructors when possible Ana Gelez 2020-11-27 19:32:40 +01:00
  • 1a29875fb4 Rename PushRule to SimplePushRule Ana Gelez 2020-11-27 19:22:50 +01:00
  • 5d988db5e7 impl Extend for Ruleset Ana Gelez 2020-11-27 18:19:43 +01:00
  • 0e0491c02b Add a "add" method on Ruleset Ana Gelez 2020-11-27 18:14:37 +01:00
  • 98082e0081 Implement IntoIterator for Ruleset Ana Gelez 2020-11-27 16:18:59 +01:00
  • e8622ee809 Use a BTreeSet instead of a Vec to make push rule IDs unique Ana Gelez 2020-11-26 16:01:30 +01:00
  • e7f55ea2c6
    Rewrap comments Jonas Platte 2020-11-27 18:22:18 +01:00
  • 6c4bd7c72c
    events: Allow m.new_content to change the message type Jonas Platte 2020-11-26 12:16:29 +01:00
  • 48d1c97475
    events: Add rudimentary support for m.new_content Jonas Platte 2020-11-25 17:41:35 +01:00
  • 1f14cb0393
    events: Simplify html constructors for text & notice message event contents Jonas Platte 2020-11-25 18:40:16 +01:00
  • 199f5840dd
    events: Make text & notice message event content non-exhaustive Jonas Platte 2020-11-25 18:37:51 +01:00
  • d519a47a00
    Remove circle-artifacts.com links in the documentation Gelez 2020-11-25 18:19:41 +01:00
  • ee6d258bdf
    events: Remove some needless Result wrapping Jonas Platte 2020-11-25 18:10:14 +01:00
  • 4c41bfd1f3
    Add constructors for default push rules Gelez 2020-11-24 22:37:09 +01:00
  • abc18fae39
    Fix some links in documentation Jonas Platte 2020-11-24 03:11:33 +01:00
  • c322bd4d1e
    events: Feature-gate reactions Jonas Platte 2020-11-24 02:31:09 +01:00
  • b7e15efe43
    events: Support attributes on items in event_enum! Jonas Platte 2020-11-24 02:28:17 +01:00
  • 1dee89393a
    events: Fix recently broken tests Jonas Platte 2020-11-24 03:24:58 +01:00
  • 60d12470c9
    events: Allow missing fields in m.room.third_party_invite under unstable-synapse-quirks Jonas Platte 2020-11-23 19:32:28 +01:00
  • 634c3f1ee5
    events: Allow m.room.tombstone without a body under unstable-synapse-quirks Jonas Platte 2020-11-23 19:13:21 +01:00
  • f2c2f2df2f
    common: Don't change fields in thirdparty::Protocol with unstable-synapse-quirks Jonas Platte 2020-11-23 19:12:19 +01:00
  • ee4280cea2
    events: Allow the url in m.room.avatar to be null / missing Jonas Platte 2020-11-23 14:18:41 +01:00
  • 0ae0a89467
    events: Remove accidentally copy-pasted docs line Jonas Platte 2020-11-23 14:15:54 +01:00
  • d16fd4b2c1 Enable support in power level events for old Synapse events with strings Alejandro Domínguez 2020-11-20 03:36:07 +01:00
  • 872701dc83 Introduce the unstable-synapse-quirks feature in ruma-events Alejandro Domínguez 2020-11-20 02:40:29 +01:00
  • 51573238a9 Add function to deserialize BTreeMap with values of numbers and strings to integers Alejandro Domínguez 2020-11-20 02:01:17 +01:00
  • 0ac2f401f8 Add function to deserialize numbers and strings as an integer Alejandro Domínguez 2020-11-20 00:36:51 +01:00
  • d809066c9c
    federation-api: Minor fixes to create_join_event Jonas Platte 2020-11-18 19:36:32 +01:00
  • 34c4b6c110 Remove PduStub Guillem Nieto 2020-11-18 18:44:08 +01:00
  • b168c38d83 Use Pdu on create_join_event endpoints Guillem Nieto 2020-11-18 18:23:04 +01:00
  • 9a4206b1b2
    events: Add a test for edit deserialization without unstable-pre-spec Jonas Platte 2020-11-18 14:12:54 +01:00
  • 0f64a6ea39
    Fix new clippy warnings Jonas Platte 2020-11-10 16:48:35 +01:00
  • f2a8dd7a55
    signatures: Simplify key version validity check Jonas Platte 2020-11-10 14:21:03 +01:00
  • 71a8d9d6ce events: Add support for the m.reaction event type Damir Jelić 2020-11-10 13:26:30 +01:00
  • cf7d4b40e1 events: Add support for the new relation types Damir Jelić 2020-11-10 13:25:41 +01:00
  • a5c08c8fde
    identifiers: Refactor Error enum Jonas Platte 2020-11-08 19:32:09 +01:00
  • 374603f51c
    Rename SigningKeyId to ServerSigningKeyId Jonas Platte 2020-11-08 19:24:48 +01:00
  • c6ef3a06fa
    appservice-api: Fix push_events::v1::Request serialization gnieto 2020-11-08 19:17:34 +01:00
  • b793a790db
    Rename ServerKeyId to SigningKeyId Isaiah Inuwa 2020-08-21 15:56:51 -05:00
  • 8f710a371b
    events: Use a custom event for the custom event tests. Damir Jelić 2020-11-05 12:44:25 +01:00
  • e02d76f4b0
    Remove FIXME comment Jonas Platte 2020-11-05 21:14:56 +01:00
  • 6bfa391104
    Improve docs for lazy loading Jonas Platte 2020-11-05 21:13:37 +01:00
  • d476046443
    Disable clippy::large_enum_variant lint on event enums Jonas Platte 2020-11-01 14:47:55 +01:00
  • dd6446822b
    Derive PartialEq and Eq for all string-wrapping enums Jonas Platte 2020-11-01 14:41:31 +01:00
  • d34a270919
    Allow custom values for more enums Jonas Platte 2020-11-01 02:55:51 +01:00
  • 70a12864ef
    Use new macros for existing future-compatible enums Jonas Platte 2020-10-31 21:22:29 +01:00
  • 1f8e8c2e93
    common-macros: Add derive macros for string-wrapping enums Jonas Platte 2020-10-24 01:34:24 +02:00
  • e91a7b7cbf
    common-macros: Copy RenameRule from serde Jonas Platte 2020-10-24 02:05:46 +02:00
  • 6ac89bb293
    common-macros: Reorder dependencies Jonas Platte 2020-10-31 20:15:13 +01:00
  • c15382ca41
    api-macros: Make Response header fields override any defaults Devin Ragotzy 2020-11-01 05:04:34 -08:00
  • 60bd16ccfc
    Add contrib/ide/vscode/settings.json Jonas Platte 2020-10-29 21:10:19 +01:00
  • 6ba16b3ddb
    signatures: Re-export canonical json types Jonas Platte 2020-10-29 21:01:58 +01:00
  • 6877115109
    signatures: Update docs Jonas Platte 2020-10-29 21:01:43 +01:00
  • bc43e94d7e
    Add helper methods for CanonicalJsonObject construction Devin Ragotzy 2020-10-29 11:31:23 -07:00
  • c04a9e71c5
    Add the unstable-pre-spec feature to the federation-api crate Devin Ragotzy 2020-10-28 06:54:01 -07:00
  • 3f7c6f6bea
    Fix deserialization for some Filter types gnieto 2020-10-26 23:54:35 +01:00
  • c0eee62431
    client-api: Fix the signing key uploading endpoint poljar 2020-10-26 13:16:34 +01:00
  • f2a78babbd
    Avoid creating owned strings in deserialization where not necessary Jonas Platte 2020-10-26 01:52:33 +01:00
  • 62d5108633
    client-api: Make the ErrorKind enum future-compatible Jonas Platte 2020-10-25 00:36:17 +02:00
  • 3b3ef1cb75
    Remove test_ prefix from lots of test functions Jonas Platte 2020-10-25 23:11:08 +01:00
  • 64b9c646d1
    identifiers: Revert serde rename from Cargo.toml Jonas Platte 2020-10-24 19:27:50 +02:00
  • e1975c2035
    Be more consistent about whitespace Jonas Platte 2020-10-24 00:44:01 +02:00
  • 8ceb57ed1d
    Link to new #ruma-dev room in CONTRIBUTING.md Jonas Platte 2020-10-22 19:17:16 +02:00
  • db2f580329
    client-api: Make the CrossSigningKey serialization invertible poljar 2020-10-22 16:21:27 +02:00
  • 97f3e31ad8
    Improve documentation for content_disposition fields Jonas Platte 2020-10-21 14:38:32 +02:00
  • 7d10df7177
    Support &RawJsonValue in Outgoing derive Jonas Platte 2020-10-20 02:22:12 +02:00
  • 3853a36ff6
    Support more unusual reference types in Outgoing derive Jonas Platte 2020-10-20 02:20:29 +02:00
  • 16dd20d64e
    Improve docs for impl Display for CanonicalJsonValue Jonas Platte 2020-10-19 17:56:30 +02:00
  • f85d98f557
    client-api: Implement Default for incoming event filter types Timo Kösters 2020-10-18 11:31:44 +02:00
  • 6f821835f1
    federation-api: Wrap events jn get_missing_events in Raw Timo Kösters 2020-10-18 11:25:24 +02:00
  • 50eb700571
    client: Select hyper connector (TLS backend) at build time Jonas Platte 2020-10-18 00:39:14 +02:00
  • 90bd4874e3
    Remove Option wrapper around directory filters Timo Kösters 2020-10-17 23:06:52 +02:00
  • a67a396ee0
    client-api: Use Option less for event filters Jonas Platte 2020-10-17 22:34:20 +02:00
  • aa43d47343
    client-api: Add a test for filter types' Default implementations Jonas Platte 2020-10-17 20:29:45 +02:00
  • 5576c2f0ed
    client-api: Split up the filter module Jonas Platte 2020-10-17 20:09:00 +02:00
  • 5b904ddbd7
    Update links to main branch skim 2020-10-13 01:24:54 -07:00
  • 4b81beaf05
    Remove unnecessary lifetimes Jonas Platte 2020-10-11 14:25:43 +02:00
  • 3e5cea289c
    Improve consistency in declared field order of media endpoints Jonas Platte 2020-10-11 13:22:57 +02:00
  • f4fc20921a
    Mark response headers optional in media GET endpoints Jonas Platte 2020-10-11 13:14:04 +02:00
  • 6a1c452ac9
    Add generic query endpoint Amanda Graven 2020-10-10 01:12:53 +02:00
  • 524782e992
    Add moderation policy events q-b 2020-10-09 13:29:11 +02:00
  • 87b0846201
    signatures: Replace serde_json::Value with CanonicalJsonValue Jonas Platte 2020-10-02 13:33:28 +02:00
  • 5d03bd883a
    signatures: Implement most function in terms of JSON objects Jonas Platte 2020-09-30 23:17:48 +02:00
  • 9b52601808
    signatures: Replace remaining uses of HashMap with BTreeMap Jonas Platte 2020-09-30 12:46:08 +02:00
  • 98982be7fb
    Add Default implementation for CanonicalJsonValue Jonas Platte 2020-10-04 00:38:11 +02:00
  • e795c7fcd6
    Add free function to_canonical_json_string Jonas Platte 2020-10-03 23:37:33 +02:00
  • 9dc92c31cf
    Add appservice room visibility management endpoint iinuwa 2020-10-04 10:17:21 -05:00
  • b3196d7f64
    Enforce public visibility of all fields of structs deriving Outgoing Devin Ragotzy 2020-10-03 05:39:32 -04:00
  • 8049631827 Make get_missing_events Request/Response fields pub Devin Ragotzy 2020-10-02 18:05:49 -04:00
  • 1282e1cfad
    Do less work on CI Jonas Platte 2020-10-02 15:52:26 +02:00
  • 6c8bac949e
    signatures: Simplify sign_json Jonas Platte 2020-09-29 23:23:47 +02:00
  • 54ba6d10fe
    signatures: Remove useless Value > Value conversion Jonas Platte 2020-09-29 23:21:17 +02:00
  • 5ab9c4dc19
    signatures: Use BTreeMap instead of HashMap Jonas Platte 2020-09-29 23:20:53 +02:00
  • 406b8501ac
    Fix building on Rust 1.43.0 Jonas Platte 2020-09-29 22:12:56 +02:00
  • e3498fd856
    Add a CI job for our MSRV Jonas Platte 2020-09-29 21:23:41 +02:00