81 Commits (605505b2557ce7656d141204281c6834475bd97d)

Author SHA1 Message Date
Garth 9dcf65e304 Fix #17389: Fixed `UniqueValidator` to work with Active Record having `joinWith()` in its `find()` 5 years ago
Alex b4adada51e Fixes #16022: Fix UniqueValidator for PostgreSQL. Checks the uniqueness of keys in `jsonb` field 6 years ago
SilverFire - Dmitry Naumenko 22832b7c49
release version 2.0.14 7 years ago
Ruitang Du 3c8207f050
seems missing a `)` here... 7 years ago
Jafaripur 67caf0219a Check db driver have useMaster or not for calling. (#15664) 7 years ago
rossoneri 63ffae028e Fixes #14254: add an option to specify whether validator is forced to always use master DB for `yii\validators\UniqueValidator` and `yii\validators\ExistValidator` 7 years ago
Klimov Paul 71c541773f PHPDoc fix 7 years ago
Klimov Paul 65f6b59b35 `@inheritdoc` notation changed 7 years ago
Vladimir Khramtsov b44bbd6a13 Fix code issues (#15435) 7 years ago
Laszlo 0bec2b462c Fixes #14484: Fixed `yii\validators\UniqueValidator` for target classes with a default scope 7 years ago
Dmitry Naumenko 64d8af61a6 Fixes for PHP 7.2 compatibility (#14959) 7 years ago
Robert Korulczyk 5a8c3d537b Enable `phpdoc_summary` rule in php-cs-fixer config (#14675) 7 years ago
Robert Korulczyk 1501c659ac Add empty lines before return statements. (#14682) [skip ci] 7 years ago
Klimov Paul 2466d397ae Fixed `yii\validators\ExistValidator` and `yii\validators\UniqueValidator` throw exception in case they are set for `yii\db\ActiveRecord` with `$targetClass` pointing to NOSQL ActiveRecord 7 years ago
Alexander Makarov d4c15c36d0 Fixes #14304: Fixed `yii\validators\UniqueValidator` and `yii\validators\ExistValidator` to skip prefixes in case expressions are used 7 years ago
Robert Korulczyk ba0ab403b5 Added php-cs-fixer coding standards validation to Travis CI (#14100) 7 years ago
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
cuiliang c0df003ac0 merge from master 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
╃巡洋艦㊣ 586684b050 2.0.5 bf7edc5 9 years ago
Alexander Mohorev 68c30c1034 Replace aliases of functions 9 years ago