71 Commits

Author SHA1 Message Date
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
1df9114b9a refactored ErrorException handling. 2013-04-09 22:28:13 -04:00
cd1b3d321a refactored url creation shortcut method. 2013-03-26 21:03:43 -04:00
80dbaaca8b bug fixes. 2013-03-25 19:37:42 -04:00
379e48a4c6 Finished new message translation implementation. 2013-03-24 22:34:45 -04:00
884977a724 renamed util to helpers. 2013-03-23 15:32:26 -04:00
1d48d01ef7 refactored View. 2013-03-20 22:03:13 -04:00
30d70be071 Finished Html helper. 2013-03-10 22:00:26 -04:00
4fdaab3560 updated file header. 2013-03-04 08:03:46 -05:00
210e7b69c4 cleanup 2013-03-04 07:48:57 -05:00
e66729840d Finished cookie.
Finished SecurityHelper.
2013-03-02 22:03:35 -05:00
7f1f1b7767 - Moved handling fatal errors into handleFatalError() method.
- Refactored checking for fatal error.
- Suppressed errors in exception handler in case of fatal errors.
2013-02-20 00:14:30 +04:00
2d5db95149 More on error handling:
- Correct exit code for require errors in CLI mode. It was 0 even in case of error.
- Solved handling fatals and displaying custom error template w/o output buffering.
- If XDEBUG is available, error screen will display trace (implementation inspired by Kohana and Nette).
- Added ErrorException to store/display type of the error and user-friendly messages.
- Fatals are still logged in PHP log.
- Turned off native display_errors since we're now catching all errors.
- Added reserving memory (256kb) . Can be removed safely. In case of removal we're losing only memory exhausted error when allocating last very small chunk of memory.
- Properly handled errors in __toString (exception can't be thrown in this case).
- In the YII_DEBUG===false mode it's bad to display exception name even in page title.
- In the YII_DEBUG===true mode it's still useful to get user-friendly message additionally to exception name.
2013-02-13 03:51:29 +04:00
842caa3aae Yii-style for PHP fatal and parse errors 2013-02-12 00:08:28 +04:00
e26a9ff4f5 ... 2013-02-06 11:06:21 -05:00
8b2b7915b4 Renamed application to app. 2013-02-05 16:12:22 -05:00
54ee8c44a0 refactored exceptions.
I18N WIP.
2013-02-04 16:39:19 -05:00
398ac25456 added UserException. 2013-02-03 19:45:44 -05:00
25e82b3d1a ViewRenderer WIP 2013-02-01 12:46:08 -05:00
761a9f4472 exception cleanup. 2013-02-01 07:53:32 -05:00
6fcac32410 error handling cleanup. 2013-01-31 23:50:53 -05:00
3fa22483c1 refactored logging.
MVC WIP
2013-01-27 17:11:06 -05:00
77e0be5c69 Merge branch 'master' of git.yiisoft.com:yii2
Conflicts:
	framework/base/Application.php
2013-01-25 19:08:48 -05:00
ceac41b250 MVC WIP 2013-01-25 18:56:56 -05:00
a6961f3404 patched controller and action creation 2013-01-26 00:21:04 +01:00
29398f4c22 MVC WIP 2013-01-25 08:44:09 -05:00
76b153a368 fixed event doc. 2013-01-20 13:37:16 -05:00
fb75c95813 refactored logging. 2013-01-19 22:08:12 -05:00
ed8b795295 renamed exception classes. 2013-01-17 19:55:10 -05:00
8e05e6e62d changed copyright line. 2013-01-07 11:34:52 -05:00
8517ee9e50 reorganized DB classes. 2013-01-05 16:46:53 -05:00
476266a25b moved UrlManager from web to base 2012-12-26 19:34:41 +04:00
a7abcb0ff0 fixed constructors chain in base Application 2012-12-26 18:49:00 +04:00
b7a7800fec Fixed constructors. 2012-08-30 21:17:42 -04:00
b1047e7ff6 refactored object creation.
added more exception classes.
working on request and response classes.
2012-06-30 22:21:28 -04:00