gitlab-org--gitlab-foss/spec
Drew Blessing 29414ab043 Reduce hits to LDAP on Git HTTP auth by reordering auth mechanisms
We accept half a dozen different authentication mechanisms for
Git over HTTP. Fairly high in the list we were checking user
password, which would also query LDAP. In the case of LFS,
OAuth tokens or personal access tokens, we were unnecessarily
hitting LDAP when the authentication will not succeed. This
was causing some LDAP/AD systems to lock the account. Now,
user password authentication is the last mechanism tried since
it's the most expensive.
2017-01-30 13:05:47 -06:00
..
bin
config
controllers Fix a transient failure in the Explore::ProjectsController spec 2017-01-27 11:57:06 -05:00
db/production Introduce "stub_env" test helper for safely stubbing environment variables 2017-01-09 18:19:48 +01:00
factories Merge branch '27044-fix-explore-sorting-on-trending' into 'master' 2017-01-26 20:36:31 +00:00
features Merge branch 'issuable-sidebar-bug' into 'master' 2017-01-27 23:09:00 +00:00
finders Use :empty_project where possible in finder specs 2017-01-25 22:31:24 -05:00
fixtures Allow to use ENV variables in redis config 2017-01-13 10:41:50 +05:00
helpers Ensure we have a project with a repo in GitlabMarkdownHelper specs 2017-01-26 13:09:29 +01:00
initializers Add metric initializer spec 2017-01-24 14:42:57 +00:00
javascripts Merge branch '27248-filtered-search-does-not-allow-filtering-labels-with-multiple-words' into 'master' 2017-01-27 21:40:38 +00:00
lib Reduce hits to LDAP on Git HTTP auth by reordering auth mechanisms 2017-01-30 13:05:47 -06:00
mailers
migrations fix typo, added relevant spec 2017-01-16 16:11:50 +01:00
models Merge branch 'sh-fix-annotated-tags-pointing-to-blob' into 'master' 2017-01-27 16:12:26 +00:00
policies More improvements to presenters 2017-01-18 16:38:35 +01:00
presenters/ci More improvements to presenters 2017-01-18 16:38:35 +01:00
requests Use :empty_project where possible in request specs 2017-01-26 18:52:10 -05:00
routing
serializers Do not generate pipeline ref path if ref not present 2017-01-20 12:44:31 +01:00
services Merge branch 'get-rid-of-water-from-notification_service_spec-to-make-it-DRY' into 'master' 2017-01-27 13:57:13 +00:00
support Merge branch 'issuable-sidebar-bug' into 'master' 2017-01-27 23:09:00 +00:00
tasks/gitlab Restore backup correctly when "BACKUP" environment variable is passed 2017-01-09 18:38:53 +01:00
uploaders Don't delete files from spec/fixtures 2017-01-03 15:37:32 +01:00
views Changes after review 2017-01-27 14:27:07 +00:00
workers Fix race conditions for AuthorizedProjectsWorker 2017-01-25 13:22:15 +01:00
factories_spec.rb
rails_helper.rb
rake_helper.rb
simplecov_env.rb
spec_helper.rb Add the rspec_profiling gem and documentation to the GitLab development environment 2017-01-27 12:41:16 +00:00
teaspoon_env.rb Add first shared examples to a helper and updated teaspoon_env to allow helper specs to run 2017-01-18 13:33:08 +00:00