Carsten Brandt
6d9fe671de
various code style and whitespace adjustments
2015-08-02 00:27:19 +02:00
Alexander Makarov
b53f50a762
Reverted #9140
...
See discussion at ef27d820d2
2015-07-18 22:08:47 +03:00
Alexander Makarov
ef27d820d2
#9140 : better fix for IDEs
2015-07-17 15:42:29 +03:00
Alexander Makarov
105100fe79
Merge pull request #9140 from matthewyang/fix-redefine-parent-property-controller
...
Removed redefinition of Application::$controller from web/console
2015-07-17 08:29:33 +03:00
matthewyang
fed6f35627
remove redefined parent property
2015-07-17 12:23:27 +08:00
Carsten Brandt
a5c92eb4cb
register STDIN, STDOUT, and STDERR if not defined by PHP
...
this ensures that they are defined if needed and reduces redundant
code in the entry script.
close #6853
2015-07-11 17:46:32 +02:00
Alexander Mohorev
68c30c1034
Replace aliases of functions
2015-06-29 22:59:22 +03:00
Qiang Xue
de87f43d70
Fixes #4292 : The error messages for console commands will not be translated
2014-10-02 23:46:11 -04:00
Carsten Brandt
3a1e0f3a5c
property codestyle framework
2014-07-30 00:21:31 +02:00
Carsten Brandt
5c837c0575
fixed console errorHandler class
2014-05-12 19:11:40 +02:00
Qiang Xue
a2aa20f183
simplified errorhandler registration.
2014-05-11 20:59:20 -04:00
Alexander Makarov
c7b05f0c22
Fixed inconsistent return of \yii\console\Application::runAction()
2014-05-07 03:11:35 +04: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
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
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
2014-03-23 20:51:09 +01: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
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
Qiang Xue
aeeee44f69
support loading config by alias.
2014-02-08 10:29:53 -05:00
Qiang Xue
bd70ac840f
Fixes #2054 : Added support for using custom application configuration with the console command runner
2014-02-07 21:58:24 -05:00
Carsten Brandt
9630c807a7
doc link fixes
2014-01-23 12:04:02 +01:00
Qiang Xue
0c38655217
psr-4 move
2014-01-10 21:41:43 -05:00
Qiang Xue
0d814fa523
Moved "framework" to "iii".
2013-05-09 12:00:15 -04:00
Qiang Xue
e132ed8d18
initial implementation of asset command.
2013-04-22 17:22:38 -04:00
Qiang Xue
304122ebe4
Fixed bug in yiic.php.
...
Refactoring AssetConverter.
2013-04-19 20:44:59 -04:00
Qiang Xue
4fdaab3560
updated file header.
2013-03-04 08:03:46 -05:00
Qiang Xue
60583b87d3
cleanup
2013-03-04 07:07:34 -05:00
Alexander Makarov
c00c2dcb1a
renamed yiic webapp -> yiic app
2013-02-21 16:12:49 +04:00
Alexander Makarov
a25f870090
renamed create -> webapp/create, specified global options
2013-02-20 00:30:02 +04:00
Alexander Makarov
137d472838
console command to flush cache
2013-02-08 00:29:03 +04:00
Qiang Xue
3c1452e84b
Changed the separator of message category.
2013-02-05 11:48:35 -05:00
Qiang Xue
54ee8c44a0
refactored exceptions.
...
I18N WIP.
2013-02-04 16:39:19 -05:00
Qiang Xue
398ac25456
added UserException.
2013-02-03 19:45:44 -05:00
Qiang Xue
b2662c0cd9
clean up help command.
2013-02-02 23:36:20 -05:00
Qiang Xue
2d7f048b74
Refactored usage error in console commands.
2013-02-01 19:28:38 -05:00
Qiang Xue
761a9f4472
exception cleanup.
2013-02-01 07:53:32 -05:00
Qiang Xue
6fcac32410
error handling cleanup.
2013-01-31 23:50:53 -05:00
Qiang Xue
e09a791c92
MVC cleanup
2013-01-31 15:05:49 -05:00
Qiang Xue
0d21ee67cb
MVC WIP
2013-01-28 18:51:36 -05:00
Qiang Xue
29398f4c22
MVC WIP
2013-01-25 08:44:09 -05:00
Qiang Xue
8e05e6e62d
changed copyright line.
2013-01-07 11:34:52 -05:00
Alexander Makarov
95b18d553b
more on console apps
2012-09-09 04:29:39 +04:00
Qiang Xue
b7a7800fec
Fixed constructors.
2012-08-30 21:17:42 -04:00
Qiang Xue
fd3c29aa2e
Added console Request class.
...
Refactored console Application code.
2012-08-19 00:31:32 -04:00