105 Commits

Author SHA1 Message Date
5fbb65ad81 Fixes #3121: yii\base\Application::bootstrap may fail to load some components if they are specified as class names 2014-04-16 12:17:55 -04:00
8bbcff70db prepare for 2.0.0-beta release. 2014-04-13 17:58:59 -04:00
a6136e1b16 Renamed yii\web\User::checkAccess() to yii\web\User::can() 2014-04-12 19:14:50 -04:00
ea75177abc Refactored app bootstrap logic. 2014-04-10 15:05:01 -04:00
3fdcf11f24 updated phpdoc 2014-04-09 18:51:45 +02:00
586f5b87b0 Removed Application::preload in favor of Application::bootstrap 2014-04-09 10:47:10 -04:00
50e338127d Improved action filter and action execution flow by supporting installing action filters at controller, module and application levels 2014-04-04 23:30:59 -04:00
7be743e1a7 cleanup application errorHandler getter 2014-03-30 12:24:45 +02: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
48383f9a19 app end improvement. 2014-03-28 18:05:43 -04:00
43b8430e0f improvement of Application::end() handling. 2014-03-28 18:03:10 -04:00
c40ae85994 typo fix. 2014-03-28 17:00:12 -04:00
ac74fede28 Fixes #2910: Added Application::end() 2014-03-28 16:59:21 -04:00
d4ad533d48 moved error handling related methods from app to errorhandler 2014-03-28 19:57:11 +01:00
b9b4555da6 move assetManager to base application. 2014-03-27 14:09:30 -04:00
f8b63591b0 Fix #2877: yii\log\Logger is split into yii\log\Logger and yii\log\Dispatcher. (qiangxue) 2014-03-26 21:48:41 -04:00
1e75427393 updated classmap and phpdoc 2014-03-24 23:26:30 +01:00
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
a9546a9906 do not throw exception for Application::getCache() when cache is not installed. 2014-03-21 16:30:36 -04:00
b9eb5de96d Fixes #2796: Added BootstrapInterface. 2014-03-21 15:37:30 -04:00
be6b259c4e A better fix. 2014-03-21 09:54:49 -04:00
993339f080 Fixes #2842 2014-03-21 09:50:58 -04:00
530d7baabe fixed test break. 2014-03-18 00:23:12 -04:00
a3274c5ffc Fixed test break. 2014-03-18 00:13:02 -04:00
8c2e39235f Turn module and application into DI containers. 2014-03-17 23:57:01 -04:00
d2c84606a9 Fixes #2775: Added yii\base\Application::bootstrap to support running bootstrap classes when starting an application 2014-03-17 11:57:44 -04:00
b9287abf81 minor fixes. 2014-03-17 09:47:34 -04:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
f9e58d92fc check error level in error handler 2014-02-08 17:44:13 +06:00
214f66a8c1 skip exiting in test env.
see 0cfd41a21a (commitcomment-5238567)
issue #2233
2014-02-01 19:53:01 +01:00
0cfd41a21a let application exit with code 1 on error/exception in console
fixes #2233
2014-01-31 15:01:05 +01:00
8bdc437bc2 Fixes #2079:
- i18n now falls back to `en` from `en-US` if message translation isn't found
- View now falls back to `en` from `en-US` if file not found
- Default `sourceLanguage` and `language` are now `en`
2014-01-23 04:51:17 +04:00
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00
0d814fa523 Moved "framework" to "iii". 2013-05-09 12:00:15 -04:00
2dd51d5b46 Fixes issue #177. 2013-05-08 07:16:48 -04:00
9841d6c639 Fixes issue #124. 2013-05-05 15:11:53 -04:00
90cfb6ebb8 ActiveForm wip 2013-04-25 23:17:58 -04:00
767a78f8b8 better handling of errors during rendering an error 2013-04-19 04:12:30 +04:00
77233cf39e removed dev comment 2013-04-19 00:38:42 +04:00
d22e8ea34b Added YiiBase::importNamespaces(). 2013-04-18 15:46:01 -04:00
5b412b8f84 script WIP 2013-04-16 17:42:31 -04:00
0416e01414 script WIP 2013-04-15 22:59:13 -04:00
f52bc48576 use error_log to log fatal errors. 2013-04-13 23:16:11 -04:00
428d912811 script WIP 2013-04-13 13:05:54 -04:00
3616278ada typo. 2013-04-12 07:08:01 -04:00
6ae715ff8a refactored autoloading. 2013-04-10 23:39:36 -04:00
4c2fcd7608 refactored application. 2013-04-10 10:48:27 -04:00
122bd231b4 modified Application constructor signature. 2013-04-09 22:43:04 -04:00