Alexander Makarov
d7a251bbec
Removed unused imports, added missing phpdoc
2014-05-30 11:55:17 +06:00
Mark
1414f9ab6b
limit condition changed
2014-05-28 18:06:11 +04:00
Mark
d229cb8206
limit applied to migration
2014-05-27 18:36:41 +04:00
Andrey Smirnov
1aeb306d00
Fix incomplete obsolete filling in i18n db extractor
...
Obsolete keys searching isn't work when we have serveral categories for tranlation with DbMessageSource. Obsolete array filled with last message category only, because it'll always overwritten.
2014-05-26 15:33:37 +04:00
Alexander Makarov
c11ca0873d
Fixed asset controller tests
2014-05-25 04:11:41 +04:00
Alexander Makarov
d84898a73d
Fixes #2898 : yii\console\controllers\AssetController is now using hashes instead of timestamps
2014-05-24 18:39:22 +04:00
Klimov Paul
1641e057a9
VarDumper::export() applied over framework.
2014-05-20 16:35:12 +03:00
Carsten Brandt
50220cc93d
Merge PR #3421 branch 'migrate-command-enhancement' of https://github.com/creocoder/yii2
...
* 'migrate-command-enhancement' of https://github.com/creocoder/yii2 :
MigrateController refactoring
CHANGELOG fixed
Comments updated
CHANGELOG updated
MigrateCommand enhancement. `all` option added for `down` action.
Conflicts:
framework/CHANGELOG.md
2014-05-14 15:48:10 +02:00
Alexander Kochetov
f5b7788edd
MigrateController refactoring
2014-05-14 13:22:04 +04:00
Carsten Brandt
5c837c0575
fixed console errorHandler class
2014-05-12 19:11:40 +02:00
Carsten Brandt
7511de6cab
added errorInfo to exception views
2014-05-12 13:31:33 +02:00
Qiang Xue
a2aa20f183
simplified errorhandler registration.
2014-05-11 20:59:20 -04:00
Alexander Kochetov
697e909c30
Comments updated
2014-05-09 18:33:22 +04:00
Alexander Kochetov
5f2101893e
MigrateCommand enhancement. all option added for down action.
2014-05-09 18:30:38 +04:00
Alexander Makarov
a86d2ad11e
Added yii\console\Controller::EXIT_CODE_NORMAL and yii\console\Controller::EXIT_CODE_ERROR constants, yii\console\MigrateController now returns yii\console\Controller::EXIT_CODE_ERROR in case of failed migration
2014-05-07 03:11:35 +04:00
Alexander Makarov
c7b05f0c22
Fixed inconsistent return of \yii\console\Application::runAction()
2014-05-07 03:11:35 +04:00
Alexander Makarov
ff3a20a785
Removed duplicate property
2014-05-06 21:02:35 +04:00
Jurmarcus Allen
6099e85160
HHVM compatibility Fixes for Yii 2 Console Application
2014-05-06 01:18:37 -05:00
Carsten Brandt
76d8e2b5b3
code style, fixes #3140
2014-04-17 13:24:16 +02:00
Klimov Paul
7f636fc525
yii\console\controllers\AssetController::actionTemplate() advanced to include jsCompressor and cssCompressor to the template.
2014-04-17 12:57:35 +03:00
Klimov Paul
72aba34210
yii\console\controllers\AssetController fixed to respect data URL resources
2014-04-17 12:11:34 +03:00
Thiago Talma
c1445871f4
Correction of many errors code inspection.
...
Adjustments code according to the standards.
Adding missing PHPDoc comment.
2014-04-16 19:29:07 -03:00
Carsten Brandt
c6e1a2f02f
Merge branch 'master' of github.com:yiisoft/yii2
...
* 'master' of github.com:yiisoft/yii2: (79 commits)
Refactored app bootstrap logic.
Update authorization.md
Fixes #3052 : Fixed the issue that cache dependency data is not reused when `reusable` is set true
start debug logging only if debug runs when bootstrap.
Update finnish translation
Add ODBC support to yii\db\Connection
updated error handler and requirement checker links.
fixed broken API links [skip ci]
added more doc [skip ci]
update class map.
Fixes #2034 : Added `ContentNegotiator` to support response format and language negotiation
renamed attributes to attributeNames in model
updated phpdoc
Removed `Application::preload` in favor of `Application::bootstrap`
Update module-debug.md
Update model.md
Fixes
Update basics.md
typo fix [skip ci]
Added `HtmlResponseFormatter` and `JsonResponseFormatter`
...
2014-04-10 22:22:36 +02:00
Carsten Brandt
3c400dbca8
fixed file PHPdoc
...
issue #3026
2014-04-10 22:10:59 +02:00
Carsten Brandt
3fdcf11f24
updated phpdoc
2014-04-09 18:51:45 +02:00
Alexander Makarov
05afeb4831
Merge branch 'master'
2014-03-31 01:06:09 +04:00
Alexander Makarov
ab799d8ea9
Fixes #2911 : Removed tbl_ default for table prefix
2014-03-30 19:33:46 +04:00
Carsten Brandt
a4b6fb263d
handle Exceptions in application init()
2014-03-30 01:27:18 +01:00
Carsten Brandt
89f6a00147
created console errorHandler
2014-03-30 01:04:43 +01:00
Carsten Brandt
f2b20d99d5
Merge branch 'master' into refactor-errorhandler
...
* master:
Fixes #2912 : Relative view files will be looked for under the directory containing the view currently being rendered
app end improvement.
improvement of Application::end() handling.
typo fix.
Fixes #2910 : Added `Application::end()`
Conflicts:
framework/base/Application.php
2014-03-30 00:27:51 +01:00
Carsten Brandt
8b4d4a0b25
cleanup web errorhandler
2014-03-29 23:02:35 +01:00
Qiang Xue
ac74fede28
Fixes #2910 : Added Application::end()
2014-03-28 16:59:21 -04:00
Carsten Brandt
67dd874e0c
renamed console controller optoins param $id to $actionId
2014-03-26 17:51:52 +01:00
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
2014-03-23 20:51:09 +01:00
Qiang Xue
8e11ad0360
refactored code to use Instance::ensure()
2014-03-18 12:31:27 -04:00
Qiang Xue
72c99663ff
Refactored container.
2014-03-18 11:49:52 -04:00
Qiang Xue
8c2e39235f
Turn module and application into DI containers.
2014-03-17 23:57:01 -04:00
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
Qiang Xue
174158a64b
doc fix [skip ci]
2014-03-13 21:28:11 -04:00
Christian Nadolle
0051a1ece4
sort options by action in Migration controller
2014-03-09 22:47:05 +01:00
Christian Nadolle
706ab7f968
combine globalOptions() with local options into options($id)
...
adjust existing Console Controllers and docs
2014-03-09 22:45:04 +01:00
Christian Nadolle
b0d7559a8d
console/Controller show help for local options
2014-03-09 00:43:12 +01:00
Christian Nadolle
05f7df3091
console/Controller support local options per action
2014-03-09 00:43:11 +01:00
Carsten Brandt
f7148c2d80
callback -> callable
...
this term is resolveable by the php docs when linking types in apidoc
2014-03-08 21:04:47 +01:00
Qiang Xue
bbea1ab19c
Fixes #2629 : Module::controllerPath is now read only, and all controller classes must be namespaced under Module::controllerNamespace
2014-03-07 10:35:15 -05:00
Carsten Brandt
740a769477
improved HelpController with messages for each command
2014-03-06 22:43:57 +01:00
Alexander Makarov
51d6db7d80
Merge pull request #2607 from mitalcoi/db_message_source
...
enchansment of db message source
2014-03-04 20:08:40 +03:00
Sorokin Victor
1a14ed2127
Update MessageController.php
2014-03-04 12:40:13 +02:00
Sorokin Victor
4d4a3f0804
Update MessageController.php
2014-03-04 12:36:54 +02:00
AlexGx
6d72c6a723
fix code style
2014-03-04 06:27:22 +02:00