431 Commits

Author SHA1 Message Date
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
d5eff682a0 Merge branch 'patch-1' of https://github.com/PowerGamer1/yii2 into PowerGamer1-patch-1 2015-12-05 21:22:24 +02:00
b44649fd97 Update FilterValidator.php 2015-12-02 23:05:12 +01:00
cd87d67f34 Global DOCS update: ~~~ replaced with ``` 2015-12-02 23:15:28 +02:00
8e68d2cd57 IpValidator::clientValidateAttribute - fixed passing of regular exressions to JS 2015-11-30 19:13:53 +02:00
f0532b8818 Fix https://github.com/yiisoft/yii2/pull/10263 2015-11-27 00:07:20 +03:00
f6477f312c IpValidator - added skipOnEmpty to JS options 2015-11-24 19:21:18 +02:00
e5ed256959 rename ArrayHelper::in() and ArrayHelper::subset()
22d9997281 (commitcomment-14527757)
2015-11-22 17:05:09 +01:00
e6e8b0a41f fix translation in compare validator(uk,ru) 2015-11-18 17:01:12 +02:00
22d9997281 Implemented support of traversable objects in RangeValidator::ranges, added ArrayHelper::in() and ArrayHelper::subset() 2015-11-18 16:41:56 +02:00
a6e1ba2cf6 Fixed mb_ functions calls to use UTF-8 or app charset 2015-11-17 09:02:22 +02:00
d7bb1be296 EmailValidator - specified encoding for mb_strlen 2015-11-15 19:39:50 +02:00
bf6b50f58e #10142 Fixed EmailValidator to check email length properly 2015-11-14 00:39:12 +02:00
c33574bc0a Fixes #7566: Improved \yii\validators\CompareValidator default messages 2015-11-05 22:05:50 +03:00
8edc1e5109 IpValidator PHPDoc update: removed links to private methods 2015-11-05 20:31:01 +02:00
377a3952a1 IpValidator default error messages moved to init(), PHPDoc updates 2015-10-29 12:05:32 +02:00
32d1b9512c Added IpValidator description to core-validators ru,en guides. IpValidaor PHPDoc enhanced 2015-10-24 10:35:02 +03:00
5242765257 Fixes #3506: Added \yii\validators\IpValidator to perform validation of IP addresses and subnets 2015-10-22 14:21:31 +03:00
0a014da119 Typo on documentation for UrlValidator 2015-10-20 00:39:18 -07:00
70cfdfd289 Fixed test break 2015-10-10 01:16:16 +03:00
1b3770fd21 Use === instead of == where possible 2015-10-10 01:04:35 +03:00
64379dc7ba phpdoc fix 2015-09-29 15:37:05 +02:00
d8047f34f6 RangeValidator phpdoc tweak 2015-09-28 22:23:18 +02:00
77d6111b06 Fixed phpdoc of DefaultValidator 2015-09-28 17:48:04 +03:00
e93b797098 Fixes #7581: Added ability to specify range using anonymous function in RangeValidator 2015-09-28 17:47:15 +03:00
4c0bcaf12e Fixes #8822, fixes #9298. Clientside validator docs enhancements. 2015-09-05 02:15:08 +03:00
cd84f6c4c5 typo in DateValidator docs 2015-08-27 16:36:59 +02:00
a6fc02345e FileValidator->getSizeLimit: check also php's post_max_size
- return the lowerest of `post_max_size` or `upload_max_filesize`
- Raised warning for misconfigured PHP

close #8373
2015-08-02 23:37:46 +02:00
6e3da6b329 various phpdoc fixes 2015-08-02 22:53:08 +02:00
6d9fe671de various code style and whitespace adjustments 2015-08-02 00:27:19 +02:00
b16d734c29 Fixes #8671: Extracted yii\helpers\Html::escapeJsRegularExpression() method from yii\validators\RegularExpressionValidator 2015-07-27 17:40:38 +03:00
7926b7d4e9 Update EachValidator.php 2015-07-10 07:32:34 +03:00
6ee285f321 unused imports removed 2015-07-09 22:20:11 +02:00
54dd0eab72 add note about #8897 to the docs 2015-07-09 12:18:50 +02:00
4f6f041e8b The stricter the better 2015-07-08 16:14:16 +03:00
4b50ace287 Update Validator.php 2015-07-07 18:39:42 -03:00
4f25734509 Update FileValidator.php
Implementation of https://github.com/yiisoft/yii2/issues/8995
2015-07-03 20:36:43 +03:00
b4d22cfe63 Fix documentation
wrongType -> wrongExtension
2015-06-30 14:12:13 +02:00
68c30c1034 Replace aliases of functions 2015-06-29 22:59:22 +03:00
ae42a054bb PSR-2 spaces, commas, etc 2015-06-09 00:05:06 +03:00
3ec0d94b4a Remove unused variable 2015-06-08 05:04:07 +03:00
271a86aff3 Extend description
Help users understand the concept of massive assignment without relying on the Guide by extending the description for this type.
2015-05-17 13:21:29 +01:00
f64d00bdf0 Fix client-side trim validator.
Subsequent validators now use the trimmed value instead of the original value.

fixes #7707
2015-05-13 14:18:27 +02:00
23b31d13de improve documentation of date validator
fixes #7514
2015-05-10 15:47:45 +02:00
78d3a856d3 Added Json::htmlEncode() to support safer JSON data encoding in HTML code 2015-05-09 23:38:17 -04:00