188 Commits

Author SHA1 Message Date
76d8e2b5b3 code style, fixes #3140 2014-04-17 13:24:16 +02:00
7f636fc525 yii\console\controllers\AssetController::actionTemplate() advanced to include jsCompressor and cssCompressor to the template. 2014-04-17 12:57:35 +03:00
72aba34210 yii\console\controllers\AssetController fixed to respect data URL resources 2014-04-17 12:11:34 +03:00
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
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
3c400dbca8 fixed file PHPdoc
issue #3026
2014-04-10 22:10:59 +02:00
3fdcf11f24 updated phpdoc 2014-04-09 18:51:45 +02:00
05afeb4831 Merge branch 'master' 2014-03-31 01:06:09 +04:00
ab799d8ea9 Fixes #2911: Removed tbl_ default for table prefix 2014-03-30 19:33:46 +04:00
a4b6fb263d handle Exceptions in application init() 2014-03-30 01:27:18 +01:00
89f6a00147 created console errorHandler 2014-03-30 01:04:43 +01:00
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
8b4d4a0b25 cleanup web errorhandler 2014-03-29 23:02:35 +01:00
ac74fede28 Fixes #2910: Added Application::end() 2014-03-28 16:59:21 -04:00
67dd874e0c renamed console controller optoins param $id to $actionId 2014-03-26 17:51:52 +01:00
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
8e11ad0360 refactored code to use Instance::ensure() 2014-03-18 12:31:27 -04:00
72c99663ff Refactored container. 2014-03-18 11:49:52 -04:00
8c2e39235f Turn module and application into DI containers. 2014-03-17 23:57:01 -04:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
174158a64b doc fix [skip ci] 2014-03-13 21:28:11 -04:00
0051a1ece4 sort options by action in Migration controller 2014-03-09 22:47:05 +01:00
706ab7f968 combine globalOptions() with local options into options($id)
adjust existing Console Controllers and docs
2014-03-09 22:45:04 +01:00
b0d7559a8d console/Controller show help for local options 2014-03-09 00:43:12 +01:00
05f7df3091 console/Controller support local options per action 2014-03-09 00:43:11 +01:00
f7148c2d80 callback -> callable
this term is resolveable by the php docs when linking types in apidoc
2014-03-08 21:04:47 +01:00
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
740a769477 improved HelpController with messages for each command 2014-03-06 22:43:57 +01:00
51d6db7d80 Merge pull request #2607 from mitalcoi/db_message_source
enchansment of db message source
2014-03-04 20:08:40 +03:00
1a14ed2127 Update MessageController.php 2014-03-04 12:40:13 +02:00
4d4a3f0804 Update MessageController.php 2014-03-04 12:36:54 +02:00
6d72c6a723 fix code style 2014-03-04 06:27:22 +02:00
eaaa5b1bb5 fix code style 2014-03-04 06:12:30 +02:00
c047fbe0df fix code style No space found after comma in function call 2014-03-04 05:46:43 +02:00
c5ed024109 fix phpFoc, added missing param 2014-03-04 05:08:40 +02:00
eba9049b61 Update MessageController.php
fix code style
2014-03-03 22:47:01 +02:00
4906cd3432 enchansment of db message source 2014-03-03 22:43:56 +02:00
65dd8c9e7e Add ability to downgrade migrations by the absolute apply time 2014-02-20 16:03:22 +06:00
325c7a18c4 improved fixture command 2014-02-09 18:30:49 +04:00
aeeee44f69 support loading config by alias. 2014-02-08 10:29:53 -05:00
bd70ac840f Fixes #2054: Added support for using custom application configuration with the console command runner 2014-02-07 21:58:24 -05:00
a73953c05b Update FixtureController.php
typo fix
2014-02-06 16:22:39 +02:00
fbd7ea735d Merge pull request #2313 from Ragazzo/fixture_controller_global_fixtures_option
Fixture controller global fixtures option
2014-02-04 10:10:46 -08:00
663e898ba7 fixed docs, added checks 2014-02-04 21:00:52 +04:00
87b49414b1 Fixed globalOptions array issue. 2014-02-04 11:20:11 -05:00
cb8fc55a66 removed suffix, since it will be applied later in getFixturesConfig method. 2014-02-04 20:04:00 +04:00
14d303d479 added suffix 2014-02-04 19:56:01 +04:00
0e3fae36a4 added globalFixtures option 2014-02-04 19:54:45 +04:00
9669b321a6 Removed duplicated getAlias call. 2014-02-04 10:22:50 -05:00
9779e9c98d Added support for using arrays as option values for console commands 2014-02-04 08:40:05 -05:00