Jonas Platte
e9189392b2
Update contrib/ide/vscode/settings.json
2023-07-31 10:21:05 +02:00
Jonas Platte
37cbb4ea56
identifiers: Discourage proc-macro imports even more
...
Unfortunately it seems impossible to prevent rust-analyzer from
suggesting them before the `macro_rules!` macros, but this should be a
decent hint for users that importing them is not a good idea.
2023-07-29 11:53:38 +02:00
Marco Romano
4d3f1802e6
Ignore Intellij Idea's .idea directory
2023-07-28 12:03:45 +00:00
Kévin Commaille
9bf3e03dd3
events: Add m.relates_to to poll start events
2023-07-27 16:04:58 +02:00
Kévin Commaille
d53362c689
events: Add unstable poll events
...
Using the unstable format defined in MSC3381
2023-07-27 16:04:58 +02:00
Kévin Commaille
e780633cce
events: Allow to declare events without a stable prefix
2023-07-27 16:04:58 +02:00
Kévin Commaille
c0b8cd4d46
events: Make polls events use the stable prefixes
2023-07-27 16:04:58 +02:00
Kévin Commaille
df11c6d46a
events: Provide type for historical m.message
content block instead of serde helper
2023-07-27 16:04:58 +02:00
Ivan Enderlin
201f0027d4
feat: Add SlidingSyncRoom::avatar
...
It's been recently added in the specification, 50ae2c8d65
...kegan/sync-v3.
2023-07-26 16:02:28 +02:00
Jonas Platte
3dac70ead9
Remove most unreachable visibility modifiers
2023-07-19 14:32:14 +02:00
Jonas Platte
ffc271f3ec
push: Re-export ScalarJsonValue
...
It was part of the public interface already, but not nameable.
2023-07-19 13:58:35 +02:00
Jonas Platte
ad457c1c11
Rerun rustfmt
2023-07-19 13:53:15 +02:00
Jonas Platte
cfc4c66820
Rewrap lines to fit macro input in maximum line length
2023-07-19 13:53:03 +02:00
Jonas Platte
fe010abb22
Update expected trybuild test output
2023-07-14 10:05:00 +02:00
Jonas Platte
eea51d27fa
common: Reduce konst dependency feature set
2023-07-14 09:46:11 +02:00
Jonas Platte
f9ef276d41
common: Only depend on konst when needed
2023-07-14 09:38:03 +02:00
Jonas Platte
6fdaff6aa5
Set GITHUB_TOKEN permissions for docs CI job
2023-07-12 15:32:39 +02:00
Jonas Platte
4be3a062ae
Switch to branch-less GitHub pages workflow
2023-07-12 15:05:58 +02:00
Jonas Platte
20d38e1622
events: Add From<MessageType> for RoomMessageEventContentWithoutRelation
2023-07-12 11:58:22 +02:00
Jonas Platte
9cf1257142
events: Add RoomMessageEventContentWithoutRelation::new
2023-07-12 11:40:21 +02:00
Kévin Commaille
f8ac66ca25
events: Add support for intentional mentions
...
According to MSC3952
2023-07-10 13:12:17 +02:00
Kévin Commaille
07bc06038f
events: Keep data of unknown relations
2023-07-06 17:05:25 +02:00
Kévin Commaille
df0eee30e1
chore: Update serde dependency
2023-07-06 17:05:25 +02:00
Benjamin Bouvier
2c8ece6bf2
events: Parse TagInfo::order
as a f64 or a stringified f64
2023-07-06 14:34:43 +02:00
Jonas Platte
4ac9e9a979
Upgrade itertools to 0.11.0
2023-07-05 11:12:02 +02:00
Jonas Platte
650792bcb5
Upgrade konst to 0.3.5
2023-07-05 11:12:02 +02:00
Jonas Platte
a45ad6b41e
Upgrade indexmap to 2.0
2023-07-05 11:12:01 +02:00
Jonas Platte
775484c408
events: Add emote convenience constructors
...
… the same ones we have for text and notice msgtypes.
2023-07-05 10:36:41 +02:00
Jonas Platte
e7bd302293
ci: Bump typos action
2023-07-05 10:29:04 +02:00
Kévin Commaille
963c2472e2
chore: Bump MSRV to 1.65
...
Allows to use let-else statements.
2023-07-04 15:40:37 +02:00
Kévin Commaille
77d94caf11
chore: Use workspace-defined MSRV
2023-07-04 15:40:37 +02:00
Kévin Commaille
c8e61a2ee7
events: Implement Deserialize for encrypted::Relation
2023-07-04 15:31:05 +02:00
Jonas Platte
4d9781e05f
client-api: Add missing serde(default)
2023-07-04 13:40:00 +02:00
Jonas Platte
bbdc0b68e8
client-api: Add a compat feature for Synapse's upload-signatures response
2023-07-04 13:11:46 +02:00
Kévin Commaille
52aa539cf0
federation-api: Use SpaceRoomJoinRule for SpaceHierarchy(Parent/Child)Summary(Init)
2023-07-04 12:38:45 +02:00
Kévin Commaille
86b999055e
client-api: Move SpaceRoomJoinRule to ruma-common
2023-07-04 12:38:45 +02:00
Kévin Commaille
c77f08024a
chore: Fix new clippy lints
2023-07-04 11:55:25 +02:00
Kévin Commaille
ae83055119
chore: Allow clippy::arc_with_non_send_sync temporarily
...
Triggers false positives for types with generics.
2023-07-04 11:55:25 +02:00
Kévin Commaille
8a342affca
ci: Pin nightly toolchain
2023-07-04 11:55:25 +02:00
Kévin Commaille
e751c1b2ac
chore: Run rustfmt for let-else statements
2023-07-04 11:55:25 +02:00
Jonas Platte
be611fc258
ci: Ban some serde_json features
2023-06-26 18:50:30 +02:00
Jonas Platte
213a8290e6
ci: Don't error on multiple versions of one indirect dependency
2023-06-26 18:50:30 +02:00
Kévin Commaille
2b68cb6eec
events: Add AssetType::Pin
2023-06-23 12:41:37 +02:00
Kévin Commaille
d0f11f0075
events: Reintroduce MSC3488 fallback behavior in LocationMessageEventContent
2023-06-23 12:41:37 +02:00
Kévin Commaille
e017e65277
events: Improve compatibility of generated and stripped plain reply fallback
2023-06-23 12:32:24 +02:00
Kévin Commaille
9b694cdfa8
events: Add methods to compute poll results
2023-06-23 10:36:23 +02:00
Kévin Commaille
8d2521874d
events: Put use behind feature flag
2023-06-23 10:36:23 +02:00
Kévin Commaille
09bc835936
events: Fix outdated docs
2023-06-23 09:40:23 +02:00
Jonas Platte
c5782ab8aa
Use new owned ID macros throught the codebase
2023-06-20 11:47:50 +02:00
Jonas Platte
e71c224308
Fix expansion of owned identifier creation macros
2023-06-20 11:06:18 +02:00