84 Commits (118fc08af8010825d1e92f63c181360e6c58e66a)

Author SHA1 Message Date
Alexander Makarov b151b1cdb2
Fixes #14150 7 years ago
Carsten Brandt 5c72047426
Fixed ambiguous column name in SELECT in UniqueValidator 7 years ago
Alexander Makarov 23cc4bf4fe
Further changes for unique and exist validators 7 years ago
Robert Korulczyk 31e321b9b2 Remove unused imports. (#14096) 8 years ago
Carsten Brandt d786b78f25 Helper independent (#14050) 8 years ago
Paul Klimov 3598f8180c Fixes #13087: Fixed getting active validators for safe attribute 8 years ago
Mikk Tendermann 59d3292399 [IpValidator] disable ipv6 checks (#13984) 8 years ago
Klimov Paul dee88787fc compatibility with PHPUnit 6.x added 8 years ago
vladis84 3c1f3e20cf
Fixes #13704: Fixed `yii\validators\UniqueValidator` to prefix attribute name with model's database table name 8 years ago
Alexander Makarov 3f8e8a89eb Used more specific unit test assertions in framework tests 8 years ago
gagatust 6397791513 Fixed whitespaces to match code style [skip ci] 8 years ago
Kolyunya f9041646dd Improve string validator test coverage 8 years ago
Elvira Sheina 2de18cf9a5 Fixes #13087: Fixed getting active validators for safe attribute 8 years ago
SilverFire - Dmitry Naumenko b4c7aaa5e0
Added more examples to EmailValidatorTest 8 years ago
Carsten Brandt fba4e43469
added failing test for #13533 8 years ago
Elvira Sheina d39c491022 Fix BC breaking #13475 (#13478) 8 years ago
Elvira Sheina b82caa97e8 Fixes #7820: Add `or` relation for `targetAttribute` in `yii\validators\UniqueValidator` 8 years ago
Klimov Paul d4ac47abe7 Added `yii\validators\EachValidator::$stopOnFirstError` allowing addition of more than one error 8 years ago
Carsten Brandt 96ee5c373e
added more tests for SwiftMailer vulnerability CVE-2016-10074 8 years ago
SilverFire - Dmitry Naumenko 6af2a43390
Added EmailValidatorTest to prove CVE-2016-10074 does not affect EmailValidator 8 years ago
Klimov Paul 194577c55e Code style fix 8 years ago
Robert Korulczyk 08054bba6d Fix tests. (#13227) 8 years ago
Elvira Sheina bfba0aa711 Refactor validateAttribute method in UniqueValidator (#13202) 8 years ago
SilverFire - Dmitry Naumenko a132ee9a08
Fixed order or checks in IpValidator 8 years ago
Alexey Rogachev bd85b7ced2 Closes #6242: Access to validator in inline validation (#13027) 8 years ago
Alexander Makarov a056281fa0 Attempt to make tests pass on travis environment 8 years ago
Alexander Makarov b17dfa03a2 Fixes #10488: Fixed incorrect behavior of `yii\validation\NumberValidator` when used with locales where decimal separator is comma 8 years ago
Vladimir Khramov dd94ead358 Initial work on #10488 8 years ago
yamaha252 22b2a78a0a Added test for unique validator with empty values 8 years ago
SilverFire - Dmitry Naumenko 25ebf03a8d Fixed ValidatorTest::testValidateWithEmpty() 8 years ago
Robert Korulczyk 4aa935e69e Fixes #12055: Changed `boolean` to `bool` and `integer` to `int` in phpdoc 8 years ago
Robert Korulczyk 4fdfbc2739 Add tests for custom message for `UniqueValidator` 8 years ago
Carsten Brandt d2dd232b6f message improvement and test for #11323 8 years ago
Sam Mousa b30b5a99ea Fixes #11672: Fixed `yii\validators\NumberValidator` erroring when value is an object without `__toString()` method 8 years ago
Carsten Brandt 86f17c8dad added tests classes for db related tests 8 years ago
Sergey Smirnov 1ed6fc09f6 #10825 Fixed EachValidator does not respect skipOnEmpty when using model (#11507) 8 years ago
Carsten Brandt 00d506c398 completed implementation for #7177 9 years ago
Robbert Jan bb0ef88860 Enhancement for DateValidator (#7177, #10165) 9 years ago
Klimov Paul 2d5a0bf5ae `EachValidator::validateAttribute()` fixed to restore original value on error 9 years ago
Klimov Paul 205f16811a Fixed `yii\validators\EachValidator` does not invoke `validateAttribute()` method of the embedded validator 9 years ago
Alexander Makarov f312163258 Fixes #11220: NumberValidator now handles objects properly 9 years ago
githubjeka 8e1ec62191 update BooleanValidator 9 years ago
LAV45 6c2545c807 Added SVG image and SVG mimeType test to FileValidatorTest 9 years ago
SilverFire - Dmitry Naumenko a0f9bf2893 Fixed `yii\web\UploadedFile::getBaseName()` to be multibyte-safe, added test 9 years ago
SilverFire - Dmitry Naumenko a0e614eb20 `yii\validators\EachValidator` injects specific attribute value in error message parameters 9 years ago
Klimov Paul 779b1e90ce `yii\validators\DateValidator` skip validation for `timestampAttribute`, if it is already in correct format 9 years ago
SilverFire - Dmitry Naumenko 66c6268e5f FileValidator: updated guide-ru,en, PHP; updated tests 9 years ago
kirSeNN a4c68b5278 #5469 added mimetype mask validation feature 9 years ago
Klimov Paul d22a3a0a07 Fixed `yii\validators\EachValidator` does not respect `skipOnEmpty` rule parameter 9 years ago
SilverFire - Dmitry Naumenko d12af259e0 Fixed UrlValidator pattern to improve matching 9 years ago