|
|
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 |
|
|
|
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 |
|
|
|
48ec791e4a
|
Fixes #5587: json_encode is now used with JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE where it makes sense, also it is now default for Json::encode()
|
2014-10-19 18:50:46 +04:00 |
|
|
|
02622b6fe4
|
phpdoc fixes and additions
|
2014-10-14 01:35:21 +04:00 |
|
|
|
d6b797e236
|
Fixes #5252: Null values are not properly handled by RangeValidator
|
2014-10-03 09:30:26 -04:00 |
|
|
|
ef2f6a0887
|
Merge pull request #5027 from yiisoft/date-format-convert
[WIP] extracted date format converting to a helper class
|
2014-09-17 18:42:35 +02:00 |
|
|
|
074c1f6c53
|
Merge branch 'master' into new-asset
Conflicts:
apps/basic/composer.json
composer.json
|
2014-09-16 20:03:53 -04:00 |
|
|
|
3ff548a442
|
Refactored DateValidator to support ICU format
|
2014-09-16 22:53:12 +02:00 |
|
|
|
72a81b8e31
|
Fixes #3581: Added yii\validators\CompareValidator::type to support type conversion before comparing values
|
2014-09-16 11:41:54 -04:00 |
|
|
|
b9b6fbc94b
|
Fixes #5039: UniqueValidator and ExistValidator did not respect query conditions added by default scope
|
2014-09-15 21:19:55 -04:00 |
|
|
|
7ce6a8a456
|
Fixed typo [skip ci]
|
2014-09-14 11:54:33 -04:00 |
|