Commit Graph

220 Commits

Author SHA1 Message Date
Qiang Xue
6f11f9e349 script WIP 2013-04-09 22:28:56 -04:00
Qiang Xue
1df9114b9a refactored ErrorException handling. 2013-04-09 22:28:13 -04:00
Qiang Xue
79b278c816 refactored theme. 2013-04-09 08:38:31 -04:00
Qiang Xue
486ab3ff67 script WIP 2013-04-08 08:30:10 -04:00
Qiang Xue
ad4cf9e8fa Added beforeRender and afterRender to View. 2013-04-05 21:12:49 -04:00
Qiang Xue
a421f9f1ab refactored component event. 2013-04-05 19:29:10 -04:00
Qiang Xue
31777c9231 Fixed render issue. 2013-04-05 12:43:55 -04:00
Qiang Xue
bb5b6a4191 Finished FileValidator and UploadedFile.
Added Model::formName().
2013-04-04 16:53:50 -04:00
Qiang Xue
3bd186deeb refactored validators. 2013-04-03 23:23:32 -04:00
Qiang Xue
c629ad776a Finished plural forms. 2013-04-01 17:59:14 -04:00
Qiang Xue
78457bf009 fetching plural rule data. 2013-04-01 14:58:44 -04:00
Qiang Xue
c32a202d82 refactored MVC. 2013-03-31 20:21:29 -04:00
Qiang Xue
00319fb898 Fixed about previous exception. 2013-03-29 08:32:58 -04:00
Qiang Xue
8c6678212d Merge branch 'master' of git.yiisoft.com:yii2 2013-03-28 20:08:00 -04:00
Qiang Xue
e7295ad564 Use __METHOD__ as log category. 2013-03-28 20:07:49 -04:00
Alexander Makarov
7b73fdff5c Better validation rules validity check 2013-03-29 03:22:19 +04:00
Alexander Makarov
b11925d15b Merge remote-tracking branch 'refs/remotes/origin/master' 2013-03-29 02:31:52 +04:00
Alexander Makarov
0b265f0e36 A bit more friendly behavior for unsetting a model attribute 2013-03-29 02:30:42 +04:00
Qiang Xue
55af861190 Merge branch 'master' of git.yiisoft.com:yii2 2013-03-28 17:43:37 -04:00
Qiang Xue
1fbf81be57 User WIP. 2013-03-28 17:43:27 -04:00
Alexander Makarov
66fcf622aa Fixed Model::getFirstErrors() 2013-03-29 01:36:13 +04:00
Qiang Xue
2fd87fb6d0 User WIP 2013-03-28 08:28:03 -04:00
Qiang Xue
e1acc64b2b refactoring cache and db references. 2013-03-27 17:09:18 -04:00
Qiang Xue
c03a3ff858 Finishes flash feature. 2013-03-27 11:39:05 -04:00
Qiang Xue
cd1b3d321a refactored url creation shortcut method. 2013-03-26 21:03:43 -04:00
Qiang Xue
de5c304f64 finished fragment caching. 2013-03-25 22:26:25 -04:00
Qiang Xue
feebb1306f Merge branch 'master' of git.yiisoft.com:yii2 2013-03-25 19:39:21 -04:00
Qiang Xue
27f5c49bd5 fragment cache WIP 2013-03-25 19:39:09 -04:00
Qiang Xue
5c6966c32e Merge branch 'master' of git.yiisoft.com:yii2 2013-03-25 19:37:51 -04:00
Qiang Xue
80dbaaca8b bug fixes. 2013-03-25 19:37:42 -04:00
Qiang Xue
2f3cc8f16e finished ActionFilter. 2013-03-25 14:37:25 -04:00
Qiang Xue
392b293d33 FragmentCache WIP 2013-03-25 14:27:15 -04:00
Qiang Xue
379e48a4c6 Finished new message translation implementation. 2013-03-24 22:34:45 -04:00
Qiang Xue
884977a724 renamed util to helpers. 2013-03-23 15:32:26 -04:00
Qiang Xue
5a6c5ccb4a Finished ContentDecorator. 2013-03-23 15:28:18 -04:00
Qiang Xue
a5ee5b842b view WIP 2013-03-22 17:22:29 -04:00
Qiang Xue
2ecf1d9284 view sip 2013-03-22 08:50:57 -04:00
Qiang Xue
1d48d01ef7 refactored View. 2013-03-20 22:03:13 -04:00
Qiang Xue
b71e83016f ActiveForm WIP 2013-03-14 20:44:58 -04:00
Qiang Xue
30d70be071 Finished Html helper. 2013-03-10 22:00:26 -04:00
Qiang Xue
1f522d22b4 sort WIP 2013-03-05 23:25:50 -05:00
Qiang Xue
4fdaab3560 updated file header. 2013-03-04 08:03:46 -05:00
Qiang Xue
210e7b69c4 cleanup 2013-03-04 07:48:57 -05:00
Qiang Xue
f68bed0ccb fixed exception. 2013-03-03 10:19:22 -05:00
Qiang Xue
e66729840d Finished cookie.
Finished SecurityHelper.
2013-03-02 22:03:35 -05:00
Qiang Xue
dac5e99e36 Added PasswordHelper. 2013-03-02 16:32:50 -05:00
Qiang Xue
4ec96cd6cf request WIP. 2013-02-27 19:10:29 -05:00
Alexander Makarov
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
Alexander Makarov
97eda21ab6 ErrorException now extends from Exception 2013-02-20 00:00:25 +04:00
Alexander Makarov
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