maine-mike
ad6047e09f
Fixes #10480 : Fixed removing old identity cookie when loggin in as another user without logging out first
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
3b32359fa9
Updated ActiveRecordTestTrait to ensure nested relations work as expected
9 years ago
Mikk Tendermann
2f9395bbd6
fix #11299
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
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
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
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
SilverFire - Dmitry Naumenko
499ee6de9e
Added CH test sentence to InflectorTest
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
Carsten Brandt
608066b05f
fixed ActiveForm tests for output buffering
...
related to #8779 , and 7dc984d359
9 years ago
Daniel Gomez Pan
7dc984d359
Fixed #8779 : Automatically set enctype form option when using file input field
9 years ago
Angel Guevara
3cbd64547a
Additional phpdoc for #11187
9 years ago
particleflux
1dfab19b77
Fixes #11137 : Added weak ETag support to `yii\filters\HttpCache`. It could be turned on via setting `$weakEtag` to `true`
9 years ago
Damian Zajkowski
3fb85fb84e
Fixing VarDumper for throwing PHP Fatal when dumping __PHP_Incomplete_Class. #11196 issue.
9 years ago
Alexander Makarov
4cb0c1b55c
Fixed tests
9 years ago
Sam Mousa
c7436909f4
Added optional `$checkHeader` param to loginRequired for checking the Accept header; defaults to `true`.
...
Added changelog line.
Fixed DbSessionTest
Added version annotations.
Improvements to phpdoc and whitespace.
9 years ago
SilverFire - Dmitry Naumenko
5db2afbaeb
Code style fixed, PHPDoc updated
9 years ago
mdmunir
67b5f4ea19
fix for unsafe validator
...
Closes #8145 #8139 #11153
9 years ago
Chris Harris
2fe6cee8bf
Added SQLite bigpk test. Moved schema builder patterns spreadsheet to docs/internals folder.
9 years ago
Chris Harris
0b2db6f18a
Fixing tests
9 years ago
Chris Harris
7bfcd0c427
Fixing tests
9 years ago
Chris Harris
d8d10229c6
Fixing tests
9 years ago
LAV45
6c2545c807
Added SVG image and SVG mimeType test to FileValidatorTest
9 years ago
SilverFire - Dmitry Naumenko
a0f9bf2893
Fixed `yii\web\UploadedFile::getBaseName()` to be multibyte-safe, added test
9 years ago
Taras Gudz
151610f611
Fixed #10784
...
Added tests for CheckboxColumn value
Updated CHANGELOG
9 years ago
SilverFire - Dmitry Naumenko
a0e614eb20
`yii\validators\EachValidator` injects specific attribute value in error message parameters
...
Closes #11139
9 years ago
LAV45
049ea37f77
Fixes #10993 : Fixed `yii\rbac\DbManager::removeAllRules()` and `yii\rbac\PhpManager::removeAllItems()`
9 years ago
Alexander Makarov
c17f887583
Added `StringHelper::countWords()` that given a string returns number of words in it
9 years ago
Dmitry Khlystov
7eff23886c
Fixes #10726 : Added `yii\rbac\ManagerInterface::canAddChild()`
9 years ago
SilverFire - Dmitry Naumenko
7229b3aa7d
QueryBuilder::buildAndCondition() - added Expression value extraction
...
Updated CHANGELOG
Added test case for param binding in `or` condition
Closes #11093
9 years ago
CedricYii
2bd14098f9
Fix Expression parameter binding in 'And' clause
9 years ago
SilverFire - Dmitry Naumenko
976b9fe357
Updated ArrayHelperTest to test exceptions of `ArrayHelper::isIn()` and `::isSubset()`
9 years ago
Klimov Paul
6066b63c6e
`UrlManagerTest` fixed
9 years ago
SilverFire - Dmitry Naumenko
8e1ab29592
Changelog updated
9 years ago
Sam Mousa
c4e782725c
Fixed cache key collision in `yii\web\UrlManager::createUrl()`
...
Closes #10935
9 years ago
Robbert Jan van de Velde
c7f365910d
Fixed handling of intervals of 0 seconds in yii\i18n\Formatter::asDuration().
...
Added unit tests for handling 0 second intervals and numeric values for yii\i18n\Formatter::asDuration().
Closes #11038
9 years ago
Ni-san
77599dc179
fixes #11040 : make copyDirectory method work correctly with parameter 'recursive'
9 years ago
Daniel Gomez Pan
1ce21cd927
WIP #10840 : rename key 'alias' to '_aliases'
9 years ago
Chris Harris
c955ccfd47
Fixes primary key columns being added to table creation test
9 years ago
Chris Harris
2f91889b70
Removed `unsignedPrimaryKey()` schema builder type; now, the `unsigned()` modifier works with primary key types e.g. `pk()->unsigned()` or `bigpk()->unsigned()`.
9 years ago
Chris Harris
b697e173fc
Fixed `unsigned()` modifier to enable use with PKs.
9 years ago
Chris Harris
91018f6c38
Corrected MSSQL driver name. Fixed array addition to not overwrite matching keys.
9 years ago