Andrey Grachov
25a7c84ef2
Fixes #6271 : Query caching returns the same data when running the same SQL with different fetch modes
10 years ago
Qiang Xue
2a0797dd23
Fixes #6266 : Clicking on reset button does not hide error summary when using `ActiveForm`
10 years ago
Qiang Xue
f509ed2448
Fixes #6236 : No JS scripts should be registered when `yii\widgets\ActiveForm::enableClientScript` is false
10 years ago
Carsten Brandt
4bc487ecbd
fixed typos
10 years ago
Carsten Brandt
6a8f4b0e50
fixed date formatter to display date-only values correctly
...
fixes #5448
10 years ago
Qiang Xue
87c002d5b3
Fixes #6207 : Added support for truncating HTML strings using `StringHelper::truncate()` and `StringHelper::truncateWords()`
10 years ago
Alex-Code
562417c572
truncate and truncateWords can now preserve HTML
...
new private method `truncateHtml` now used by `truncate` and `truncateWords`
10 years ago
Qiang Xue
33955a9e90
`yii\web\AssetManager` should not publish disabled asset bundles
10 years ago
Qiang Xue
38c04b3d89
Fixes #6189
10 years ago
Alexander Makarov
fce99c874e
Fixes #5504 : Added note to yii\console\CacheController explaining that cache components should be configured in console app configuration in order to be cleared
10 years ago
Carsten Brandt
c2d814cc3a
first draft of a fix for #5448
...
only method stubs so far
10 years ago
Carsten Brandt
d44c23bb00
ported fix for #6164 to sphinx
...
was already supported for BETWEEN but not for LIKE
fixes #6164
10 years ago
Carsten Brandt
cc8ffe364e
added support for yii\db\Expression to querybuilder BETWEEN and LIKE
...
fixes #6164
10 years ago
Qiang Xue
280dd1651d
Fixes #6172 : `yii\rbac\DbManager` should properly quote table and column names
10 years ago
Alexander Mohorev
e92482f554
Typo in word
10 years ago
Alexander Makarov
d1f72be5fc
Used echo instead of stdout not to cluttter tests
10 years ago
Alexander Makarov
e88a5d9cc4
Fixes #4823 and #6005 : `yii message` accuracy and error handling were improved by using PHP tokenizer instead of regular expressions. Removed eval() as well.
10 years ago
Alexander Makarov
fb2dff8528
Fixes #6107 and #6112 : `yii message` was emptying existing translations and incorrectly writing not yet translated strings in .po in case of multiple categories
10 years ago
Carsten Brandt
8039026ae2
added Formatter::defaultTimeZone to allow non UTC-values in DB
...
fixes #5683
10 years ago
Carsten Brandt
db56384fcf
improved documentation about loadDefaultValues()
...
issue #6126
10 years ago
Tobias Munk
5cb9349273
Fixes #6113 : Improved debugger configuration and request UI
...
- Responsive tables.
- Route is displayed by default, action is available as tooltip.
- Better config table display.
- PHP extensions are sorted alphabetically.
10 years ago
Nikola Basic
07a8b30575
Added translation for 'just now'
...
close #6099
10 years ago
Qiang Xue
3c63213de3
Added `yii\base\Controller::renderContent()`
10 years ago
Mircəlal
940562d301
improve
10 years ago
Qiang Xue
439c2e4d11
Fixes #4450 : Added `yii\bootstrap\Nav::renderDropdown()`
10 years ago
Qiang Xue
2782adcca4
Fixes #4643 : Extra options specified in `yii\widgets\Breadcrumbs::links` will be treated as HTML attributes for the generated hyperlinks
10 years ago
Qiang Xue
9eedfd054e
Fixed test break.
10 years ago
Qiang Xue
ab1f32ef76
Fixes #4492 : Support PostgreSQL-specific syntax for `QueryBuilder::alterColumn()`
10 years ago
Qiang Xue
865a94f321
Fixes #4739 : Better display of exceptions when the response format is set as "raw" format
10 years ago
Carsten Brandt
38d0570843
fixed unlink() for array valued attributes
...
return value would not be a valid array when json encoded after unlink().
fixes #6065
10 years ago
Qiang Xue
6b52b03523
Fixes #6049 : `yii\db\Connection::getSchema()` for Oracle should return false when the table does not exist. Oracle does not support `ON UPDATE` clause.
10 years ago
wenbin1989
3d25f76e59
Fix batchInsert bug in oci. default batchInsert sql is ``` insert into tableName(col1, col2, col3...) value(`col11`, `col12`,`col13`.... ),(`col21`, `col22`,`col23`.... ); ``` which is illegal in oracle db. Change it to ``` insert into tableName(col1, col2, col3...) select 'col11', 'col12', 'col13' from dual union select 'col21', 'col22', 'col23' from dual union select 'col31', 'col32', 'col33' from dual; ```
10 years ago
wenbin1989
39a358c269
oracle db doesn't support `ON UPDATE` in FOREIGN KEY. remove `ON UPDATE` section in method `addForeignKey`.
10 years ago
wenbin1989
b733a18904
fix oci bugs: \yii\db\oci\Schema::findColumns($table) return true when table doesn't exist When table doesn't exist, query in method `findColumns` return empty array instead of throw a exception.
10 years ago
Carsten Brandt
9869e67df8
fixed phpdoc
...
thanks to @pana1990
close #6060
10 years ago
Qiang Xue
de8966079f
Fixes #5367 : Added `yii\grid\DataColumn::encodeLabel`
10 years ago
Serge Postrash
c6cb205653
Added encodeLabel param to \yii\grid\DataColumn
...
Use case:
```
echo GridView::widget([
...
'columns' => [
...
[
'attribute' => 'created_at',
'label' => '<span data-toggle="tooltip" class="glyphicon glyphicon-time" title="'.Yii::t('app', 'Created At').'"></span>',
'encodeLabel' => false,
...
],
```
10 years ago
Andrei Chugunov
0afd13f0da
Update BaseHtml.php
...
Some Annotation Typos
close #6029
10 years ago
Qiang Xue
b7012ca935
Fixes #5799 : `yii\bootstrap\ButtonGroup::buttons` can take all options that are supported by `yii\bootstrap\Button`
10 years ago
Alexander Makarov
42ca4bb991
Fixed `yii\log\DbTarget` migration and SQLs to use float column for log_time
10 years ago
Qiang Xue
866214e75a
Fixes #6018 : When setting the `encode` option via `yii\widgets\ActiveRecord::errorOptions`, it works the other way around [skip ci]
10 years ago
Klimov Paul
63e434b473
Safe real path resolving added to `yii\console\controllers\AssetController::combineCssFiles()`
10 years ago
Qiang Xue
61b7079993
Fixes #6007 : added doc about asset bundle name [skip ci]
10 years ago
Klimov Paul
112ad80d6e
Fixed `yii\console\controllers\AssetController` breaks CSS URLs, which start from '/'
10 years ago
Qiang Xue
cf0c8c37dd
Fixes #5983 : Added `Inflector::sentence()`
10 years ago
pana1990
a61c869256
fix docs
10 years ago
pana1990
eddbb6bedb
dropped locale option
10 years ago
pana1990
a87c55ff97
fix camelCase syntax
10 years ago
pana1990
05263692e5
Fixes #5938 : add sentence method in Arrayhelper for convert the array to a comma-separated sentence
10 years ago
Qiang Xue
88caccd61d
Fixes #5997 : The same message may be exported twice to log targets
10 years ago