Commit Graph

117 Commits

Author SHA1 Message Date
resurtm
cc2faf5117 Removed extra case's in the CFileValidator::sizeToBytes() method. 2012-07-08 21:41:54 +06:00
resurtm
205cf9d3c3 Fix #938, solution #2. 2012-07-08 16:20:43 +06:00
Paul Klimov
552b198146 Code indenting at "CExistValidator", "CUniqueValidator", "CExistValidatorTest", "CUniqueValidatorTest" has been fixed: whitespaces have been replaced by tabs. 2012-06-26 15:05:20 +03:00
Paul Klimov
1e0d2ba897 Option "caseSensitive" has been added to "CExistValidator". 2012-06-25 12:30:45 +03:00
Paul Klimov
d4903d1871 Doc comments for "CExistValidator::criteria" and "CUniqueValidator::criteria" have been fixed to mention both array and object values. 2012-06-25 12:25:55 +03:00
Paul Klimov
a9d7ff5894 Validators "CExistValidator" and "CUniqueValidator" have been updated to respect table alias give by criteria attribute. 2012-06-25 12:22:50 +03:00
resurtm
badee5cc94 Added property $off to CValidator, a list of scenarios that the validator should not be applied to. 2012-06-22 21:53:50 +06:00
Paul Klimov
caa514850e CUniqueValidator and CExistValidator have been updated to use table alias while creating db query condition (fixes bug #114) 2012-05-28 12:39:24 +03:00
mdomba (mdwork)
c72268a74a (Fixes issue #743) doc typo 2012-05-23 12:07:00 +02:00
DaSourcerer
c5387e8e4f phpdoc 2012-05-22 13:30:57 +02:00
DaSourcerer
9ba768cd1f revert to 37df0b353c 2012-05-22 13:29:12 +02:00
DaSourcerer
fe9bce00c0 Provide fallback in case dns_get_record() isn't available 2012-05-22 12:45:57 +02:00
DaSourcerer
37df0b353c Added a check for the availability of dns_get_record() 2012-05-16 17:42:25 +02:00
DaSourcerer
7333cc56e7 improved code readability 2012-05-16 14:55:57 +02:00
DaSourcerer
71dcb0acc5 Sorting for MX records 2012-05-16 14:14:17 +02:00
DaSourcerer
8861794594 First draft for ticket #164 2012-05-11 20:07:56 +02:00
qiang.xue
208ec0590d 2012-01-27 15:36:43 +00:00
mdomba
2b495be602 removed TAB 2011-12-28 23:22:21 +00:00
qiang.xue
f1396f43a1 Added $attribute to client validate method. 2011-12-28 22:32:40 +00:00
mdomba
a7ef3d5d02 removed 1.0.x reference from documentation 2011-12-28 12:29:24 +00:00
jefftulsa
c4493b731c adding documentation about placeholders in different validator custom error messages - addressing Issue 2152 2011-12-17 05:17:57 +00:00
mdomba
952e7fd5b8 (fixes issue 2915) fixed client validation in CCompareValidator 2011-12-13 11:32:54 +00:00
mdomba
66a2b1e43c forgot the check on CInlineValidator 2011-12-12 14:59:03 +00:00
mdomba
783057622b (Fixes issue 2890) added CInlineValidator::clientValidate 2011-12-12 14:52:45 +00:00
mdomba
74294a3418 doc fix - CValidator 2011-11-02 08:20:20 +00:00
alexander.makarow
4db2b7598e Error when using CUniqueValidator with models indexed by specific field 2011-06-13 20:56:54 +00:00
qiang.xue
86a3a9c713 Added input length check to email and url validators to improve security 2011-05-28 14:31:04 +00:00
qiang.xue
99176e7db7 (Fixes issue 2338) 2011-04-16 23:40:21 +00:00
qiang.xue
4ee3888091 revert previous changes. 2011-04-03 01:08:23 +00:00
qiang.xue
52a6bd19fc Added support for using '*' to indicate that a validation rule applies to all scenarios 2011-04-02 22:57:31 +00:00
qiang.xue
6a9e383fcf 2011-04-02 19:21:06 +00:00
alexander.makarow
007563d002 2011-03-31 21:44:00 +00:00
alexander.makarow
1e236d87f1 Better CStringValidator encoding handling if application charset was not set 2011-03-31 21:04:59 +00:00
qiang.xue
8974613555 2011-03-26 19:27:04 +00:00
qiang.xue
40346c3d4b Added support to support client-side validation of CAPTCHA. 2011-03-25 15:48:05 +00:00
qiang.xue
428ad473b6 added client validation support for CCompareValidator. 2011-03-25 01:50:48 +00:00
qiang.xue
f2c395cf7a * (Fixes issue 1763) Added support for performing seamless client-side data validation using CActiveForm 2011-03-24 21:49:40 +00:00
alexander.makarow
4a621f2f4e CStringValidator now uses application charset by default if mb_strlen is available 2011-03-23 22:00:50 +00:00
qiang.xue
b03d541f7a * (Fixes issue 2069) Added CDateValidator 2011-03-12 14:27:07 +00:00
keyboard.idol@gmail.com
d19ad649d8 2011-01-25 12:13:38 +00:00
keyboard.idol@gmail.com
1de5aa56bd 2011-01-25 03:23:54 +00:00
keyboard.idol@gmail.com
0375db1363 (Fixes issue 1786) 2011-01-25 01:07:47 +00:00
qiang.xue
4be0af6917 changed copyright year. 2011-01-01 19:31:13 +00:00
qiang.xue
0b4fd204b5 (Fixes issue 1860) 2010-12-06 19:03:00 +00:00
qiang.xue
d125a651b4 (Fixes issue 1633) 2010-11-02 18:37:10 +00:00
qiang.xue
97b7bfde20 (Fixes issue 1643) 2010-11-02 18:10:56 +00:00
qiang.xue
bbae461636 (Fixes issue 1664) 2010-10-26 00:26:40 +00:00
keyboard.idol@gmail.com
b647ae38b7 CRangeValidator will now throw CException if $range is nit defined 2010-10-13 19:21:55 +00:00
keyboard.idol@gmail.com
45de0cd0fe Updated r2524 to match Yii code style 2010-10-08 07:46:33 +00:00
keyboard.idol@gmail.com
ced0c1573a (Fixes issue 1596) 2010-10-04 02:19:21 +00:00