Jonas Platte
|
31331f3165
|
Bring back ruma-events
Co-authored-by: Kévin Commaille <zecakeh@tedomum.fr>
|
2023-08-28 10:23:54 +02:00 |
|
Kévin Commaille
|
c3f9a3cb70
|
common: Merge ruma-events into ruma-common
|
2022-03-04 11:45:07 +00:00 |
|
Kévin Commaille
|
f2dca60fc7
|
macros: Rename ruma-events-macros to ruma-macros
|
2022-02-27 13:54:17 +01:00 |
|
Kévin Commaille
|
771f437d9e
|
events: Rename MessageEvent to MessageLikeEvent
|
2022-02-22 20:06:36 +01:00 |
|
Jonathan de Jong
|
936bb64e84
|
Update links to spec.matrix.org/v1.2
|
2022-02-18 19:45:04 +01:00 |
|
Jonas Platte
|
89ae41166d
|
events: Move new verification events out of unstable-pre-spec
… since they were stabilized with v1.1.
|
2022-01-31 20:43:38 +01:00 |
|
Jonas Platte
|
ef6728abde
|
Add a TransactionId type
|
2022-01-16 23:17:23 +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 |
|
Julian Sparber
|
f8ba7f7957
|
ruma-events: Add CancelCode variants for SAS verification
See: https://spec.matrix.org/v1.1/client-server-api/#verification-messages-specific-to-sas
|
2022-01-12 21:48:06 +01:00 |
|
homersimpsons
|
2d3816d72c
|
ruma-events: Add links to specs in modules docs
|
2021-12-28 14:36:34 +00:00 |
|
Jonas Platte
|
3ce578f384
|
identifiers: Make UserId a DST
|
2021-11-26 00:40:40 +01:00 |
|
Jonas Platte
|
52608cc72c
|
identifiers: Make EventId a DST
|
2021-11-25 22:34:40 +01:00 |
|
Jonas Platte
|
438efee143
|
identifiers: Remove Box<$id> aliases
|
2021-11-25 21:07:14 +01: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 |
|
Jonas Platte
|
04080085f9
|
events: Include all event type segments in Rust type names
|
2021-10-02 21:25:21 +02:00 |
|
Jonas Platte
|
678d3cd4ee
|
events: Small documentation improvements
|
2021-10-01 19:37:52 +02:00 |
|
Jonas Platte
|
edbd5a696c
|
events: Use inline code blocks instead of emphasis for type strings
|
2021-10-01 18:35:01 +02:00 |
|
Jonas Platte
|
0101e110f8
|
Rename *ToDeviceEventContent structs to ToDevice*Content
|
2021-10-01 16:48:45 +02:00 |
|
Jonas Platte
|
120f1f3b2a
|
events: Generate event type aliases
|
2021-09-30 00:47:13 +02:00 |
|
Jonas Platte
|
2bf17fd727
|
events: Further clean up tests
|
2021-09-19 19:10:52 +02:00 |
|
Jonas Platte
|
46c7e3f811
|
Clean up and rewrap documentation comments
|
2021-08-27 21:32:02 +02:00 |
|
Jonas Platte
|
d213ee4718
|
events: Remove / replace previous error types
|
2021-08-10 15:22:45 +02:00 |
|
Devin Ragotzy
|
db755f994e
|
events: Make all pub enums non_exhaustive
|
2021-08-10 15:22:26 +02:00 |
|
Jonas Platte
|
28e3d0f277
|
events: Remove key::verification::start::SasV1Content verification
|
2021-08-10 15:22:26 +02:00 |
|
Jonas Platte
|
7a61c9cd8c
|
Remove trait derives other than Debug from Init structs
|
2021-08-10 15:22:26 +02:00 |
|
Jonas Platte
|
4dfaad104b
|
Enable clippy lint str_to_string
|
2021-07-02 23:02:50 +02:00 |
|
Jonas Platte
|
090948e04f
|
events: Consistently use relates_to for Relation field name
|
2021-06-20 01:32:29 +02:00 |
|
Devin Ragotzy
|
e05aad184e
|
events: Make all pub structs non_exhaustive
|
2021-06-18 20:53:06 +02:00 |
|
Jonas Platte
|
f4021d0ab0
|
events: Rename & hide verification enum Custom variants
|
2021-06-17 19:43:24 +02:00 |
|
Jonas Platte
|
2c8af1e17f
|
events: Import items from original location, not private s in a parent mod
|
2021-06-17 19:43:23 +02:00 |
|
Jonas Platte
|
dfce734974
|
events: Clean up verification relations
|
2021-06-17 19:43:23 +02:00 |
|
Jonas Platte
|
f179a5c771
|
events: Drop M prefix from enum variants
|
2021-06-17 19:43:23 +02:00 |
|
Damir Jelić
|
06478b96c4
|
events: Fix the name of the qr code scan verification method
|
2021-06-17 19:43:22 +02:00 |
|
Jonas Platte
|
ddc2138141
|
events: Clean up docs
|
2021-06-14 13:42:44 +02:00 |
|
Jonas Platte
|
d8ecf12c1f
|
events: Remove M prefix from some types
|
2021-05-17 00:18:34 +02:00 |
|
Jonas Platte
|
0d039a4ebb
|
events: Make remaining types in key::* non-exhaustive
|
2021-05-17 00:17:54 +02:00 |
|
Jonas Platte
|
d7d449656c
|
events: Make assert_matches! invocations slight more compact
|
2021-05-16 23:55:46 +02:00 |
|
Damir Jelić
|
698d78a6f3
|
events: Add support for the QR verification events and methods
|
2021-05-16 23:49:33 +02:00 |
|
Jonas Platte
|
76c9c56471
|
events: Make more types non-exhaustive
|
2021-05-16 23:47:38 +02:00 |
|
Jonas Platte
|
4dd9baa238
|
Improve consistency in docs
|
2021-05-16 23:38:19 +02:00 |
|
Devin Ragotzy
|
058d2bfa24
|
Add kind = ToDevice for all to device content
|
2021-05-14 12:25:30 +02:00 |
|
Devin Ragotzy
|
8252a1a32c
|
Move all content declarations to content trait attribute
|
2021-05-14 12:25:30 +02:00 |
|
Jonas Platte
|
5710d2740c
|
Replace uses of SystemTime with new UInt-based timestamp types
|
2021-05-14 01:13:17 +02:00 |
|
Damir Jelić
|
d971b668ec
|
events: Add the to-device variant of the m.key.verification.done event
|
2021-05-12 17:07:47 +02:00 |
|
Damir Jelić
|
166ee8b9d7
|
events: Add the to-device variant of the m.key.verification.ready event
|
2021-05-12 17:07:47 +02:00 |
|
Kévin Commaille
|
0acb121ee5
|
events: Remove BasicEventContent trait and derive
|
2021-05-12 16:02:44 +02:00 |
|
Devin Ragotzy
|
c6aa2e0428
|
Fix clippy warnings across workspace
|
2021-05-06 06:16:28 -04:00 |
|
Jonas Platte
|
3db0ea7026
|
Move all crates into a new crates directory
|
2021-05-03 15:50:27 +02:00 |
|