Allow underscore as the first char for project names.

Not sure if the default_regex really has to be expanded for this special use case. We tried to extend only the project_name_regex first, but that didn't help.
Port LDAP code from EE

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Remove copyright

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Add ldap check in application_controller and internal api

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Update references to gitlab dot com.
 Merge branch 'remove-dot-org' into 'master'

Remove Dot Org
Catch missing commands in rake tasks with ''
Fix ldap_user_auth_spec

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
 Merge branch 'catch_missing_command' into 'master'

Catch missing commands in Rake tasks
Fixes a bug with group member administration

Group owners were not able to remove any users from their group if they were the only owner.
Remove non-exist method from ldap security check

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Add User#last_credential_check_at

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Merge pull request #6503 from mjdetullio/fix/group-admin

[6.6] Fixes a bug with group member administration
Merge pull request #6478 from infoMantisGmbH/master

Allow underscore as the first char for project names.
Add User#requires_ldap_check? method

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
 Merge branch 'ldap-code' into 'master'

LDAP code from EE
Merge branch 'master' of github.com:gitlabhq/gitlabhq