433 Commits (master)

Author SHA1 Message Date
Evgeniy Moiseenko e3b7581bca Fixes #15145: Fixed Validator::skipOnEmpty documentation [skip ci] 6 years ago
Alex b4adada51e Fixes #16022: Fix UniqueValidator for PostgreSQL. Checks the uniqueness of keys in `jsonb` field 6 years ago
Anna Borzenko d7ffda020b Fixes #16903: Fixed 'yii\validators\NumberValidator' method 'isNotNumber' returns false for true/false value 6 years ago
cuileon 489dd119a5 merge from yiisoft/yii2 6 years ago
Evgeniy Moiseenko b36639b288 Fixes #14901: Fixed trim validation for radio/checkbox button 6 years ago
Mikhail 1ad85c640b Bug #15826: Fixed JavaScript compareValidator in `yii.validation.js` for attributes not in rules (mgrechanik) 6 years ago
SilverFire - Dmitry Naumenko cd0e0e71c1
Fixed idn_to_ascii function call to prevent incorrect translation 6 years ago
Paweł Jankowiak 33fe3476c7 Fixes #16280: Fixed `yii\base\Model::getActiveValidators()` to return correct validators for attribute on scenario 6 years ago
Ondřej Vašíček 0b24d92843 Add docs about changes in the `yii\validators\ExistValidator` mentioned in #8092 (#16136) [skip ci] 7 years ago
Vladimir Reznichenko f10cb6aeee SCA with Php Inspections (EA Ultimate) 7 years ago
SilverFire - Dmitry Naumenko 6e30577abc
Added ArrayAccess object in EachValidator 7 years ago
Elvira Sheina 5fb3fc2b5f Fix ExistValidator is broken for NOSQL (#15726) 7 years ago
Elvira Sheina 23b5fa4391 Fix ExistValidator with targetRelation ignores filter (#15692) 7 years ago
SilverFire - Dmitry Naumenko 22832b7c49
release version 2.0.14 7 years ago
Ruitang Du 3c8207f050
seems missing a `)` here... 7 years ago
Jafaripur 67caf0219a Check db driver have useMaster or not for calling. (#15664) 7 years ago
SilverFire - Dmitry Naumenko a4b6b853b6
Fixed DateValidator to respect time when `format` is `php:U` 7 years ago
rossoneri 63ffae028e Fixes #14254: add an option to specify whether validator is forced to always use master DB for `yii\validators\UniqueValidator` and `yii\validators\ExistValidator` 7 years ago
Alexander Makarov 9e566d7021
#8092: Enhance exists validator for relations (#15647) 7 years ago
Elvira Sheina a18ee838fd Fixes #8092: ExistValidator for relations 7 years ago
Elvira Sheina eb57d4191c Fixes #15553: Fixed `yii\validators\NumberValidator` incorrectly validate resource 7 years ago
Klimov Paul 71c541773f PHPDoc fix 7 years ago
Klimov Paul 65f6b59b35 `@inheritdoc` notation changed 7 years ago
Гордиенко Владислав Юрьевич 72b69e359a Fixes #15417: Added `yii\validators\FileValidator::$minFiles` 7 years ago
Vladimir Khramtsov b44bbd6a13 Fix code issues (#15435) 7 years ago
Laszlo 0bec2b462c Fixes #14484: Fixed `yii\validators\UniqueValidator` for target classes with a default scope 7 years ago
Dmitry Naumenko d604d80823 Fixes #14043: Added `yii\helpers\IpHelper` 7 years ago
bscheshirwork 1453eeaa4a Added example to validateValue PHPDoc [skip ci] (#15193) 7 years ago
Mikk Tendermann c009b06114 Fixes #14604: Fixed `yii\validators\CompareValidator` `compareAttribute` does not work if `compareAttribute` form ID has been changed 7 years ago
Elvira Sheina 13cd7d7ee0 Fixes #6588: Fixed changing array keys after validation of multiple files in `yii\validators\FileValidator` 7 years ago
Dmitry Naumenko 64d8af61a6 Fixes for PHP 7.2 compatibility (#14959) 7 years ago
Carsten Brandt 36b535c26b Fixes #13254: Made `yii\helpers\StringHelper` and `yii\validators\StringValidator` independent of `Yii::$app` instance 7 years ago
Robert Korulczyk 5a8c3d537b Enable `phpdoc_summary` rule in php-cs-fixer config (#14675) 7 years ago
Robert Korulczyk 1501c659ac Add empty lines before return statements. (#14682) [skip ci] 7 years ago
Klimov Paul 2466d397ae Fixed `yii\validators\ExistValidator` and `yii\validators\UniqueValidator` throw exception in case they are set for `yii\db\ActiveRecord` with `$targetClass` pointing to NOSQL ActiveRecord 7 years ago
Dmitry Dorogin 8ae2223c6a Fixes #14370: Fixed creating built-in validator in model with same function name 7 years ago
Alexander Makarov 1f26db9fb7
Applied code style fixes 7 years ago
Robert Korulczyk fe8a0a6a2e Enable `no_useless_else` rule in php-cs-fixer (#14420) 7 years ago
Konstantin Tsukur cb09e1e463 calling getAttributeNames() only once 7 years ago
Alexander Makarov d4c15c36d0 Fixes #14304: Fixed `yii\validators\UniqueValidator` and `yii\validators\ExistValidator` to skip prefixes in case expressions are used 7 years ago
Robert Korulczyk ba0ab403b5 Added php-cs-fixer coding standards validation to Travis CI (#14100) 7 years ago
Carsten Brandt be658f82bf
release version 2.0.12 7 years ago
Paul Klimov 40e5702b6b Fixes #5108 `DateValidator` resets `$timestampAttribute` value on empty attribute (#14242) 7 years ago
bscheshirwork 921147dca5 Fixes #14161, #14150: fixed primary table aliasing (include case manual set alias) in validators 7 years ago
Alexander Makarov 8a087c8537
#14150: Added {{ and }} to getTablesUsedInFrom() output 7 years ago
Alexander Makarov 96382454b1
Additional refactoring as suggested by @dynasource 7 years ago
Alexander Makarov 9828bde1db Added escaping for column name 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
Kolyunya 4a17032717 Fix validators documentation 8 years ago