11812af1c1
Fixed formatting, initialized options array
2014-09-06 01:48:12 +04:00
5794534a26
Unused InvalidConfigException
2014-08-24 23:47:36 +04:00
2ef7eda249
Fixes #4611 .
2014-08-06 08:08:07 -04:00
24d0314928
Update docs for clientValidateAttribute()
2014-08-05 16:56:00 +02:00
6dd2203a5c
Fixes #4566 : Added client validation support for image validator
2014-08-02 22:36:22 -04:00
8c5c4c503b
Fix lines
2014-08-02 17:04:42 -04:00
ed3564c1cf
Added client-side image validation
2014-08-02 17:04:42 -04:00
3a1e0f3a5c
property codestyle framework
2014-07-30 00:21:31 +02:00
0edd8bc65a
Fixed missing and incorrect phpdoc
2014-07-25 17:26:35 +04:00
b3f0f7dceb
Fixed typo and inconsistent conditionals
2014-07-23 22:41:35 -04:00
d1c2b137b3
Added client-side file validator
2014-07-23 22:41:35 -04:00
a2e73f9900
Fixes #4370 : fileinfo extension is required for FileValidator.
2014-07-22 15:06:14 -04:00
9fd920e2d1
minor refactoring of FileValidator.
2014-07-22 11:29:04 -04:00
aabd69afcf
avoid confusion about uploadRequired
2014-07-16 11:43:44 +02:00
9f08d18f96
Fixes #3020 [skip ci]
2014-06-26 22:50:57 -04:00
0c14f47f9a
Fixes #3793 : Changed inline autocomplete hints style to get more IDEs support
2014-06-20 17:40:00 +04:00
084819b84c
refactored file validator.
2014-06-14 16:21:59 -04:00
a89d574a20
updated FileValidator , CHANGELOG.md , UPGRADE.md guides , tests fixed
2014-06-14 22:11:58 +04:00
64deaad75d
undo changes
2014-06-14 21:59:10 +04:00
42643e3747
type validation adjusted
2014-06-14 12:42:12 +04:00
d5a1a74864
fixed mime type file info
2014-06-11 11:53:30 +04:00
1bad91bd4e
Update FileValidator.php
2014-06-10 17:14:12 -03:00
431915c439
mimeTypes Validator is wrong
...
I'm find error
```php
Wrong
} elseif (!empty($this->mimeTypes) && !in_array(FileHelper::getMimeType($file->tempName), $this->mimeTypes, true)) {
Correct
} elseif (!empty($this->mimeTypes) && !in_array(FileHelper::getMimeType($file), $this->mimeTypes, true)) {
```
Not need call '$file->tempName' because getMimeType get object $_FILE => $file, so use $file and validator works fine
2014-06-10 16:35:21 -03:00
c52c063ca6
file validator added mime - types , image validator fixed
2014-06-10 14:14:19 +04:00
01e5ffdceb
guide WIP [skip ci]
2014-06-05 22:40:37 -04:00
d1e0a54553
guide WIP [skip ci]
2014-06-04 17:50:24 -04:00
0c02edbfca
Adjusted default validator method phpdoc
2014-06-01 00:26:16 +04:00
68341dd50e
Merge branch 'defaultValueValidator' of github.com:Alex-Code/yii2 into Alex-Code-defaultValueValidator
...
Conflicts:
framework/CHANGELOG.md
2014-05-31 12:09:45 +04:00
a4e8829717
Additional RangeValidator fixes
2014-05-23 15:26:09 +04:00
b1ba2439a6
[WIP] Additional RangeValidator fixes
2014-05-23 01:56:51 +04:00
431d8864f9
refactored RangeValidator.
2014-05-22 16:32:00 -04:00
ca4a228b55
RangeValidator bugfix
2014-05-22 21:29:18 +04:00
3de8630fd3
Code readability fix
2014-05-22 20:05:25 +04:00
af09fe16df
Improve in validator to properly support array attributes.
2014-05-22 17:51:17 +04:00
c6e8f66e1b
Update UniqueValidator.php
2014-05-19 15:52:54 +08:00
15904951ef
Merge PR #3406 branch 'exist-validator-enhancement' of https://github.com/creocoder/yii2
...
* 'exist-validator-enhancement' of https://github.com/creocoder/yii2 :
ExistValidator final refactoring. `allowArray` checking also added to `validateValue` method.
New tests added
New tests added
ExistValidator::validateValue() fixed
Tests excess dump removed
ExistValidator bugfix
Tests updated
ExistValidator refactoring
CHANGELOG updated
`allowArray` introduced.
CHANGELOG
ExistValidator count logic fix
Tests updated
Tests updated
Tests updated
Refactoring
Refactoring
Improve `exist` validator to support array attributes
Conflicts:
framework/CHANGELOG.md
2014-05-15 10:00:06 +02:00
49f8d45d8b
ExistValidator final refactoring. allowArray checking also added to validateValue method.
2014-05-14 21:18:32 +04:00
14ec7e21bd
ExistValidator::validateValue() fixed
2014-05-14 17:35:24 +04:00
68f65a9f7a
ExistValidator bugfix
2014-05-14 13:37:20 +04:00
3e94b24885
ExistValidator refactoring
2014-05-13 16:10:08 +04:00
252795ec94
allowArray introduced.
2014-05-12 17:34:36 +04:00
ccaa052d57
ExistValidator count logic fix
2014-05-09 18:57:00 +04:00
46add80ac2
Add missing Exception when wrong validator is used
2014-05-09 16:28:11 +02:00
fe5376ff7d
Refactoring
2014-05-08 20:16:48 +04:00
8188cc78d3
Refactoring
2014-05-08 20:07:27 +04:00
3eb257c302
Improve exist validator to support array attributes
2014-05-08 19:47:00 +04:00
b65b0ce591
better exception message for non existing validator
2014-05-07 13:09:39 +02:00
7ff1f4ae33
Update DefaultValueValidator.php
2014-05-06 17:14:15 +01:00
7dfd210b79
Update DefaultValueValidator.php
...
Allow the default value to be a closure
2014-05-06 15:56:02 +01:00
91965fd391
phpdoc formatting issues
2014-04-23 02:55:17 +02:00