255 Commits

Author SHA1 Message Date
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
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