Commit Graph

465 Commits

Author SHA1 Message Date
Qiang Xue
c4e1416e37 fixed doc [skip ci] 2014-04-05 08:08:36 -04:00
Qiang Xue
a15a3835c7 Moved all filter classes to namespace yii\filters 2014-04-05 01:00:14 -04:00
Qiang Xue
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
Qiang Xue
104c4fc3ae Added support to allow an event handler to be inserted at the beginning of the existing event handler list 2014-04-04 21:45:34 -04:00
Alexander Makarov
ada39df60b Corrected theming docs not to give an example of theme view files under webroot 2014-04-02 17:07:04 +04:00
Alexander Makarov
6054ede16a Fixed phpdoc, removed unit tests for Formatter asRelativeTime that were relative to current time since it was impossible to specify correct expected values 2014-03-31 02:05:04 +04:00
Carsten Brandt
7be743e1a7 cleanup application errorHandler getter 2014-03-30 12:24:45 +02:00
Carsten Brandt
a64429acf3 removed TODOs 2014-03-30 12:01:08 +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
c93231e26b improved session error handling
fixes #1946
2014-03-29 23:54:26 +01:00
Carsten Brandt
bb2906917d adjusted guide and small code adjustements 2014-03-29 20:15:32 +01:00
Carsten Brandt
33543cbdb3 improved error handler output on console app 2014-03-29 19:52:36 +01:00
Qiang Xue
92bd71cd84 Fixes #2912: Relative view files will be looked for under the directory containing the view currently being rendered 2014-03-28 21:54:32 -04:00
Qiang Xue
48383f9a19 app end improvement. 2014-03-28 18:05:43 -04:00
Qiang Xue
43b8430e0f improvement of Application::end() handling. 2014-03-28 18:03:10 -04:00
Qiang Xue
c40ae85994 typo fix. 2014-03-28 17:00:12 -04:00
Qiang Xue
ac74fede28 Fixes #2910: Added Application::end() 2014-03-28 16:59:21 -04:00
Carsten Brandt
d4ad533d48 moved error handling related methods from app to errorhandler 2014-03-28 19:57:11 +01:00
Qiang Xue
b9b4555da6 move assetManager to base application. 2014-03-27 14:09:30 -04:00
Qiang Xue
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
Carsten Brandt
fdface1646 added stack trace to exception output in API when YII_DEBUG is true
issues #303 and #2516
2014-03-27 00:22:01 +01:00
Carsten Brandt
67dd874e0c renamed console controller optoins param $id to $actionId 2014-03-26 17:51:52 +01:00
Carsten Brandt
293e807017 added missing constructor call 2014-03-26 16:38:05 +01:00
Carsten Brandt
1e75427393 updated classmap and phpdoc 2014-03-24 23:26:30 +01:00
Carsten Brandt
a9e37b906c fixed typo 2014-03-23 21:25:45 +01:00
Carsten Brandt
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
Qiang Xue
a9546a9906 do not throw exception for Application::getCache() when cache is not installed. 2014-03-21 16:30:36 -04:00
Qiang Xue
b9eb5de96d Fixes #2796: Added BootstrapInterface. 2014-03-21 15:37:30 -04:00
Qiang Xue
be6b259c4e A better fix. 2014-03-21 09:54:49 -04:00
Qiang Xue
993339f080 Fixes #2842 2014-03-21 09:50:58 -04:00
Qiang Xue
b1c4416218 Final touchup. 2014-03-21 00:02:15 -04:00
Qiang Xue
3c518c4207 Merge commit 'f605508bb2805d24df98037ea239f8f582deda0e' into feature-container 2014-03-20 23:51:02 -04:00
Qiang Xue
87df068eb0 DI WIP 2014-03-20 19:54:52 -04:00
Alexander Pletnev
a73abd9300 better to use strict comparison as much as possible 2014-03-19 19:51:51 +04:00
Dmitry Erofeev
0fa8f8cc01 fixed Theme::getPath() 2014-03-19 16:53:35 +04:00
Dmitry Erofeev
ac0a56e9d0 reverted deletion of Theme::getPath() 2014-03-19 16:29:59 +04:00
Dmitry Erofeev
b3053f4346 Made Theme::basePath optional fixes #2810 2014-03-19 15:43:37 +04:00
David Renty
ed70735b22 Changelog and doc 2014-03-19 10:48:20 +01:00
David Renty
dde5a00ce3 Merge branch 'master' of https://github.com/yiisoft/yii2
Conflicts:
	framework/base/Formatter.php
	tests/unit/framework/base/FormatterTest.php
2014-03-18 17:31:11 +01:00
Qiang Xue
530d7baabe fixed test break. 2014-03-18 00:23:12 -04:00
Qiang Xue
a3274c5ffc Fixed test break. 2014-03-18 00:13:02 -04:00
Qiang Xue
8c2e39235f Turn module and application into DI containers. 2014-03-17 23:57:01 -04:00
Qiang Xue
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
Qiang Xue
b9287abf81 minor fixes. 2014-03-17 09:47:34 -04:00
David Renty
91e4ad5978 PSR-2 compliance 2014-03-17 12:02:26 +01:00
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
Qiang Xue
c01ffe7dc2 Fixes #2303: support setting basePath and baseUrl as aliases during runtime. 2014-03-14 20:31:36 -04:00
David Renty
0fa5230cd0 Removed debug code, changed doc 2014-03-14 18:37:11 +01:00