gitlab-org--gitlab-foss/app/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
..
abstract_path_validator.rb
branch_filter_validator.rb Enable frozen string in vestigial files 2018-09-11 02:06:35 -07:00
certificate_fingerprint_validator.rb
certificate_key_validator.rb
certificate_validator.rb
cluster_name_validator.rb
color_validator.rb
cron_timezone_validator.rb
cron_validator.rb
devise_email_validator.rb Align EmailValidator to validate_email gem implementation. 2019-03-05 19:56:01 +00:00
duration_validator.rb Add custom validation message for chronic duration attribute 2018-12-05 13:09:43 +01:00
js_regex_validator.rb Enable frozen string in vestigial files 2018-09-11 02:06:35 -07:00
key_restriction_validator.rb
line_code_validator.rb
namespace_name_validator.rb
namespace_path_validator.rb
project_path_validator.rb
public_url_validator.rb
sha_validator.rb Fix Bitbucket import 2019-03-14 10:05:17 +00:00
top_level_group_validator.rb
url_validator.rb Comment why we can't use Gitlab::CurrentSettings 2019-02-20 10:50:58 +13:00
variable_duplicates_validator.rb Disable existing offenses for the CodeReuse cops 2018-09-11 17:32:00 +02:00