Jonas Platte
|
54cf81e9ab
|
events: Make room::member types non-exhaustive
|
2021-05-15 18:42:14 +02:00 |
|
Jonas Platte
|
9e9696f091
|
Re-run cargo fmt
|
2021-05-15 15:41:23 +02:00 |
|
Jonas Platte
|
67deaeb0fc
|
events: Improve RawExt documentation
|
2021-05-15 15:27:42 +02:00 |
|
Jonas Platte
|
89b169faf3
|
events: Fix redacted tests
|
2021-05-15 15:20:17 +02:00 |
|
Jonas Platte
|
ed9138796a
|
events: Refactor marker trait code generation
|
2021-05-15 15:18:22 +02:00 |
|
Jonas Platte
|
ab850d8237
|
events: Remove marker trait
It was not used anywhere.
|
2021-05-15 15:06:31 +02:00 |
|
Jonas Platte
|
37899db3c5
|
events: Borrow raw JSON in EventContent::from_parts
|
2021-05-15 15:02:27 +02:00 |
|
Jonas Platte
|
16e8f498b4
|
serde: Add Raw::deserialize_as
|
2021-05-15 15:02:03 +02:00 |
|
Jonas Platte
|
60d4ea027f
|
Use serde_json::Result alias
|
2021-05-15 15:02:02 +02:00 |
|
Jonas Platte
|
4edaf5a638
|
serde: Tiny docs improvement
|
2021-05-15 14:58:41 +02:00 |
|
Jonas Platte
|
9b38538579
|
events: Simplify RawExt
* Remove redundant where clause
* Clean up documentation
|
2021-05-15 14:58:41 +02:00 |
|
Devin Ragotzy
|
34134267c6
|
events: Generate redact method for content enums
… and remove redacted content structs non-room events
|
2021-05-15 12:51:20 +00:00 |
|
Jonas Platte
|
4aec2d5ff0
|
events: Introduce AnyRedacted[Sync]RoomEvent
… and use it to implement Redact for Any[Sync]RoomEvent.
|
2021-05-15 13:55:57 +02:00 |
|
Jonas Platte
|
32ba85b9a2
|
events: Simplify re-exports
|
2021-05-15 13:55:19 +02:00 |
|
Jonas Platte
|
702b619417
|
events: Introduce Redact trait
|
2021-05-15 13:26:05 +02:00 |
|
Jonas Platte
|
c07c3fa6d5
|
events: Introduce RedactContent trait
|
2021-05-15 13:23:20 +02:00 |
|
Jonas Platte
|
18005244c9
|
events: Merge RedactedSyncUnsigned and RedactedUnsigned
|
2021-05-15 13:12:13 +02:00 |
|
Jonas Platte
|
824a6db048
|
events-macros: Fix another missing type qualification
|
2021-05-15 12:27:25 +02:00 |
|
Jonas Platte
|
7403bdf1c8
|
events: Add redact method to Any[Sync]RoomEvent
|
2021-05-15 02:33:15 +02:00 |
|
Jonas Platte
|
2914c0b6a0
|
events: Add AnySyncRoomEvent::into_full_event
|
2021-05-15 02:27:03 +02:00 |
|
Jonas Platte
|
6db34b8ae4
|
events: Add accessor methods to AnyRoomEvent, AnySyncRoomEvent
|
2021-05-15 02:25:35 +02:00 |
|
Devin Ragotzy
|
d1f5fb1d87
|
events: Declare all event enums inside one macro invocation
|
2021-05-14 23:52:34 +00:00 |
|
Jonas Platte
|
a4811663de
|
events-macros: Fix missing type qualification
|
2021-05-15 00:58:18 +02:00 |
|
Jonas Platte
|
073b699660
|
api-macros: Fix tiny formatting inconsistency
|
2021-05-14 23:12:56 +02:00 |
|
Jonas Platte
|
b4aa66d68f
|
client: Fix broken intra-doc links
|
2021-05-14 14:36:29 +02:00 |
|
Jonas Platte
|
c2957df174
|
client: Fix borken doc(cfg) attribute
|
2021-05-14 14:35:05 +02:00 |
|
Jonathan de Jong
|
b616ba8233
|
Add reasons for each doctest ignore
|
2021-05-14 13:44:49 +02:00 |
|
Devin Ragotzy
|
058d2bfa24
|
Add kind = ToDevice for all to device content
|
2021-05-14 12:25:30 +02:00 |
|
Devin Ragotzy
|
b6558c64a0
|
Add global and room account content traits and to device trait
|
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 |
|
Devin Ragotzy
|
c7c1251f3f
|
Specify content traits in attribute, remove derives
|
2021-05-14 12:25:30 +02:00 |
|
Jonas Platte
|
6c167fca38
|
state-res: Get rid of static mut
|
2021-05-14 01:40:23 +02:00 |
|
Jonas Platte
|
fe68bf0e07
|
Clean up json! formatting
|
2021-05-14 01:13:42 +02:00 |
|
Jonas Platte
|
5710d2740c
|
Replace uses of SystemTime with new UInt-based timestamp types
|
2021-05-14 01:13:17 +02:00 |
|
Jonas Platte
|
c34d570fff
|
common: Introduce SecondsSinceUnixEpoch, MilliSecondsSinceUnixEpoch
|
2021-05-13 01:06:04 +02:00 |
|
Damir Jelić
|
3bdead1cf2
|
client-api: Allow the DeviceId to turn into a DeviceIdOrAllDevices
|
2021-05-12 17:07:47 +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
|
cb489729b8
|
events: Update IgnoredUserListEvent test
|
2021-05-12 16:02:44 +02:00 |
|
Kévin Commaille
|
7fd350d6c6
|
events: Restore docs for DummyEvent and RoomKeyEvent
|
2021-05-12 16:02:44 +02:00 |
|
Kévin Commaille
|
0acb121ee5
|
events: Remove BasicEventContent trait and derive
|
2021-05-12 16:02:44 +02:00 |
|
Kévin Commaille
|
7faa59be6b
|
events: Remove BasicToDevice enum
|
2021-05-12 16:02:44 +02:00 |
|
Kévin Commaille
|
8d8ca81e04
|
events: Split Basic enum into GlobalAccountData, RoomAccountData and BasicToDevice enums
Closes #563
|
2021-05-12 16:02:44 +02:00 |
|
Devin Ragotzy
|
dcff455c19
|
ci: Enforce sorted dependencies with cargo-sort
|
2021-05-11 19:59:44 +00:00 |
|
Kévin Commaille
|
dd940f810e
|
common: Use ruma-serde derives for ReceiptType
|
2021-05-11 10:11:02 +02:00 |
|
Kévin Commaille
|
32e80987e1
|
serde: Add PartialOrdAsRefStr, OrdAsRefStr and PartialEqAsRefStr derives
|
2021-05-11 10:11:02 +02:00 |
|
Kévin Commaille
|
6a2c028cfb
|
events: Change receipt::Receipts struct to a BTreeMap<ReceiptType, UserReceipts>
|
2021-05-11 10:11:02 +02:00 |
|
Jonathan de Jong
|
91a7325bc4
|
Remove various Box<> wrappers
|
2021-05-10 17:15:11 +02:00 |
|
Jonas Platte
|
d71fa97346
|
Use slices for outgoing raw bodies
|
2021-05-10 15:16:37 +02:00 |
|
Kévin Commaille
|
d16fbe6fe6
|
events: Fix event deserialization benchmark
Regression introduced in e8d81da49281717ad46f36b76c40fc3853d2aafd
|
2021-05-10 13:02:22 +02:00 |
|