Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix usernames appearing in all lowercase #11

Merged
merged 2 commits into from
Aug 17, 2016
Merged

Fix usernames appearing in all lowercase #11

merged 2 commits into from
Aug 17, 2016

Conversation

C4K3
Copy link
Contributor

@C4K3 C4K3 commented Jun 21, 2016

For some reason it was getting the usernames from the username_clean
column instead of the username column, this means usernames were
appearing in all lowercase (except for the first character.) This fixes
it so that usernames appear in the correct case.

This is however a problem in already installed installations, because it
means that if this is changed then old usernames that were previously made
lowercase will not match up with new ones. So this sets the default to
make all usernames lowercase so as not to break existing installations.

C4K3 added 2 commits June 21, 2016 23:58
For some reason it was getting the usernames from the username_clean
column instead of the username column, this means usernames were
appearing in all lowercase (except for the first character.) This fixes
it so that usernames appear in the correct case.

This is however a problem in already installed installations, because it
means that if this is changed then old usernames that were previously made
lowercase will not match up with new ones. So this sets the default to
make all usernames lowercase so as not to break existing installations.
@Digitalroot
Copy link
Member

I think when I first built this, I was trying to make the names in phpBB match those in the wiki. So I forced everything to be lowercase with the first char upper. username_clean is the case folded version of a username. I like that you made this change configurable.

@C4K3
Copy link
Contributor Author

C4K3 commented Jul 21, 2016

Ah I see, I just assumed it was overlooked somehow.

Do you think it's missing anything for it to merged?

@Digitalroot
Copy link
Member

I need to figure out the impact to non-latin base users. There was a big issue years ago. So just give me time to review.

@Digitalroot Digitalroot merged commit c6cdb2c into Digitalroot-Technologies:master Aug 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants