mirror of
https://github.com/versia-pub/docs.git
synced 2025-12-06 06:18:19 +01:00
feat: ✨ Allow uppercase letters in usernames, make them case-insensitive
This commit is contained in:
parent
aba8ff170b
commit
a88272c666
|
|
@ -26,6 +26,8 @@ This page lists changes since Working Draft 3. {{ className: 'lead' }}
|
||||||
- Changed all Collections that can contain remote entities to use URI Collections (eg. [User](/entities/user) `collections.followers`).
|
- Changed all Collections that can contain remote entities to use URI Collections (eg. [User](/entities/user) `collections.followers`).
|
||||||
- Add `collections` field to [Notes](/entities/note).
|
- Add `collections` field to [Notes](/entities/note).
|
||||||
- [Likes Extension](/extensions/likes), [Reactions Extension](/extensions/reactions) and [Share Extension](/extensions/share) now use this field, instead of a custom field in `extensions`.
|
- [Likes Extension](/extensions/likes), [Reactions Extension](/extensions/reactions) and [Share Extension](/extensions/share) now use this field, instead of a custom field in `extensions`.
|
||||||
|
- Allowed uppercase characters in [User](/entities/user) `username`.
|
||||||
|
- These are now case-insensitive.
|
||||||
|
|
||||||
## Since WD 3
|
## Since WD 3
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ For example:
|
||||||
@018ec082-0ae1-761c-b2c5-22275a611771@versia.social
|
@018ec082-0ae1-761c-b2c5-22275a611771@versia.social
|
||||||
```
|
```
|
||||||
|
|
||||||
This is similar to an email address or an ActivityPub address.
|
This is similar to an email address or an ActivityPub address. Usernames are case-insensitive.
|
||||||
|
|
||||||
### Identifier
|
### Identifier
|
||||||
|
|
||||||
|
|
@ -65,7 +65,7 @@ Instance **must** be the host of the instance the user is on (hostname with opti
|
||||||
<Property name="username" type="string" required={true}>
|
<Property name="username" type="string" required={true}>
|
||||||
Alpha-numeric username. Must be unique within the instance. **Must** be treated as changeable by the user.
|
Alpha-numeric username. Must be unique within the instance. **Must** be treated as changeable by the user.
|
||||||
|
|
||||||
Can only contain the following characters: `a-z` (lowercase), `0-9`, `_` and `-`. Should be limited to reasonable lengths.
|
Can only contain the following characters: `a-z`, `A-Z` (case-insensitive), `0-9`, `_` and `-`. Should be limited to reasonable lengths.
|
||||||
</Property>
|
</Property>
|
||||||
<Property name="header" type="ContentFormat" required={false} typeLink="/structures/content-format">
|
<Property name="header" type="ContentFormat" required={false} typeLink="/structures/content-format">
|
||||||
A header image for the user's profile. Also known as a cover photo or a banner. Must be an image format (`image/*`).
|
A header image for the user's profile. Also known as a cover photo or a banner. Must be an image format (`image/*`).
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue