Commit Graph

3198 Commits

Author SHA1 Message Date
Taras Gudz
151610f611 Fixed #10784
Added tests for CheckboxColumn value
Updated CHANGELOG
2016-03-20 16:59:21 +02:00
SilverFire - Dmitry Naumenko
a0e614eb20 yii\validators\EachValidator injects specific attribute value in error message parameters
Closes #11139
2016-03-20 16:34:42 +02:00
LAV45
049ea37f77 Fixes #10993: Fixed yii\rbac\DbManager::removeAllRules() and yii\rbac\PhpManager::removeAllItems() 2016-03-16 01:53:48 +03:00
Alexander Makarov
c17f887583 Added StringHelper::countWords() that given a string returns number of words in it 2016-03-16 01:41:57 +03:00
Dmitry Khlystov
7eff23886c Fixes #10726: Added yii\rbac\ManagerInterface::canAddChild() 2016-03-15 22:43:27 +03:00
Chris Harris
b8e44b2f47 Merge branch 'master' of git://github.com/yiisoft/yii2 into 9562-add-char-datatype 2016-03-14 05:33:41 -07:00
SilverFire - Dmitry Naumenko
7229b3aa7d QueryBuilder::buildAndCondition() - added Expression value extraction
Updated CHANGELOG
Added test case for param binding in `or` condition

