From a88272c6667d3e8282b160eccd7832a44aebc262 Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Sun, 24 Nov 2024 18:03:25 +0100 Subject: [PATCH] feat: :sparkles: Allow uppercase letters in usernames, make them case-insensitive --- app/changelog/page.mdx | 2 ++ app/entities/user/page.mdx | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/changelog/page.mdx b/app/changelog/page.mdx index 70a0db6..2bdb596 100644 --- a/app/changelog/page.mdx +++ b/app/changelog/page.mdx @@ -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`). - 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`. +- Allowed uppercase characters in [User](/entities/user) `username`. + - These are now case-insensitive. ## Since WD 3 diff --git a/app/entities/user/page.mdx b/app/entities/user/page.mdx index bb4773d..9330692 100644 --- a/app/entities/user/page.mdx +++ b/app/entities/user/page.mdx @@ -23,7 +23,7 @@ For example: @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 @@ -65,7 +65,7 @@ Instance **must** be the host of the instance the user is on (hostname with opti 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. A header image for the user's profile. Also known as a cover photo or a banner. Must be an image format (`image/*`).