Commit Graph

2875 Commits

Author SHA1 Message Date
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
Chris Harris
cbcdf11836 Formatting 2016-02-22 09:47:25 -08:00
Chris Harris
0a336df6ba Check return value of strncmp. Corrected SQLite expected schema test data. 2016-02-22 09:30:04 -08:00
Chris Harris
f500354040 Remove _all_ variants of primary key columns from testCreateTableColumnTypes() test 2016-02-22 09:08:34 -08:00
Chris Harris
0f0964be90 Correct builder type in test data 2016-02-22 08:46:16 -08:00
Chris Harris
13823834e2 Start of new tests 2016-02-22 08:39:41 -08:00
Chris Harris
db5399b124 Added $expectedColumnSchemaBuilder back to test data 2016-02-22 05:28:54 -08:00
Chris Harris
e0e82bc56b ColumnSchemaBuilder::__toString() should match $expected 2016-02-22 05:10:55 -08:00
Chris Harris
3761682edf Upgraded some tests. Fixed MySQL test fixtures to create all tables with InnoDB. 2016-02-22 04:53:14 -08:00
Chris Harris
201a8baac1 Merge branch 'master' of git://github.com/yiisoft/yii2 into 9562-add-char-datatype
# Conflicts:
#	framework/CHANGELOG.md
2016-02-22 04:15:27 -08:00
Chris Harris
81ff4752d9 Added CHECK modifier to PK schema pattern. Modified UNSIGNED tests to not include modifier by default (i.e. only present when testing DBMSes that support it). 2016-02-22 04:06:17 -08:00
Carsten Brandt
2d74a8da41 added test for DetailView related attribute
issue #10923
2016-02-22 09:50:32 +01:00
Chris Harris
eaeb926768 Adds char datatype to framework 2016-02-20 01:52:23 -08:00
Carsten Brandt
6c5c2ff64f added test for AccessRule class
related to #10898
2016-02-19 17:04:35 +01:00
Carsten Brandt
187c314d01 better fix for test break b9880f3247 2016-02-17 14:27:10 +01:00
SilverFire - Dmitry Naumenko
4e4fb02264 Fixed QueryBuilterTest for PgSQL 2016-02-17 07:42:04 +02:00
Daniel Gomez Pan
26ff223855 WIP #10840: add display shorcuts in help command 2016-02-16 22:56:29 +01:00
Daniel Gomez Pan
edfdb54430 WIP #10840: rename shortCuts() to optionAliases() 2016-02-16 22:35:40 +01:00
Carsten Brandt
b9880f3247 added test for custom index hints in FROM and JOIN
close #10869
2016-02-16 21:24:00 +01:00
Daniel Gomez Pan
a0a44c382a WIP #10840 2016-02-16 15:47:28 +01:00
Sam Mousa
af5f5d0e3e Fixes #9851: Fixed partial commit / rollback in nested transactions 2016-02-15 23:32:32 +03:00
quantum
7b46bd1f7c Fixes #10451: Check of existence of $_SERVER in \yii\web\Request before using it 2016-02-15 23:22:45 +03:00
Daniel Gomez Pan
3bf3c20710 Merge remote-tracking branch 'upstream/master' into 10764-enh-options-tag
# Conflicts:
#	framework/CHANGELOG.md
2016-02-15 17:37:40 +01:00
Vladimir Khramov
ef8b0a2be0 parameter dimensions in ArrayHelper::index 2016-02-15 17:47:44 +10:00