89 Commits

Author SHA1 Message Date
d6b797e236 Fixes #5252: Null values are not properly handled by RangeValidator 2014-10-03 09:30:26 -04:00
45e472ccb0 added unit tests for #5249 2014-09-29 23:54:38 +02: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
0157964f5f Fixed test breaks. 2014-09-16 22:49:29 -04:00
3ff548a442 Refactored DateValidator to support ICU format 2014-09-16 22:53:12 +02:00
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
a89d574a20 updated FileValidator , CHANGELOG.md , UPGRADE.md guides , tests fixed 2014-06-14 22:11:58 +04:00
1a3c04e0d2 fixed tests 2014-06-14 13:14:36 +04:00
0206e9174c file validator tests added 2014-06-10 14:14:59 +04:00
460b5fab06 Tests added 2014-05-22 20:15:55 +04: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
520f5fa160 New tests added 2014-05-14 19:11:37 +04:00
55729a4cc0 New tests added 2014-05-14 19:09:55 +04:00
f457073d27 Tests excess dump removed 2014-05-14 13:39:31 +04:00
e791436819 Tests updated 2014-05-14 13:37:05 +04:00
087b7ca962 Tests updated 2014-05-09 18:55:49 +04:00
795b7d75e7 Tests updated 2014-05-09 18:08:40 +04:00
ba767206e8 Tests updated 2014-05-09 17:52:45 +04:00
e1c27788ba Added a test. 2014-05-09 08:42:17 -04:00
83a63f2346 fixed wrong client validation issue in numbervalidator
fixes #3118
2014-04-23 01:29:53 +02:00
0e143338d7 Finished refactoring find() . 2014-04-07 16:29:12 -04:00
75154d351d Refactored AR find 2014-04-07 09:43:03 +04:00
202e3ae0ca Fixed typo in FilterValidator for skipping array values. 2014-03-16 18:27:19 +05:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
08f6003c1d Fixed test break. 2014-03-14 23:55:38 -04:00
b9c0871218 tabs vs spaces 2014-03-11 23:16:04 +04:00
385ee5550a Update FileValidatorTest.php
fix tabs
2014-03-10 23:19:00 +05:00
b3b9bd353e fix isEmpty method for file validator. 2014-03-10 23:10:47 +05:00
4384a96812 Merge pull request #2667 from AlexGx/tests-codestyle-fix
Tests codestyle fix
2014-03-09 03:06:39 +01:00
269d1303a9 Code style fixes 2014-03-08 20:47:04 -03:00
32d0768919 style fixes with phpcs:yii2 2014-03-08 14:55:58 +02:00
4a201c7ad5 Removed unused variables 2014-02-07 13:39:35 +04:00
b64f618545 refactored file validator. 2014-02-01 09:15:40 -05:00
baa78bc213 fixed test break. 2014-01-31 18:33:28 -05:00
9aa006e5ea Removed implementation of Arrayable from yii\Object 2014-01-21 16:44:28 -05:00
a8068dfe5c fixed test break. 2014-01-11 10:54:43 -05:00
b23bade285 fixed test break. 2014-01-08 21:57:24 -05:00
35f8823249 fixed test break. 2014-01-08 21:34:20 -05:00
c67c929696 Fixed test break. 2014-01-08 21:23:12 -05:00
9649a6727a Renamed attributeName and className to targetAttribute and targetClass for UniqueValidator and ExistValidator.
Refactored UniqueValidator and ExistValidator.
2013-12-22 16:40:51 -05:00
252b6c9ef1 Fixes #797: Added support for validating multiple columns by UniqueValidator and ExistValidator 2013-12-22 11:30:59 -05:00
bce353bf3a fixed test break. 2013-12-06 14:32:59 -05:00
cb4a8c764c Refactored validators. 2013-12-06 14:19:17 -05:00
bb6b75e794 fixed exception check in test. 2013-11-27 23:07:15 -05:00
45d92f1cef refactored emailvalidator test 2013-11-20 16:50:29 +01:00
7b5b93efd2 fixed email validator test break 2013-11-20 16:46:04 +01:00
8dab87be3d fixed EmailValidator IDN and full pattern support
also made everything conistent with client validation
2013-11-20 16:18:19 +01:00
9bf7f791b8 Fix test 2013-11-12 17:53:24 +02:00
35681c618b Fix test 2013-11-12 17:24:35 +02:00
b0b1c27c85 Fix phpDoc var tag format 2013-11-12 06:21:04 +02:00