e14cac638a
Improved plural messages for validators
2014-01-09 02:26:56 +04:00
5eed149f24
fixed links in phpdoc
2014-01-06 05:47:49 +01:00
da78b6e16e
doc fix.
2013-12-26 00:29:03 -05:00
69cb09dbf3
doc fix.
2013-12-22 22:49:44 -05:00
9649a6727a
Renamed attributeName
and className
to targetAttribute
and targetClass
for UniqueValidator
and ExistValidator
.
...
Refactored UniqueValidator and ExistValidator.
2013-12-22 16:40:51 -05:00
252b6c9ef1
Fixes #797 : Added support for validating multiple columns by UniqueValidator
and ExistValidator
2013-12-22 11:30:59 -05:00
d620f3152e
refactored BaseActiveRecord::isPrimaryKey()
2013-12-22 10:19:49 -05:00
d5f40b42cf
Added ActiveRecordInterface::getOldPrimaryKey().
2013-12-22 10:02:00 -05:00
a08de95177
Fixes #1582 : Error messages shown via client-side validation should not be double encoded
2013-12-22 01:27:03 -05:00
a126419e9e
Fixes #1591 : StringValidator is accessing undefined property
2013-12-21 15:37:49 -05:00
a911e2501b
Fixes #1514 : added more doc.
2013-12-16 21:09:03 -05:00
72db6ffb1a
Fixes #1454 : refactored FileValidator.
2013-12-07 00:10:08 -05:00
0e67b2b1a9
Fixed safe validator.
2013-12-06 21:06:57 -05:00
cb4a8c764c
Refactored validators.
2013-12-06 14:19:17 -05:00
b9f9b16536
Apply fix for #1003 to validateAttribute.
2013-12-06 10:58:54 -05:00
d0fc987f0b
fixed test break
2013-11-30 03:15:35 +01:00
a5e3c00d75
replaced inheritdoc tags.
2013-11-29 12:49:07 -05:00
83527e85ca
made Model::attributes() non static again
...
- allows to have dynamic definition of attributes depended on the
instance
- there was no real need for it to be static. Places that used it static
have been refactored.
fixes #1318
2013-11-28 01:01:48 +01:00
2ff8ac3d61
fixed PhpDoc by swapping to {@inheritdoc}
2013-11-26 04:24:20 +02:00
ed98df5cd8
fixed broken UniqueValidator
2013-11-22 19:20:46 +01:00
cb4504a10f
refactored Model and redis AR to allow drop of RecordSchema
2013-11-22 18:44:22 +01:00
070bd9625c
removed checkPort feature from email validator
...
fixes #1246
2013-11-20 18:57:29 +01:00
4079acf4a6
changed EmailValidator MX check to be more useful
...
issue #1246
2013-11-20 16:30:12 +01:00
8dab87be3d
fixed EmailValidator IDN and full pattern support
...
also made everything conistent with client validation
2013-11-20 16:18:19 +01:00
368dd4b1d4
Allow Validator::except to be either a string or an array.
2013-11-13 19:50:19 -05:00
5b0886f10b
Allow "on" and "attributes" to take either array or string for validators.
2013-11-13 08:45:12 -05:00
447bad5a12
Merge pull request #1184 from slavcodev/only-arrays-in-rules
...
Using only arrays in rules instead comma-separated string
2013-11-13 05:37:43 -08:00
539e233d9c
massive improvement on class documentation
...
- added example code for application components
- added missing short description
[ci skip]
2013-11-13 01:16:21 +01:00
cbca145e97
Add type hinting
2013-11-12 17:24:52 +02:00
1c2489a3dc
Using only arrays in rules instead comma-separated string
2013-11-12 08:02:48 +02:00
b0b1c27c85
Fix phpDoc var tag format
2013-11-12 06:21:04 +02:00
202664f3a4
Fixes #1176 .
2013-11-11 20:33:05 -05:00
927e9dddb4
Refactored View
2013-11-06 22:52:27 +04:00
11c78cb4fb
Changed validateFile() method access from protected to public, fixed hasErrors check
2013-11-05 06:16:57 +04:00
3ef20e591d
Overriding validateFile()
2013-11-05 05:59:48 +04:00
c8596fdbc9
Changed px to pixels
2013-11-05 05:36:44 +04:00
960cb499bd
Fixed typos [skip ci]
2013-11-05 04:53:45 +04:00
e3981be1b8
Added image validator
2013-11-05 04:08:00 +04:00
9f7ca5d222
Merge pull request #1051 from cebe/validator-message-format
...
Validator message format
2013-10-23 16:49:08 -07:00
c127171efb
Fixes #1003 : DateValidator returned true for invalid dates
2013-10-24 02:31:05 +04:00
ffb37f8eab
fixes #1001
2013-10-24 02:00:43 +04:00
cfc57c20f0
Allow ITU message format in validator messages
...
fixes #991
2013-10-23 20:25:38 +02:00
1f6a823073
Short array syntax
2013-10-18 20:52:38 +04:00
5cf9992251
Removed @codeCoverageIgnore
2013-10-15 01:32:23 +04:00
d75ad87e06
Merge branch 'add-tests' of github.com:suralc/yii2 into suralc-add-tests
...
Conflicts:
framework/yii/validators/RegularExpressionValidator.php
2013-10-15 01:31:59 +04:00
266f4f9843
Clientvalidation {value} was not what has been validated
...
also fixed some inconsistency between client and server validation.
2013-10-14 20:23:34 +02:00
409500000a
Validation reference, validators phpdoc fixes
2013-09-08 02:26:35 +04:00
c306fccd46
fixed FileValidator after UploadedFile refactoring
...
fixes #845
2013-09-05 12:36:38 +02:00
75391b7515
Merge branch 'master' of github.com:yiisoft/yii2
...
* 'master' of github.com:yiisoft/yii2:
Removed Yii::import().
2013-09-01 19:58:24 +02:00
7fa81949bf
various documentation changes
2013-09-01 19:47:26 +02:00