f8611d170d
Fix #17573 : EmailValidator with checkDNS=true throws ErrorException on bad domains on Alpine
2019-10-09 14:59:45 +03:00
c87855b31c
Fix #17573 : Request::getUserIP() security fix for the case when Request::$trustedHost and Request::$ipHeaders are used
2019-10-03 14:56:20 +03:00
cdfcedb94e
Fix #15331 : Corrected wording in RequiredValidator::$strict [skip ci]
2019-09-17 17:25:25 +03:00
5e38f47275
Fix #16305 : Fix FileValidator mime-type validation failure because of case sensitivity
2019-08-27 18:59:26 +03:00
9dcf65e304
Fix #17389 : Fixed UniqueValidator to work with Active Record having joinWith() in its find()
2019-07-02 20:50:53 +03:00
2d333b2301
Fixes #17382 : Added \yii\validators\DateValidator::$strictDateFormat to enable strict validation
2019-06-25 15:24:32 +07:00
e1f6761dfd
Fixes #17233 : Fixed bug with integer model attribute names in Validator class
2019-05-15 18:03:57 +03:00
7a82f7d88d
Refactored EmailValidator DNS validation to take get_dns_record() into account
2019-03-20 21:48:19 +03:00
bf89d95d6a
Fixes #17083 : Fixed yii\validators\EmailValidator::$checkDNS tells that every domain is correct on alpine linux
2019-03-04 22:35:21 +03:00
bdb7c64910
Update to https protocol for php.net links ( #17168 ) [skip ci]
...
* Updated php.net link for some MemCache properties [skip ci]
* Changed protocol to https for links to php.net in comments
* Changed protocol to https for links to php.net in code
* Changed www.php.net (http) to secure.php.net (https) in comments
* Changed www.php.net (http) to secure.php.net (https) in code
* Changed protocol to https for links to php.net in UPGRADE.md
* Changed protocol to https for links to pecl.php.net in comments
* Changed us.php.net to secure.php.net (https) in comments
* Changed protocol to https for links to php.net in docs
* Changed www.php.net (http) to secure.php.net (https) in docs
* Changed protocol to https for links to pecl.php.net in docs
* Changed ru/jp.php.net to secure.php.net (https) in docs
Don't sure about russian guide: is this links meant to be for guide on russian, or not?
2019-02-28 13:09:27 +03:00
ed64d65886
release version 2.0.16
2019-01-31 00:54:16 +01:00
1128a6d609
added missing documentation
2019-01-31 00:20:44 +01:00
e3b7581bca
Fixes #15145 : Fixed Validator::skipOnEmpty documentation [skip ci]
2019-01-09 06:51:31 -05:00
b4adada51e
Fixes #16022 : Fix UniqueValidator for PostgreSQL. Checks the uniqueness of keys in jsonb field
2018-12-05 00:06:51 +03:00
d7ffda020b
Fixes #16903 : Fixed 'yii\validators\NumberValidator' method 'isNotNumber' returns false for true/false value
2018-11-23 12:55:07 +03:00
b36639b288
Fixes #14901 : Fixed trim validation for radio/checkbox button
2018-08-04 01:06:15 +03:00
1ad85c640b
Bug #15826 : Fixed JavaScript compareValidator in yii.validation.js for attributes not in rules (mgrechanik)
2018-07-19 12:19:32 +08:00
cd0e0e71c1
Fixed idn_to_ascii function call to prevent incorrect translation
...
Without the `IDNA_NONTRANSITIONAL_TO_ASCII` parameter, domain `faß.de`
gets converted to `fass.de` that is not correct way of making IDN.
Follows http://www.unicode.org/reports/tr46/
2018-07-11 19:53:13 +03:00
33fe3476c7
Fixes #16280 : Fixed yii\base\Model::getActiveValidators() to return correct validators for attribute on scenario
2018-05-21 01:17:34 +05:00
0b24d92843
Add docs about changes in the yii\validators\ExistValidator mentioned in #8092 ( #16136 ) [skip ci]
2018-04-23 00:38:17 +03:00
f10cb6aeee
SCA with Php Inspections (EA Ultimate)
2018-02-27 19:13:22 +01:00
6e30577abc
Added ArrayAccess object in EachValidator
...
Fixes #15760
2018-02-24 11:59:32 +02:00
5fb3fc2b5f
Fix ExistValidator is broken for NOSQL ( #15726 )
2018-02-23 14:58:07 +05:00
23b5fa4391
Fix ExistValidator with targetRelation ignores filter ( #15692 )
2018-02-20 20:07:55 +05:00
22832b7c49
release version 2.0.14
2018-02-19 00:27:09 +02:00
3c8207f050
seems missing a ) here...
2018-02-18 23:54:14 +08:00
67caf0219a
Check db driver have useMaster or not for calling. ( #15664 )
...
Breaking change in mongodb or another driver.
In checking unique validation in mongodb validator error occurred in calling useMaster but in mongodb this is not exist and this is breaking change in older driver.
2018-02-18 18:40:09 +03:00
a4b6b853b6
Fixed DateValidator to respect time when format is php:U
...
Fixes #15628
2018-02-18 09:55:43 +02:00
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
2018-02-15 02:12:54 +03:00
9e566d7021
#8092 : Enhance exists validator for relations ( #15647 )
2018-02-13 15:38:35 +03:00
a18ee838fd
Fixes #8092 : ExistValidator for relations
2018-02-13 01:12:05 +03:00
eb57d4191c
Fixes #15553 : Fixed yii\validators\NumberValidator incorrectly validate resource
2018-01-25 14:28:41 +03:00
71c541773f
PHPDoc fix
2018-01-23 13:17:25 +02:00
65f6b59b35
@inheritdoc notation changed
2018-01-23 13:11:24 +02:00
72b69e359a
Fixes #15417 : Added yii\validators\FileValidator::$minFiles
2018-01-08 02:12:27 +04:00
b44bbd6a13
Fix code issues ( #15435 )
...
* Fix some scrunitizer warnings
* Remove obsolete require
* Fix codestyle
2018-01-01 16:21:37 +03:00
0bec2b462c
Fixes #14484 : Fixed yii\validators\UniqueValidator for target classes with a default scope
2017-12-18 10:41:13 +03:00
d604d80823
Fixes #14043 : Added yii\helpers\IpHelper
2017-12-10 01:15:39 +03:00
1453eeaa4a
Added example to validateValue PHPDoc [skip ci] ( #15193 )
2017-11-24 13:56:58 +07:00
c009b06114
Fixes #14604 : Fixed yii\validators\CompareValidator compareAttribute does not work if compareAttribute form ID has been changed
2017-11-15 00:43:14 +03:00
13cd7d7ee0
Fixes #6588 : Fixed changing array keys after validation of multiple files in yii\validators\FileValidator
2017-11-01 12:26:25 +03:00
64d8af61a6
Fixes for PHP 7.2 compatibility ( #14959 )
2017-10-19 01:54:40 +03:00
36b535c26b
Fixes #13254 : Made yii\helpers\StringHelper and yii\validators\StringValidator independent of Yii::$app instance
2017-09-07 22:32:07 +03:00
5a8c3d537b
Enable phpdoc_summary rule in php-cs-fixer config ( #14675 )
...
* Enable `phpdoc_summary` rule in php-cs-fixer config.
* Fix case in "PHPDoc".
2017-08-21 11:19:35 +02:00
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
2017-08-21 01:58:49 +03:00
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
2017-07-25 16:17:37 +03:00
8ae2223c6a
Fixes #14370 : Fixed creating built-in validator in model with same function name
2017-07-23 17:17:20 +03:00
1f26db9fb7
Applied code style fixes
2017-07-21 15:42:06 +03:00
fe8a0a6a2e
Enable no_useless_else rule in php-cs-fixer ( #14420 )
2017-07-10 11:26:21 +03:00
cb09e1e463
calling getAttributeNames() only once
...
close #14389
2017-07-05 12:20:25 +02:00