202 Commits

Author SHA1 Message Date
Kévin Commaille
5f51f9241f common: Add thread relation to Relation
According to MSC3440
2022-03-16 12:58:24 +01:00
Jonas Platte
e9c60cf36c
Deprecate the EventType enum 2022-03-16 12:20:18 +01:00
Jonas Platte
ce785064a9
Use RoomEventType instead of EventType for PDUs and power levels 2022-03-16 12:20:17 +01:00
Jonas Platte
6dc0bf248b
Use *EventType enums in more places 2022-03-16 12:20:17 +01:00
Jonas Platte
c16ba45c9e
common: Replace event content marker traits with an associated type 2022-03-16 12:20:16 +01:00
Kévin Commaille
195ddf8112
common: Add support for extensible location events
According to MSC3488
2022-03-15 18:41:05 +01:00
Kévin Commaille
5af2e38506
common: Add support for extensible audio events 2022-03-15 13:34:33 +01:00
Jonas Platte
24fd3f79f0
common: Add a test for Raw::get_field 2022-03-15 10:05:22 +01:00
Jonas Platte
4693179cb1
common: Use serde(borrow) to avoid unnecessary copying 2022-03-15 10:05:22 +01:00
Jonas Platte
a7bead5466
common: Rewrite Raw::get_field to be as fast as possible 2022-03-15 10:05:22 +01:00
Jonas Platte
39cafa3a8f
common: Don't import Formatter for consistency 2022-03-15 10:05:22 +01:00
Jonas Platte
13e53ea6d5
common: Remove RawExt in favor of inherent impl 2022-03-15 10:05:21 +01:00
Kévin Commaille
57e8b77d87
common: Add support for extensible video events 2022-03-15 09:40:20 +01:00
Kévin Commaille
2d88df7fb7 common: Clarify that reactions are not all emojis
According to MSC2677
2022-03-15 09:17:21 +01:00
Kévin Commaille
f0c8703ee5 common: Add replacement to Relations 2022-03-15 09:17:21 +01:00
Kévin Commaille
260dfeb100 common: Remove unstable Relations constructor
Not manageable with more unstable features
2022-03-15 09:17:21 +01:00
Kévin Commaille
77ce26701c common: Fix typo in Replacement docs 2022-03-15 09:17:21 +01:00
Jonas Platte
22541ba92f
common: Feature-gate part of doctest 2022-03-14 16:32:16 +01:00
Kévin Commaille
e336db767a
common: Add support for extensible image events 2022-03-14 10:43:15 +00:00
Kévin Commaille
bdcf07be87
common: Merge ruma-serde into ruma-common 2022-03-10 12:11:00 +01:00
Kévin Commaille
bdd54d1dd3
macros: Use import_ruma_common instead of import_ruma_api 2022-03-10 11:00:27 +01:00
Jonas Platte
1bce0f0c96
common: Instrument push condition matching 2022-03-09 19:21:28 +01:00
Kévin Commaille
088d1872b7
common: Merge ruma-identifiers into ruma-common 2022-03-09 17:46:51 +00:00
homersimpsons
2ec50bd03c
doc: migrate links from matrix-doc to matrix-spec(-proposals) 2022-03-08 10:24:26 +01:00
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