gitlab-org--gitlab-foss/spec/lib/gitlab
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
..
backend Normalize space-like characters in keys before output to gitlab-shell 2015-10-08 20:34:50 -04:00
bitbucket_import Fix bug where only the first 15 Bitbucket issues would be imported. 2015-09-01 08:50:20 -07:00
diff Fix bug where backslashes in inline diffs could be dropped 2015-08-11 18:39:27 -07:00
email Rename reply_by_email to incoming_email to prepare for the future. 2015-09-21 10:35:37 +02:00
github_import Remove user OAuth tokens stored in database for Bitbucket, GitHub, and GitLab 2015-08-23 09:23:44 -07:00
gitlab_import Remove user OAuth tokens stored in database for Bitbucket, GitHub, and GitLab 2015-08-23 09:23:44 -07:00
gitorious_import Make sure user has access to namespace in import tests. 2015-04-15 16:58:43 +02:00
google_code_import Add fixture_file helper. 2015-08-20 12:41:47 -07:00
ldap Fix ldap email downcasing bug 2015-10-08 14:59:46 -05:00
markdown Allow RelativeLinkFilter to go up multiple directories 2015-09-20 19:21:33 -04:00
o_auth Fix rubocop warnings in spec/lib and spec/tasks 2015-10-03 16:02:21 -05:00
asciidoc_spec.rb Fix Style/AlignHash cop violations 2015-06-22 22:24:39 -07:00
auth_spec.rb Change to_not calls to not_to 2015-06-22 12:13:49 +02:00
closing_issue_extractor_spec.rb Fix ClosingIssueExtractor specs 2015-05-26 15:55:26 -04:00
color_schemes_spec.rb Add Gitlab::ColorSchemes module 2015-08-25 15:32:38 -07:00
database_spec.rb Added methods for detecting MySQL/PostgreSQL 2015-10-07 23:32:14 +02:00
git_access_spec.rb Fix GitAccess. 2015-05-13 09:46:22 +02:00
git_access_wiki_spec.rb Refactor GitAccess to use instance variables. 2015-03-24 14:11:48 +01:00
incoming_email_spec.rb Rename reply_by_email to incoming_email to prepare for the future. 2015-09-21 10:35:37 +02:00
key_fingerprint_spec.rb Refactor key fingerprint generation. 2015-04-14 12:00:43 +02:00
markup_helper_spec.rb markup_helper: detect .mkd and .mkdn as markdown 2015-08-12 15:29:15 -04:00
note_data_builder_spec.rb Revert "Update noteable after a new note is added" 2015-08-05 12:00:12 +03:00
popen_spec.rb Merge branch 'master' into rubocop-for-tests 2015-06-23 10:44:03 +02:00
project_search_results_spec.rb Add init test for ProjectSearchResults 2015-06-18 10:35:48 -07:00
push_data_builder_spec.rb Extend project web hooks with more data 2015-02-20 10:27:37 -08:00
reference_extractor_spec.rb Revert "Merge branch 'revert-satellites' into 'master' " 2015-08-11 14:33:31 +02:00
regex_spec.rb Fix (project_)name_regex to accept non-ASCII letters and dash 2015-04-27 16:38:47 +02:00
themes_spec.rb Add Gitlab::ColorSchemes module 2015-08-25 15:32:38 -07:00
upgrader_spec.rb Update mock and stub syntax for specs 2015-06-22 12:13:46 +02:00
url_builder_spec.rb Added comment notification events to HipChat and Slack services. 2015-03-06 06:54:00 -08:00
version_info_spec.rb Fix Style/TrailingBlankLines cop violations 2015-06-22 14:38:33 -04:00