Fixes for username changes
-
When the user changes their username, the only indicator that the change has succeeded is the submit button changing. When they successfully change it, the page should update text lines: -
Your current username is [updated name].
-
You have recently changed your username [updated number] time[s].
-
You can currently change your username [updated number] time[s].
-
The submit button should become disabled.
-
If the user tries to change the capitalization of their username, they can't because their username is already taken. We should let them change their capitalization. -
The url to the old username shows the userpage for their current username. This is good if the viewer is logged in and has permission to see it (according to admin/mod status or if site.username_change.display_days
status allows the user to know). But the page should return an error if the viewer doesn't have permission to see it (if they're a lurker/not logged in, if the timeframe for the user to see that info is over).