4998 Commits

Author SHA1 Message Date
38c04b3d89 Fixes #6189 2014-11-23 20:56:33 -05:00
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 2014-11-23 21:56:23 +03:00
d44c23bb00 ported fix for #6164 to sphinx
was already supported for BETWEEN but not for LIKE

fixes #6164
2014-11-23 01:54:33 +01:00
cc8ffe364e added support for yii\db\Expression to querybuilder BETWEEN and LIKE
fixes #6164
2014-11-23 01:41:15 +01:00
280dd1651d Fixes #6172: yii\rbac\DbManager should properly quote table and column names 2014-11-22 18:25:02 -05:00
04b802babe Merge pull request #6168 from mongosoft/fixes
[ci skip] Typo in word
2014-11-22 03:02:33 +03:00
e92482f554 Typo in word 2014-11-22 02:58:56 +03:00
d1f72be5fc Used echo instead of stdout not to cluttter tests 2014-11-22 02:47:02 +03:00
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. 2014-11-22 02:33:02 +03:00
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 2014-11-21 20:19:32 +03:00
8039026ae2 added Formatter::defaultTimeZone to allow non UTC-values in DB
fixes #5683
2014-11-20 13:18:34 +01:00
db56384fcf improved documentation about loadDefaultValues()
issue #6126
2014-11-20 11:50:32 +01:00
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.
2014-11-20 12:28:05 +03:00
07a8b30575 Added translation for 'just now'
close #6099
2014-11-18 13:46:27 +01:00
a92a4179e4 Merge pull request #6076 from mirjalal/master
improve
2014-11-17 17:51:57 +01:00
3c63213de3 Added yii\base\Controller::renderContent() 2014-11-16 23:16:37 -05:00
940562d301 improve 2014-11-17 00:41:47 +04:00
439c2e4d11 Fixes #4450: Added yii\bootstrap\Nav::renderDropdown() 2014-11-16 12:57:10 -05:00
2782adcca4 Fixes #4643: Extra options specified in yii\widgets\Breadcrumbs::links will be treated as HTML attributes for the generated hyperlinks 2014-11-16 12:49:47 -05:00
9eedfd054e Fixed test break. 2014-11-16 12:31:02 -05:00
ab1f32ef76 Fixes #4492: Support PostgreSQL-specific syntax for QueryBuilder::alterColumn() 2014-11-16 10:47:46 -05:00
865a94f321 Fixes #4739: Better display of exceptions when the response format is set as "raw" format 2014-11-16 10:20:37 -05:00
38d0570843 fixed unlink() for array valued attributes
return value would not be a valid array when json encoded after unlink().

fixes #6065
2014-11-15 21:42:36 +01:00
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. 2014-11-15 08:38:24 -05:00
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; `` 2014-11-15 08:32:47 -05:00
39a358c269 oracle db doesn't support ON UPDATE in FOREIGN KEY. remove ON UPDATE section in method addForeignKey. 2014-11-15 08:32:47 -05:00
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. 2014-11-15 08:32:47 -05:00
9869e67df8 fixed phpdoc
thanks to @pana1990

close #6060
2014-11-14 23:26:49 +01:00
de8966079f Fixes #5367: Added yii\grid\DataColumn::encodeLabel 2014-11-13 21:28:47 -05:00
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,
                ...
            ],
```
2014-11-13 21:26:39 -05:00
0afd13f0da Update BaseHtml.php
Some Annotation Typos

close #6029
2014-11-13 14:27:24 +01:00
b7012ca935 Fixes #5799: yii\bootstrap\ButtonGroup::buttons can take all options that are supported by yii\bootstrap\Button 2014-11-12 14:54:03 -05:00
42ca4bb991 Fixed yii\log\DbTarget migration and SQLs to use float column for log_time 2014-11-12 14:06:39 +03:00
866214e75a Fixes #6018: When setting the encode option via yii\widgets\ActiveRecord::errorOptions, it works the other way around [skip ci] 2014-11-11 21:24:07 -05:00
d6d4df4b8b Merge branch 'master' of github.com:yiisoft/yii2 2014-11-11 16:33:38 +02:00
63e434b473 Safe real path resolving added to yii\console\controllers\AssetController::combineCssFiles() 2014-11-11 16:33:16 +02:00
61b7079993 Fixes #6007: added doc about asset bundle name [skip ci] 2014-11-11 08:08:18 -05:00
112ad80d6e Fixed yii\console\controllers\AssetController breaks CSS URLs, which start from '/' 2014-11-11 14:49:20 +02:00
cf0c8c37dd Fixes #5983: Added Inflector::sentence() 2014-11-10 15:07:36 -05:00
a61c869256 fix docs 2014-11-10 13:51:39 -05:00
eddbb6bedb dropped locale option 2014-11-10 13:51:38 -05:00
a87c55ff97 fix camelCase syntax 2014-11-10 13:51:37 -05:00
05263692e5 Fixes #5938: add sentence method in Arrayhelper for convert the array to a comma-separated sentence 2014-11-10 13:51:37 -05:00
88caccd61d Fixes #5997: The same message may be exported twice to log targets 2014-11-10 13:49:19 -05:00
f91929761a yii\log\Logger::flush() updated to reset messages before passing them to the dispatcher. 2014-11-10 13:46:48 -05:00
dab2b03f09 Fixes #5863: Selecting all individual yii\grid\CheckboxColumn checkboxes in grid view wasn't resulting in "all" checkbox selected 2014-11-09 03:02:34 +03:00
1008249b54 Fixes incorrect submit button detection. 2014-11-08 08:52:27 -05:00
880a305ee4 Fixes #5452: Errors occurring after the response is sent are not displayed 2014-11-07 11:30:25 -05:00
fe546cd22f Fixes #5688: Added optional $formName to Model::loadMultiple() to support customizing form name directly 2014-11-07 10:47:38 -05:00
f1812210a8 Fixes #5768: When setting data-confirm attribute to a submit button, clicking on the button would not trigger form submission 2014-11-07 10:29:04 -05:00