Sam Mousa
baab8d6a68
QueryBuilder now supports `Traversable` objects for `IN` clauses.
9 years ago
Alexander Makarov
4f4fa6fdf0
Fixes #10710 : `yii\helpers\FileHelper::copyDirectory()` is now throwing exception when trying to copy a directory to itself or a subdirectory
9 years ago
SilverFire - Dmitry Naumenko
f21e472c98
Update UserTest::testLoginRequired(), CHANGELOG
9 years ago
Andrii Vasyliev
b4995c3990
Fixed `yii\console\Application::runAction` to not to corrupt response exit code when action returns Response object
...
close #10235
9 years ago
raoul
60f6ecf063
`yii\db\BaseActiveRecord` now triggers event EVENT_AFTER_REFRESH` after a record is refreshed
...
fixes #9604
close #10867
9 years ago
Sam Mousa
90b92440fa
Fixed using DI container with no `Yii::$app` set.
9 years ago
Sam Mousa
5f1a5fbcf7
Implemented DI for callable component configuration
...
fixes #10908
9 years ago
Carsten Brandt
52e23e0317
fix issue with composite key in combination with join
...
fixes #10201
fixes #9047
close #9895
9 years ago
Alexander Makarov
9f45a94661
#10631 : added changelog, simpified code a bit more
9 years ago
Sam
fc8708b712
Added missing function to ActiveRecordInterface interface.
...
close #9854
9 years ago
Carsten Brandt
3563239f9f
fixed broken changelog changes
9 years ago
Lennart van den Dool
f8a844a90f
Query helper method for filter values containing operators
...
Basic implementation proposal for yiisoft/yii2#2022
Shortcomings/todo's:
* filtering on non-scalars (where IN statements) not supported
* Numeric properties with a corresponding validation rule will yield
errors when they contain an alphanumeric operator. These properties'
rules should be defined as 'string' or 'safe'.
* no implementation example in Gii code (yet).
close #8505
9 years ago
SilverFire - Dmitry Naumenko
5686a9ddeb
Revert "* Added support of :submit[formtarget]"
...
This reverts commit d3fb217dfa
.
9 years ago
Edgard Lorraine Messias
278bfca140
Fixed `quoteColumnName` for table start with `{{` or `[[`
9 years ago
SilverFire - Dmitry Naumenko
d3beca32b4
Refactored PR, updated CHANGELOG
9 years ago
Carsten Brandt
38d347c9f5
fix quoting column name in case of quoted table name
...
column name was not quoted if a table name was used, that was using the
table prefix feature.
fixes #11088
close #11238
9 years ago
Carsten Brandt
22503ebe97
allow setting custom logger in Dispatcher via config
...
fixes #11056
9 years ago
Anatoly Rugalev
d3fb217dfa
* Added support of :submit[formtarget]
...
* Added support of :submit[formtarget]
9 years ago
Carsten Brandt
9c1fa3f745
allow resetting properties in UrlManager, same as Request
...
fixes #11336
9 years ago
Carsten Brandt
1f0e24c528
allow resetting autodetected properties in yii\web\Request
...
fixes #11336
9 years ago
SilverFire - Dmitry Naumenko
adfcfa48b2
Updated CHANGELOG
9 years ago
Alexander Makarov
2c325fbd48
Added `@since`, adjusted changelog #9425
9 years ago
PowerGamer1
806eb57990
Fixes #9425 : ActiveQuery::exists() should generate SELECT EXISTS() ( #11363 )
9 years ago
zuozp8
95a7631e4f
fixes #11333 avoid serializing php7 errors ( #11335 )
...
fixes #11333
9 years ago
Alexander Makarov
2c611b410e
Adjusted changelog wording for #11285
9 years ago
Klimov Paul
205f16811a
Fixed `yii\validators\EachValidator` does not invoke `validateAttribute()` method of the embedded validator
9 years ago
Alexander Makarov
77996374a4
Fixes #10617 : Fixed `yii\web\Request::getBodyParams()` returned `null` instead of empty array if request body is empty and content type is application/json
9 years ago
maine-mike
ad6047e09f
Fixes #10480 : Fixed removing old identity cookie when loggin in as another user without logging out first
9 years ago
kidol
ff55874457
Fixes #11132 : Fixed `yii\widgets\FragmentCache` not handling empty content correctly in all cases
9 years ago
Alexander Makarov
6b00d3519c
Added changelog
9 years ago
SilverFire - Dmitry Naumenko
83fc2446cf
Fixed CHANGELOG lines duplication
9 years ago
mdmunir
d437c4bd37
Add session migration
9 years ago
Angel Guevara
b49488b1f7
Enh new property `skipUpdateOnClean` for `AttributeBehavior` ( #11302 )
...
Fixes #11002 : `AttributeBehavior::$skipUpdateOnClean` which determines whether to skip a behavior when the behavior owner has not been modified
9 years ago
Ivaylo Ushev
5921865459
Fixed : #11270 - Error when link record in one to many relation. ( #11301 )
...
Fixed : #11270 - Error when link record in one to many relation.
9 years ago
SilverFire - Dmitry Naumenko
e5bcbf4e1d
Closes #11228 : `yii.activeForm.js` - AJAX validation will not be triggered if client side validation failed
9 years ago
SilverFire - Dmitry Naumenko
36689a5239
fixed changelog markdown
9 years ago
Aleksei Vesnin
6745bdb65e
Fixed `yii\widgets\ActiveField` to handle inputs AJAX validation with changed ID properly.
...
Tests for `yii\widgets\ActiveField` with custom input ID.
9 years ago
Angel Guevara
b923adf75c
Enh: Support for useTablePrefix parameter in migrate command
...
Fixes #11166 : migrate command new option `useTablePrefix`
9 years ago
Alexander Makarov
48a2df5d52
Fixes #11283 : `ActiveRecord::unlink()` is not setting FK to `null` before deleting itself anymore
9 years ago
Alexander Makarov
f312163258
Fixes #11220 : NumberValidator now handles objects properly
9 years ago
Paul Klimov
b72524d490
Fixes #11280 migrate autogenerate breaks MongoDB migration
...
Fixes #11280 : Descendants of `yii\console\controllers\BaseMigrateController`, like the one for MongoDB, unable to create new migration
9 years ago
Angel Guevara
49aec24ae1
Enh: Migrate command now supports foreign keys
...
Fixes #11207 : migrate command can create foreign keys
9 years ago
Yaroslav Lukyanov
db1a96d876
Added tests for #8920 , used 16bit integers to avoid out of range error
9 years ago
Misbahul D Munir
0e17d652dc
Enhanced RBAC Rule assignment
...
* #11254 Enhanced RBAC Rule assignment
* Enhanced RBAC Rule assignment
9 years ago
Andrii Vasyliev
e8d30f0c51
enable use of yii2 inside of phar packaged console applications
9 years ago
Robbert Jan van de Velde
d438c03dbc
Bug #11223 : Fixed returning an empty array when DbManager::getRolesByUser() was called on a user with user id 0
...
* Bug #11223 : Fixed returning an empty array when DbManager::getRolesByUser() was called on a user with user id 0 (VirtualRJ)
* Added unit tests for #11223
9 years ago
Daniel Gomez Pan
5c38b93691
Fix changelog [skip ci]
9 years ago
Alexander Makarov
cfbe50e96d
Fixes #11026 : Fixed `StringHelper::truncateWords()` to count words properly for non-English text
9 years ago
githubjeka
8e1ec62191
update BooleanValidator
9 years ago
Daniel Gomez Pan
7dc984d359
Fixed #8779 : Automatically set enctype form option when using file input field
9 years ago