426 Commits

Author SHA1 Message Date
Jonas Platte
40f99cb364
state-res: Update verify_third_party_invite signature
Use &UserId instead of &str.
2021-09-13 19:02:34 +02:00
Jonas Platte
76fa15f248
state-res: Rename Event::kind to event_type 2021-09-13 19:02:33 +02:00
Jonas Platte
a56814a4f4
state-res: Fix up doc comments 2021-09-13 19:02:33 +02:00
Jonas Platte
4bea59caef
state-res: Remove StateResolution type
… making its associated functions free instead.
2021-09-13 19:02:33 +02:00
Jonas Platte
cc9336e444
state-res: Take ownership of events to sort in reverse_topological_power_sort
Avoids clones.
2021-09-13 19:02:33 +02:00
Jonas Platte
ebd812bcda
Add missing semicolons 2021-09-13 19:02:33 +02:00
Jonas Platte
c9bb99b284
ruma: Silence dead code warning for integration test 2021-09-12 22:28:19 +02:00
ftilde
a875f39648
events: Fix quoting of multiline fallback messages
Previously, a '> ' was prepended only to the first line of the quoted
message.
2021-09-11 23:31:15 +02:00
Jonas Platte
09acfb1b0b
Release ruma-state-res 0.4.1 2021-09-01 21:55:04 +02:00
Jonas Platte
6abf9f7d99
Release ruma-federation-api 0.3.1 2021-09-01 15:21:49 +02:00
Jonas Platte
1d6b84d522
federation-api: Fix request query deserialization for get_remote_server_keys_batch 2021-09-01 15:21:18 +02:00
Jonas Platte
a03955a778
federation-api: Fix request body (de)serialization 2021-09-01 15:18:51 +02:00
Jonas Platte
815fd19a33
state-res: Remove pointless shifting around of Vec elements 2021-08-31 20:40:36 +02:00
Jonas Platte
9c5b2e3d8c
state-res: Only depend on maplit for tests / benches 2021-08-31 19:19:17 +02:00
Jonas Platte
a3707b1a3a
state-res: Remove pointless .unwrap() 2021-08-31 19:02:03 +02:00
Jonas Platte
dc842f028f
Add missing commas 2021-08-30 17:34:20 +02:00
Jonas Platte
46c7e3f811
Clean up and rewrap documentation comments 2021-08-27 21:32:02 +02:00
Jonas Platte
f32e0babe9
push-gateway-api: Improve Notification docs 2021-08-27 21:19:28 +02:00
Jonas Platte
c13737af04
Copy new spec description of MemberEventContent#reason 2021-08-27 10:06:14 +02:00
Jonas Platte
fcb40894f4
Release ruma 0.4.0 2021-08-26 12:34:40 +02:00
Jonas Platte
50f0327b0b
Release ruma-state-res 0.4.0 2021-08-26 12:33:47 +02:00
Devin Ragotzy
886c33eac3
state-res: Use fetch state closure instead of auth_chain 2021-08-26 12:29:33 +02:00
Jonas Platte
35a231e20c
api: Rewrap doc comment 2021-08-22 22:14:32 +02:00
Jonas Platte
f3e52e4bc3
events: Don't serialize event_type inside content for unsupported events 2021-08-22 14:12:36 +02:00
Jonas Platte
18127be03c
events-macros: Revert recent addition of unneeded allow(clippy::lints) 2021-08-22 14:10:15 +02:00
Jonas Platte
77cf085ab9
events: Don't store extra fields for unknown events in content enums 2021-08-22 13:54:20 +02:00
Jonas Platte
1c361c2895
events-macros: Reduce amount of newlines 2021-08-22 13:29:03 +02:00
Jonas Platte
b85e452aec
Release ruma-events 0.24.5 2021-08-21 15:58:54 +02:00
Jonas Platte
a81880c68f
events: Rework Relation serde
Relation types now implement `Deserialize`, `Serialize`.
2021-08-21 15:20:15 +02:00
Jonas Platte
06f8b81ace
client-api: Remove unnecessary attribute 2021-08-21 14:28:52 +02:00
Jonas Platte
f5ab038e22
Release ruma-client-api 0.12.2 2021-08-18 20:33:43 +02:00
Jonas Platte
31a0845b66
client-api: Add auth_type and session accessors to IncomingAuthData 2021-08-18 20:33:26 +02:00
Jonas Platte
7a581038e3
Release ruma-api 0.18.3 2021-08-18 19:29:40 +02:00
Jonas Platte
64aea4f04c
Release ruma-client-api 0.12.1 2021-08-18 18:57:43 +02:00
Jonas Platte
7c654dc0b0
client-api: Appease clippy 2021-08-18 18:39:51 +02:00
Jonas Platte
cfb1b9de04
client-api: Add auth_type and session accessors to AuthData 2021-08-18 18:30:02 +02:00
Jonas Platte
85fc0b39da
identifiers-validation: Don't validate key ID version with feature = "compat" 2021-08-18 18:04:16 +02:00
Adam
d746244241
events: Generate From impls for event (content) enums 2021-08-17 15:44:33 +00:00
Jonas Platte
72538d1de5
events: Update expected output for trybuild test 2021-08-17 13:01:09 +02:00
Jonas Platte
b84cc8d905
events-macros: Refactor expand_event 2021-08-17 12:39:16 +02:00
Jonas Platte
15553e1da9
federation-api: Add a test for v1 /send_join response serialization
Co-authored-by: Timo Kösters <timo@koesters.xyz>
2021-08-17 00:20:10 +02:00
Jonas Platte
b9486b91fa
events: Truly appease clippy 2021-08-16 23:48:17 +02:00
Jonas Platte
1077889e4e
events: Appease clippy 2021-08-16 23:26:50 +02:00
Jonas Platte
90683f0faa
Release ruma-events 0.24.4 2021-08-16 23:12:35 +02:00
Jonas Platte
f859d543e1
events: Test new prev_content compat code 2021-08-16 23:10:58 +02:00
Jonas Platte
367f4ac0e6
events: Fix UI test failing with compat feature 2021-08-16 23:10:46 +02:00
Jonas Platte
fb0e3008bb
events: Fix test failing with compat feature 2021-08-16 23:10:28 +02:00
Jonas Platte
098339056b
events: Add a compat workaround for prev_content in unsigned 2021-08-16 22:55:27 +02:00
Jonas Platte
15ec0bd78e
api-macros: Fix issues from previous refactoring 2021-08-16 22:37:06 +02:00
Jonas Platte
96ab1674af
api-macros: Use serde(transparent) for newtype bodies
… rather than special casing them in many places.
2021-08-16 22:23:30 +02:00