765 Commits

Author SHA1 Message Date
Jonas Platte
788ecba299
Add missing newlines 2022-02-18 11:37:10 +01:00
Jonas Platte
215cb35806
Clean up import grouping / ordering 2022-02-18 11:20:39 +01:00
Jonas Platte
f9b9112d07
common: Disable push rule matching on numbers or booleans
Spec clarification: https://github.com/matrix-org/matrix-doc/pull/3690
2022-02-17 10:09:21 +01:00
Jonas Platte
7a70d96235
Remove PrivOwnedStr() from Debug formatting 2022-02-15 17:46:27 +01:00
Jonas Platte
ebb09589f9
Remove authors field from Cargo manifests
It's no longer necessary and authorship is much better tracked with git.
2022-02-12 13:46:44 +01:00
Jonas Platte
510b8485d8
common: Remove more unnecessary bounds 2022-02-12 01:47:32 +01:00
Jonas Platte
8f1eae97ce
common: Remove unnecessary bound from FlattenedJson::from_raw 2022-02-12 01:44:57 +01:00
Kévin Commaille
757419df13
common: Move reaction pushrule to unstable-msc2677 feature 2022-02-11 10:28:56 +01:00
Kévin Commaille
e5d07e90c5
common: Add link to matrix-doc issue for ProtocolInstance's instance_id field 2022-02-11 10:28:26 +01:00
Kévin Commaille
3813449b29
common: Move SignedKey::new_fallback out of unstable-pre-spec 2022-02-11 10:26:45 +01:00
Jonas Platte
932fe4fa38
common: Skip serializing empty default_payload in PusherData, simplify type 2022-02-09 18:47:24 +01:00
Jonas Platte
c4bccfe17e
common: Remove leftover feature gate 2022-02-02 21:17:07 +01:00
Jonas Platte
62f3d4a649
client-api: Move keys route changes out of unstable-pre-spec 2022-02-02 21:10:11 +01:00
Jonathan de Jong
8348b97091
Improve Synapse compatibility w.r.t. power levels 2022-02-01 15:26:30 +01:00
Jonas Platte
4c859c5aeb
Introduce a Base64 type and use it where applicable 2022-01-13 16:22:21 +01:00
Jonas Platte
ee977b48f0
Make the inner type of _Custom enum variants unusable
The variant itself would be private if possible, this is the solution
closest to that.
2022-01-13 11:38:48 +01:00
Jonas Platte
9621b83d49
Use doc_auto_cfg for automatic cfg documentation 2022-01-02 19:22:42 +01:00
Jonas Platte
7ebe660402
common: Add compatibility hack for empty-string canonical_alias 2021-12-09 12:38:30 +01:00
Damir Jelić
caa3c05db3 client-api: Add support for fallback keys
This implements support for MSC2732[1], fallback keys. Only support to
upload and get notifications about fallback keys via `/sync` is
implemented.

[1]: https://github.com/matrix-org/matrix-doc/pull/2732
2021-12-06 11:26:14 +01:00
Jonas Platte
3ce578f384
identifiers: Make UserId a DST 2021-11-26 00:40:40 +01:00
Jonas Platte
2d4dbfe42f
identifiers: Make RoomId a DST 2021-11-26 00:04:28 +01:00
Jonas Platte
b0db5e94e1
identifiers: Make RoomAliasId a DST 2021-11-26 00:04:28 +01:00
Jonas Platte
ec605a0959
identifiers: Make MxcUri a DST 2021-11-26 00:04:28 +01:00
Jonas Platte
c73eb7dce3
identifiers: Make DeviceKeyId a DST 2021-11-25 21:07:14 +01:00
Jonas Platte
438efee143
identifiers: Remove Box<$id> aliases 2021-11-25 21:07:14 +01:00
Jonas Platte
ac6ecc3e5e
push-gateway-api: Make data field of Device not an Option
All fields of the inner type are optional themselves.
2021-11-05 12:57:26 +01:00
Jonas Platte
103b9df6c2
common: Add unstable support for default_payload field in PusherData 2021-11-05 12:49:43 +01:00
Jonas Platte
a2570e1648
common: Fix unnecessary .to_string() call 2021-10-29 23:00:37 +02:00
Jonas Platte
aa5fdf9d22
Merge serde attributes and improve docs 2021-10-08 12:49:13 +02:00
Jonas Platte
271491732e
Remove now-redundant doc(cfg) attributes
They are now implied:
https://github.com/rust-lang/rust/pull/89596
2021-10-08 11:52:18 +02:00
Devin Ragotzy
bdcfc12ac7
Update client-server spec links 2021-10-06 10:48:08 +02:00
Jonas Platte
46c7e3f811
Clean up and rewrap documentation comments 2021-08-27 21:32:02 +02:00
Jonas Platte
7602570e21
Release ruma-common 0.6.0 2021-08-11 17:24:41 +02:00
Jonas Platte
e6b48fb564
Release ruma-identifiers 0.20.0 2021-08-11 17:16:28 +02:00
Jonas Platte
12ee10b2c6
Release ruma-serde 0.5.0 2021-08-11 17:10:51 +02:00
Adam
63411165da
Move RoomName to ruma-identifiers and use it more 2021-08-10 15:22:47 +02:00
Devin Ragotzy
74b6a4c9d8
common: Make all pub enums non_exhaustive 2021-08-10 15:22:26 +02:00
Jonas Platte
40d3b552da
Release ruma-serde 0.4.2 2021-08-09 19:43:40 +02:00
Jonas Platte
dfd8c60b89
Release ruma-identifiers 0.19.4 2021-06-24 13:38:05 +02:00
Jonas Platte
be4584b475
Release ruma-serde 0.4.1 2021-06-24 13:17:55 +02:00
Jonas Platte
4312085b4a
Release ruma-common 0.5.4 2021-06-18 20:27:32 +02:00
Jonas Platte
ff03f4c805
Release ruma-identifiers 0.19.3 2021-06-18 13:42:32 +02:00
Devin Ragotzy
626b5a5d06
common: Make all pub structs non_exhaustive 2021-06-18 11:00:35 +00:00
Timo Kösters
c198cf6e9f
federation-api: Improve claim_keys endpoint 2021-06-17 19:43:22 +02:00
Jonas Platte
5fe1876643
Release ruma-identifiers 0.19.2 2021-06-10 15:27:09 +02:00
Jonas Platte
3a46a5837d
Release ruma-common 0.5.3 2021-06-10 15:25:13 +02:00
Julian Sparber
9d34524442 common: Add instance-id field to ProtocolInstance
It's not included in the specs.
See https://github.com/matrix-org/matrix-doc/issues/3203
2021-06-09 21:47:02 +02:00
Devin Ragotzy
1f84de4c7f
ci: Add the --order flag to cargo sort 2021-06-04 20:20:36 +00:00
Jonas Platte
c49eec9867
Release ruma-common 0.5.2 2021-06-01 21:57:37 +02:00
Jonas Platte
13e3b45070
Move ThirdPartyIdentifier(Init) from client-api to common
While it's not currently used in any other crates in this repo,
synapse-admin-api does use it and it seems logical for it to be defined
alongside the other thirdparty types in common.
2021-06-01 21:53:58 +02:00