Commit Graph

18 Commits

Author SHA1 Message Date
Sam Mousa
22d9997281 Implemented support of traversable objects in RangeValidator::ranges, added ArrayHelper::in() and ArrayHelper::subset() 2015-11-18 16:41:56 +02:00
SilverFire - Dima Naumenko
d7bb1be296 EmailValidator - specified encoding for mb_strlen 2015-11-15 19:39:50 +02:00
SilverFire - Dima Naumenko
bf6b50f58e #10142 Fixed EmailValidator to check email length properly 2015-11-14 00:39:12 +02:00
SilverFire - Dima Naumenko
6f6e54686b Skip IpValidatorTest fully, when IPv6 support is not enabled 2015-11-10 14:44:46 +02:00
SilverFire - Dima Naumenko
ebee1d04ce ComposerValidatorTest - Fixed PHP7 error 2015-11-10 12:41:48 +02:00
Sidney Lins (slinstj, former sidtj)
c33574bc0a Fixes #7566: Improved \yii\validators\CompareValidator default messages 2015-11-05 22:05:50 +03:00
Alexander Makarov
5242765257 Fixes #3506: Added \yii\validators\IpValidator to perform validation of IP addresses and subnets 2015-10-22 14:21:31 +03:00
Lorenzo Milesi
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
Carsten Brandt
f37c6ddd64 well, just drop this...
this test does not help much anyway. it is still tested for false in strict mode.
2015-07-03 17:44:02 +02:00
Carsten Brandt
d8bbe2f693 fixed BC compatibility test break for php7 2015-07-03 17:38:40 +02:00
Carsten Brandt
9cc0e5d89d even more 32bit friendly test
issue #8584
2015-06-06 02:39:19 +02:00
Carsten Brandt
8e44674e7b fixed another test to work on 32bit
issue #8584
2015-06-05 19:01:45 +02:00
Carsten Brandt
ab9326dd26 fixed test for 32bit systems
fixes #8584
2015-06-05 18:58:09 +02:00
Carsten Brandt
8eaacd7320 added comment to datevalidator test
issue #8584
2015-05-28 12:05:39 +02:00
Nikola Kovacs
3f24954659 Added min/max option to DateValidator.
Refs #7514
close #8115
2015-05-03 00:50:35 +02:00
Carsten Brandt
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
Carsten Brandt
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
Alexander Makarov
6949992246 Simplified tests directory structure a bit 2015-04-16 12:10:01 +03:00