Commit Graph

126 Commits

Author SHA1 Message Date
Carsten Brandt
5c9af8579a fixed grammar in CDefaultValueValidator doc 2012-08-06 22:43:40 +03:00
Alexander Makarov
af2b19cf44 #1073 better docs for CDefaultValueValidator 2012-08-06 21:02:14 +04:00
Alexander Makarov
3798fa300d Merge remote-tracking branch 'upstream/master' into CFileValidator-allowEmpty-null
Conflicts:
	CHANGELOG
2012-08-06 13:08:49 +04:00
Leo R. Lundgren
7a194496a5 Fix a bunch of @param and @return phpdoc errors in various files. 2012-08-03 16:17:58 +02:00
Alexander Makarov
1d33c35ea0 updated CFileValidator to be unsafe 2012-08-03 00:06:21 +04:00
Alexander Makarov
0cbacb1684 changed setting null to unset 2012-08-02 15:12:18 +04:00
Alexander Makarov
d788810f1f CFileValidator now always sets field value to null when allowEmpty is true and no file was uploaded 2012-08-01 12:45:03 +04:00
Qiang Xue
91495a3d1a renamed CValidator::$on to be CValidator::$except. 2012-07-28 23:52:22 -04:00
resurtm
e8bd65ec5a CFileValidator could validate uploaded file by its MIME-type, added $mimeTypes and $wrongMimeTypes properties. 2012-07-28 20:16:46 +06:00
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