AnikanovD
239d7814eb
Fixes #11739 : Fixed ArrayHelper::index() losing precision for float keys
2016-06-19 15:00:46 +03:00
AnikanovD
b39a0a1e5a
Fixes #11774 : Fixed incorrect recusuive symlinks check in FileHelper
2016-06-18 17:34:25 +03:00
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.
2016-06-18 15:03:55 +03:00
Carsten Brandt
b211e6bf69
added failing test for #11686
...
test BaseArrayHelper::isIn() in strict mode
2016-06-09 13:08:26 +02:00
Sam
2ebccf0e73
Skip filehelper tests (and mark them as incomplete) when runtime is not a local file system. ( #11713 )
2016-06-07 12:58:35 +02:00
Sam
cf820a98d7
Fixed issue #11712 : DbSessionTest is now skipped when SQLite is not available. ( #11714 )
2016-06-07 12:22:22 +02:00
Alexander Makarov
7cea46bcb4
Changed SQLite fix #11652 according to https://github.com/yiisoft/yii2/pull/11653#issuecomment-224016289
2016-06-06 19:57:42 +03:00
Boudewijn Vahrmeijer
0a60466729
Fixes #11527 : Fixed bigPrimaryKey() for SQLite
2016-06-06 19:33:22 +03:00
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
2016-05-24 09:35:23 +03:00
maine-mike
7249a6c99e
Move Identity Cookie code into separate functions
2016-05-22 12:12:04 +03:00
SilverFire - Dmitry Naumenko
77b29bf927
Added tests to ColumnSchemaBuilderTest in order to verify custom column types work OK
2016-05-22 12:03:44 +03:00
Paul Klimov
7e7db38011
Fix #11591 ActionFilter wildcard ( #11594 )
...
* Added support for wildcards for `only` and `except` at `yii\base\ActionFilter`
2016-05-20 11:04:17 +02:00
SilverFire - Dmitry Naumenko
0ff6eeba7d
Enhanced 9f499eb: yii\web\User::checkRedirectAcceptable() removed check for "*" type (invalid in accept header)
2016-05-16 01:11:47 +03:00
SilverFire - Dmitry Naumenko
b976f638d8
Added test for PgSQL BIGINT column to ensure typecasting works OK
...
Closes #11286
2016-05-15 23:05:30 +03:00
SilverFire - Dmitry Naumenko
9f499eb51e
Fixed yii\web\User::checkRedirectAcceptable() to treat acceptable content type */* as *
...
Closes #11523
2016-05-15 22:27:40 +03:00
Dmitry Naumenko
c3c0d04f5b
Merge pull request #11547 from yiisoft/11429-message-source
...
Fixed `yii\i18n\PhpMessageSource::loadFallbackMessages()`
2016-05-15 21:59:50 +03:00
Oleg Balykin
515732c7b8
Test for bug dbTypecast with empty char #11548
2016-05-13 16:37:20 +03:00
SilverFire - Dmitry Naumenko
f7ff153fce
Fixed yii\i18n\PhpMessageSource::loadFallbackMessages() not to log error when source and language is same, but locales are different
2016-05-12 01:30:17 +03:00
Sergey Smirnov
1ed6fc09f6
#10825 Fixed EachValidator does not respect skipOnEmpty when using model ( #11507 )
2016-05-11 14:11:32 +02:00
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
2016-05-06 11:04:27 +02:00
SilverFire - Dmitry Naumenko
53e1018648
Updated yii\grid\DataColumn::getHeaderCellLabel() to extract attribute label from the filterModel of Grid
...
Closes #9950
2016-05-03 15:01:33 +03:00
SilverFire - Dmitry Naumenko
030913e7f0
Fixed code style and indentations
2016-05-03 14:51:25 +03:00
SilverFire - Dmitry Naumenko
aaf6c844fb
Added DataColumnTest
2016-05-03 14:51:25 +03:00
mdmunir
7dc9d07bcd
Changable default flavor for Markdown helper
...
close #11438
2016-05-03 11:14:05 +02:00
Carsten Brandt
5bc2f3a851
avoid random test failure
2016-04-28 16:57:34 +02:00
Alexander Makarov
e00c9d904e
Fixed tests to run properly on Windows
2016-04-28 13:52:45 +03:00
Carsten Brandt
e94b68436d
complete test coverage for reading /dev/urandom
...
fixes an issue with buffered reading
2016-04-28 11:45:37 +02:00
Carsten Brandt
49028af437
skip testing /dev/urandom on windows
...
also removed redundant test
2016-04-28 11:09:09 +02:00
Carsten Brandt
2aeb479341
better unit test for generateRandomBytes()
2016-04-28 04:05:45 +02:00
Vladimir Khramov
c6d04644d3
passing properties to recursive call if properties of top object are not specified
...
fixes #7717
close #10960
2016-04-28 02:34:10 +02:00
Carsten Brandt
4411a74ebd
proper fix for #9425 , adjust changes from #11363
...
includes tests and fix that works in all cases.
2016-04-28 01:29:07 +02:00
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
2016-04-26 21:56:40 +02:00
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
2016-04-26 19:22:41 +02:00
SilverFire - Dmitry Naumenko
8c2a70b3e7
Moved TraversableObject to yiiunit\data\base namespace
2016-04-26 13:30:37 +03:00
SilverFire - Dmitry Naumenko
e2e4f76229
Updated SqliteQueryBuilderTest to work with Composite in conditions
...
Updated code style, CHANGELOG
2016-04-25 23:36:41 +03:00
Sam Mousa
baab8d6a68
QueryBuilder now supports Traversable objects for IN clauses.
2016-04-25 23:36:32 +03:00
SilverFire - Dmitry Naumenko
813d1d9c31
DbSessionTest::testMigration() does not display migration process anymore (insted of 8de6fde)
2016-04-25 11:30:08 +03:00
SilverFire - Dmitry Naumenko
8de6fde989
Added Console helper mock, updated DbSessionTest::testMigration() to hide migration process output
2016-04-25 11:19:15 +03:00
Alexander Makarov
4f4fa6fdf0
Fixes #10710 : yii\helpers\FileHelper::copyDirectory() is now throwing exception when trying to copy a directory to itself or a subdirectory
2016-04-23 01:58:33 +03:00
SilverFire - Dmitry Naumenko
f21e472c98
Update UserTest::testLoginRequired(), CHANGELOG
2016-04-22 22:22:02 +03:00
Andrii Vasyliev
b4995c3990
Fixed yii\console\Application::runAction to not to corrupt response exit code when action returns Response object
...
close #10235
2016-04-22 17:24:11 +02:00
raoul
60f6ecf063
yii\db\BaseActiveRecord now triggers event EVENT_AFTER_REFRESH` after a record is refreshed
...
fixes #9604
close #10867
2016-04-22 17:14:41 +02:00
Sam Mousa
5f1a5fbcf7
Implemented DI for callable component configuration
...
fixes #10908
2016-04-22 17:03:18 +02:00
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
2016-04-22 16:39:06 +02:00
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
2016-04-22 14:05:24 +02:00
Carsten Brandt
640532d0c0
Merge pull request #11403 from yiisoft/fix-11176
...
This superseeds #11238 , #11135 , #11176 .
fixes #11088
2016-04-22 13:14:45 +02:00
SilverFire - Dmitry Naumenko
bf9fb0e13e
Fixed CheckboxColumnTest::testInputValue()
2016-04-22 14:02:48 +03:00
Carsten Brandt
8d8cd1a26d
adjusted dbms specific tests
2016-04-22 12:56:56 +02:00
Edgard Lorraine Messias
278bfca140
Fixed quoteColumnName for table start with {{ or [[
2016-04-22 12:41:25 +02:00
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
2016-04-22 12:31:46 +02:00