Niklas Kunz
efd5ad52fa
client-api: Add the reason field for remaining endpoints (MSC2367)
2021-09-23 16:18:49 +00:00
Jonas Platte
a7be60d9eb
client-api: Use an enum for user-interactive auth stage type
2021-09-23 18:04:30 +02:00
Jonas Platte
36462694e6
client-api: Fix a spec link
2021-09-23 17:55:50 +02:00
Callum Brown
898ec65e77
client-api: Add registration token UIAA type (from MSC3231)
2021-09-22 12:18:03 +00:00
Jonas Platte
a2254562b9
identifiers: Rewrap doc comment
2021-09-22 13:40:34 +02:00
Jonas Platte
ef0e9c77c3
identifiers: Merge impl blocks
2021-09-22 13:40:01 +02:00
Jonas Platte
237b423996
Release ruma-api 0.18.5
2021-09-21 18:55:29 +02:00
Jonas Platte
4eb5783474
client-api: Move conditionally-used import so it's always used
2021-09-21 18:54:33 +02:00
Jonas Platte
7df5a0f09d
api: Fix inverse condition for sending application/json content-type
2021-09-21 18:54:10 +02:00
Jonas Platte
21e4c90cfa
Revert "client-api: Allow testing sync_events structs for exhaustiveness"
...
This reverts commit c816630058ab625d93ebab294e9e6c02dd9d866c.
Checking match exhaustiveness can now be done through the new
non_exhaustive_omitted_patterns lint.
2021-09-21 15:08:47 +02:00
Jonas Platte
9b8e6e8d96
ruma-client-api 0.12.3
...
* Add a `feature = "compat"` workaround for Element failing on `GET /_matrix/client/r0/account/3pid`
response if the optional `threepids` field is missing
-----BEGIN PGP SIGNATURE-----
iIwEABYIADQWIQSYRl0lv78dXawPPq7MFU3g4wt8ZwUCYUnGGxYcanBsYXR0ZStn
aXRAcG9zdGVvLmRlAAoJEMwVTeDjC3xnXEAA/jR+Jn+XK1TFLY4OhLym8VN+4mxb
YLTg0p5mAsyqSXB8AQCXGpCjyYzV1bBFYRx8J2KMTTt0zWwqYRbsCsrUyP2vDQ==
=LUOM
-----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
iIwEABYIADQWIQSYRl0lv78dXawPPq7MFU3g4wt8ZwUCYUnHmxYcanBsYXR0ZStn
aXRAcG9zdGVvLmRlAAoJEMwVTeDjC3xnn00A/04e0hPc/cnl5Lzb8Tvy6Xmzc/6W
hmRfZdcABHGX0eV7AP4xO/LAeS5qVMfwCo8X0ypPLul+PK9faWgeR0O337ZjAw==
=Skqn
-----END PGP SIGNATURE-----
Merge tag 'ruma-client-api-0.12.3'
ruma-client-api 0.12.3
* Add a `feature = "compat"` workaround for Element failing on `GET /_matrix/client/r0/account/3pid`
response if the optional `threepids` field is missing
2021-09-21 13:52:58 +02:00
Jonas Platte
2f9081cd81
Release ruma-client-api 0.12.3
2021-09-21 13:46:01 +02:00
Jonas Platte
630c1b1d01
client-api: Fix compat workaround for Element
2021-09-21 13:40:52 +02:00
Jonas Platte
1350f65dcb
client-api: Fix compat workaround for Element
2021-09-21 13:40:44 +02:00
Jonas Platte
8079e1c155
Release ruma-api 0.18.4
2021-09-21 11:33:18 +02:00
Jonas Platte
d16db420e3
api: Stop adding Content-Type
to requests without any fields
2021-09-21 11:32:18 +02:00
Jonas Platte
e2d9bf5eba
ruma-events 0.24.6
...
Improvements:
* Add (unstable) support for [MSC3083](https://github.com/matrix-org/matrix-doc/blob/main/proposals/3083-restricted-rooms.md )
-----BEGIN PGP SIGNATURE-----
iIwEABYIADQWIQSYRl0lv78dXawPPq7MFU3g4wt8ZwUCYUjgYBYcanBsYXR0ZStn
aXRAcG9zdGVvLmRlAAoJEMwVTeDjC3xnvF8A/0s7gcm4pijTII7wrIOxB0eWSUgc
TSxXIOYpsiDcswnUAP9+PLx+ziy0oxtbPcWK5bil7JBcYwM1tlqIM+d9qlgiCQ==
=W1O9
-----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
iIwEABYIADQWIQSYRl0lv78dXawPPq7MFU3g4wt8ZwUCYUjgkBYcanBsYXR0ZStn
aXRAcG9zdGVvLmRlAAoJEMwVTeDjC3xnrOkBALaAq5RRXvD2xdBD2Q6H9xEPsd/x
KSknkjMjqgCJq2g8AQCql0S5QpH8PsmOKDmMO9X6lIHnnaqUxpSOOHIm83VKAA==
=9Aii
-----END PGP SIGNATURE-----
Merge tag 'ruma-events-0.24.6'
ruma-events 0.24.6
Improvements:
* Add (unstable) support for [MSC3083](https://github.com/matrix-org/matrix-doc/blob/main/proposals/3083-restricted-rooms.md )
2021-09-20 21:27:12 +02:00
Jonas Platte
d07cacb61d
Release ruma-events 0.24.6
2021-09-20 21:25:27 +02:00
Jonas Platte
a9f23f6638
Add allow to JoinRulesEventContent
...
Co-authored-by: Amanda Graven <amanda@amandag.net>
2021-09-20 21:23:46 +02:00
Jonas Platte
83b66ab8c2
Add allow to JoinRulesEventContent
...
Co-authored-by: Amanda Graven <amanda@amandag.net>
2021-09-20 20:34:53 +02:00
Jonas Platte
ca49cf802d
federation: Borrow more request fields
2021-09-19 19:59:18 +02:00
Jonas Platte
2bf17fd727
events: Further clean up tests
2021-09-19 19:10:52 +02:00
Jonas Platte
9929a3f8d5
events: Clean up some tests
2021-09-19 18:56:12 +02:00
Jonas Platte
69a97232b9
state-res: Clean up test code
2021-09-17 23:52:28 +02:00
Jonas Platte
62b0034a83
identifiers: Remove extraneous newlines
2021-09-17 20:21:16 +02:00
Jonas Platte
4f3eaa83a0
identifiers: Fix Debug output of opaque identifier types
2021-09-17 20:09:21 +02:00
Jonas Platte
5d27a36cb1
identifiers: Split opaque_ids module back into device_id, key_name
2021-09-17 20:07:16 +02:00
Jonas Platte
4ec9f1aa03
events: Require MessageType to always contain a body
2021-09-17 19:09:17 +02:00
Jonas Platte
a9985d7763
events / state-res: Use RawJsonValue over JsonValue for event content
2021-09-15 20:58:42 +02:00
Jonas Platte
1df1256a86
events: Put pdu module behind an unstable feature flag
2021-09-15 20:58:37 +02:00
Jonas Platte
36bc8bf73a
federation-api: Replace Raw<Pdu> with Box<RawJsonValue>
2021-09-15 20:36:20 +02:00
Jonas Platte
da14fdaf17
serde: Remove impl From<T> for Raw<T>
2021-09-15 20:36:20 +02:00
Jonas Platte
0126a7223a
client-api: Use generics for content in send_{message,state}_event::Request::new
2021-09-15 20:36:20 +02:00
Jonas Platte
f214aef8ad
events: Update changelog
2021-09-15 20:36:20 +02:00
Jonas Platte
bb9f95224c
events: Remove RedactedStrippedStateEvent
...
Stripped state events are never redacted.
2021-09-15 20:36:20 +02:00
Jonathan de Jong
c33920d8ae
Use thiserror in id-validation, add more detail to mxc-uri errors
2021-09-15 20:36:20 +02:00
Jonas Platte
b0e6b22ffe
events: Fix a test
2021-09-15 20:36:15 +02:00
Jonas Platte
0196c53530
events: Remove outdated docs
2021-09-15 20:06:26 +02:00
Jonas Platte
9cb9b1104a
state-res: Remove unused Event trait methods
2021-09-15 18:15:01 +02:00
Jonas Platte
c94f9d5c88
state-res: Remove unnecessary .iter()
call
2021-09-14 10:14:51 +02:00
Jonas Platte
989c25a541
client-api: Remove redundant dev-dependency
2021-09-14 09:31:20 +02:00
Jonas Platte
a6a1224652
state-res: Make functions more general
...
Don't require different parameters to use the same impl Event.
2021-09-13 19:02:36 +02:00
Jonas Platte
0999e420ae
state-res: Return borrowed content in Event method
2021-09-13 19:02:36 +02:00
Jonas Platte
e49f76b4be
state-res: Implement Event for &T where T: Event
2021-09-13 19:02:36 +02:00
Jonas Platte
889406b6c2
state-res: Make resolve more general by using impl IntoIterator for state_sets
2021-09-13 19:02:36 +02:00
Jonas Platte
3830dcddc2
state-res: Simplify tests a bit
2021-09-13 19:02:36 +02:00
Jonas Platte
717fd1198d
state-res: Remove unnecessary unwrap call
2021-09-13 19:02:36 +02:00
Jonas Platte
f566cd4486
state-res: Remove unneeded rebuilding of collection for logging
2021-09-13 19:02:36 +02:00
Jonas Platte
a9a522ccfa
state-res: Fix benchmark
2021-09-13 19:02:36 +02:00
Jonas Platte
118aa8fc4a
state-res: Make usage of Arc optional
2021-09-13 19:02:36 +02:00