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 |
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 |
Carsten Brandt
|
645e78e832
|
fixed message formatter for input where no parameters are provided
fixes #10884
|
9 years ago |
Carsten Brandt
|
5880968d45
|
added unit test for #10946
|
9 years ago |
SilverFire - Dmitry Naumenko
|
4dc771d0a0
|
Fixed DbSessionTest
|
9 years ago |
SilverFire - Dmitry Naumenko
|
1e1baec6e6
|
Reverted c478199
|
9 years ago |
SilverFire - Dmitry Naumenko
|
b641cb7dea
|
Updated ArrayHelperTest::testIsTraversable()
|
9 years ago |
SilverFire - Dmitry Naumenko
|
c478199937
|
Added property `yii\web\DbSession::encodeData` to encode/decode session data in base64 on session read/write
Closes #6173
|
9 years ago |
Sam Mousa
|
16a6af5fa8
|
Add helper function for checking if an object is an array-like object.
Added support for traversable objects in `BaseHtml` and `ArrayHelper`
|
9 years ago |
SilverFire - Dmitry Naumenko
|
d66659e329
|
ArrayHelperTest - groupBy tests moved to a separate method
|
9 years ago |
Chris Harris
|
0ca5a1a86a
|
Fixed test
|
9 years ago |
Chris Harris
|
a997603ab6
|
More Postgres tests
|
9 years ago |
SilverFire - Dmitry Naumenko
|
66c6268e5f
|
FileValidator: updated guide-ru,en, PHP; updated tests
|
9 years ago |
kirSeNN
|
a4c68b5278
|
#5469 added mimetype mask validation feature
|
9 years ago |
Chris Harris
|
f709246cac
|
Fixed test data
|
9 years ago |
Chris Harris
|
cbcdf11836
|
Formatting
|
9 years ago |
Chris Harris
|
0a336df6ba
|
Check return value of strncmp. Corrected SQLite expected schema test data.
|
9 years ago |
Chris Harris
|
f500354040
|
Remove _all_ variants of primary key columns from `testCreateTableColumnTypes()` test
|
9 years ago |
Chris Harris
|
0f0964be90
|
Correct builder type in test data
|
9 years ago |
Chris Harris
|
13823834e2
|
Start of new tests
|
9 years ago |
Chris Harris
|
db5399b124
|
Added `$expectedColumnSchemaBuilder` back to test data
|
9 years ago |
Chris Harris
|
e0e82bc56b
|
`ColumnSchemaBuilder::__toString()` should match `$expected`
|
9 years ago |