Alexander Makarov
63cb47e1f5
fixed assignment
12 years ago
Alexander Makarov
989b95a95b
used imports
12 years ago
Qiang Xue
0093d53432
url wip
12 years ago
Qiang Xue
c08c2e8b72
url wip
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
Qiang Xue
12fbb0f71d
url WIP
12 years ago
Qiang Xue
f65a0bd9ac
url wip
12 years ago
Alexander Makarov
842caa3aae
Yii-style for PHP fatal and parse errors
12 years ago
Qiang Xue
e25ad4bc88
URL wip.
12 years ago
Qiang Xue
a946a86386
fixed parseUrl.
12 years ago
Qiang Xue
f31369e7c1
url wip
12 years ago
Qiang Xue
712f4dae0d
url wip
12 years ago
Qiang Xue
ab42ab2d52
url wip
12 years ago
Qiang Xue
379fddfec3
URL manager WIP
12 years ago
Alexander Makarov
45020ebc72
autoloader draft docs
12 years ago
Alexander Makarov
066734ccf4
Merge remote-tracking branch 'refs/remotes/origin/master'
12 years ago
Alexander Makarov
80e29130dc
more todos
12 years ago
Qiang Xue
54c539dd51
Fixed buildInCondition bug.
12 years ago
Alexander Makarov
137d472838
console command to flush cache
12 years ago
Alexander Makarov
64fb2a815c
added tests for cache
12 years ago
Alexander Makarov
811880031c
fixed YII_DEBUG exception view
12 years ago
Qiang Xue
e26a9ff4f5
...
12 years ago
Qiang Xue
1c375b9097
bug fixes.
12 years ago
Qiang Xue
a07a67ad8d
minor fix of console commands.
12 years ago
Qiang Xue
8b2b7915b4
Renamed application to app.
12 years ago
Qiang Xue
fcf3f2c893
i18n WIP
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
225d2bb1b3
help cleanup
12 years ago
Qiang Xue
b2662c0cd9
clean up help command.
12 years ago
Qiang Xue
2d7f048b74
Refactored usage error in console commands.
12 years ago
Qiang Xue
7aa80d86f5
refactored execute() and query() methods in db/Command.
12 years ago
Carsten Brandt
0f6eda3718
Merge branch 'master' of git.yiisoft.com:yii2
...
* 'master' of git.yiisoft.com:yii2:
moved ConsoleColor.
Finished ViewRenderer.
ViewRenderer WIP
12 years ago
Carsten Brandt
4726cf32f3
Copy paste error commit() -> rollBack()
12 years ago
Qiang Xue
dcca0bcf44
moved ConsoleColor.
12 years ago
Qiang Xue
e3c85b478e
Finished ViewRenderer.
12 years ago
Qiang Xue
d5d241e835
Merge branch 'master' of git.yiisoft.com:yii2
12 years ago
Qiang Xue
25e82b3d1a
ViewRenderer WIP
12 years ago
Carsten Brandt
da0ef127b5
proof reading docs, fixed event order in AR
12 years ago
Carsten Brandt
c5816d233c
Merge branch 'master' of git.yiisoft.com:yii2
...
* 'master' of git.yiisoft.com:yii2:
Added Command::batchInsert()
exception cleanup.
error handling cleanup.
console app cleanup.
MVC cleanup
MVC WIP
MVC WIP
MVC WIP
cleanup.
MVC WIP
refactored logging. MVC WIP
MVC WIP
patched controller and action creation
todo updates.
Conflicts:
framework/console/View.php
12 years ago
Carsten Brandt
f1b62a476c
Move console color helper back to console
...
Planning a view structure in there, not sure if naming should be view or
widget yet.
12 years ago
Qiang Xue
a39638515f
Added Command::batchInsert()
12 years ago
Qiang Xue
761a9f4472
exception cleanup.
12 years ago
Qiang Xue
6fcac32410
error handling cleanup.
12 years ago
Qiang Xue
5b357d2eed
console app cleanup.
12 years ago
Qiang Xue
e09a791c92
MVC cleanup
12 years ago
Qiang Xue
4402073d97
MVC WIP
12 years ago