243 Commits

Author SHA1 Message Date
Jonas Platte
f5e67d0f63
client-api: Deserialize empty avatar_url to None in set_avatar_url (feature = "compat") 2021-02-18 13:28:21 +01:00
Jonas Platte
6dd738c315
client-api: Skip avatar_url in set_avatar_url request serialization if it's None 2021-02-18 12:30:02 +01:00
Jonas Platte
646776b362
client-api: Add convenience constructors for uiaa::AuthData 2021-02-15 16:24:47 +01:00
Jonas Platte
87bc891c53
client-api: Make UIAA types non-exhaustive 2021-02-15 16:24:25 +01:00
Jonas Platte
cd0fc1865c
client-api: Panic if capability serialization fails
There could only be a serialization failure if there is a bug in serde
or serde_json.
2021-02-15 16:01:19 +01:00
Jonas Platte
408545d287
client-api: Improve docs for Capabilities 2021-02-15 15:37:43 +01:00
Jonas Platte
5aba8935ad
client-api: Improve docs for Capabilities::set 2021-02-15 15:32:42 +01:00
Jonas Platte
e152b3cc54
client-api: Shorten Capabilities::get 2021-02-15 15:31:41 +01:00
Jonas Platte
918701dbff
client-api: Don't import serde_json::Error 2021-02-15 15:30:44 +01:00
PunitLodha
f9eefaf02b
client-api: Add get and set methods to Capabilities 2021-02-15 15:20:17 +01:00
Jonas Platte
a361bf9a8c
Import serde_json::Value as JsonValue 2021-02-11 19:00:19 +01:00
Jonas Platte
44a0bebd09
Fix links in docs 2021-02-08 20:46:57 +01:00
Julian Sparber
f8eedfe44d
client-api: use authentication for profile api for synapse 2021-02-05 13:49:12 +01:00
Jonas Platte
891db9083b
Clean up cargo features 2021-02-02 19:21:45 +01:00
Jonas Platte
c769d9602d
client-api: Remove unstable-synapse-quirks from key backups
The spec has been adjusted to follow Synapse.
2021-02-02 19:17:57 +01:00
Jonas Platte
bba442580d
client-api: Make directory::PublicRoomsChunk non-exhaustive 2021-01-29 15:32:22 +01:00
Jonas Platte
d14213ab3e
client-api: Make device::Device non-exhaustive 2021-01-29 15:32:07 +01:00
Jonas Platte
dd5b2db4d5
Remove weird newline 2021-01-29 15:24:02 +01:00
Akshay
adeb545062
Add push rule for .m.rule.reaction 2021-01-21 19:51:32 +01:00
Jonas Platte
ca1f334ded
Remove documentation links from all Cargo.tomls
It was wrong for ruma-federation-api and useless for all others since
crates.io will link to docs.rs automatically if no link is given.
2021-01-17 17:00:09 +01:00
Jonas Platte
329537afef
Release new versions of ruma-*-api
* ruma-appservice-api 0.2.0-alpha.2
* ruma-client-api 0.10.0-alpha.2
* ruma-federation-api 0.1.0-alpha.1
* ruma-identity-service-api 0.0.1
* ruma-push-gateway-api 0.0.1
2021-01-02 15:17:32 +01:00
Jonas Platte
3b37d77394
Clean up changelogs 2021-01-02 15:01:49 +01:00
Jonas Platte
8e247a5ce2
Release ruma-api 0.17.0-alpha.2 2021-01-02 14:58:00 +01:00
Jonas Platte
b95ab27272
Release ruma-events 0.22.0-alpha.2 2021-01-02 14:49:00 +01:00
Jonas Platte
ecfb8a4a4d
Relase ruma-common 0.3.0-alpha.1 2021-01-02 14:34:17 +01:00
Jonas Platte
6d468b88a3
Release ruma-identifiers-validation 0.2.0 and ruma-identifiers 0.18.0-alpha.1 2021-01-02 13:31:08 +01:00
Jonas Platte
2ebd827355
Release ruma-serde 0.3.0 2021-01-02 13:04:39 +01:00
Isaiah Inuwa
4831585223 Move TokenType to ruma-common 2020-12-26 21:46:29 +01:00
Jonas Platte
19ae6ff347
Remove lots of Copy implementations
so we don't have do breaking releases once they can't be Copy anymore.
2020-12-24 02:51:08 +01:00
Jonas Platte
0ae5786c6b
Add missing whitespace 2020-12-24 02:49:25 +01:00
Jonas Platte
042c33283c
Add more dots to docs 2020-12-24 02:49:00 +01:00
Jonas Platte
f55e2b2cc6
Bump dependency requirements 2020-12-24 02:48:01 +01:00
Jonas Platte
132a7b86ec
client-api: Allow custom values for get_content_thumbnail::Method 2020-12-24 02:34:09 +01:00
Jonas Platte
3989e52844
Upgrade js_int to 0.2.0 2020-12-24 01:53:30 +01:00
Jonas Platte
1f8384722f
client-api: Rewrap comments in uiaa 2020-12-15 18:24:14 +01:00
Jonas Platte
95d21552e0
Use a dedicated method for conversion from http::Request to Ruma request types 2020-12-13 12:59:21 +01:00
Jonas Platte
ee814aa849
client-api: Fix issue ID for lazy load deserialization bug 2020-12-07 13:25:10 +01:00
Jonas Platte
c274431949
client-api: Fix deserialization of LazyLoadOptions when serde(flatten)ed 2020-12-07 13:24:03 +01:00
Jonas Platte
ff78ab87dd
filter: Import serde_json functions for tests 2020-12-07 13:24:03 +01:00
David Vo
1a4e9aa20a
Implement MSC2448: BlurHashes for media
This exposes the pre-FCP unstable prefixed fields in MSC2448.
2020-12-07 13:01:15 +01:00
Jonas Platte
5828f7b3b5
Bring set_pushrule in line with API conventions 2020-12-03 23:57:20 +01:00
Jonas Platte
fd47563439
Remove needless uses of #[serde(default)] 2020-12-03 23:22:43 +01:00
Jonas Platte
8427f51ebd
client-api: Allow custom values for ThirdPartyIdRemovalStatus 2020-12-02 19:14:56 +01:00
Jonas Platte
d432598ae4
Feature-gate backup endpoints on unstable-pre-spec 2020-11-28 14:24:37 +01:00
Jonas Platte
5562a23aaa
Move Raw, Outgoing and all macro code from ruma-common to ruma-serde 2020-11-28 03:45:39 +01:00
Jonas Platte
e7f55ea2c6
Rewrap comments 2020-11-27 18:22:18 +01:00
Gelez
d519a47a00
Remove circle-artifacts.com links in the documentation
Add a link to the MSC that defines these endpoints as they aren't
available in the unstable spec yet.
2020-11-25 18:19:41 +01:00
Jonas Platte
abc18fae39
Fix some links in documentation 2020-11-24 03:25:02 +01:00
Alejandro Domínguez
872701dc83 Introduce the unstable-synapse-quirks feature in ruma-events 2020-11-20 14:31:10 +01:00
Jonas Platte
374603f51c
Rename SigningKeyId to ServerSigningKeyId 2020-11-08 19:24:48 +01:00