162 Commits

Author SHA1 Message Date
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
ed9f225fb4 ... 2012-05-24 19:45:15 -04:00
e8b0fd1327 ... 2012-05-19 09:46:32 -04:00
e7a5e8ab37 ... 2012-05-18 07:37:47 -04:00
be8dd940db ... 2012-05-12 10:42:44 -04:00
5a72523a14 console commands. 2012-05-12 00:28:23 -04:00
5f3e24d81f working on console app. 2012-05-11 21:55:22 -04:00
c1cb99ab37 controller work. 2012-05-05 13:30:33 -04:00
165bb02a65 ... 2012-04-30 11:20:53 -04:00
b7e4bd3155 ... 2012-04-21 18:26:59 -04:00