-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add support for user-defined screen name formatting
This commit introduces two distinct screen name data types: - IdentScreenName: A normalized version of the screen name used as a unique identifier. This is stored in the database and used for login validation, ensuring that users can log in regardless of the format they use. - DisplayScreenName: Maintains the user-defined formatting, including case and spaces, allowing for personalized display. Additionally, a database migration is included, which adds a new field identScreenName, for storing the IdentScreenName. The screenName field is renamed to displayScreenName, which stores the value of DisplayScreenName. These changes allow users to register and log in with any screen name format, as long as the normalized version matches the identifier stored in the database. From the API perspective, users continue to have the "screen_name" field, which is the display screen name.
- Loading branch information
Showing
47 changed files
with
1,373 additions
and
1,057 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.