bfba0aa711
Refactor validateAttribute method in UniqueValidator ( #13202 )
...
* Refactor validateAttribute method in UniqueValidator
Extract prepareParams and prepareQuery from validateAttribute,
so they can be tested separately.
* Added issue number to changelog
* Eliminated unneeded variable
* Renamed methods and parameters, update PHPDocs
2016-12-15 12:23:16 +01:00
729ddc5b76
Select only primary keys in UniqueValidator ( #10896 ) ( #13098 )
...
fixes #10896
2016-12-01 10:45:58 +01:00
b8b3aeeb00
update deprecated phpdoc messages
2016-11-22 16:03:28 +01:00
c42ef605db
Fixes #12554 : Fixed yii\validators\UniqueValidator error of getting first model indexed by field
2016-09-20 22:47:12 +02:00
2f981c5a70
Fix BC break for UniqueValidator custom message when validating multiple attributes
2016-08-24 22:59:58 +02:00
ee92cfa7ba
release version 2.0.9
2016-07-11 15:36:42 +02:00
d2dd232b6f
message improvement and test for #11323
2016-07-06 14:27:50 +02:00
e0ace833d0
Added Error message for combined attributes to unique validator
...
- error message `$comboNotUnique` to include model attribute labels instead of attribute names.
- Fixes #11322
close #11323
2016-07-06 14:09:56 +02:00
2e7014fd72
Fix bug #10638
2016-01-21 20:22:51 +03:00
a1ff095f91
UniqueValidator - fixed syntax warning: static call on object
2016-01-19 00:18:58 +02:00
f0532b8818
Fix https://github.com/yiisoft/yii2/pull/10263
2015-11-27 00:07:20 +03:00
68c30c1034
Replace aliases of functions
2015-06-29 22:59:22 +03:00
f11bdfa2a7
Grammar fix: followings -> following
2015-04-21 15:08:16 +02:00
d13d274d05
renamed $object to $model
2014-10-31 14:56:59 -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
3a1e0f3a5c
property codestyle framework
2014-07-30 00:21:31 +02:00
0c14f47f9a
Fixes #3793 : Changed inline autocomplete hints style to get more IDEs support
2014-06-20 17:40:00 +04:00
c6e8f66e1b
Update UniqueValidator.php
2014-05-19 15:52:54 +08:00
f2d5ddab4f
Update UniqueValidator.php
2014-04-14 11:40:01 +03:00
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
31c24ec92b
Fixes #2003 : Added filter property to ExistValidator and UniqueValidator to support adding additional filtering conditions
2014-01-16 11:30:48 -05: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
4be9e195c2
Add Newlines
...
Appended newlines to every PHP document that did not have a newline as the last character in the file.
2013-05-05 17:04:55 +01:00
bcc833200a
simplified Yii::import().
2013-04-11 17:40:23 -04:00
ae6c69fc8f
refacotring validators.
2013-04-05 08:32:13 -04:00
421e31ec0f
finished validator refactoring.
2013-04-04 10:57:01 -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
4f1efc74a3
validator cleanup.
2013-01-21 19:20:20 -05:00
78396afb02
validator cleanup.
2013-01-20 19:39:56 -05:00
ebecc09839
DB refactoring.
2013-01-17 16:15:12 -05:00
8e05e6e62d
changed copyright line.
2013-01-07 11:34:52 -05:00
2188ece107
refactoring DB
2013-01-05 21:20:13 -05:00
8517ee9e50
reorganized DB classes.
2013-01-05 16:46:53 -05:00
083ca919d3
validators
2012-05-07 03:44:56 +04:00
a9439e9038
...
2011-12-25 11:21:30 -05:00
a33d152d77
removed package and version tags
2011-12-09 18:13:36 +04:00
f8ea58826e
cleaned up @since
2011-12-09 18:07:07 +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
b51c3bc77c
w
2011-07-22 09:15:59 -04:00