Qiang Xue
e66729840d
Finished cookie.
...
Finished SecurityHelper.
12 years ago
Qiang Xue
dac5e99e36
Added PasswordHelper.
12 years ago
Qiang Xue
4ec96cd6cf
request WIP.
12 years ago
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.
12 years ago
Alexander Makarov
97eda21ab6
ErrorException now extends from Exception
12 years ago
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.
12 years ago
Alexander Makarov
842caa3aae
Yii-style for PHP fatal and parse errors
12 years ago
Qiang Xue
e26a9ff4f5
...
12 years ago
Qiang Xue
1c375b9097
bug fixes.
12 years ago
Qiang Xue
8b2b7915b4
Renamed application to app.
12 years ago
Qiang Xue
3c1452e84b
Changed the separator of message category.
12 years ago
Qiang Xue
54ee8c44a0
refactored exceptions.
...
I18N WIP.
12 years ago
Qiang Xue
398ac25456
added UserException.
12 years ago
Qiang Xue
af4455eb03
Finished console support.
...
Finished migrate command.
12 years ago
Qiang Xue
6a595de4be
refactored MVC.
12 years ago
Qiang Xue
b2662c0cd9
clean up help command.
12 years ago
Qiang Xue
7aa80d86f5
refactored execute() and query() methods in db/Command.
12 years ago
Qiang Xue
e3c85b478e
Finished ViewRenderer.
12 years ago
Qiang Xue
25e82b3d1a
ViewRenderer WIP
12 years ago
Qiang Xue
761a9f4472
exception cleanup.
12 years ago
Qiang Xue
6fcac32410
error handling cleanup.
12 years ago
Qiang Xue
e09a791c92
MVC cleanup
12 years ago
Qiang Xue
4402073d97
MVC WIP
12 years ago
Qiang Xue
311f876b7b
MVC WIP
12 years ago
Qiang Xue
bd320533ab
MVC WIP
12 years ago
Qiang Xue
9165a1592a
cleanup.
12 years ago
Qiang Xue
0d21ee67cb
MVC WIP
12 years ago
Qiang Xue
3fa22483c1
refactored logging.
...
MVC WIP
12 years ago
Qiang Xue
ceac41b250
MVC WIP
12 years ago
Alexander Makarov
a6961f3404
patched controller and action creation
12 years ago
Qiang Xue
29398f4c22
MVC WIP
12 years ago
Qiang Xue
78396afb02
validator cleanup.
12 years ago
Qiang Xue
76b153a368
fixed event doc.
12 years ago
Qiang Xue
edc48dc9c7
removed ApplicationComponent.
12 years ago
Qiang Xue
fb75c95813
refactored logging.
12 years ago
Qiang Xue
373e6a705e
refactored event declaration convention.
12 years ago
Qiang Xue
6ed01e9645
DB cleanup.
12 years ago
Qiang Xue
6dd495b65f
Added init and afterFind events to AR.
...
Implemented scope support.
12 years ago
Qiang Xue
ed8b795295
renamed exception classes.
12 years ago
Qiang Xue
ebecc09839
DB refactoring.
12 years ago
Qiang Xue
9b62fb6786
DB cleanup.
12 years ago
Qiang Xue
3ca50f3043
clean up AR
12 years ago
Qiang Xue
c72d7dc96b
cleanup WIP
12 years ago
Qiang Xue
04cf537394
move back api docs.
12 years ago
Qiang Xue
88672ed1da
furnishing base classes.
12 years ago
Qiang Xue
8e05e6e62d
changed copyright line.
12 years ago
Qiang Xue
e5cefb0133
moved api docs.
12 years ago
Qiang Xue
faef457f2c
Fixed Object class.
12 years ago
Qiang Xue
8517ee9e50
reorganized DB classes.
12 years ago
Alexander Makarov
476266a25b
moved UrlManager from web to base
12 years ago