gitlab-org--gitlab-foss/spec/validators
Francisco Javier López 150f7c1e9c Fix Bitbucket import
In ebf16ada85
we introduced a SHA validator, to ensure that the data provided in
merge request diffs, was legit. Nevertheless, the validator
assumed that the SHA should be 40 chars long.

When we import a project from BitBucket, the retrieved SHA is
shorter (12 chars long). Therefore, this validator prevented to
create a valid MergeRequestDiff for ever MergeRequest (triggering
an exception).
2019-03-14 10:05:17 +00:00
..
branch_filter_validator_spec.rb Filter project hooks by branch 2018-08-13 13:20:58 +02:00
devise_email_validator_spec.rb Align EmailValidator to validate_email gem implementation. 2019-03-05 19:56:01 +00:00
js_regex_validator_spec.rb remove newly supported regex feature from validation error test 2019-01-14 13:42:27 +01:00
namespace_path_validator_spec.rb
project_path_validator_spec.rb
public_url_validator_spec.rb Add validation to webhook and service URLs to ensure they are not blocked because of SSRF 2018-06-01 11:43:53 +00:00
sha_validator_spec.rb Fix Bitbucket import 2019-03-14 10:05:17 +00:00
url_validator_spec.rb Add table and model for error tracking settings 2019-01-07 17:55:21 +00:00
variable_duplicates_validator_spec.rb Add more information in variable_duplicates validator error message 2018-02-13 23:51:04 +01:00