Matvey Vasenin
b456f699cc
Implemented `SchemaBuilder`
9 years ago
Carsten Brandt
2872365000
added test case for #8918
9 years ago
Carsten Brandt
f37c6ddd64
well, just drop this...
...
this test does not help much anyway. it is still tested for false in strict mode.
9 years ago
Carsten Brandt
d8bbe2f693
fixed BC compatibility test break for php7
9 years ago
Carsten Brandt
cd6121547d
skip memcache on php 7
...
fixes #8975
9 years ago
Carsten Brandt
0858d0a834
added test for querybuilder select
...
close #8895
9 years ago
Carsten Brandt
bda90b6ad3
added another test for #8848
...
close #8850
9 years ago
pana1990
6ab64c9b35
Add test for #8848
9 years ago
Alexander Makarov
372ff87ee4
Test for #8228
9 years ago
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
9 years ago
Klimov Paul
d9d1fceef6
Unite test for `yii\web\DbSession` added
9 years ago
Carsten Brandt
879911810f
added test for createTable and alterTable
...
test for issue #8627
close #8628
9 years ago
Carsten Brandt
9cc0e5d89d
even more 32bit friendly test
...
issue #8584
9 years ago
Carsten Brandt
8e44674e7b
fixed another test to work on 32bit
...
issue #8584
9 years ago
Carsten Brandt
ab9326dd26
fixed test for 32bit systems
...
fixes #8584
9 years ago
Klimov Paul
72f9e63e10
Table schema auto refreshing on DDL added to `yii\db\Command`
9 years ago
Klimov Paul
fb0062114e
Method `yii\db\Schema::refreshTableSchema()` added
9 years ago
Klimov Paul
0d48f1041e
Fixed `yii\db\Command::getRawSql()` unable to parse params specified without colon (':')
9 years ago
Klimov Paul
a849e815df
Fixed `yii\db\ActiveQuery` produces incorrect SQL for aggregations, when `sql` field is set
9 years ago
Klimov Paul
0874ffac38
Fixed `yii\helpers\Html::activeTextarea()` does not allow value overriding via options
9 years ago
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
9 years ago
Carsten Brandt
8eaacd7320
added comment to datevalidator test
...
issue #8584
9 years ago
Alexander Makarov
a003a8fb48
Fixed broken postgresql test schema
9 years ago
Klimov Paul
bc6cc9bfce
Unit test for `yii\data\Pagination` added
9 years ago
Klimov Paul
51a442d6c8
Fixed `yii\db\ActiveRecord` does not updates attribute specified at `optimisticLock()` after save
9 years ago
John Was
a63fc2ff59
properly quote sequence name in Schema::getLastInsertId()
...
fixes #8483
close #8515
9 years ago
Klimov Paul
0f04af1af9
Added support to automatically set the `maxlength` attribute for `Html::activeTextArea()` and `Html::activePassword()`
10 years ago
Klimov Paul
0a7191dbfe
Preserving of the named key classes at `yii\helpers\Html::addCssClass()` provided
10 years ago
Klimov Paul
41f6a6e558
Specification for 'class' and 'style' in array format added to `yii\helpers\Html`
10 years ago
Carsten Brandt
a73ce736ee
improved unit test for date formatter
10 years ago
Carsten Brandt
3c2bd76236
allow negative dates for date formatter
...
fixes #8451
10 years ago
Carsten Brandt
c1fcd2956b
added unit test for issue #8217
...
close #8217
10 years ago
John Was
94acb2e126
add unit tests to check lastInsertId
10 years ago
John Was
01345874a3
add working QueryBuilder test for Oracle
10 years ago
Klimov Paul
3a39f8ab72
`yii\helpers\Html` allows correct rendering of conditional comments containing `!IE`
10 years ago
Klimov Paul
72ec914992
`yii\console\controllers\MessageController` improved allowing extraction of nested translator calls
10 years ago
Qiang Xue
78d3a856d3
Added `Json::htmlEncode()` to support safer JSON data encoding in HTML code
10 years ago
Carsten Brandt
94d6843f8b
added FragmentCache test for issue #8273
10 years ago
Klimov Paul
bc735bb390
`FileHelper` usage added to `AssetControllerTest`
10 years ago
Nikola Kovacs
b31b9e2411
Fix conversion of ICU 'L' symbol.
...
L should not contain a leading zero.
Added a test for this too.
close #7761
10 years ago
Nikola Kovacs
3f24954659
Added min/max option to DateValidator.
...
Refs #7514
close #8115
10 years ago
Carsten Brandt
1c41c2bd58
added DateValidator::$timestampAttributeTimeZone
...
this also makes DateValidator completly functional for validating values that include time.
issue #5053
10 years ago
Carsten Brandt
d60445c066
Add DateValidator::$timestampAttributeFormat
...
includes refactoring of the formatting method to fix some major timezone issues.
fixes #5053
close #6820
10 years ago
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
10 years ago
Carsten Brandt
159c17abec
added tests for non intl #8203
10 years ago
Carsten Brandt
1b1147bdad
added unit test for #8203
10 years ago
Paul Klimov
a2af3868ad
Test for `yii\helpers\VarDumper` unified
10 years ago
Klimov Paul
f2f211f610
Fallback for object containing `\Closure` added to `yii\helpers\VarDumper::export()`
10 years ago
Carsten Brandt
91777ae7cc
added test for explicit primary Key on auto increment column
...
relates to #8071
https://github.com/yiisoft/yii2/pull/8071/files#r28787581
10 years ago
Klimov Paul
6d96d3cbee
Fixed `yii\db\BaseActiveRecord::updateCounters()` fails for new record saved with counter attribute not set
10 years ago