don't lookup branch element - it might need to be escaped
Add tests for finding an oauth authenticated user
Use local vars for tests
Add users with predictable username and password

to development seed.
Handle user creation if email is not provided

This fixes #1541
Ensure oath callbacks without a nickname work (google)
Remove duplicate method
Add basic find / create specs for LDAP user
Get uid from auth instead of info hash

As found in the omniauth specs: https://github.com/intridea/omniauth/wiki/Auth-Hash-Schema
Refactor: beter naming for active directory disabled users
Add system hook for ssh key changes

Add system hook for ssh key create and destroy
Update and fix documentation
Update tests
/api/allowed use POST now

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Make sure /api/allowed return 200 status code

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Merge branch 'feaure-ldap-oauth-tests'

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

Conflicts:
	spec/lib/gitlab/oauth/user_spec.rb
Merge pull request #7211 from cirosantilli/predictable-user

Add users with deterministic username and password to development seed.
Merge pull request #7523 from Razer6/fix_branch_delete

Fix branch remove for branches containing a '/'
Merge pull request #7533 from duk3luk3/system-hook-key-feature

Add system hook for ssh key changes
Merge branch 'internal-api-post' into 'master'

Internal api post

See merge request !1059
Extend user add api

- Add force_random_password parameter to have password of new user set
  randomly
- Add password_expired parameter to set password of new user expired
- Update docs
- Update tests