65 Commits (cf9787ddef18d1c634e871ba6bd978e49c148f7d)

Author SHA1 Message Date
bscheshirwork 921147dca5 Fixes #14161, #14150: fixed primary table aliasing (include case manual set alias) in validators 7 years ago
Alexander Makarov 8a087c8537
#14150: Added {{ and }} to getTablesUsedInFrom() output 7 years ago
Alexander Makarov 96382454b1
Additional refactoring as suggested by @dynasource 7 years ago
Alexander Makarov 9828bde1db Added escaping for column name 7 years ago
Carsten Brandt 5c72047426
Fixed ambiguous column name in SELECT in UniqueValidator 7 years ago
Alexander Makarov 23cc4bf4fe
Further changes for unique and exist validators 7 years ago
Alexander Makarov 37fc6c5afb
Alternative names 8 years ago
Alexander Makarov cf7f358093
Removed obsolete import 8 years ago
Alexander Makarov 7db93fc33d
Refactored solution to be contained within ActiveQuery instead of helper 8 years ago
vladis84 8474927a55
Fixed ambiguous error sql while using unique validator 8 years ago
vladis84 3c1f3e20cf
Fixes #13704: Fixed `yii\validators\UniqueValidator` to prefix attribute name with model's database table name 8 years ago
gagatust 6397791513 Fixed whitespaces to match code style [skip ci] 8 years ago
Carsten Brandt 36521c50e0
instructions on signing tag on release repo 8 years ago
Carsten Brandt c19b2f7dc8
release version 2.0.11 8 years ago
Carsten Brandt 1eec5c17bc
make UniqueValidator compatible with ActiveRecordInterface again 8 years ago
Elvira Sheina 0df8020dd0
Fix for #13485 8 years ago
Elvira Sheina d39c491022 Fix BC breaking #13475 (#13478) 8 years ago
Elvira Sheina 240bca515a Use low-level query in UniqueValidator (#13461) 8 years ago
Alexander Makarov bede9feba5
Fixes #13453: Reverted #10896 commit 729ddc5b76 8 years ago
Elvira Sheina b82caa97e8 Fixes #7820: Add `or` relation for `targetAttribute` in `yii\validators\UniqueValidator` 8 years ago
Elvira Sheina bfba0aa711 Refactor validateAttribute method in UniqueValidator (#13202) 8 years ago
Elvira Sheina 729ddc5b76 Select only primary keys in UniqueValidator (#10896) (#13098) 8 years ago
Carsten Brandt b8b3aeeb00 update deprecated phpdoc messages 8 years ago
DrDeath72 c42ef605db Fixes #12554: Fixed `yii\validators\UniqueValidator` error of getting first model indexed by field 8 years ago
Robert Korulczyk 2f981c5a70 Fix BC break for `UniqueValidator` custom message when validating multiple attributes 8 years ago
Carsten Brandt ee92cfa7ba release version 2.0.9 8 years ago
Carsten Brandt d2dd232b6f message improvement and test for #11323 8 years ago
PowerGamer1 e0ace833d0 Added Error message for combined attributes to unique validator 8 years ago
githubjeka 2e7014fd72 Fix bug #10638 9 years ago
SilverFire - Dmitry Naumenko a1ff095f91 UniqueValidator - fixed syntax warning: static call on object 9 years ago
githubjeka f0532b8818 Fix https://github.com/yiisoft/yii2/pull/10263 9 years ago
Alexander Mohorev 68c30c1034 Replace aliases of functions 9 years ago
Nikola Kovacs f11bdfa2a7 Grammar fix: followings -> following 10 years ago
Qiang Xue d13d274d05 renamed $object to $model 10 years ago
Qiang Xue b9b6fbc94b Fixes #5039: `UniqueValidator` and `ExistValidator` did not respect query conditions added by default scope 10 years ago
RichWeber 92cd13a913 pull origin 10 years ago
Carsten Brandt 3a1e0f3a5c property codestyle framework 10 years ago
Alexander Makarov 0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 10 years ago
Chong Freeman c6e8f66e1b Update UniqueValidator.php 11 years ago
Алексей f2d5ddab4f Update UniqueValidator.php 11 years ago
SonicGD b5f8a4dc22 Reformat code te be PSR-2 compatible 11 years ago
Qiang Xue 31c24ec92b Fixes #2003: Added `filter` property to `ExistValidator` and `UniqueValidator` to support adding additional filtering conditions 11 years ago
Qiang Xue 0c38655217 psr-4 move 11 years ago
Carsten Brandt 5dca1257b2 reverted primaryKey of elasticsearch to be array again 11 years ago
Carsten Brandt a7b852fcc3 Changed elasticsearch AR primary key handling 11 years ago
Qiang Xue da78b6e16e doc fix. 11 years ago
Qiang Xue 9649a6727a Renamed `attributeName` and `className` to `targetAttribute` and `targetClass` for `UniqueValidator` and `ExistValidator`. 11 years ago
Qiang Xue 252b6c9ef1 Fixes #797: Added support for validating multiple columns by `UniqueValidator` and `ExistValidator` 11 years ago
Qiang Xue d620f3152e refactored BaseActiveRecord::isPrimaryKey() 11 years ago
Qiang Xue d5f40b42cf Added ActiveRecordInterface::getOldPrimaryKey(). 11 years ago