|
|
64379dc7ba
|
phpdoc fix
|
2015-09-29 15:37:05 +02:00 |
|
|
|
d8047f34f6
|
RangeValidator phpdoc tweak
|
2015-09-28 22:23:18 +02:00 |
|
|
|
77d6111b06
|
Fixed phpdoc of DefaultValidator
|
2015-09-28 17:48:04 +03:00 |
|
|
|
e93b797098
|
Fixes #7581: Added ability to specify range using anonymous function in RangeValidator
|
2015-09-28 17:47:15 +03:00 |
|
|
|
4c0bcaf12e
|
Fixes #8822, fixes #9298. Clientside validator docs enhancements.
|
2015-09-05 02:15:08 +03:00 |
|
|
|
cd84f6c4c5
|
typo in DateValidator docs
|
2015-08-27 16:36:59 +02:00 |
|
|
|
a6fc02345e
|
FileValidator->getSizeLimit: check also php's post_max_size
- return the lowerest of `post_max_size` or `upload_max_filesize`
- Raised warning for misconfigured PHP
close #8373
|
2015-08-02 23:37:46 +02:00 |
|
|
|
6e3da6b329
|
various phpdoc fixes
|
2015-08-02 22:53:08 +02:00 |
|
|
|
6d9fe671de
|
various code style and whitespace adjustments
|
2015-08-02 00:27:19 +02:00 |
|
|
|
b16d734c29
|
Fixes #8671: Extracted yii\helpers\Html::escapeJsRegularExpression() method from yii\validators\RegularExpressionValidator
|
2015-07-27 17:40:38 +03:00 |
|
|
|
7926b7d4e9
|
Update EachValidator.php
|
2015-07-10 07:32:34 +03:00 |
|
|
|
6ee285f321
|
unused imports removed
|
2015-07-09 22:20:11 +02:00 |
|
|
|
54dd0eab72
|
add note about #8897 to the docs
|
2015-07-09 12:18:50 +02:00 |
|
|
|
4f6f041e8b
|
The stricter the better
|
2015-07-08 16:14:16 +03:00 |
|
|
|
4b50ace287
|
Update Validator.php
|
2015-07-07 18:39:42 -03:00 |
|
|
|
4f25734509
|
Update FileValidator.php
Implementation of https://github.com/yiisoft/yii2/issues/8995
|
2015-07-03 20:36:43 +03:00 |
|
|
|
b4d22cfe63
|
Fix documentation
wrongType -> wrongExtension
|
2015-06-30 14:12:13 +02:00 |
|
|
|
68c30c1034
|
Replace aliases of functions
|
2015-06-29 22:59:22 +03:00 |
|
|
|
ae42a054bb
|
PSR-2 spaces, commas, etc
|
2015-06-09 00:05:06 +03:00 |
|
|
|
3ec0d94b4a
|
Remove unused variable
|
2015-06-08 05:04:07 +03:00 |
|
|
|
271a86aff3
|
Extend description
Help users understand the concept of massive assignment without relying on the Guide by extending the description for this type.
|
2015-05-17 13:21:29 +01:00 |
|
|
|
f64d00bdf0
|
Fix client-side trim validator.
Subsequent validators now use the trimmed value instead of the original value.
fixes #7707
|
2015-05-13 14:18:27 +02:00 |
|
|
|
23b31d13de
|
improve documentation of date validator
fixes #7514
|
2015-05-10 15:47:45 +02:00 |
|
|
|
78d3a856d3
|
Added Json::htmlEncode() to support safer JSON data encoding in HTML code
|
2015-05-09 23:38:17 -04:00 |
|
|
|
3f24954659
|
Added min/max option to DateValidator.
Refs #7514
close #8115
|
2015-05-03 00:50:35 +02:00 |
|
|
|
cf51d46a75
|
keep BC in internal implamentation of DateValidator
prepare for #8115
|
2015-05-03 00:24:57 +02:00 |
|
|
|
1c41c2bd58
|
added DateValidator::$timestampAttributeTimeZone
this also makes DateValidator completly functional for validating values that include time.
issue #5053
|
2015-05-02 23:52:37 +02:00 |
|
|
|
d60445c066
|
Add DateValidator::$timestampAttributeFormat
includes refactoring of the formatting method to fix some major timezone issues.
fixes #5053
close #6820
|
2015-05-01 18:53:28 +02:00 |
|
|
|
ef662b57be
|
added missing @since annotations
|
2015-04-24 12:09:40 +02:00 |
|
|
|
4672a8c83f
|
Doc comments at yii\validators\Validator::isEmpty() fixed
|
2015-04-22 16:32:37 +03:00 |
|
|
|
f11bdfa2a7
|
Grammar fix: followings -> following
|
2015-04-21 15:08:16 +02:00 |
|
|
|
83e2603985
|
Restriction on inline model method usage at yii\validators\EachValidator removed in case of usage inside model scope
|
2015-04-16 11:32:02 +03:00 |
|
|
|
d8848ebf25
|
Doc improvement [skip ci]
|
2015-04-12 20:52:05 -04:00 |
|
|
|
d594ab0b03
|
yii\validators\EachValidator uses single generic error message
|
2015-04-11 13:59:02 +03:00 |
|
|
|
e29fcc8ea2
|
Docs about yii\validators\EachValidator adjusted
|
2015-04-09 18:14:35 +03:00 |
|
|
|
9fedb978f6
|
Docs for yii\validators\EachValidator adjusted
|
2015-04-09 18:13:50 +03:00 |
|
|
|
35eb833a2b
|
Added yii\validators\EachValidator
|
2015-04-09 16:48:15 +03:00 |
|
|
|
2a23520618
|
added documentation about handling date values
fixes #6530
fixes #5857
relates to #3973
|
2015-03-20 16:06:12 +01:00 |
|
|
|
ba6bce4e2d
|
fixed DateValidator to work with multibyte strings
fixes #6835
|
2015-02-28 23:45:17 +01:00 |
|
|
|
8b5e16ed56
|
compare position at which date value parsing ended with its string length to ensure validation when using php intl extension to parse date value
- fixes #6553
- Add additional testValidateAttributeICUFormat() test case using "2012-12-12foo" for "yyyy-MM-dd" date format
- close #6835
|
2015-02-28 23:33:17 +01:00 |
|
|
|
2e414632be
|
fix EmailValidator - added unit tests
close #7183
fixes #7172
|
2015-02-28 23:04:12 +01:00 |
|
|
|
e83b479dfb
|
improved validator documentation
fixes #7472
|
2015-02-26 18:40:13 +01:00 |
|
|
|
57c298a523
|
Fixes #7361: The trim validator now works on the client side too
|
2015-02-22 19:25:06 -05:00 |
|
|
|
1fb842ef5e
|
annotation typo
|
2015-01-28 10:46:23 +08:00 |
|
|
|
9db19914ca
|
Used (float) instead of floatval()
|
2015-01-28 00:25:50 +03:00 |
|
|
|
5ab1d1a0d1
|
Fixes #6992.
|
2015-01-24 08:57:53 -05:00 |
|
|
|
f66b8ba571
|
Fixes #6589: updated code style guide to mention else after return, adjusted code involved in the issue
|
2014-12-27 00:15:20 +03:00 |
|
|
|
58becaceab
|
suppress warning thrown by IntlDateFormatter::parse()
Works around PHP Bug https://bugs.php.net/bug.php?id=68528
fixes #5962
|
2014-11-30 17:56:23 +01:00 |
|
|
|
d13d274d05
|
renamed $object to $model
|
2014-10-31 14:56:59 -04:00 |
|
|
|
7c48837a67
|
Fixes #5836: doc fixes.
|
2014-10-31 14:28:51 -04:00 |
|