Mohamed Abdel-Monem Hussein
b8e31c0d31
Fix #18460 : `compareValue` in `CompareValidator` can now take a closure returning a value
4 years ago
Ikko Ashimine
8824ee7eed
Fix typo in SafeValidator
...
assigment -> assignment
4 years ago
Alexander Makarov
ccb14ff667
release version 2.0.39
4 years ago
Bizley
840083724e
Fix #18351 : Added option to change default timezone for parsing formats without time part in `yii\validators\DateValidator`
4 years ago
DarkDef
f212925242
Fix #18239 : Fix support of no-extension files for `FileValidator::validateExtension()`
4 years ago
Alexander Makarov
1ade4993f9
Fix #18204 : Fix 2.0.36 regression in inline validator and JS validation
4 years ago
Alexander Makarov
dab7a6c317
Update phpdoc
4 years ago
Bizley
d62590807d
Fix #18051 : Fix using `EachValidator` with custom validation function
4 years ago
DarkDef
f944e1f039
Fix #18094 : Support for composite file extension validation
4 years ago
Alexander Makarov
385fe13d66
Revert #18102 since renaming is technically problematic ( #18109 )
4 years ago
Brandon Kelly
eb956e9c6b
primary/replica in a definitely non-breaking way ( #18106 )
4 years ago
trombipeti
b642a384fa
Fix #18096 : Fix InlineValidator with anonymous inline function not working well from EachValidator
4 years ago
Brandon Kelly
472600ee3f
Fix #18102 : Use “primary”/“replica” terminology instead of “master”/“slave”
4 years ago
Tigran Hambardzumyan
1d1a9fa106
Fix ImageValidator's maxHeight doc ( #18089 )
4 years ago
Bizley
2a73a4ae3a
Fix #18051 : Fix missing support for custom validation method in EachValidator
4 years ago
Maksym Storchak
c32811887a
Fix #18011 : Added attribute labels support for `DynamicModel`, fixed `EachValidator` to pass the attribute label to the underlying `DynamicModel`
4 years ago
ricardomm85
355ca1562d
Fix #17810 : Fix EachValidator crashing with uninitialized typed properties
5 years ago
Alexander Makarov
70f9ab858b
release version 2.0.33
5 years ago
Adam Hayward
31e3698ab9
Fix #17827 : Add `StringValidator::$strict` that can be turned off to allow any scalars
...
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
5 years ago
Evgeny
f8611d170d
Fix #17573 : `EmailValidator` with `checkDNS=true` throws `ErrorException` on bad domains on Alpine
5 years ago
Somogyi Márton
c87855b31c
Fix #17573 : `Request::getUserIP()` security fix for the case when `Request::$trustedHost` and `Request::$ipHeaders` are used
5 years ago
Alexander Makarov
cdfcedb94e
Fix #15331 : Corrected wording in RequiredValidator::$strict [skip ci]
5 years ago
Somogyi Márton
5e38f47275
Fix #16305 : Fix `FileValidator` mime-type validation failure because of case sensitivity
5 years ago
Garth
9dcf65e304
Fix #17389 : Fixed `UniqueValidator` to work with Active Record having `joinWith()` in its `find()`
5 years ago
Alexander Kartavenko
2d333b2301
Fixes #17382 : Added `\yii\validators\DateValidator::$strictDateFormat` to enable strict validation
5 years ago
Basil
e1f6761dfd
Fixes #17233 : Fixed bug with integer model attribute names in Validator class
5 years ago
Alexander Makarov
7a82f7d88d
Refactored EmailValidator DNS validation to take get_dns_record() into account
6 years ago
Mikk Tendermann
bf89d95d6a
Fixes #17083 : Fixed `yii\validators\EmailValidator::$checkDNS` tells that every domain is correct on alpine linux
6 years ago
Pavel Dovlatov
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?
6 years ago
Carsten Brandt
ed64d65886
release version 2.0.16
6 years ago
Carsten Brandt
1128a6d609
added missing documentation
6 years ago
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
...
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/
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
...
Fixes #15760
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 )
...
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.
7 years ago
SilverFire - Dmitry Naumenko
a4b6b853b6
Fixed DateValidator to respect time when `format` is `php:U`
...
Fixes #15628
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