Commit Graph

234 Commits

Author SHA1 Message Date
SilverFire - Dmitry Naumenko
4c31c26628 EmailValidator - the name of the mailbox is no longer limited with the length 2016-02-01 23:49:51 +02:00
SilverFire - Dmitry Naumenko
9bd0810bce FileValidator - fixed fix for error message on UPLOAD_ERR_FORM_SIZE (7f65704) 2016-01-25 21:36:11 +02:00
SilverFire - Dmitry Naumenko
7f657047da FileValidator - fixed error message on UPLOAD_ERR_FORM_SIZE
Closes #10660
2016-01-25 20:14:51 +02:00
githubjeka
2e7014fd72 Fix bug #10638 2016-01-21 20:22:51 +03:00
SilverFire - Dmitry Naumenko
a1ff095f91 UniqueValidator - fixed syntax warning: static call on object 2016-01-19 00:18:58 +02:00
SilverFire - Dmitry Naumenko
1e48e020cb Merge branch '10263' of https://github.com/githubjeka/yii2 into githubjeka-10263 2016-01-19 00:04:20 +02:00
SilverFire - Dmitry Naumenko
8298588d5b Separated limit and formattedLimit for translations in FileValidator 2015-12-19 22:08:52 +02:00
SilverFire - Dmitry Naumenko
b83803460b Fixes #8466. FileValidator: units in tooBig and tooSmall error messsages are formated 2015-12-19 21:38:29 +02:00
SilverFire - Dmitry Naumenko
898ffa57c4 FileValidator - updated PHPDoc 2015-12-06 07:12:20 +02:00
SilverFire - Dmitry Naumenko
d5eff682a0 Merge branch 'patch-1' of https://github.com/PowerGamer1/yii2 into PowerGamer1-patch-1 2015-12-05 21:22:24 +02:00
Carsten Brandt
b44649fd97 Update FilterValidator.php 2015-12-02 23:05:12 +01:00
SilverFire - Dmitry Naumenko
cd87d67f34 Global DOCS update: ~~~ replaced with ``` 2015-12-02 23:15:28 +02:00
SilverFire - Dmitry Naumenko
8e68d2cd57 IpValidator::clientValidateAttribute - fixed passing of regular exressions to JS 2015-11-30 19:13:53 +02:00
githubjeka
f0532b8818 Fix https://github.com/yiisoft/yii2/pull/10263 2015-11-27 00:07:20 +03:00
SilverFire - Dmitry Naumenko
f6477f312c IpValidator - added skipOnEmpty to JS options 2015-11-24 19:21:18 +02:00
Carsten Brandt
e5ed256959 rename ArrayHelper::in() and ArrayHelper::subset()
22d9997281 (commitcomment-14527757)
2015-11-22 17:05:09 +01:00
Dmytro Karpovych
e6e8b0a41f fix translation in compare validator(uk,ru) 2015-11-18 17:01:12 +02:00
Sam Mousa
22d9997281 Implemented support of traversable objects in RangeValidator::ranges, added ArrayHelper::in() and ArrayHelper::subset() 2015-11-18 16:41:56 +02:00
SilverFire - Dima Naumenko
a6e1ba2cf6 Fixed mb_ functions calls to use UTF-8 or app charset 2015-11-17 09:02:22 +02:00
SilverFire - Dima Naumenko
d7bb1be296 EmailValidator - specified encoding for mb_strlen 2015-11-15 19:39:50 +02:00
SilverFire - Dima Naumenko
bf6b50f58e #10142 Fixed EmailValidator to check email length properly 2015-11-14 00:39:12 +02:00
Sidney Lins (slinstj, former sidtj)
c33574bc0a Fixes #7566: Improved \yii\validators\CompareValidator default messages 2015-11-05 22:05:50 +03:00
SilverFire - Dima Naumenko
8edc1e5109 IpValidator PHPDoc update: removed links to private methods 2015-11-05 20:31:01 +02:00
SilverFire - Dima Naumenko
377a3952a1 IpValidator default error messages moved to init(), PHPDoc updates 2015-10-29 12:05:32 +02:00
SilverFire - Dima Naumenko
32d1b9512c Added IpValidator description to core-validators ru,en guides. IpValidaor PHPDoc enhanced 2015-10-24 10:35:02 +03:00
Alexander Makarov
5242765257 Fixes #3506: Added \yii\validators\IpValidator to perform validation of IP addresses and subnets 2015-10-22 14:21:31 +03:00
Jason McCallister
0a014da119 Typo on documentation for UrlValidator 2015-10-20 00:39:18 -07:00
Alexander Makarov
70cfdfd289 Fixed test break 2015-10-10 01:16:16 +03:00
Alexander Makarov
1b3770fd21 Use === instead of == where possible 2015-10-10 01:04:35 +03:00
Carsten Brandt
64379dc7ba phpdoc fix 2015-09-29 15:37:05 +02:00
Carsten Brandt
d8047f34f6 RangeValidator phpdoc tweak 2015-09-28 22:23:18 +02:00
Alexander Makarov
77d6111b06 Fixed phpdoc of DefaultValidator 2015-09-28 17:48:04 +03:00
RomeroMsk
e93b797098 Fixes #7581: Added ability to specify range using anonymous function in RangeValidator 2015-09-28 17:47:15 +03:00
Nikola Kovacs
4c0bcaf12e Fixes #8822, fixes #9298. Clientside validator docs enhancements. 2015-09-05 02:15:08 +03:00
Carsten Brandt
cd84f6c4c5 typo in DateValidator docs 2015-08-27 16:36:59 +02:00
Lorenzo Milesi
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
Carsten Brandt
6e3da6b329 various phpdoc fixes 2015-08-02 22:53:08 +02:00
Carsten Brandt
6d9fe671de various code style and whitespace adjustments 2015-08-02 00:27:19 +02:00
Dmitry Naumenko
b16d734c29 Fixes #8671: Extracted yii\helpers\Html::escapeJsRegularExpression() method from yii\validators\RegularExpressionValidator 2015-07-27 17:40:38 +03:00
lynicidn
7926b7d4e9 Update EachValidator.php 2015-07-10 07:32:34 +03:00
Sebastian Chojniak
6ee285f321 unused imports removed 2015-07-09 22:20:11 +02:00
Carsten Brandt
54dd0eab72 add note about #8897 to the docs 2015-07-09 12:18:50 +02:00
Alexander Makarov
4f6f041e8b The stricter the better 2015-07-08 16:14:16 +03:00
Thiago Talma
4b50ace287 Update Validator.php 2015-07-07 18:39:42 -03:00
PowerGamer1
4f25734509 Update FileValidator.php
Implementation of https://github.com/yiisoft/yii2/issues/8995
2015-07-03 20:36:43 +03:00
nkovacs
b4d22cfe63 Fix documentation
wrongType -> wrongExtension
2015-06-30 14:12:13 +02:00
Alexander Mohorev
68c30c1034 Replace aliases of functions 2015-06-29 22:59:22 +03:00
Alexander Mohorev
ae42a054bb PSR-2 spaces, commas, etc 2015-06-09 00:05:06 +03:00
Alexander Mohorev
3ec0d94b4a Remove unused variable 2015-06-08 05:04:07 +03:00
Luke Briner
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