434 Commits

Author SHA1 Message Date
b1a26ff336 Fix the Y2K38 bug
Adds support for timestamps beyond year 2038.
2014-04-20 19:08:08 +05:30
d3277ecf4f InvalidCallException, InvalidParamException, UnknownMethodException are now extended from SPL BadMethodCallException 2014-04-19 02:00:19 +04:00
4d235f9f8b Fixed exception message to match the one in Component 2014-04-19 01:59:19 +04:00
db244a61b2 Fix typo 2014-04-18 09:48:58 +02:00
76d8e2b5b3 code style, fixes #3140 2014-04-17 13:24:16 +02: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
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
a4809bca1b Fixes #3091: Fixed inconsistent treatment of Widget::run() when a widget is used as a container and as a self-contained object 2014-04-14 20:07:16 -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
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
ea75177abc Refactored app bootstrap logic. 2014-04-10 15:05:01 -04:00
0b29c9607d fixed broken API links [skip ci] 2014-04-09 22:22:49 -04:00
fa767ceaca renamed attributes to attributeNames in model
fixes #3034
2014-04-09 18:54:53 +02: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
3616d1f0d1 Fixes #2816: Changed default date and time format of yii\base\Formatter to Y-m-d and H:i:s 2014-04-05 18:15:06 -04:00
48e67e8b89 renamed PrefixUrlRule to GroupUrlRule 2014-04-05 12:07:38 -04:00
c4e1416e37 fixed doc [skip ci] 2014-04-05 08:08:36 -04:00
a15a3835c7 Moved all filter classes to namespace yii\filters 2014-04-05 01:00:14 -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
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
ada39df60b Corrected theming docs not to give an example of theme view files under webroot 2014-04-02 17:07:04 +04:00
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
7be743e1a7 cleanup application errorHandler getter 2014-03-30 12:24:45 +02:00
a64429acf3 removed TODOs 2014-03-30 12:01:08 +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
c93231e26b improved session error handling
fixes #1946
2014-03-29 23:54:26 +01:00
bb2906917d adjusted guide and small code adjustements 2014-03-29 20:15:32 +01:00
33543cbdb3 improved error handler output on console app 2014-03-29 19:52:36 +01:00
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
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
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
67dd874e0c renamed console controller optoins param $id to $actionId 2014-03-26 17:51:52 +01:00
293e807017 added missing constructor call 2014-03-26 16:38:05 +01:00
1e75427393 updated classmap and phpdoc 2014-03-24 23:26:30 +01:00
a9e37b906c fixed typo 2014-03-23 21:25:45 +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