51 Commits

Author SHA1 Message Date
52e4a3e645 release version 2.0.50 2024-05-30 20:23:31 +03:00
e2a167028b Upgrade to PSR12 coding standard (#20121) 2024-03-19 17:21:27 +03:00
5358724251 Fix #12636: Fix CompareValidator successful state when compareAttribute has an error 2022-09-04 22:14:11 +03:00
161526cd41 HTTPS everywhere (#19503) 2022-08-03 12:32:18 +03:00
59f69fc9cd Fix #19462: Fix validator client options to encode HTML tags 2022-07-29 13:15:54 +03:00
3578621833 Shorten two identical statements in compare validator (#18922) 2021-10-01 23:37:54 +03:00
b8e31c0d31 Fix #18460: compareValue in CompareValidator can now take a closure returning a value 2021-02-25 13:01:38 +03:00
1ad85c640b Bug #15826: Fixed JavaScript compareValidator in yii.validation.js for attributes not in rules (mgrechanik) 2018-07-19 12:19:32 +08:00
71c541773f PHPDoc fix 2018-01-23 13:17:25 +02:00
65f6b59b35 @inheritdoc notation changed 2018-01-23 13:11:24 +02:00
c009b06114 Fixes #14604: Fixed yii\validators\CompareValidator compareAttribute does not work if compareAttribute form ID has been changed 2017-11-15 00:43:14 +03:00
fe8a0a6a2e Enable no_useless_else rule in php-cs-fixer (#14420) 2017-07-10 11:26:21 +03:00
Sam
06967f9018 Fixes #13254: Core validators no longer require Yii::$app to be set 2017-03-14 15:37:54 +03:00
f5beaf3edf Make validator getClientOptions public
This allows implementing custom client-side validation
without extending every validator.

Fixes #11163
close #13145
2016-12-08 01:30:36 +01:00
76e253e140 yii\validators\Validator - added separate methods for client-side validation options
Closes #11163
2016-12-05 22:33:49 +02:00
4aa935e69e Fixes #12055: Changed boolean to bool and integer to int in phpdoc 2016-11-07 02:51:39 +03:00
5f821feff7 Added constants for CompareValidator::$type
also improved and fixed docs about 'compare' validator.

fixes #12864
2016-10-28 10:17:27 +02:00
e6e8b0a41f fix translation in compare validator(uk,ru) 2015-11-18 17:01:12 +02:00
c33574bc0a Fixes #7566: Improved \yii\validators\CompareValidator default messages 2015-11-05 22:05:50 +03:00
54dd0eab72 add note about #8897 to the docs 2015-07-09 12:18:50 +02:00
9db19914ca Used (float) instead of floatval() 2015-01-28 00:25:50 +03:00
d13d274d05 renamed $object to $model 2014-10-31 14:56:59 -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
72a81b8e31 Fixes #3581: Added yii\validators\CompareValidator::type to support type conversion before comparing values 2014-09-16 11:41:54 -04:00
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
d1e0a54553 guide WIP [skip ci] 2014-06-04 17:50:24 -04:00
c1445871f4 Correction of many errors code inspection.
Adjustments code according to the standards.
Adding missing PHPDoc comment.
2014-04-16 19:29:07 -03:00
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
262189533a huge amount of documentation link fixes 2014-01-28 17:54:40 +01:00
e7fab51efc fixes #1870: better fix that is message extractor friendly 2014-01-12 23:12:06 +04:00
4239b2a5f2 Fixes #1870: Validation errors weren't properly translated when using clientside validation 2014-01-12 21:37:28 +04:00
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00
0d814fa523 Moved "framework" to "iii". 2013-05-09 12:00:15 -04:00
4b30fe8b5a Finished js validation for email and regular expression validators. 2013-05-02 10:52:25 -04:00
41b127b922 Finished js validation for compare validator. 2013-05-02 10:23:47 -04:00
52a160cb7b refactored validators. 2013-04-05 10:21:43 -04:00
ae6c69fc8f refacotring validators. 2013-04-05 08:32:13 -04:00
3bd186deeb refactored validators. 2013-04-03 23:23:32 -04:00
4fdaab3560 updated file header. 2013-03-04 08:03:46 -05:00
3c1452e84b Changed the separator of message category. 2013-02-05 11:48:35 -05:00
54ee8c44a0 refactored exceptions.
I18N WIP.
2013-02-04 16:39:19 -05:00
7df4a9bd1d finished validator cleanup. 2013-01-21 20:11:22 -05:00
8e05e6e62d changed copyright line. 2013-01-07 11:34:52 -05:00
083ca919d3 validators 2012-05-07 03:44:56 +04:00
a9439e9038 ... 2011-12-25 11:21:30 -05:00
af593aad5e w 2011-07-22 23:08:40 -04:00
0c7a75bef7 w 2011-07-22 17:09:47 -04:00
ef4ed7c803 w 2011-07-22 16:13:07 -04:00
c80c9decbe w 2011-07-22 14:58:16 -04:00