Commit Graph

157 Commits

Author SHA1 Message Date
resurtm
f635a4c8a4 Error messages related to array value case changed. 2013-03-10 18:20:54 +06:00
resurtm
ed635aa9e2 Some validators used to cause warnings or errors in case non-scalar array typed values being checked. 2013-03-09 22:12:18 +06:00
resurtm
10d7999ba4 Vendors: phlymail's Net_IDNA was replaced by PEAR Net_IDNA2. 2013-03-08 23:46:34 +06:00
Alexander Makarov
fa787ce919 Merge pull request #2170 from yiiframework-com-ua/uk_docs
Fixing typos, PHPDocs
2013-03-06 16:05:59 -08:00
borales
6d19a150d4 Replacing spaces with tabs, removing dots
[ci skip]
2013-03-06 20:59:38 +02:00
borales
2f68a75235 Replacing spaces with tabs
[ci skip]
2013-03-06 08:48:59 +02:00
borales
07975cad64 Fixing spaces
[ci skip]
2013-03-06 01:06:46 +02:00
borales
a7af2c5371 Fixing some typos, PHPDocs
[ci skip]
2013-03-06 00:24:35 +02:00
armab
7b54a509c8 Update framework/validators/CEmailValidator.php
If fsockopen error "Connection refused" (error code: 61) is reached, yii hangs with uncatched 500 error code.

Output html code:
<h1>PHP Error [2]</h1>
<p>fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to mail.somedomain.com:25 (Connection refused)</p>
2013-02-23 00:35:53 +02:00
Carsten Brandt
04395c4b40 Added note to emailvalidator checkPort and checkMX 2013-02-15 20:58:16 +01:00
Abdul Malik Ikhsan
6247adaf26 change copyright symbol 2013-01-15 18:38:02 +07:00
Abdul Malik Ikhsan
46c8ef0d9a update copyright year
from 2011 to 2013
2013-01-15 17:28:17 +07:00
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