Commit graph

24 commits

Author SHA1 Message Date
Nick Thomas
ef696f592f Add robots.txt to the list of reserved namespaces 2016-10-11 02:58:26 +01:00
Robert Speicher
d75a8297b8 Add '.well-known' to the list of reserved namespaces
See https://gitlab.com/gitlab-org/gitlab-ce/issues/22759
2016-09-29 10:36:38 +02:00
James Lopez
54a50bf81d refactor url validator to use sanitizer for check 2016-07-01 09:02:45 +02:00
James Lopez
ef5713546b few more changes from suggestions 2016-06-30 17:22:56 +02:00
James Lopez
5b893d603d few changes based on feedback 2016-06-30 13:17:37 +02:00
James Lopez
8076d38a14 added more info on how addressable URI differs from what we use in UrlValidator 2016-06-24 11:35:32 +02:00
James Lopez
58c49966fa updated validator based on feedback 2016-06-23 17:18:02 +02:00
James Lopez
4273e07e00 fix comment 2016-06-20 17:25:51 +02:00
James Lopez
6d763831d0 fixed a few MySQL issues and added changelog 2016-06-20 17:20:53 +02:00
James Lopez
896e09d055 started working on a migration for projects that have current import_url issues 2016-06-20 15:31:03 +02:00
James Lopez
a5abec905f fix addressable url validator 2016-06-20 11:34:34 +02:00
James Lopez
0e222f02d8 fixing URL validation for import_url on projects 2016-06-17 15:09:39 +02:00
evuez
4d0e2979b9 Allow webhooks URL to have leading and trailing spaces 2016-02-26 14:34:06 -05:00
Rémy Coutable
b3635ee46a Re-add EmailValidator to avoid the repetition of format: { with: Devise.email_regexp } 2016-02-09 18:15:35 +01:00
Rémy Coutable
b34963bc12 Validate email addresses using Devise.email_regexp
Also:
- Get rid of legacy :strict_mode
- Get rid of custom :email validator
- Add some shared examples to spec emails validation
2016-02-09 18:15:35 +01:00
Robert Schilling
c3c0dda3f5 Blacklist 'new' 2016-01-08 10:19:22 +01:00
Robert Speicher
2379c8beea Inline Gitlab::Blacklist in NamespaceValidator 2015-12-07 16:57:26 -05:00
Robert Speicher
175f482c3c Add custom NamespaceNameValidator 2015-12-07 16:57:26 -05:00
Robert Speicher
9321d382bd Add custom NamespaceValidator 2015-12-07 16:57:26 -05:00
Robert Speicher
ad6a771dc6 Add custom LineCodeValidator 2015-12-07 16:57:26 -05:00
Robert Speicher
96e51a0304 Minor EmailValidator refactor 2015-12-07 16:57:26 -05:00
Robert Speicher
e48391b813 Add custom ColorValidator 2015-12-07 16:57:26 -05:00
Robert Speicher
b3200c8c44 Move EmailValidator to app/validators 2015-12-07 16:57:26 -05:00
Robert Speicher
d5ea93469b Add custom UrlValidator 2015-12-07 16:57:26 -05:00