Matvey Vasenin
b456f699cc
Implemented SchemaBuilder
2015-07-08 15:38:21 +03:00
Carsten Brandt
2872365000
added test case for #8918
2015-07-04 03:08:34 +02:00
Carsten Brandt
f37c6ddd64
well, just drop this...
...
this test does not help much anyway. it is still tested for false in strict mode.
2015-07-03 17:44:02 +02:00
Carsten Brandt
d8bbe2f693
fixed BC compatibility test break for php7
2015-07-03 17:38:40 +02:00
Carsten Brandt
cd6121547d
skip memcache on php 7
...
fixes #8975
2015-07-03 17:32:35 +02:00
Carsten Brandt
0858d0a834
added test for querybuilder select
...
close #8895
2015-06-26 00:13:08 +02:00
Carsten Brandt
bda90b6ad3
added another test for #8848
...
close #8850
2015-06-21 23:18:09 +02:00
pana1990
6ab64c9b35
Add test for #8848
2015-06-21 23:09:02 +02:00
Alexander Makarov
372ff87ee4
Test for #8228
2015-06-17 23:14:33 +02:00
Carsten Brandt
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
Klimov Paul
58760538d0
Merge branch 'master' of github.com:yiisoft/yii2 into 8670-multi-data-session
2015-06-09 12:58:17 +03:00
Klimov Paul
d9d1fceef6
Unite test for yii\web\DbSession added
2015-06-09 12:57:48 +03:00
Carsten Brandt
879911810f
added test for createTable and alterTable
...
test for issue #8627
close #8628
2015-06-08 20:40:24 +02:00
Paul Klimov
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
Carsten Brandt
9cc0e5d89d
even more 32bit friendly test
...
issue #8584
2015-06-06 02:39:19 +02:00
Carsten Brandt
8e44674e7b
fixed another test to work on 32bit
...
issue #8584
2015-06-05 19:01:45 +02:00
Carsten Brandt
ab9326dd26
fixed test for 32bit systems
...
fixes #8584
2015-06-05 18:58:09 +02:00
Klimov Paul
72f9e63e10
Table schema auto refreshing on DDL added to yii\db\Command
2015-06-04 13:53:11 +03:00
Klimov Paul
fb0062114e
Method yii\db\Schema::refreshTableSchema() added
2015-06-04 12:57:16 +03:00
Klimov Paul
0d48f1041e
Fixed yii\db\Command::getRawSql() unable to parse params specified without colon (':')
2015-06-02 13:45:28 +03:00
Klimov Paul
a849e815df
Fixed yii\db\ActiveQuery produces incorrect SQL for aggregations, when sql field is set
2015-05-29 13:18:20 +03:00
Klimov Paul
0874ffac38
Fixed yii\helpers\Html::activeTextarea() does not allow value overriding via options
2015-05-29 12:31:52 +03:00
Carsten Brandt
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
Carsten Brandt
8eaacd7320
added comment to datevalidator test
...
issue #8584
2015-05-28 12:05:39 +02:00
Alexander Makarov
a003a8fb48
Fixed broken postgresql test schema
2015-05-28 11:43:01 +03:00
Klimov Paul
bc6cc9bfce
Unit test for yii\data\Pagination added
2015-05-27 15:48:18 +03:00
Klimov Paul
d4d972b535
Merge branch '6043-html-arrays'
...
Conflicts:
framework/CHANGELOG.md
2015-05-27 11:56:58 +03:00
Klimov Paul
51a442d6c8
Fixed yii\db\ActiveRecord does not updates attribute specified at optimisticLock() after save
2015-05-26 11:53:34 +03:00
John Was
57db031d1c
Merge branch 'master' into 7374-inserting-ar-without-values
2015-05-24 23:29:40 +02:00
John Was
a63fc2ff59
properly quote sequence name in Schema::getLastInsertId()
...
fixes #8483
close #8515
2015-05-21 22:42:34 +02:00
Klimov Paul
0f04af1af9
Added support to automatically set the maxlength attribute for Html::activeTextArea() and Html::activePassword()
2015-05-20 12:05:53 +03:00
Klimov Paul
0a7191dbfe
Preserving of the named key classes at yii\helpers\Html::addCssClass() provided
2015-05-18 12:48:51 +03:00
Klimov Paul
41f6a6e558
Specification for 'class' and 'style' in array format added to yii\helpers\Html
2015-05-18 12:14:57 +03:00
Carsten Brandt
a73ce736ee
improved unit test for date formatter
2015-05-18 02:15:59 +02:00
Carsten Brandt
3c2bd76236
allow negative dates for date formatter
...
fixes #8451
2015-05-18 02:14:14 +02:00
Carsten Brandt
c1fcd2956b
added unit test for issue #8217
...
close #8217
2015-05-17 00:50:29 +02:00
John Was
94acb2e126
add unit tests to check lastInsertId
2015-05-16 11:47:31 +02:00
John Was
01345874a3
add working QueryBuilder test for Oracle
2015-05-16 11:31:52 +02:00
Klimov Paul
3a39f8ab72
yii\helpers\Html allows correct rendering of conditional comments containing !IE
2015-05-14 16:22:26 +03:00
Klimov Paul
72ec914992
yii\console\controllers\MessageController improved allowing extraction of nested translator calls
2015-05-13 15:49:00 +03:00
Qiang Xue
78d3a856d3
Added Json::htmlEncode() to support safer JSON data encoding in HTML code
2015-05-09 23:38:17 -04:00
Carsten Brandt
94d6843f8b
added FragmentCache test for issue #8273
2015-05-05 23:12:10 +02:00
Klimov Paul
bc735bb390
FileHelper usage added to AssetControllerTest
2015-05-04 20:07:19 +03:00
Nikola Kovacs
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
Nikola Kovacs
3f24954659
Added min/max option to DateValidator.
...
Refs #7514
close #8115
2015-05-03 00:50:35 +02:00
Carsten Brandt
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
Carsten Brandt
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
Carsten Brandt
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
Carsten Brandt
159c17abec
added tests for non intl #8203
2015-04-27 23:40:28 +02:00
Carsten Brandt
1b1147bdad
added unit test for #8203
2015-04-27 23:39:04 +02:00