26 Commits

Author SHA1 Message Date
Jonas Platte
2ed51f1d54
Release ruma-identifiers 0.22.0 2022-02-19 14:28:28 +01:00
Kévin Commaille
1b411fc622
identifiers: Add random ClientSecret generator
Requires the rand feature.
2022-02-19 14:13:31 +01:00
Kévin Commaille
be376f5bd6
identifiers: Add MatrixUri for matrix scheme URIs 2022-02-19 14:09:43 +01:00
Kévin Commaille
384d48baaa
identifiers: Rename matrix_to_url methods to matrix_to_uri
To be consistent in the naming
2022-02-19 11:39:25 +01:00
Jonas Platte
fec52a0218
Release ruma-identifiers 0.21.0 2022-02-19 01:07:23 +01:00
Jonas Platte
e2173ce60c
identifiers: Update link in changelog 2022-02-18 20:01:47 +01:00
Kévin Commaille
f9b4958654 identifiers: Add MatrixToUri parsing 2022-02-18 19:11:26 +01:00
Jonas Platte
9aa748459a
Revert "identifiers: Add SecretRequestId"
This reverts commit aafbe14923a9272029652e7f56ef2aa809b03e34.
2022-01-23 17:20:59 +01:00
Jonas Platte
aafbe14923
identifiers: Add SecretRequestId 2022-01-23 17:01:24 +01:00
Jonas Platte
7eb83f6b7a
identifiers: Update changelog 2022-01-17 12:07:07 +01:00
Jonas Platte
4c2654c605
identifiers: Add host and is_ip_literal methods to ServerName
Co-authored-by: Timo Kösters <timo@koesters.xyz>
2022-01-17 12:05:14 +01:00
gnieto
824cefb3e9
Properly validate localpart when parsing UserId
When a `UserId` was created via `parse_with_server_name` (and its
variants), the localpart was not validated. This lead to invalid user
ids being constructed and lead to a crash when `is_historical` was
called.

This changes will prevent that this invalid user is can be constructed.
2022-01-03 14:58:38 +00:00
Jonas Platte
8923881678
identifiers: Rename RoomIdOrAliasId to RoomOrAliasId 2021-11-26 01:07:41 +01:00
Jonas Platte
6b76d7813e
identifiers: Shorten RoomVersionId variant names 2021-11-26 01:07:26 +01:00
Jonas Platte
f03065793b
identifiers: Update changelog 2021-11-26 00:53:07 +01:00
Jonas Platte
438efee143
identifiers: Remove Box<$id> aliases 2021-11-25 21:07:14 +01:00
Jonas Platte
e6b48fb564
Release ruma-identifiers 0.20.0 2021-08-11 17:16:28 +02:00
Adam
63411165da
Move RoomName to ruma-identifiers and use it more 2021-08-10 15:22:47 +02:00
Jonas Platte
dfd8c60b89
Release ruma-identifiers 0.19.4 2021-06-24 13:38:05 +02:00
Jonas Platte
ff03f4c805
Release ruma-identifiers 0.19.3 2021-06-18 13:42:32 +02:00
Jonas Platte
e5c93ab928
identifiers: Fix up Rc / Arc conversions 2021-06-18 13:40:32 +02:00
Jonas Platte
5fe1876643
Release ruma-identifiers 0.19.2 2021-06-10 15:27:09 +02:00
Amanda Graven
97937d384c Typo corrections
The "comforming" typo in the function name at
crates/ruma-identifiers-validation/src/user_id.rs:22:26
was not corrected as that would be a breaking change.
2021-06-01 12:45:34 +02:00
Jonas Platte
305b527ae9
Release ruma-identifiers 0.19.1 2021-05-16 21:54:03 +02:00
Jonas Platte
4c7ca120be
identifiers: Bump dependencies 2021-05-16 21:53:19 +02:00
Jonas Platte
3db0ea7026
Move all crates into a new crates directory 2021-05-03 15:50:27 +02:00