Alexander Makarov
615dbd9802
used strcmp instead of complex comparison, code formatting
2013-06-12 22:24:26 +04:00
Alexander Makarov
c902d50424
fixes #2554
2013-06-12 14:57:10 +04:00
Alexander Makarov
4e394abfb8
Merge branch '895-add-params-to-inline-client-validator' of github.com:slavcodev/fork-yii into slavcodev-895-add-params-to-inline-client-validator
...
Conflicts:
CHANGELOG
2013-05-27 14:15:04 +04:00
Alexander Makarov
c7a7b55201
Adjusted phpdoc, fixed code style
2013-05-27 13:59:51 +04:00
Alexander Makarov
f284867b91
Merge branch '1863_enhance_CActive_hierarchy_extensibility' of github.com:denisarius/yii into denisarius-1863_enhance_CActive_hierarchy_extensibility
...
Conflicts:
CHANGELOG
2013-05-27 13:46:51 +04:00
Carsten Brandt
a3e9fbe0bc
fixed documentation example code of CFileValidator
...
fixes #1458
2013-05-27 03:33:09 +02:00
Carsten Brandt
1e993ec2bb
better doc for CRequiredValidator::$trim
...
pr #2354
2013-04-17 21:57:49 +02:00
Carsten Brandt
a2aa6ee648
Merge pull request #2354 branch '2343-required-validator-trim' of https://github.com/AnatolyRugalev/yii into AnatolyRugalev-2343-required-validator-trim
...
* '2343-required-validator-trim' of https://github.com/AnatolyRugalev/yii :
changed changelog line
Added @since for $trim property
Modified changelog line
Added changelog line
Added CRequiredValidator test case for $trim => true
Added CRequiredValidator test
Added $trim property to CRequiredValidator
Conflicts:
tests/framework/validators/ValidatorTestModel.php
2013-04-17 19:17:08 +02:00
AnatolyRugalev
6ba4f1c2bb
Added @since for $trim property
2013-04-17 20:41:04 +06:00
Anatoly Rugalev
a982077c31
Added $trim property to CRequiredValidator
2013-04-16 23:46:49 +06:00
resurtm
1c96337745
Fixes #1669 : CNumberValidator used to add wrong error messages in case non-numeric values being validated.
2013-04-03 16:15:06 +06:00
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
slavcopost
b1ac346da5
Add second argument to client validation function
2013-01-11 16:09:21 +02:00
denisarius
154d903f7d
Enhancing extensibility of CActive* class hierarchy: CActiveFinder and CActiveRecord::model factory methods
...
Author: denisarius <denisarius@gmail.com >
2012-12-17 17:26:46 +04: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