Alexander Makarov
df6cdf7ad5
Fixed code style
9 years ago
PowerGamer1
73eb62a3cd
DBMS specific workarounds for unsupported SQL92 form of `SELECT EXISTS()` ( #11369 )
9 years ago
PowerGamer1
806eb57990
Fixes #9425 : ActiveQuery::exists() should generate SELECT EXISTS() ( #11363 )
9 years ago
Alexander Makarov
0c6c1eebd1
Better buffer usage description as suggested by @tom--
...
https://github.com/yiisoft/yii2/pull/11285#discussion_r59960199
9 years ago
A Slatius
293feeb522
Update QueryInterface.php
...
Missing closing bracket in OR condition example
9 years ago
Evgeniy Tkachenko
8001f2b259
Update BaseDataProvider.php ( #11342 )
9 years ago
Evgeniy Tkachenko
f6094ee519
Update Pagination.php ( #11343 )
9 years ago
zuozp8
95a7631e4f
fixes #11333 avoid serializing php7 errors ( #11335 )
...
fixes #11333
9 years ago
Alexander Makarov
6a80a132e2
Converted constant into local variable #11285
9 years ago
Alexander Makarov
2c611b410e
Adjusted changelog wording for #11285
9 years ago
Klimov Paul
2d5a0bf5ae
`EachValidator::validateAttribute()` fixed to restore original value on error
9 years ago
Klimov Paul
7bdc0787ac
Extra note add to `EachValidator` doc
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
Alexandr
0d81e351f0
Changed new instance creation style
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
Arzamastsev Mikhail
59ed5e18d6
ErrorHandler HttpException message translation ( #11303 )
9 years ago
Mikk Tendermann
2f9395bbd6
fix #11299
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
Klimov Paul
de3c7d9d27
Fix `MigrateController`
9 years ago
Paul Klimov
e2cdaa40a2
`MigrateController` refactored avoiding internal state changing
9 years ago
Angel Guevara
b923adf75c
Enh: Support for useTablePrefix parameter in migrate command
...
Fixes #11166 : migrate command new option `useTablePrefix`
9 years ago
Klimov Paul
a90ffecdb3
`MigrateController` refactored avoiding internal state changing
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
81b18e1538
Fixed variable name
9 years ago
Alexander Makarov
371440d59a
More Security component enhancements
...
- Removed PHP version checks since both are met by default because Yii requires 5.4.0+.
- Limit PHP fread buffer in order to prevent entropy wasting.
- Fixed incorrect bytes to read calculation.
- Added more notes explaining decisions.
9 years ago
Tom Worster
c455a3c54b
Security component enhancements
...
- Added tests for random key generation speed.
- Better generateRandomKey() performance for small reads because of using fopen + buffered read and local caching of source detection.
- Use /dev/random on FreeBSD.
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
Aris Karageorgos
6bffe761b1
Fixed Wording
9 years ago
Carsten Brandt
e05f55bd13
Update PgsqlMutex.php
...
fixed `@since` annotation.
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
John Was
84f37705bf
Fixes #8920 : Added `yii\mutex\PgsqlMutex` which implements mutex "lock" mechanism via PgSQL locks
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
Joel Waldock
20de74d343
Fix spelling in Controller.php
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
Dmitrijs Goroščuks
cd47752e77
Fix LV translation in compare validator
9 years ago
Angel Guevara
0bd7bb961f
[doc] link to unexistant class
...
`\yii\behaviors\Expression` to `\yii\db\Expression`
9 years ago
Alexander Makarov
cfbe50e96d
Fixes #11026 : Fixed `StringHelper::truncateWords()` to count words properly for non-English text
9 years ago