Closes #11093
2016-03-13 19:22:32 +02:00
CedricYii
2bd14098f9 Fix Expression parameter binding in 'And' clause 2016-03-13 19:19:48 +02:00
SilverFire - Dmitry Naumenko
976b9fe357 Updated ArrayHelperTest to test exceptions of ArrayHelper::isIn() and ::isSubset() 2016-03-10 16:39:21 +02:00
Klimov Paul
6066b63c6e UrlManagerTest fixed 2016-03-09 10:37:13 +02:00
SilverFire - Dmitry Naumenko
8e1ab29592 Changelog updated 2016-03-09 00:01:53 +02:00
Sam Mousa
c4e782725c Fixed cache key collision in yii\web\UrlManager::createUrl()
Closes #10935
2016-03-09 00:01:31 +02:00
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
2016-03-08 15:12:08 +02:00
Ni-san
77599dc179 fixes #11040: make copyDirectory method work correctly with parameter 'recursive' 2016-03-08 00:45:52 +06:00
Alexander Makarov
b2f16df9dc Fixed file header comment 2016-03-04 16:04:01 +03:00
Dmitry Naumenko
857eee2451 Merge pull request #10870 from pana1990/10840-add-shorcuts-console
WIP #10840
2016-03-04 13:53:28 +02:00
Daniel Gomez Pan
1ce21cd927 WIP #10840: rename key 'alias' to '_aliases' 2016-02-27 23:26:34 +01:00
Chris Harris
c955ccfd47 Fixes primary key columns being added to table creation test 2016-02-26 18:00:30 -08:00
Chris Harris
2f91889b70 Removed unsignedPrimaryKey() schema builder type; now, the unsigned() modifier works with primary key types e.g. pk()->unsigned() or bigpk()->unsigned(). 2016-02-26 17:48:03 -08:00
Chris Harris
b697e173fc Fixed unsigned() modifier to enable use with PKs. 2016-02-26 14:14:52 -08:00
Chris Harris
1c7af04937 Merge branch 'master' of git://github.com/yiisoft/yii2 into 9562-add-char-datatype 2016-02-26 12:44:41 -08:00
Chris Harris
91018f6c38 Corrected MSSQL driver name. Fixed array addition to not overwrite matching keys. 2016-02-26 12:44:20 -08:00
Daniel Gomez Pan
9b94dbfe38 Merge remote-tracking branch 'upstream/master' into 10969-fix-migration 2016-02-26 15:58:17 +01:00
Daniel Gomez Pan
03cb361a59 Fixed #10969: add more tests 2016-02-26 15:57:41 +01:00
Chris Harris
553cca642c Reverted unsigned() pk modifier 2016-02-26 06:09:22 -08:00
Chris Harris
bce09c19c2 Merge branch 'master' of git://github.com/yiisoft/yii2 into 9562-add-char-datatype 2016-02-26 05:34:05 -08:00
Chris Harris
f7d23f662d Made base QueryBuilderTest abstract to exclude it from tests. Added upgrade notes. 2016-02-26 05:27:31 -08:00
Klimov Paul
779b1e90ce yii\validators\DateValidator skip validation for timestampAttribute, if it is already in correct format 2016-02-26 15:02:22 +02:00
Chris Harris
030ee68b01 Testing unsigned() modifier on PKs (now $this->primaryKey()->unsigned() works) 2016-02-26 04:39:05 -08:00
Chris Harris
732a51b551 All common column definitions and expected outputs now in QueryBuilderTest::columnTypes(). DbmsSpecificQueryBuilderTest::columnTypes() adds DBMS specific column definitions. 2016-02-26 03:53:05 -08:00
Chris Harris
4531b981f4 Items with text only in col 3 will be ignored 2016-02-26 00:35:27 -08:00
Chris Harris
f3cf4af4de Merge branch 'master' of git://github.com/yiisoft/yii2 into 9562-add-char-datatype
# Conflicts:
#	framework/db/sqlite/QueryBuilder.php
2016-02-26 00:14:29 -08:00
Chris Harris
8eb746d1f1 Testing multi-DBMS capable column schema test data array 2016-02-26 00:05:43 -08:00
Daniel Gomez Pan
921b102961 Fixed #10969: generator migration tool not works with decimal params in column 2016-02-26 03:34:03 +01:00
Vladimir Khramov
8db7df9352 replace all occurrences of migration class 2016-02-26 10:04:24 +10:00
Carsten Brandt
645e78e832 fixed message formatter for input where no parameters are provided
fixes #10884
2016-02-25 19:39:52 +01:00
Carsten Brandt
5880968d45 added unit test for #10946 2016-02-25 18:21:56 +01:00
SilverFire - Dmitry Naumenko
4dc771d0a0 Fixed DbSessionTest 2016-02-25 12:35:16 +02:00
SilverFire - Dmitry Naumenko
1e1baec6e6 Reverted c478199 2016-02-25 12:14:22 +02:00
SilverFire - Dmitry Naumenko
b641cb7dea Updated ArrayHelperTest::testIsTraversable() 2016-02-25 12:02:48 +02:00
SilverFire - Dmitry Naumenko
c478199937 Added property yii\web\DbSession::encodeData to encode/decode session data in base64 on session read/write
Closes #6173
2016-02-25 00:17:26 +02:00
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`
2016-02-24 23:49:05 +02:00
SilverFire - Dmitry Naumenko
d66659e329 ArrayHelperTest - groupBy tests moved to a separate method 2016-02-24 23:08:59 +02:00
SilverFire - Dmitry Naumenko
54c0d9a31c Merge branch 'helper_indexbydimensions' of https://github.com/quantum13/yii2 into quantum13-helper_indexbydimensions 2016-02-24 21:35:51 +02:00
Chris Harris
0ca5a1a86a Fixed test 2016-02-24 04:31:50 -08:00
Chris Harris
a6afa6072c Merge branch 'master' of git://github.com/yiisoft/yii2 into 9562-add-char-datatype 2016-02-24 04:07:21 -08:00
Chris Harris
a997603ab6 More Postgres tests 2016-02-24 04:06:32 -08:00
SilverFire - Dmitry Naumenko
66c6268e5f FileValidator: updated guide-ru,en, PHP; updated tests 2016-02-24 09:05:29 +02:00
kirSeNN
a4c68b5278 #5469 added mimetype mask validation feature 2016-02-24 00:40:34 +02:00
Chris Harris
f709246cac Fixed test data 2016-02-22 10:05:47 -08:00