59 Commits

Author SHA1 Message Date
0858d0a834 added test for querybuilder select
close #8895
2015-06-26 00:13:08 +02:00
bda90b6ad3 added another test for #8848
close #8850
2015-06-21 23:18:09 +02:00
6ab64c9b35 Add test for #8848 2015-06-21 23:09:02 +02:00
372ff87ee4 Test for #8228 2015-06-17 23:14:33 +02:00
d0c6cb7700 abort removing duplicate records when pk is not in result set
in this cases it does not make sense to remove duplicates as the result is not on record level anymore.
This could be the case after GROUP BY has been applied.

fixes #8772
2015-06-14 19:29:57 +02:00
58760538d0 Merge branch 'master' of github.com:yiisoft/yii2 into 8670-multi-data-session 2015-06-09 12:58:17 +03:00
d9d1fceef6 Unite test for yii\web\DbSession added 2015-06-09 12:57:48 +03:00
879911810f added test for createTable and alterTable
test for issue #8627
close #8628
2015-06-08 20:40:24 +02:00
28877f8e99 Merge pull request #8652 from klimov-paul/8627-invalidate-table-schema-cache
Fix #8627: invalidate table schema cache on DDL
2015-06-08 21:18:58 +03:00
9cc0e5d89d even more 32bit friendly test
issue #8584
2015-06-06 02:39:19 +02:00
8e44674e7b fixed another test to work on 32bit
issue #8584
2015-06-05 19:01:45 +02:00
ab9326dd26 fixed test for 32bit systems
fixes #8584
2015-06-05 18:58:09 +02:00
72f9e63e10 Table schema auto refreshing on DDL added to yii\db\Command 2015-06-04 13:53:11 +03:00
fb0062114e Method yii\db\Schema::refreshTableSchema() added 2015-06-04 12:57:16 +03:00
0d48f1041e Fixed yii\db\Command::getRawSql() unable to parse params specified without colon (':') 2015-06-02 13:45:28 +03:00
a849e815df Fixed yii\db\ActiveQuery produces incorrect SQL for aggregations, when sql field is set 2015-05-29 13:18:20 +03:00
0874ffac38 Fixed yii\helpers\Html::activeTextarea() does not allow value overriding via options 2015-05-29 12:31:52 +03:00
aa5887fec7 added missing use statement to fix #8572
- added unit tests for timestamp behavior and insert with expression
- fixed issue #8572

close #8596
2015-05-29 01:37:47 +02:00
8eaacd7320 added comment to datevalidator test
issue #8584
2015-05-28 12:05:39 +02:00
bc6cc9bfce Unit test for yii\data\Pagination added 2015-05-27 15:48:18 +03:00
d4d972b535 Merge branch '6043-html-arrays'
Conflicts:
	framework/CHANGELOG.md
2015-05-27 11:56:58 +03:00
51a442d6c8 Fixed yii\db\ActiveRecord does not updates attribute specified at optimisticLock() after save 2015-05-26 11:53:34 +03:00
57db031d1c Merge branch 'master' into 7374-inserting-ar-without-values 2015-05-24 23:29:40 +02:00
a63fc2ff59 properly quote sequence name in Schema::getLastInsertId()
fixes #8483
close #8515
2015-05-21 22:42:34 +02:00
0f04af1af9 Added support to automatically set the maxlength attribute for Html::activeTextArea() and Html::activePassword() 2015-05-20 12:05:53 +03:00
0a7191dbfe Preserving of the named key classes at yii\helpers\Html::addCssClass() provided 2015-05-18 12:48:51 +03:00
41f6a6e558 Specification for 'class' and 'style' in array format added to yii\helpers\Html 2015-05-18 12:14:57 +03:00
a73ce736ee improved unit test for date formatter 2015-05-18 02:15:59 +02:00
3c2bd76236 allow negative dates for date formatter
fixes #8451
2015-05-18 02:14:14 +02:00
c1fcd2956b added unit test for issue #8217
close #8217
2015-05-17 00:50:29 +02:00
94acb2e126 add unit tests to check lastInsertId 2015-05-16 11:47:31 +02:00
01345874a3 add working QueryBuilder test for Oracle 2015-05-16 11:31:52 +02:00
3a39f8ab72 yii\helpers\Html allows correct rendering of conditional comments containing !IE 2015-05-14 16:22:26 +03:00
72ec914992 yii\console\controllers\MessageController improved allowing extraction of nested translator calls 2015-05-13 15:49:00 +03:00
78d3a856d3 Added Json::htmlEncode() to support safer JSON data encoding in HTML code 2015-05-09 23:38:17 -04:00
94d6843f8b added FragmentCache test for issue #8273 2015-05-05 23:12:10 +02:00
bc735bb390 FileHelper usage added to AssetControllerTest 2015-05-04 20:07:19 +03:00
b31b9e2411 Fix conversion of ICU 'L' symbol.
L should not contain a leading zero.
Added a test for this too.

close #7761
2015-05-03 01:04:49 +02:00
3f24954659 Added min/max option to DateValidator.
Refs #7514
close #8115
2015-05-03 00:50:35 +02:00
1c41c2bd58 added DateValidator::$timestampAttributeTimeZone
this also makes DateValidator completly functional for validating values that include time.

issue #5053
2015-05-02 23:52:37 +02:00
d60445c066 Add DateValidator::$timestampAttributeFormat
includes refactoring of the formatting method to fix some major timezone issues.

fixes #5053
close #6820
2015-05-01 18:53:28 +02:00
543daf099f Added Formatter:$numberFormatterSymbols
this allows to specify custom symbols such as currency symbol.
also improved error reporting in case intl fails

fixes #7915, close #7920
2015-04-30 19:10:17 +02:00
159c17abec added tests for non intl #8203 2015-04-27 23:40:28 +02:00
1b1147bdad added unit test for #8203 2015-04-27 23:39:04 +02:00
a2af3868ad Test for yii\helpers\VarDumper unified 2015-04-22 18:57:47 +03:00
f2f211f610 Fallback for object containing \Closure added to yii\helpers\VarDumper::export() 2015-04-22 18:13:40 +03:00
91777ae7cc added test for explicit primary Key on auto increment column
relates to #8071
https://github.com/yiisoft/yii2/pull/8071/files#r28787581
2015-04-21 17:20:32 +02:00
6d96d3cbee Fixed yii\db\BaseActiveRecord::updateCounters() fails for new record saved with counter attribute not set 2015-04-21 16:23:00 +03:00
5f099b3f8d Merge branch 'master' into 7374-inserting-ar-without-values 2015-04-21 09:49:46 +02:00
30234292ac Merge pull request #8071 from klimov-paul/5042-insert-returning
Insert into returning alternative
2015-04-21 10:33:01 +03:00