55 Commits

Author SHA1 Message Date
Jonas Platte
d5b0cc608f
Add user ID localpart emptiness check 2023-05-02 15:09:23 +02:00
Jonas Platte
4c85fe9c78
Replace compat feature with more fine-grained compat-* features
… and document them.
2023-04-20 14:00:27 +02:00
Kévin Commaille
446c6ab753
Release ruma-identifiers-validation 0.9.1 2023-02-15 12:41:47 +01:00
Kévin Commaille
a859567487 docs: Migrate spec links to v1.6 2023-02-15 09:59:05 +01:00
Kévin Commaille
e653912e22 xtask: Disallow linking to the latest spec when a link uses a non-unique ID
These IDs can change from one version to the other if another heading
with the same name is added before, so the link would not
point to the proper part of the spec anymore.
2023-02-12 12:39:24 +01:00
Kévin Commaille
f159776f52 chore: Make all applicable spec links use the latest spec instead of a specific version 2023-02-12 12:39:24 +01:00
HKalbasi
270f8196bc
identifiers: Don't allow invalid characters in RoomVersionId 2023-02-12 11:05:33 +01:00
Jonas Platte
3013ca0dc1
identifiers: Don't accept colons in user-id localparts, even in compat 2023-02-07 20:56:22 +01:00
Jonas Platte
d18bea570c Use Cargo workspace dependencies
… for most external dependencies that are used from multiple workspace
crates.
2022-11-01 11:13:21 +01:00
Jonathan de Jong
7e1fd603e6
Bump MSRV to 1.64 2022-10-26 17:22:23 +02:00
Kévin Commaille
045861441a doc: Update Matrix spec links to v1.4 2022-10-21 10:41:20 +02:00
Jonas Platte
66ff4dbaad Raise MSRV to 1.62 2022-09-20 13:49:16 +02:00
Jonas Platte
5d516ca544
Release ruma-identifiers-validation 0.9.0 2022-09-12 20:22:17 +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
34ad27bdf5 identifiers-validation: Disallow non-ascii alphanumeric chars in session IDs 2022-06-08 13:31:38 +02:00
Jonas Platte
4b756c5887 identifiers-validation: Simplify localpart_is_fully_conforming 2022-06-08 13:31:38 +02:00
Jonas Platte
a8e7c47bbe
Remove RoomName type 2022-06-03 11:40:33 +02:00
Jonas Platte
07af61d784
Bump MSRV to 1.60 2022-06-01 14:52:02 +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
e1ebff0047
Set rust-version for crates/* (excl. ruma-signatures) 2022-05-27 12:05:41 +02:00
Jonas Platte
5f902851af
Upgrade to Rust 2021 2022-05-27 12:04:23 +02:00
Jonas Platte
70ea38b138
Release ruma-identifiers-validation 0.8.1 2022-04-28 15:47:56 +02:00
Jonas Platte
242085cf37
Release ruma-identifiers-validation 0.8.0 2022-04-28 15:46:12 +02:00
Jonas Platte
9cfee27722
identifiers: Clean up error enum 2022-04-27 19:09:44 +02:00
Jonas Platte
294506540d identifiers-validation: Ensure the Error type doesn't get too big 2022-04-10 11:43:40 +02:00
Kévin Commaille
e2375ed72e xtask: Add typos check 2022-03-18 14:29:57 +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
Kévin Commaille
60eb51ee0e macros: Merge ruma-identifiers-macros into ruma-macros 2022-03-01 17:24:19 +01:00
Jonas Platte
91eac857c7
Release ruma-identifiers-validation 0.7.0 2022-02-19 14:27:44 +01:00
Kévin Commaille
be376f5bd6
identifiers: Add MatrixUri for matrix scheme URIs 2022-02-19 14:09:43 +01:00
Kévin Commaille
f6f3ce074b
identifiers-validation: Fix docs for MatrixToError 2022-02-19 11:40:35 +01:00
Jonas Platte
62c55d90ed
Release ruma-identifiers-validation 0.6.0 2022-02-19 01:06:17 +01:00
Jonathan de Jong
936bb64e84
Update links to spec.matrix.org/v1.2 2022-02-18 19:45:04 +01:00
Kévin Commaille
f9b4958654 identifiers: Add MatrixToUri parsing 2022-02-18 19:11:26 +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
7e3b727d04
Fix / silence clippy lints 2021-12-09 15:50:42 +01:00
Damir Jelić
ee3c8f3335 ruma: Fix a bunch of typos 2021-12-06 11:26:14 +01:00
Jonas Platte
5852658da5
identifiers: Make KeyId a DST 2021-11-26 00:40:44 +01:00
Jonas Platte
313124a099
identifiers: Make RoomIdOrAliasId a DST 2021-11-26 00:04:28 +01:00
Jonas Platte
2d4dbfe42f
identifiers: Make RoomId a DST 2021-11-26 00:04:28 +01:00
Jonas Platte
b0db5e94e1
identifiers: Make RoomAliasId a DST 2021-11-26 00:04:28 +01:00
Jonas Platte
52608cc72c
identifiers: Make EventId a DST 2021-11-25 22:34:40 +01:00
Jonas Platte
c73eb7dce3
identifiers: Make DeviceKeyId a DST 2021-11-25 21:07:14 +01:00
Jonas Platte
5a96cbf322
Silence buggy clippy lint 2021-10-29 22:41:14 +02:00
Jonathan de Jong
c33920d8ae
Use thiserror in id-validation, add more detail to mxc-uri errors 2021-09-15 20:36:20 +02:00
Jonas Platte
85fc0b39da
identifiers-validation: Don't validate key ID version with feature = "compat" 2021-08-18 18:04:16 +02:00
Jonas Platte
39822f9c16
Release ruma-identifiers-validation 0.5.0 2021-08-11 17:14:37 +02:00
Adam
63411165da
Move RoomName to ruma-identifiers and use it more 2021-08-10 15:22:47 +02:00
Devin Ragotzy
c55dab7122
misc-errors: Allow or make error enums non_exhaustive 2021-08-10 15:22:26 +02:00