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
Alexander Makarov
b2f16df9dc
Fixed file header comment
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
Daniel Gomez Pan
03cb361a59
Fixed #10969 : add more tests
9 years ago
Chris Harris
553cca642c
Reverted `unsigned()` pk modifier
9 years ago
Chris Harris
f7d23f662d
Made base `QueryBuilderTest` abstract to exclude it from tests. Added upgrade notes.
9 years ago
Klimov Paul
779b1e90ce
`yii\validators\DateValidator` skip validation for `timestampAttribute`, if it is already in correct format
9 years ago
Chris Harris
030ee68b01
Testing `unsigned()` modifier on PKs (now `$this->primaryKey()->unsigned()` works)
9 years ago
Chris Harris
732a51b551
All common column definitions and expected outputs now in `QueryBuilderTest::columnTypes()`. `DbmsSpecificQueryBuilderTest::columnTypes()` adds DBMS specific column definitions.
9 years ago
Chris Harris
4531b981f4
Items with text only in col 3 will be ignored
9 years ago
Chris Harris
8eb746d1f1
Testing multi-DBMS capable column schema test data array
9 years ago
Daniel Gomez Pan
921b102961
Fixed #10969 : generator migration tool not works with decimal params in column
9 years ago
Vladimir Khramov
8db7df9352
replace all occurrences of migration class
9 years ago