Alexander Makarov
19af264530
Enh: yii fixture command now offers help if no arguments are provided instead of crashing
2014-11-28 00:32:38 +03:00
Carsten Brandt
7325fdd7ed
better fix for #5448 not using customized DateTime class
...
fixes #6263 and has no problem with PHP Bug:
> it is a PHP bug: https://bugs.php.net/bug.php?id=45543
> Fixed in this commit: php/php-src@22dba2f#diff-7b738accc3d60f74c259da18588ddc5dL2996
>
> Fixed in PHP >5.4.26 and >5.5.10. http://3v4l.org/mlZX7
2014-11-27 21:55:33 +01:00
Alexander Makarov
ebdd56f0db
Changed #4277 behavior
2014-11-27 20:42:31 +03:00
Carsten Brandt
8b79293ff2
added missing @since annotations
2014-11-27 18:11:14 +01:00
Alexander Makarov
7b20bdeeb2
Fixes #6279 : yii\db\Schema::getLastInsertID() was passing wrong default schema name to PDO
2014-11-27 16:51:29 +03:00
Alexander Makarov
af50f5a290
Fixes #4277 : yii\grid\GridView is no longer throwing an exception in non-debug mode when results are empty and columns aren't defined
2014-11-27 13:47:40 +03:00
Alexander Makarov
5d7b70da5f
Adjusted #3305 : MigrateController::refreshSchema() is no more called automatically
2014-11-27 11:54:30 +03:00
Alexander Makarov
7c5938f902
#4791 : Added more colors to yii migrate command
2014-11-27 04:03:33 +03:00
Alexander Makarov
3c70d3c317
Fixes #3305 : yii migrate now automatically flushes DB schema cache after successful migration
2014-11-27 03:38:25 +03:00
Alexander Makarov
eaf8ece568
Fixes #5627 : Added yii cache/flush-schema console command to flush DB schema cache of a given database connection
2014-11-27 03:06:24 +03:00
wenbin1989
402d58cfd8
Fixes #6081 : yii\rbac\DbManager::getChildren() was not quoting column name properly
2014-11-27 00:28:55 +03:00
Alexander Makarov
de8adda565
Fixes #5748 : Smarty {path was generating absolute URLs instead of relative ones
2014-11-27 00:16:26 +03:00
Alexander Makarov
c2ef433ef9
Fixes #4146 : Added yii\bootstrap\ButtonDropdown::$containerOptions
2014-11-26 23:41:36 +03:00
Alexander Makarov
e6450be665
Fixes #6150 : yii\bootstrap\Tabs dropdown IDs were generated incorrectly
2014-11-26 22:22:53 +03:00
Andrey Grachov
25a7c84ef2
Fixes #6271 : Query caching returns the same data when running the same SQL with different fetch modes
2014-11-26 11:10:55 -05:00
Qiang Xue
2a0797dd23
Fixes #6266 : Clicking on reset button does not hide error summary when using ActiveForm
2014-11-26 11:06:26 -05:00
Qiang Xue
f509ed2448
Fixes #6236 : No JS scripts should be registered when yii\widgets\ActiveForm::enableClientScript is false
2014-11-26 10:52:10 -05:00
Carsten Brandt
8ca18e4c43
Merge pull request #6178 from yiisoft/date-timezone-issue
...
[WIP] first draft of a fix for #5448
2014-11-26 03:05:39 +01:00
Carsten Brandt
4bc487ecbd
fixed typos
2014-11-26 02:00:50 +01:00
Carsten Brandt
6a8f4b0e50
fixed date formatter to display date-only values correctly
...
fixes #5448
2014-11-26 01:54:58 +01:00
Qiang Xue
87c002d5b3
Fixes #6207 : Added support for truncating HTML strings using StringHelper::truncate() and StringHelper::truncateWords()
2014-11-25 07:29:27 -05:00
Alex-Code
562417c572
truncate and truncateWords can now preserve HTML
...
new private method `truncateHtml` now used by `truncate` and `truncateWords`
2014-11-25 07:19:43 -05:00
Qiang Xue
33955a9e90
yii\web\AssetManager should not publish disabled asset bundles
2014-11-24 23:21:36 -05:00
Qiang Xue
38c04b3d89
Fixes #6189
2014-11-23 20:56:33 -05:00
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
2014-11-23 21:56:23 +03:00
Carsten Brandt
c2d814cc3a
first draft of a fix for #5448
...
only method stubs so far
2014-11-23 02:33:06 +01:00
Carsten Brandt
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
Carsten Brandt
cc8ffe364e
added support for yii\db\Expression to querybuilder BETWEEN and LIKE
...
fixes #6164
2014-11-23 01:41:15 +01:00
Qiang Xue
280dd1651d
Fixes #6172 : yii\rbac\DbManager should properly quote table and column names
2014-11-22 18:25:02 -05:00
Alexander Makarov
04b802babe
Merge pull request #6168 from mongosoft/fixes
...
[ci skip] Typo in word
2014-11-22 03:02:33 +03:00
Alexander Mohorev
e92482f554
Typo in word
2014-11-22 02:58:56 +03:00
Alexander Makarov
d1f72be5fc
Used echo instead of stdout not to cluttter tests
2014-11-22 02:47:02 +03:00
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.
2014-11-22 02:33:02 +03:00
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
2014-11-21 20:19:32 +03:00
Carsten Brandt
8039026ae2
added Formatter::defaultTimeZone to allow non UTC-values in DB
...
fixes #5683
2014-11-20 13:18:34 +01:00
Carsten Brandt
db56384fcf
improved documentation about loadDefaultValues()
...
issue #6126
2014-11-20 11:50:32 +01:00
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.
2014-11-20 12:28:05 +03:00
Nikola Basic
07a8b30575
Added translation for 'just now'
...
close #6099
2014-11-18 13:46:27 +01:00
Carsten Brandt
a92a4179e4
Merge pull request #6076 from mirjalal/master
...
improve
2014-11-17 17:51:57 +01:00
Qiang Xue
3c63213de3
Added yii\base\Controller::renderContent()
2014-11-16 23:16:37 -05:00
Mircəlal
940562d301
improve
2014-11-17 00:41:47 +04:00
Qiang Xue
439c2e4d11
Fixes #4450 : Added yii\bootstrap\Nav::renderDropdown()
2014-11-16 12:57:10 -05:00
Qiang Xue
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
Qiang Xue
9eedfd054e
Fixed test break.
2014-11-16 12:31:02 -05:00
Qiang Xue
ab1f32ef76
Fixes #4492 : Support PostgreSQL-specific syntax for QueryBuilder::alterColumn()
2014-11-16 10:47:46 -05:00
Qiang Xue
865a94f321
Fixes #4739 : Better display of exceptions when the response format is set as "raw" format
2014-11-16 10:20:37 -05:00
Carsten Brandt
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
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.
2014-11-15 08:38:24 -05:00
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; ``
2014-11-15 08:32:47 -05:00
wenbin1989
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