41 Commits

Author SHA1 Message Date
Jonas Platte
c7e84c5249
Fix clippy lints
Automated using `cargo clippy --fix`.
2022-10-26 13:38:29 +02:00
Kévin Commaille
045861441a doc: Update Matrix spec links to v1.4 2022-10-21 10:41:20 +02:00
Kévin Commaille
c2c4555133 identifiers: Fix MatrixToUri parsing for non-url-encoded room aliases 2022-10-10 23:03:58 +02:00
Kévin Commaille
2bdbf49535 chore: Fix new clippy warnings 2022-10-10 17:20:58 +02:00
Kévin Commaille
eb567dac73 identifiers: Separate RoomId URI methods with and without via 2022-07-08 15:49:14 +02:00
Kévin Commaille
2dacaf2ea0 identifiers: Allow via on RoomId::matrix_to_event_uri() 2022-06-29 14:54:37 +02:00
Kévin Commaille
4883a3154c identifiers: Make matrix URI ctors generic over owned parameters
Avoid unnecessary cloning
2022-06-29 14:54:37 +02:00
Kévin Commaille
cbcf9b0a7b identifiers: Implement From<Owned*Id> for MatrixId 2022-06-29 14:54:37 +02:00
Kévin Commaille
3deae8eac7 identifiers: Add MatrixVersionId::V10
According to MSC3604
2022-06-21 13:38:34 +02:00
Kévin Commaille
536fae523e identifiers: Make more test assertions more helpful 2022-06-14 10:54:18 +02:00
Kévin Commaille
4799da6e4d identifiers: Make more test assertions more helpful 2022-06-14 10:01:49 +02:00
Kévin Commaille
08d3e0d43e identifiers: Make some test assertions more helpful 2022-06-11 21:53:33 +02:00
Jonas Platte
c3435a39e4 identifiers: Improve session_id! error messages 2022-06-08 13:31:38 +02:00
Jonas Platte
cb96caa064 identifiers: Add session_id macro 2022-06-08 13:31:38 +02:00
Jonas Platte
bf670fb814 identifiers: Move session ID validation out of separate validation crate 2022-06-08 13:31:38 +02:00
Jonas Platte
a8e7c47bbe
Remove RoomName type 2022-06-03 11:40:33 +02:00
Jonas Platte
8912182c56
Increase usage of implicit named arguments in format strings 2022-06-03 10:06:28 +02:00
Jonas Platte
73c2963ebd
Enforce consistent semicolons after ()-typed expressions in blocks 2022-06-03 08:40:16 +02:00
Kévin Commaille
906d576a27
Implement Improved Signalling for 1:1 VoIP
According to MSC2746
2022-05-30 14:09:58 +02:00
Jonas Platte
5f902851af
Upgrade to Rust 2021 2022-05-27 12:04:23 +02:00
Jonas Platte
b34bfaf1f6
Replace matches crate with assert_matches 2022-05-24 18:07:29 +02:00
Jonas Platte
8bf74a0ce7
identifiers: Remove dead code 2022-05-24 10:29:44 +02:00
Jonas Platte
2257b4daf9
Derive Eq for types where it makes sense 2022-05-23 18:40:34 +02:00
Jonas Platte
9cfee27722
identifiers: Clean up error enum 2022-04-27 19:09:44 +02:00
Adam
1fd47fa034
events: Add secret storage 2022-04-26 14:38:19 +02:00
Jonas Platte
4014e6959f
Replace Box<MxcUri> with OwnedMxcUri 2022-04-25 15:16:55 +02:00
Jonas Platte
4365a51e2a
Upgrade some dependencies 2022-04-20 16:58:48 +02:00
Jonas Platte
efe48af207 Replace remaining uses of boxed IDs with dedicated owned ones 2022-04-20 10:39:36 +02:00
Jonas Platte
76478de953 Remove either feature 2022-04-20 10:39:36 +02:00
Jonas Platte
d855ec33d6 identifiers: Update ToOwned implementations to use new types
… and a lot of changes that cascaded from that.
2022-04-20 10:39:36 +02:00
Jonas Platte
01e080d0b5 identifiers: Add owned key id type aliases 2022-04-20 10:39:36 +02:00
Jonas Platte
ae095cc037
macros: Expand IdZst derive to generic types
… and use it for KeyId.
2022-04-14 13:57:02 +02:00
Jonas Platte
d5656f3399
identifiers: Rename from_owned to from_box 2022-04-14 11:37:35 +02:00
Jonas Platte
f658487c50
identifiers: Replace most macro_rules! code with proc-macro code 2022-04-14 11:16:01 +02:00
Kévin Commaille
688d5bf47a
docs: Improve string enums documentation
Mention the conversion from string.
2022-04-10 14:48:09 +02:00
Kévin Commaille
e6cd2b0995 identifiers: Derive Clone on MatrixId 2022-04-03 10:32:56 +02:00
Jonathan de Jong
b77fee8948
identifiers: Provide Owned types 2022-03-31 23:23:02 +02:00
Jonas Platte
571fa90b8d
identifiers: Rename Error to IdParseError
… because it's now exported from the ruma-common crate root.
2022-03-28 12:22:28 +02:00
Jonas Platte
22541ba92f
common: Feature-gate part of doctest 2022-03-14 16:32:16 +01:00
Kévin Commaille
bdcf07be87
common: Merge ruma-serde into ruma-common 2022-03-10 12:11:00 +01:00
Kévin Commaille
088d1872b7
common: Merge ruma-identifiers into ruma-common 2022-03-09 17:46:51 +00:00