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
ea10868824
Removed Yii::import().
2013-09-01 10:26:59 -04:00
ca69ef09d4
update of @property annotations
2013-08-28 14:59:52 +02:00
bdb77f33ba
updated @property annotations of many classes
2013-08-28 14:16:13 +02:00
c037b481e8
Added SafeValidator.
2013-08-25 09:14:11 -04:00
02c92fea93
Merge remote-tracking branch 'upstream/master' into add-tests
2013-08-13 19:03:10 +02:00
1ca215dff4
Added default value of Validator::attributes.
2013-08-13 11:59:21 -04:00
f78a77dfcf
Merge branch 'master' of github.com:yiisoft/yii2 into add-tests
2013-08-06 10:52:17 +02:00
3d5388ff2b
Reorganized captcha code.
2013-08-03 07:20:39 -04:00
1ce7344e18
Additional tests in EmailValidator.
2013-07-31 21:14:14 +02:00
1c57661e1f
Merge branch 'add-tests' of github.com:suralc/yii2 into add-tests
2013-07-31 20:52:52 +02:00
a23f233457
enhanced the usage of StringValidator.
2013-07-31 07:42:59 -04:00
ec1dfeaa58
Ignoring javascript generating methods in coverage for now.
2013-07-29 16:40:33 +02:00
fc1d2af36c
UrlValidator Tests
2013-07-29 16:21:07 +02:00
368a4cfe66
Asset feature refactoring (WIP)
2013-07-15 22:49:22 -04:00
36f6ebab7f
Fixes issue #539 : Yii2 Csrf protection broken
2013-06-15 15:33:27 -04:00