Commit Graph

145 Commits

Author SHA1 Message Date
Alexander Makarov
b2f152cb69 backwards compatibility 2012-12-01 14:47:19 +04:00
antoncpu
6c8f2bc7c8 indentation corrections 2012-11-29 22:49:59 +02:00
antoncpu
bb61c72a51 refactored to avoid inappropriate arguments passed to trim() or CDateTimeParser::parse() 2012-11-29 22:46:55 +02:00
Alexander Makarov
fdce3eda30 Addition to #217: handling of objects and boolean values 2012-11-28 22:24:24 +04:00
Alexander Makarov
4fc04645d9 Fixes #217: Added CTypeValidator::validateValue() and CTypeValidator::$strict, better check for arrays 2012-11-28 02:50:59 +04:00
Carsten Brandt
05a9123aab more on #1621 make server and client message the same
and DRY! :)
2012-11-21 18:39:56 +01:00
Carsten Brandt
2bab3400c2 missing bracket 2012-11-21 18:18:32 +01:00
Carsten Brandt
b921702c59 Attempt to make clientValidation and Servervalidation to behave the same for CCompareValidator
issue #1621
2012-11-21 18:00:16 +01:00
Carsten Brandt
8f7931b019 Fix issue #1621 2012-11-21 17:17:10 +01:00
Carsten Brandt
54c71d5913 fixed issue #1621
CCompareValidator supported {compareAttribute} in $message only
server-side
2012-11-21 16:12:31 +01:00
Maurizio Domba
e804dd8b91 Merge pull request #1502 from l-nagash/master
Fixed #1492 jQuery.noConflict() issue
[ci skip]
2012-11-14 06:58:44 -08:00
Alexander Kochetov
486723805e else if => elseif 2012-10-03 10:20:14 +04:00
Nagash
1b165448af Fixed 1492: jQuery.noConflict() issue 2012-09-30 20:35:37 +03:00
Alexander Makarov
d865a3bab8 Fixes #1057 Removed SVN ids 2012-09-09 22:23:45 +04:00
resurtm
33e499d98d Extra unneeded dot removed from regexp related to the IDN validation. 2012-09-08 12:35:05 +06:00
resurtm
9dfd781689 Removed support of the PECL idn library because it's not tested. 2012-08-25 16:42:09 +06:00
resurtm
9d4b6c41cb Changelog and docblocks. 2012-08-25 16:32:19 +06:00
resurtm
b598442605 Fixes #1286 and #1184. Draft version. 2012-08-25 16:16:51 +06:00
mdomba (mdwork)
1df0f13d1c added missing parameters documentation 2012-08-08 15:51:56 +02:00
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