AnikanovD
239d7814eb
Fixes #11739 : Fixed `ArrayHelper::index()` losing precision for float keys
8 years ago
AnikanovD
b39a0a1e5a
Fixes #11774 : Fixed incorrect recusuive symlinks check in FileHelper
8 years ago
Thiago
bafc8b3325
Fixes #10422 , #9574 : New proposal fix for ColumnSchemaBuilder not null column
...
* Added ability to explicitly set column nullability #10422
* Removed isNull property.
* add since tag.
8 years ago
Carsten Brandt
b211e6bf69
added failing test for #11686
...
test BaseArrayHelper::isIn() in strict mode
8 years ago
Sam
2ebccf0e73
Skip filehelper tests (and mark them as incomplete) when runtime is not a local file system. ( #11713 )
8 years ago
Sam
cf820a98d7
Fixed issue #11712 : DbSessionTest is now skipped when SQLite is not available. ( #11714 )
8 years ago
Alexander Makarov
7cea46bcb4
Changed SQLite fix #11652 according to https://github.com/yiisoft/yii2/pull/11653#issuecomment-224016289
8 years ago
Boudewijn Vahrmeijer
0a60466729
Fixes #11527 : Fixed `bigPrimaryKey()` for SQLite
8 years ago
Angel Guevara
fdbf7d85a1
Simple tests ( #11606 )
...
* method to simplify migrate/create tests
* use new assertion for all migration/create tests
* move the expected files to test/data/console
8 years ago
maine-mike
7249a6c99e
Move Identity Cookie code into separate functions
8 years ago
SilverFire - Dmitry Naumenko
77b29bf927
Added tests to ColumnSchemaBuilderTest in order to verify custom column types work OK
8 years ago
Paul Klimov
7e7db38011
Fix #11591 `ActionFilter` wildcard ( #11594 )
...
* Added support for wildcards for `only` and `except` at `yii\base\ActionFilter`
8 years ago
SilverFire - Dmitry Naumenko
0ff6eeba7d
Enhanced 9f499eb: `yii\web\User::checkRedirectAcceptable()` removed check for "*" type (invalid in accept header)
8 years ago
SilverFire - Dmitry Naumenko
b976f638d8
Added test for PgSQL BIGINT column to ensure typecasting works OK
...
Closes #11286
8 years ago
SilverFire - Dmitry Naumenko
9f499eb51e
Fixed `yii\web\User::checkRedirectAcceptable()` to treat acceptable content type `*/*` as `*`
...
Closes #11523
8 years ago
Oleg Balykin
515732c7b8
Test for bug dbTypecast with empty char #11548
8 years ago
SilverFire - Dmitry Naumenko
f7ff153fce
Fixed `yii\i18n\PhpMessageSource::loadFallbackMessages()` not to log error when source and language is same, but locales are different
9 years ago
Sergey Smirnov
1ed6fc09f6
#10825 Fixed EachValidator does not respect skipOnEmpty when using model ( #11507 )
9 years ago
Paul Klimov
6b607d078f
#11498 : Fixed unable to saved serialized object into PostgreSQL binary column ( #11499 )
...
#11498 : Fixed unable to saved serialized object into PostgreSQL binary column
9 years ago
SilverFire - Dmitry Naumenko
53e1018648
Updated `yii\grid\DataColumn::getHeaderCellLabel()` to extract attribute label from the `filterModel` of Grid
...
Closes #9950
9 years ago
SilverFire - Dmitry Naumenko
030913e7f0
Fixed code style and indentations
9 years ago
SilverFire - Dmitry Naumenko
aaf6c844fb
Added DataColumnTest
9 years ago
mdmunir
7dc9d07bcd
Changable default flavor for Markdown helper
...
close #11438
9 years ago
Carsten Brandt
5bc2f3a851
avoid random test failure
9 years ago
Alexander Makarov
e00c9d904e
Fixed tests to run properly on Windows
9 years ago
Carsten Brandt
e94b68436d
complete test coverage for reading /dev/urandom
...
fixes an issue with buffered reading
9 years ago
Carsten Brandt
49028af437
skip testing /dev/urandom on windows
...
also removed redundant test
9 years ago
Carsten Brandt
2aeb479341
better unit test for generateRandomBytes()
9 years ago
Vladimir Khramov
c6d04644d3
passing properties to recursive call if properties of top object are not specified
...
fixes #7717
close #10960
9 years ago
Carsten Brandt
4411a74ebd
proper fix for #9425 , adjust changes from #11363
...
includes tests and fix that works in all cases.
9 years ago
Carsten Brandt
00d506c398
completed implementation for #7177
...
added TYPE_TIME and default values for format to be chosen from
corresponding formatter variable
fixes #7177
close #10778
9 years ago
Robbert Jan
bb0ef88860
Enhancement for DateValidator ( #7177 , #10165 )
...
Added parameter to define if checking for 'date' or 'dateTime'
and updated parseDateValueIntl($value, $format) to facilitate
this validation based on defined type.
Added unit tests to for validating dateTime values when using short format validation.
close #10778
9 years ago
SilverFire - Dmitry Naumenko
8c2a70b3e7
Moved TraversableObject to yiiunit\data\base namespace
9 years ago
SilverFire - Dmitry Naumenko
e2e4f76229
Updated SqliteQueryBuilderTest to work with Composite in conditions
...
Updated code style, CHANGELOG
9 years ago
Sam Mousa
baab8d6a68
QueryBuilder now supports `Traversable` objects for `IN` clauses.
9 years ago
SilverFire - Dmitry Naumenko
813d1d9c31
DbSessionTest::testMigration() does not display migration process anymore (insted of 8de6fde
)
9 years ago
SilverFire - Dmitry Naumenko
8de6fde989
Added Console helper mock, updated DbSessionTest::testMigration() to hide migration process output
9 years ago
Alexander Makarov
4f4fa6fdf0
Fixes #10710 : `yii\helpers\FileHelper::copyDirectory()` is now throwing exception when trying to copy a directory to itself or a subdirectory
9 years ago
SilverFire - Dmitry Naumenko
f21e472c98
Update UserTest::testLoginRequired(), CHANGELOG
9 years ago
Andrii Vasyliev
b4995c3990
Fixed `yii\console\Application::runAction` to not to corrupt response exit code when action returns Response object
...
close #10235
9 years ago
raoul
60f6ecf063
`yii\db\BaseActiveRecord` now triggers event EVENT_AFTER_REFRESH` after a record is refreshed
...
fixes #9604
close #10867
9 years ago
Sam Mousa
5f1a5fbcf7
Implemented DI for callable component configuration
...
fixes #10908
9 years ago
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