gitlab-org--gitlab-foss/spec
Robert Speicher 42603af326 Merge branch 'fix_email_downcasing' into 'master'
LDAP email address downcasing

Fixes #2960

In the event we cannot match an LDAP user by DN we attempt to find an identity by email address and then update the DN. In this case the identity is matched by email address. 

If the user's email address in LDAP has an upper case character we cannot find a match in the GitLab database. GitLab downcases emails before the user object is saved.

This merge request downcases the email from LDAP before we lookup by email. I also added a test to prevent a regression.

See merge request !1550
2015-10-11 22:53:11 +00:00
..
benchmarks Merge remote-tracking branch 'public/project-find-with-namespace-performance' 2015-10-08 17:42:14 +02:00
controllers Merge branch 'cleanup-ci-pages' into 'master' 2015-10-07 17:04:54 +00:00
factories Make rubocop happy 2015-10-05 14:39:56 +02:00
features Merge branch 'cleanup-ci-pages' into 'master' 2015-10-07 17:04:54 +00:00
finders Merge remote-tracking branch 'public/trending-projects-performance' 2015-10-08 16:22:43 +02:00
fixtures No HTML-only email please 2015-08-21 16:09:55 -07:00
helpers Support filtering by "Any" milestone or issue and fix "No Milestone" and "No Label" filters 2015-10-07 07:21:50 -07:00
javascripts Check originalEvent.repeat *and* event.repeat 2015-10-07 17:59:10 -04:00
lib Merge branch 'fix_email_downcasing' into 'master' 2015-10-11 22:53:11 +00:00
mailers Merge branch 'stanhu/gitlab-ce-fix-message-id-notify' 2015-10-01 16:28:10 +02:00
models Merge remote-tracking branch 'public/project-find-with-namespace-performance' 2015-10-08 17:42:14 +02:00
requests Fix tests and few CI features 2015-10-07 17:54:49 +02:00
routing Move partial to right place and fix tests. 2015-09-08 15:14:14 +01:00
services Merge branch 'XenGi/gitlab-ce-master' 2015-10-08 03:41:07 -07:00
support Merge branch 'refactor-build-service' into 'master' 2015-10-05 17:42:50 +00:00
tasks/gitlab Fix rubocop warnings in spec/lib and spec/tasks 2015-10-03 16:02:21 -05:00
views/help Allow non-admin users to see version information 2015-09-23 17:18:15 -04:00
workers Rename reply_by_email to incoming_email to prepare for the future. 2015-09-21 10:35:37 +02:00
factories.rb Only publish ssh key-type and key 2015-08-04 14:33:18 +02:00
factories_spec.rb
rails_helper.rb
spec_helper.rb Merge branch 'refactor-build-service' into 'master' 2015-10-05 17:42:50 +00:00
teaspoon_env.rb