b7943c6732
Fix #18823 : Rollback changes #18806 in yii\validators\ExistValidator::checkTargetRelationExistence()
2021-08-15 16:15:14 +03:00
1474e2d61a
Optimize yii\validators\ExistValidator
...
Optimize methods `valueExists()` and `checkTargetRelationExistence()`
2021-08-04 23:40:25 +03:00
be1b98b1df
Fix #18756 : Fix \yii\validators\ExistValidator::queryValueExists to validate against an array of unique values
2021-08-04 21:00:58 +03:00
725057c273
Fix #18734 : Added yii\validators\EmailValidator::$enableLocalIDN
2021-07-06 01:55:02 +03:00
e1e7ea37d5
use getTargetClass in function checkTargetAttributeExistence
...
This interesting change, to be able to change getTargetClass when necessary when extending this class.
2021-06-15 13:07:53 -03:00
88a7a00458
release version 2.0.42
2021-05-06 00:08:29 +03:00
f00e44fb6e
Fix #18569 : Add NumberValidator::$allowArray
2021-04-26 15:43:13 +03:00
2f051bc441
Add Since PHPDoc
2021-04-07 21:55:25 +03:00
63cb61f591
Refactoring so regex has it's own variables
2021-04-06 07:49:57 -07:00
6659e6a187
Refactor based on suggestion
2021-04-01 16:27:59 -07:00
d02d60e070
Limiting explode to 2
2021-03-31 15:21:19 -07:00
808c64d900
Refactoring method per request
2021-03-31 15:15:46 -07:00
3593696b93
Fixing Email Validator to handle edge case where email address is valid but fails ascii conversion.
2021-03-31 11:50:24 -07:00
cfe782b3f5
Fix #18544 : Fix yii\validators\NumberValidator to disallow values with whitespaces
2021-03-11 00:40:34 +03:00
b8e31c0d31
Fix #18460 : compareValue in CompareValidator can now take a closure returning a value
2021-02-25 13:01:38 +03:00
8824ee7eed
Fix typo in SafeValidator
...
assigment -> assignment
2020-12-21 15:15:48 +03:00
ccb14ff667
release version 2.0.39
2020-11-10 13:58:35 +03:00
840083724e
Fix #18351 : Added option to change default timezone for parsing formats without time part in yii\validators\DateValidator
2020-10-31 15:59:20 +03:00
f212925242
Fix #18239 : Fix support of no-extension files for FileValidator::validateExtension()
2020-08-19 20:32:15 +03:00
1ade4993f9
Fix #18204 : Fix 2.0.36 regression in inline validator and JS validation
2020-08-04 14:24:43 +03:00
dab7a6c317
Update phpdoc
2020-07-20 02:44:55 +03:00
d62590807d
Fix #18051 : Fix using EachValidator with custom validation function
2020-07-06 16:18:03 +03:00
f944e1f039
Fix #18094 : Support for composite file extension validation
2020-07-03 19:06:49 +03:00
385fe13d66
Revert #18102 since renaming is technically problematic ( #18109 )
2020-06-17 13:40:17 +03:00
eb956e9c6b
primary/replica in a definitely non-breaking way ( #18106 )
2020-06-16 11:33:27 +03:00
b642a384fa
Fix #18096 : Fix InlineValidator with anonymous inline function not working well from EachValidator
2020-06-15 10:14:57 +03:00
472600ee3f
Fix #18102 : Use “primary”/“replica” terminology instead of “master”/“slave”
2020-06-14 00:12:10 +03:00
1d1a9fa106
Fix ImageValidator's maxHeight doc ( #18089 )
2020-06-09 00:02:40 +03:00
2a73a4ae3a
Fix #18051 : Fix missing support for custom validation method in EachValidator
2020-05-23 17:37:23 +03:00
c32811887a
Fix #18011 : Added attribute labels support for DynamicModel, fixed EachValidator to pass the attribute label to the underlying DynamicModel
2020-05-02 02:14:03 +03:00
355ca1562d
Fix #17810 : Fix EachValidator crashing with uninitialized typed properties
2020-04-04 15:03:09 +03:00
70f9ab858b
release version 2.0.33
2020-03-24 23:03:06 +03:00
31e3698ab9
Fix #17827 : Add StringValidator::$strict that can be turned off to allow any scalars
...
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2020-03-24 16:51:38 +03:00
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