Carsten Brandt
37d2373911
added tests for #9047
...
1. verify it only affects composite primary key situation
2. add failing test for composite primary key situation with join
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
bf9fb0e13e
Fixed CheckboxColumnTest::testInputValue()
9 years ago
Carsten Brandt
8d8cd1a26d
adjusted dbms specific tests
9 years ago
Edgard Lorraine Messias
278bfca140
Fixed `quoteColumnName` for table start with `{{` or `[[`
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
fd68e6814e
added failing test for #11088
9 years ago
Carsten Brandt
6309962c5c
more tests for #11056
9 years ago
Carsten Brandt
22503ebe97
allow setting custom logger in Dispatcher via config
...
fixes #11056
9 years ago
SilverFire - Dmitry Naumenko
b77d74b6d6
Fixed broken PostgreSQLQueryBuilderTest::testCommentColumn()
9 years ago
SilverFire - Dmitry Naumenko
b08c82c5fe
Driver specific QueryBuilderTest::testCommentColumn() - improved to use replaceQuotes()
9 years ago
SilverFire - Dmitry Naumenko
2478ba7b20
QueryBuilderTest::testCommentColumn() - improved to use replaceQuotes()
9 years ago
SilverFire - Dmitry Naumenko
8999e66e71
Fixed SqliteQueryBuilderTest
9 years ago
SilverFire - Dmitry Naumenko
1aa2f1d927
Removed sqlite/ColumnSchemaBuilder::comment() method override
9 years ago
SilverFire - Dmitry Naumenko
0fe27b9d3b
Refactored code in PR #9441
9 years ago
Chris Harris
5316576361
Fixes `after()` column string builder ( #11362 )
9 years ago
Edgard Lorraine Messias
8d6b669bc6
Added more tests for mutex; ( #11359 )
9 years ago
Alexander Makarov
5f7cd1cbc4
Skipped RNG performance tests
9 years ago
Klimov Paul
2d5a0bf5ae
`EachValidator::validateAttribute()` fixed to restore original value on error
9 years ago
Klimov Paul
205f16811a
Fixed `yii\validators\EachValidator` does not invoke `validateAttribute()` method of the embedded validator
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
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