Robert Korulczyk
2f981c5a70
Fix BC break for `UniqueValidator` custom message when validating multiple attributes
8 years ago
Alexander Makarov
9b1b4fc5fa
Added missing phpdoc
8 years ago
Carsten Brandt
ee92cfa7ba
release version 2.0.9
8 years ago
Carsten Brandt
d2dd232b6f
message improvement and test for #11323
8 years ago
PowerGamer1
e0ace833d0
Added Error message for combined attributes to unique validator
...
- error message `$comboNotUnique` to include model attribute labels instead of attribute names.
- Fixes #11322
close #11323
8 years ago
Sam Mousa
b30b5a99ea
Fixes #11672 : Fixed `yii\validators\NumberValidator` erroring when value is an object without `__toString()` method
8 years ago
cuiliang
c0df003ac0
merge from master
8 years ago
Carsten Brandt
84e9c40ca1
updated datevalidator docs
...
issue #11692
8 years ago
Nikola Kovacs
662f86acb5
fix missing closing bracket in documentation ( #11716 )
8 years ago
Nikola Kovacs
9d327baa8b
coding style fixes
8 years ago
Sergey Smirnov
1ed6fc09f6
#10825 Fixed EachValidator does not respect skipOnEmpty when using model ( #11507 )
9 years ago
Carsten Brandt
00d506c398
completed implementation for #7177
...
added TYPE_TIME and default values for format to be chosen from
corresponding formatter variable
fixes #7177
close #10778
9 years ago
Robbert Jan
bb0ef88860
Enhancement for DateValidator ( #7177 , #10165 )
...
Added parameter to define if checking for 'date' or 'dateTime'
and updated parseDateValueIntl($value, $format) to facilitate
this validation based on defined type.
Added unit tests to for validating dateTime values when using short format validation.
close #10778
9 years ago
Klimov Paul
2d5a0bf5ae
`EachValidator::validateAttribute()` fixed to restore original value on error
9 years ago
Klimov Paul
7bdc0787ac
Extra note add to `EachValidator` doc
9 years ago
Klimov Paul
205f16811a
Fixed `yii\validators\EachValidator` does not invoke `validateAttribute()` method of the embedded validator
9 years ago
Alexander Makarov
f312163258
Fixes #11220 : NumberValidator now handles objects properly
9 years ago
githubjeka
59fea15ee2
refactoring code
9 years ago
githubjeka
8e1ec62191
update BooleanValidator
9 years ago
SilverFire - Dmitry Naumenko
5db2afbaeb
Code style fixed, PHPDoc updated
9 years ago
mdmunir
67b5f4ea19
fix for unsafe validator
...
Closes #8145 #8139 #11153
9 years ago
SilverFire - Dmitry Naumenko
a0e614eb20
`yii\validators\EachValidator` injects specific attribute value in error message parameters
...
Closes #11139
9 years ago
Klimov Paul
2cf7e35074
Check for timestamp at `yii\validators\DateValidator` improved
9 years ago
Klimov Paul
779b1e90ce
`yii\validators\DateValidator` skip validation for `timestampAttribute`, if it is already in correct format
9 years ago
Carsten Brandt
191f2a4943
fixed phpdoc type names
9 years ago
SilverFire - Dmitry Naumenko
66c6268e5f
FileValidator: updated guide-ru,en, PHP; updated tests
9 years ago
SilverFire - Dmitry Naumenko
7aef671872
Refactored FileHelper::validateMimeType, js validaton, PHPDocs
9 years ago
kirSeNN
a4c68b5278
#5469 added mimetype mask validation feature
9 years ago
Alexander Makarov
4bc7c51180
Removed unnecessary if
9 years ago
Alexander Makarov
5c4e2d4372
Removed unnecessary parentheses
9 years ago
Alexander Makarov
b6caff1952
Removed unused imports
9 years ago
githubjeka
f0c666cd6f
Update FileValidator phpDoc: see link added to maxSize
9 years ago
githubjeka
07c3403f27
Update FileValidator phpDoc: see link added to maxSize
9 years ago
githubjeka
e23f47f49a
Update phpDoc maxSize of FileValidator
9 years ago
Carsten Brandt
9b5f6cb188
prepare for 2.0.7 release
...
- adjust version
- build classmap
- build phpdoc @property annotations
- build mime-type file
9 years ago
Klimov Paul
d22a3a0a07
Fixed `yii\validators\EachValidator` does not respect `skipOnEmpty` rule parameter
9 years ago
SilverFire - Dmitry Naumenko
63eb47fb39
IpValidator - added examples to class PHPDoc
9 years ago
SilverFire - Dmitry Naumenko
b804dbb98f
IpValidator JS validation: wrongIp->message renamed
9 years ago
Carsten Brandt
f620f4de90
phpdoc fixes
9 years ago
Carsten Brandt
93ed683502
IpValidator: use message property for default error
...
its better to use already existing `message` property for the default error message.
9 years ago
Carsten Brandt
e41c2e3946
validators PHPdoc
9 years ago
SilverFire - Dmitry Naumenko
d12af259e0
Fixed UrlValidator pattern to improve matching
9 years ago
SilverFire - Dmitry Naumenko
4c31c26628
EmailValidator - the name of the mailbox is no longer limited with the length
9 years ago
SilverFire - Dmitry Naumenko
9bd0810bce
FileValidator - fixed fix for error message on UPLOAD_ERR_FORM_SIZE ( 7f65704
)
9 years ago
SilverFire - Dmitry Naumenko
7f657047da
FileValidator - fixed error message on UPLOAD_ERR_FORM_SIZE
...
Closes #10660
9 years ago
githubjeka
2e7014fd72
Fix bug #10638
9 years ago
SilverFire - Dmitry Naumenko
a1ff095f91
UniqueValidator - fixed syntax warning: static call on object
9 years ago
SilverFire - Dmitry Naumenko
8298588d5b
Separated `limit` and `formattedLimit` for translations in FileValidator
9 years ago
SilverFire - Dmitry Naumenko
b83803460b
Fixes #8466 . FileValidator: units in tooBig and tooSmall error messsages are formated
9 years ago
SilverFire - Dmitry Naumenko
898ffa57c4
FileValidator - updated PHPDoc
9 years ago