gitlab-org--gitlab-foss/lib
Robert Speicher a59c33e4a3 Merge branch '2fa-check-git-http' into 'master'
2FA checks for Git over HTTP

## What does this MR do?

This MR allows the use of `PersonalAccessTokens` to access Git over HTTP and makes that the only allowed method if the user has 2FA enabled. If a user with 2FA enabled tries to access Git over HTTP using his username and password the request will be denied and the user will be presented with the following message:

```
remote: HTTP Basic: Access denied
remote: You have 2FA enabled, please use a personal access token for Git over HTTP.
remote: You can generate one at http://localhost:3000/profile/personal_access_tokens
fatal: Authentication failed for 'http://localhost:3000/documentcloud/underscore.git/'
```

## What are the relevant issue numbers?

Fixes #13568 

See merge request !5764
2016-08-18 23:18:58 +00:00
..
api Small refactor and syntax fixes. 2016-08-18 16:47:26 -05:00
assets
backup Use File::exist? instead of File::exists? 2016-08-11 13:54:45 +03:00
banzai Fix a memory leak caused by Banzai::Filter::SanitizationFilter 2016-08-14 22:28:18 +02:00
ci Tracking of custom events 2016-08-17 10:04:04 +02:00
container_registry Make rubocop happy 2016-07-15 18:05:39 +02:00
gitlab Merge branch '2fa-check-git-http' into 'master' 2016-08-18 23:18:58 +00:00
json_web_token
omni_auth
rouge/formatters Trim extra displayed carriage returns in diffs and files with CRLFs 2016-08-01 13:24:06 +02:00
support Revert "Defend against 'Host' header injection" 2016-08-08 13:02:44 +02:00
tasks Use File::exist? instead of File::exists? 2016-08-11 13:54:45 +03:00
banzai.rb Object renderer read_multi rendered entries from Cache 2016-07-12 14:35:29 +02:00
disable_email_interceptor.rb
event_filter.rb
extracts_path.rb Fix front-end for branches that happen to contain urlencoding escape characters (e.g. %) 2016-08-11 13:21:59 +02:00
file_size_validator.rb
file_streamer.rb
gitlab.rb
gt_one_coercion.rb
repository_cache.rb Use project ID in repository cache to prevent stale data from persisting across projects 2016-07-25 05:09:28 -07:00
static_model.rb
unfold_form.rb
uploaded_file.rb
version_check.rb