77 Commits (3203353a387d4db65d2a68e4d8c62442b02d556e)

Author SHA1 Message Date
Anton b7943c6732
Fix #18823: Rollback changes #18806 in `yii\validators\ExistValidator::checkTargetRelationExistence()` 3 years ago
Anton 1474e2d61a
Optimize `yii\validators\ExistValidator` 3 years ago
DrDeath72 be1b98b1df
Fix #18756: Fix `\yii\validators\ExistValidator::queryValueExists` to validate against an array of unique values 3 years ago
RodrigoDornelles e1e7ea37d5
use getTargetClass in function checkTargetAttributeExistence 3 years ago
Alexander Makarov 385fe13d66
Revert #18102 since renaming is technically problematic (#18109) 4 years ago
Brandon Kelly eb956e9c6b
primary/replica in a definitely non-breaking way (#18106) 4 years ago
Brandon Kelly 472600ee3f
Fix #18102: Use “primary”/“replica” terminology instead of “master”/“slave” 4 years ago
cuileon 489dd119a5 merge from yiisoft/yii2 6 years ago
Ondřej Vašíček 0b24d92843 Add docs about changes in the `yii\validators\ExistValidator` mentioned in #8092 (#16136) [skip ci] 7 years ago
Elvira Sheina 5fb3fc2b5f Fix ExistValidator is broken for NOSQL (#15726) 7 years ago
Elvira Sheina 23b5fa4391 Fix ExistValidator with targetRelation ignores filter (#15692) 7 years ago
SilverFire - Dmitry Naumenko 22832b7c49
release version 2.0.14 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
Alexander Makarov 9e566d7021
#8092: Enhance exists validator for relations (#15647) 7 years ago
Elvira Sheina a18ee838fd Fixes #8092: ExistValidator for relations 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
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
Robert Korulczyk fe8a0a6a2e Enable `no_useless_else` rule in php-cs-fixer (#14420) 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 23cc4bf4fe
Further changes for unique and exist validators 7 years ago
Alexander Makarov 37fc6c5afb
Alternative names 8 years ago
Alexander Makarov 99a0289221
Applied disambiguation to ExistValidator as well 8 years ago
Nikolay Oleynikov 53d824167c Fix a typo in a comment section (#13569) 8 years ago
Elvira Sheina 1ee91fe4ab
Fix BC in Exist Validator (#13533) 8 years ago
Carsten Brandt c19b2f7dc8
release version 2.0.11 8 years ago
Alexander Makarov 3f4771b1de
Phpdoc adjustments [skip ci] 8 years ago
Elvira Sheina b82caa97e8 Fixes #7820: Add `or` relation for `targetAttribute` in `yii\validators\UniqueValidator` 8 years ago
Robert Korulczyk 4aa935e69e Fixes #12055: Changed `boolean` to `bool` and `integer` to `int` in phpdoc 8 years ago
cuiliang c0df003ac0 merge from master 8 years ago
Alexander Makarov 70cfdfd289 Fixed test break 9 years ago
Alexander Makarov 1b3770fd21 Use === instead of == where possible 9 years ago
╃巡洋艦㊣ 586684b050 2.0.5 bf7edc5 9 years ago
Alexander Mohorev 68c30c1034 Replace aliases of functions 9 years ago
Nikola Kovacs f11bdfa2a7 Grammar fix: followings -> following 10 years ago
╃巡洋艦㊣ 1468bd4d3d version 2.0.1 84b42ab 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
Qiang Xue 01e5ffdceb guide WIP [skip ci] 10 years ago
Alexander Kochetov 49f8d45d8b ExistValidator final refactoring. `allowArray` checking also added to `validateValue` method. 11 years ago