9b1b4fc5fa
Added missing phpdoc
2016-07-30 00:02:51 +03:00
ee92cfa7ba
release version 2.0.9
2016-07-11 15:36:42 +02:00
d2dd232b6f
message improvement and test for #11323
2016-07-06 14:27:50 +02:00
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
2016-07-06 14:09:56 +02:00
b30b5a99ea
Fixes #11672 : Fixed yii\validators\NumberValidator erroring when value is an object without __toString() method
2016-06-23 23:32:25 +03:00
84e9c40ca1
updated datevalidator docs
...
issue #11692
2016-06-09 13:07:40 +02:00
662f86acb5
fix missing closing bracket in documentation ( #11716 )
2016-06-07 13:20:56 +02:00
9d327baa8b
coding style fixes
2016-05-26 11:19:32 +02:00
1ed6fc09f6
#10825 Fixed EachValidator does not respect skipOnEmpty when using model ( #11507 )
2016-05-11 14:11:32 +02:00
00d506c398
completed implementation for #7177
...
added TYPE_TIME and default values for format to be chosen from
corresponding formatter variable
fixes #7177
close #10778
2016-04-26 21:56:40 +02:00
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
2016-04-26 19:22:41 +02:00
2d5a0bf5ae
EachValidator::validateAttribute() fixed to restore original value on error
2016-04-12 12:00:33 +03:00
7bdc0787ac
Extra note add to EachValidator doc
2016-04-12 11:44:07 +03:00
205f16811a
Fixed yii\validators\EachValidator does not invoke validateAttribute() method of the embedded validator
2016-04-12 11:14:57 +03:00
f312163258
Fixes #11220 : NumberValidator now handles objects properly
2016-04-06 00:53:10 +03:00
59fea15ee2
refactoring code
2016-03-29 18:33:00 +03:00
8e1ec62191
update BooleanValidator
2016-03-29 16:38:17 +03:00
5db2afbaeb
Code style fixed, PHPDoc updated
2016-03-22 23:31:23 +02:00
67b5f4ea19
fix for unsafe validator
...
Closes #8145 #8139 #11153
2016-03-22 23:31:16 +02:00
a0e614eb20
yii\validators\EachValidator injects specific attribute value in error message parameters
...
Closes #11139
2016-03-20 16:34:42 +02:00
2cf7e35074
Check for timestamp at yii\validators\DateValidator improved
2016-02-29 10:40:58 +02:00
779b1e90ce
yii\validators\DateValidator skip validation for timestampAttribute, if it is already in correct format
2016-02-26 15:02:22 +02:00
191f2a4943
fixed phpdoc type names
2016-02-25 20:24:32 +01:00
66c6268e5f
FileValidator: updated guide-ru,en, PHP; updated tests
2016-02-24 09:05:29 +02:00
7aef671872
Refactored FileHelper::validateMimeType, js validaton, PHPDocs
2016-02-24 00:40:34 +02:00
a4c68b5278
#5469 added mimetype mask validation feature
2016-02-24 00:40:34 +02:00
4bc7c51180
Removed unnecessary if
2016-02-16 14:13:43 +03:00
5c4e2d4372
Removed unnecessary parentheses
2016-02-16 14:08:43 +03:00
b6caff1952
Removed unused imports
2016-02-16 13:48:09 +03:00
f0c666cd6f
Update FileValidator phpDoc: see link added to maxSize
2016-02-15 15:14:39 +03:00
07c3403f27
Update FileValidator phpDoc: see link added to maxSize
2016-02-15 15:12:36 +03:00
e23f47f49a
Update phpDoc maxSize of FileValidator
2016-02-15 14:51:39 +03:00
9b5f6cb188
prepare for 2.0.7 release
...
- adjust version
- build classmap
- build phpdoc @property annotations
- build mime-type file
2016-02-14 15:45:55 +01:00
d22a3a0a07
Fixed yii\validators\EachValidator does not respect skipOnEmpty rule parameter
2016-02-12 13:33:36 +02:00
63eb47fb39
IpValidator - added examples to class PHPDoc
2016-02-09 09:45:32 +02:00
b804dbb98f
IpValidator JS validation: wrongIp->message renamed
2016-02-08 19:44:44 +02:00
15f70ce615
Merge branch 'master' into ip-validator-message
2016-02-08 19:41:42 +02:00
f620f4de90
phpdoc fixes
2016-02-07 19:48:13 +01:00
93ed683502
IpValidator: use message property for default error
...
its better to use already existing `message` property for the default error message.
2016-02-07 19:30:29 +01:00
e41c2e3946
validators PHPdoc
2016-02-07 19:16:31 +01:00
d12af259e0
Fixed UrlValidator pattern to improve matching
2016-02-05 14:47:12 +02:00
4c31c26628
EmailValidator - the name of the mailbox is no longer limited with the length
2016-02-01 23:49:51 +02:00
9bd0810bce
FileValidator - fixed fix for error message on UPLOAD_ERR_FORM_SIZE (7f65704)
2016-01-25 21:36:11 +02:00
7f657047da
FileValidator - fixed error message on UPLOAD_ERR_FORM_SIZE
...
Closes #10660
2016-01-25 20:14:51 +02:00
2e7014fd72
Fix bug #10638
2016-01-21 20:22:51 +03:00
a1ff095f91
UniqueValidator - fixed syntax warning: static call on object
2016-01-19 00:18:58 +02:00
1e48e020cb
Merge branch '10263' of https://github.com/githubjeka/yii2 into githubjeka-10263
2016-01-19 00:04:20 +02:00
8298588d5b
Separated limit and formattedLimit for translations in FileValidator
2015-12-19 22:08:52 +02:00
b83803460b
Fixes #8466 . FileValidator: units in tooBig and tooSmall error messsages are formated
2015-12-19 21:38:29 +02:00
898ffa57c4
FileValidator - updated PHPDoc
2015-12-06 07:12:20 +02:00