gitlab-org--gitlab-foss/spec/support
Robert Speicher 0b2a34108d Merge branch 'restrict_ldap_return_attributes' into 'master'
Restrict ldap return attributes

## What does this MR do?

Fixes the CE part of #13821. We really only ever need uid, dn, cn, and mail attributes, and in some cases, even less. This merge request strips the request down to those four attributes by default, and allows the caller to specify others, if needed. 

## Why was this MR needed?

This will improve performance especially in cases where the connection is slow between GitLab and LDAP, or when the LDAP object has lots of attributes we don't care about.

See merge request !6187
2016-09-09 18:59:33 +00:00
..
api Fix matcher `match_response_schema` 2016-08-17 12:58:59 -03:00
gitlab_stubs Read job variables directly from gitlab CI config 2016-04-18 13:17:48 +02:00
import_export Fix attribute inclusion in import/export config ignored in some cases 2016-08-11 12:49:07 +02:00
matchers Remove VideoJS and clean the integration 2016-07-20 11:36:42 +02:00
api_helpers.rb Enable Style/MultilineTernaryOperator rubocop cop 2016-07-20 14:24:39 +02:00
capybara.rb Fix Capybara 2.6.2 deprecation warnings 2016-03-15 11:03:17 -07:00
capybara_helpers.rb Ensure only renderable text diffs are collapsed 2016-07-08 13:53:17 +01:00
carrierwave.rb Move CarrierWave test env config to separate file 2016-03-30 13:57:01 +02:00
db_cleaner.rb Make sure DatabaseCleaner.clean runs AFTER Capybara's cleanup 2016-09-04 19:59:00 +03:00
email_format_shared_examples.rb Validate email addresses using Devise.email_regexp 2016-02-09 18:15:35 +01:00
email_helpers.rb DRY up the added update service specs, add two email helpers 2016-08-16 17:08:43 +01:00
factory_girl.rb
fake_u2f_device.rb Add feature specs to cover naming and deleting U2F devices. 2016-08-18 22:12:02 +05:30
filter_spec_helper.rb Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
fixture_helpers.rb
import_spec_helper.rb Move ImportSpecHelper to spec/support/ 2016-06-08 17:21:08 +02:00
issuable_create_service_slash_commands_shared_examples.rb Remove unneeded aliases 2016-08-18 14:29:48 -05:00
issuable_slash_commands_shared_examples.rb Move write_note into SlashCommandsHelper and update other dependent specs 2016-09-08 18:52:55 -04:00
issue_helpers.rb State specific default sort order for issuables 2016-08-01 11:28:56 +02:00
issue_tracker_service_shared_example.rb Ensure URL in all Service subclasses are valid 2016-04-25 15:28:24 -04:00
jira_service_helper.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
ldap_helpers.rb Request only the LDAP attributes we need 2016-09-09 13:14:57 -05:00
login_helpers.rb Wait for logout message in login_helpers 2016-09-08 18:52:54 -04:00
markdown_feature.rb Hook up the updated `WikiLinkFilter` to the wiki controllers. 2016-06-09 10:15:01 +05:30
mentionable_shared_examples.rb Restrict access to references for confidential issues 2016-03-17 20:55:59 -03:00
merge_request_helpers.rb State specific default sort order for issuables 2016-08-01 11:28:56 +02:00
omni_auth.rb Added a lot of stubbing to make sure OAUth requests are handled properly with 2FA 2016-07-07 16:54:03 -05:00
project_hook_data_shared_example.rb Added System Hooks for push and tag_push 2016-04-19 11:00:30 +02:00
reference_parser_helpers.rb Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
repo_helpers.rb Add support to cherry-pick any commit 2016-04-18 15:39:07 +08:00
select2_helper.rb Enable Style/SpaceAroundEqualsInParameterDefault cop 2016-08-06 04:03:01 +02:00
services_shared_context.rb
setup_builds_storage.rb
slash_commands_helpers.rb Move write_note into SlashCommandsHelper and update other dependent specs 2016-09-08 18:52:55 -04:00
stub_configuration.rb
stub_gitlab_calls.rb Rename all `[ci_]commit` to `[ci_]pipeline` in specs and features 2016-06-03 16:22:26 +02:00
stub_gitlab_data.rb
taskable_shared_examples.rb Shorten task status phrase 2016-08-29 10:46:36 -05:00
test_env.rb Fix resolving conflicts on forks 2016-08-30 11:56:11 +01:00
updating_mentions_shared_examples.rb DRY up the added update service specs, add two email helpers 2016-08-16 17:08:43 +01:00
wait_for_ajax.rb Fix Capybara 2.6.2 deprecation warnings 2016-03-15 11:03:17 -07:00
webmock.rb
workhorse_helpers.rb Verify JWT messages from gitlab-workhorse 2016-09-05 15:05:31 +02:00