223 Commits

Author SHA1 Message Date
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
Isaiah Inuwa
b793a790db
Rename ServerKeyId to SigningKeyId 2020-11-08 13:21:55 +01:00
Jonas Platte
6bfa391104
Improve docs for lazy loading 2020-11-05 21:13:53 +01:00
Jonas Platte
dd6446822b
Derive PartialEq and Eq for all string-wrapping enums 2020-11-02 00:29:47 +01:00
Jonas Platte
d34a270919
Allow custom values for more enums 2020-11-02 00:29:47 +01:00
Jonas Platte
70a12864ef
Use new macros for existing future-compatible enums 2020-11-02 00:29:41 +01:00
gnieto
3f7c6f6bea
Fix deserialization for some Filter types
This was a regression in some recent changes on `FilterDefinition` and
`RoomFilter` which removed some `Option`s.

The current structure skips some fields when the structure is
serialized, but it wrongly required those fields on deserialization
(due to the lack of serde's default attribute).
2020-10-26 23:54:35 +01:00
poljar
c0eee62431
client-api: Fix the signing key uploading endpoint
Uploading signing keys requires auth using UIAA, the error has thus been
changed to the UiaaResponse.

Uploading signing keys also fails under Synapse when using the /r0 API
path, using the /unstable path succeeds.
2020-10-26 13:16:34 +01:00
Jonas Platte
f2a78babbd
Avoid creating owned strings in deserialization where not necessary 2020-10-26 01:52:51 +01:00
Jonas Platte
62d5108633
client-api: Make the ErrorKind enum future-compatible 2020-10-26 00:56:25 +01:00
Jonas Platte
3b3ef1cb75
Remove test_ prefix from lots of test functions 2020-10-25 23:11:08 +01:00
Jonas Platte
e1975c2035
Be more consistent about whitespace 2020-10-24 00:44:01 +02:00
poljar
db2f580329
client-api: Make the CrossSigningKey serialization invertible 2020-10-22 16:21:27 +02:00
Jonas Platte
97f3e31ad8
Improve documentation for content_disposition fields 2020-10-21 14:38:36 +02:00
Timo Kösters
f85d98f557
client-api: Implement Default for incoming event filter types 2020-10-18 11:31:44 +02:00
Timo Kösters
90bd4874e3
Remove Option wrapper around directory filters 2020-10-17 23:06:52 +02:00
Jonas Platte
a67a396ee0
client-api: Use Option less for event filters 2020-10-17 22:34:25 +02:00
Jonas Platte
aa43d47343
client-api: Add a test for filter types' Default implementations 2020-10-17 20:29:45 +02:00
Jonas Platte
5576c2f0ed
client-api: Split up the filter module 2020-10-17 20:09:00 +02:00
Jonas Platte
3e5cea289c
Improve consistency in declared field order of media endpoints 2020-10-11 13:26:54 +02:00
Jonas Platte
f4fc20921a
Mark response headers optional in media GET endpoints 2020-10-11 13:26:54 +02:00