Bizley
0041f034fd
[doc] Update PHP doc links ( #18957 )
...
* Replace https://secure.php.net with https://www.php.net
* Replace http://www.php.net with https://www.php.net
3 years ago
Toir Tuychiev
3578621833
Shorten two identical statements in compare validator ( #18922 )
3 years ago
Alexander Gubarev
e3028c524d
Fix #18899 : Replace usages of `strpos` with `strncmp` and remove redundant usage of `array_merge` and `array_values`
3 years ago
Anton
b7943c6732
Fix #18823 : Rollback changes #18806 in `yii\validators\ExistValidator::checkTargetRelationExistence()`
3 years ago
Anton
1474e2d61a
Optimize `yii\validators\ExistValidator`
...
Optimize methods `valueExists()` and `checkTargetRelationExistence()`
3 years ago
DrDeath72
be1b98b1df
Fix #18756 : Fix `\yii\validators\ExistValidator::queryValueExists` to validate against an array of unique values
3 years ago
Brandon Kelly
725057c273
Fix #18734 : Added `yii\validators\EmailValidator::$enableLocalIDN`
3 years ago
RodrigoDornelles
e1e7ea37d5
use getTargetClass in function checkTargetAttributeExistence
...
This interesting change, to be able to change getTargetClass when necessary when extending this class.
3 years ago
Alexander Makarov
88a7a00458
release version 2.0.42
3 years ago
Никита Медведев
f00e44fb6e
Fix #18569 : Add `NumberValidator::$allowArray`
3 years ago
Dmytro Naumenko
2f051bc441
Add Since PHPDoc
4 years ago
Aaron Mueller
63cb61f591
Refactoring so regex has it's own variables
4 years ago
Aaron Mueller
6659e6a187
Refactor based on suggestion
4 years ago
Aaron Mueller
d02d60e070
Limiting explode to 2
4 years ago
Aaron Mueller
808c64d900
Refactoring method per request
4 years ago
Aaron Mueller
3593696b93
Fixing Email Validator to handle edge case where email address is valid but fails ascii conversion.
4 years ago
Bizley
cfe782b3f5
Fix #18544 : Fix `yii\validators\NumberValidator` to disallow values with whitespaces
4 years ago
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