78 Commits

Author SHA1 Message Date
Johannes Becker
e94e0e885d
common: Enhance MessageType docs 2022-03-07 13:35:55 +00:00
Jonas Platte
1192bd1099
common: Create crate-level macro re-exports module 2022-03-04 17:00:01 +01:00
Kévin Commaille
c3f9a3cb70
common: Merge ruma-events into ruma-common 2022-03-04 11:45:07 +00:00
Kévin Commaille
f32dcb9254
common: Merge ruma-api into ruma-common 2022-03-03 14:01:51 +01:00
Kévin Commaille
557a595877 events: Move room::create::RoomType to ruma-common 2022-02-23 21:39:54 +01:00
Kévin Commaille
2047dbf420
common: Add join_rule to directory::PublicRoomsChunk 2022-02-23 14:18:31 +01:00
Jonas Platte
06344cdc73
Release ruma-common 0.8.0 2022-02-19 14:47:08 +01:00
Jonas Platte
2ed51f1d54
Release ruma-identifiers 0.22.0 2022-02-19 14:28:28 +01:00
Jonas Platte
b29755f0c5
Release ruma-common 0.7.0 2022-02-19 01:33:25 +01:00
Jonas Platte
fec52a0218
Release ruma-identifiers 0.21.0 2022-02-19 01:07:23 +01:00
Jonas Platte
38881dd6af
Release ruma-serde 0.6.0 2022-02-19 01:01:17 +01:00
Jonathan de Jong
936bb64e84
Update links to spec.matrix.org/v1.2 2022-02-18 19:45:04 +01:00
Jonas Platte
e337367304
common: Remove aliases from PublicRoomsChunk
It was removed as part of Matrix v1.2:
https://spec.matrix.org/v1.2/changelog/#client-server-api
2022-02-18 11:53:03 +01:00
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