Commit Graph

70 Commits

Author SHA1 Message Date
Carsten Brandt
83a63f2346 fixed wrong client validation issue in numbervalidator
fixes #3118
2014-04-23 01:29:53 +02:00
Qiang Xue
0e143338d7 Finished refactoring find() . 2014-04-07 16:29:12 -04:00
Alexander Makarov
75154d351d Refactored AR find 2014-04-07 09:43:03 +04:00
Zhandos Nuftiev
202e3ae0ca Fixed typo in FilterValidator for skipping array values. 2014-03-16 18:27:19 +05:00
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
Qiang Xue
08f6003c1d Fixed test break. 2014-03-14 23:55:38 -04:00
Alexander Pletnev
b9c0871218 tabs vs spaces 2014-03-11 23:16:04 +04:00
Zhandos
385ee5550a Update FileValidatorTest.php
fix tabs
2014-03-10 23:19:00 +05:00
Zhandos Nuftiev
b3b9bd353e fix isEmpty method for file validator. 2014-03-10 23:10:47 +05:00
Carsten Brandt
4384a96812 Merge pull request #2667 from AlexGx/tests-codestyle-fix
Tests codestyle fix
2014-03-09 03:06:39 +01:00
Luciano Baraglia
269d1303a9 Code style fixes 2014-03-08 20:47:04 -03:00
AlexGx
32d0768919 style fixes with phpcs:yii2 2014-03-08 14:55:58 +02:00
Alexander Makarov
4a201c7ad5 Removed unused variables 2014-02-07 13:39:35 +04:00
Qiang Xue
b64f618545 refactored file validator. 2014-02-01 09:15:40 -05:00
Qiang Xue
baa78bc213 fixed test break. 2014-01-31 18:33:28 -05:00
Qiang Xue
9aa006e5ea Removed implementation of Arrayable from yii\Object 2014-01-21 16:44:28 -05:00
Qiang Xue
a8068dfe5c fixed test break. 2014-01-11 10:54:43 -05:00
Qiang Xue
b23bade285 fixed test break. 2014-01-08 21:57:24 -05:00
Qiang Xue
35f8823249 fixed test break. 2014-01-08 21:34:20 -05:00
Qiang Xue
c67c929696 Fixed test break. 2014-01-08 21:23:12 -05:00
Qiang Xue
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
Qiang Xue
252b6c9ef1 Fixes #797: Added support for validating multiple columns by UniqueValidator and ExistValidator 2013-12-22 11:30:59 -05:00
Qiang Xue
bce353bf3a fixed test break. 2013-12-06 14:32:59 -05:00
Qiang Xue
cb4a8c764c Refactored validators. 2013-12-06 14:19:17 -05:00
Qiang Xue
bb6b75e794 fixed exception check in test. 2013-11-27 23:07:15 -05:00
Carsten Brandt
45d92f1cef refactored emailvalidator test 2013-11-20 16:50:29 +01:00
Carsten Brandt
7b5b93efd2 fixed email validator test break 2013-11-20 16:46:04 +01:00
Carsten Brandt
8dab87be3d fixed EmailValidator IDN and full pattern support
also made everything conistent with client validation
2013-11-20 16:18:19 +01:00
slavcodev
9bf7f791b8 Fix test 2013-11-12 17:53:24 +02:00
slavcodev
35681c618b Fix test 2013-11-12 17:24:35 +02:00
slavcodev
b0b1c27c85 Fix phpDoc var tag format 2013-11-12 06:21:04 +02:00
Alexander Mohorev
51211898f8 Control statements based on the if and elseif constructs must have a single space before the opening parenthesis of the conditional and a single space after the closing parenthesis. 2013-10-28 23:51:48 +03:00
Qiang Xue
9f7ca5d222 Merge pull request #1051 from cebe/validator-message-format
Validator message format
2013-10-23 16:49:08 -07:00
Alexander Makarov
ee2af2661c Removed unneeded use statements 2013-10-24 03:12:25 +04:00
Alexander Makarov
c127171efb Fixes #1003: DateValidator returned true for invalid dates 2013-10-24 02:31:05 +04:00
Carsten Brandt
3631890cba fixed failing validator tests 2013-10-24 00:00:32 +02:00
Carsten Brandt
cfc57c20f0 Allow ITU message format in validator messages
fixes #991
2013-10-23 20:25:38 +02:00
Alexander Makarov
005c006b69 typo fix 2013-10-18 21:01:34 +04:00
Alexander Makarov
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
Carsten Brandt
f974e1a59f fixed validator test break 2013-10-15 04:43:52 +02:00
Alexander Makarov
32865c7ddc Updated FileValidator tests 2013-10-15 01:48:05 +04:00
Alexander Makarov
8c1c3c59d9 Better AR connection init in tests 2013-10-15 01:39:19 +04:00
Alexander Makarov
d75ad87e06 Merge branch 'add-tests' of github.com:suralc/yii2 into suralc-add-tests
Conflicts:
	framework/yii/validators/RegularExpressionValidator.php
2013-10-15 01:31:59 +04:00
Carsten Brandt
949dda5fdb tagged tests with @group tags 2013-09-14 12:49:47 +02:00
Suralc
06682d0ba9 coverage improvements 2013-08-24 00:31:01 +02:00
Suralc
c189e5ad3f UniqueValidator test. 2013-08-24 00:05:27 +02:00
Suralc
24e2f88503 Renamed validator test models to be less specific. 2013-08-23 22:47:45 +02:00
Suralc
7d5bb082ac FilterValidator test 2013-08-23 22:33:39 +02:00
Suralc
3b07e4affc Added FileValidator tests. 2013-08-23 17:24:56 +02:00
Suralc
3469b2cb60 RangeValidator tests. 2013-08-22 16:12:09 +02:00