Qiang Xue
b3b8fadfcf
minor adjustment of db exception.
2013-03-05 07:47:49 -05:00
Qiang Xue
8c7b1efa3b
finished Pagination.
2013-03-04 22:53:01 -05:00
Qiang Xue
95c6d7d6f3
web WIP
2013-03-04 16:54:25 -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
60583b87d3
cleanup
2013-03-04 07:07:34 -05:00
Qiang Xue
f610527a55
finished session components.
2013-03-03 21:51:06 -05:00
Qiang Xue
a8a3e1a9c8
session WIP
2013-03-03 16:51:36 -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
b858db7d38
security sip
2013-03-02 20:18:35 -05:00
Qiang Xue
423889977f
doc fix.
2013-03-02 16:33:12 -05:00
Qiang Xue
dac5e99e36
Added PasswordHelper.
2013-03-02 16:32:50 -05:00
Qiang Xue
4d6b3ddb9d
request wip
2013-02-28 20:30:50 -05:00
Qiang Xue
1536a6828a
cookie, request, response WIP
2013-02-27 21:27:28 -05:00
Qiang Xue
4ec96cd6cf
request WIP.
2013-02-27 19:10:29 -05:00
Qiang Xue
a095d383e2
refactored url management.
2013-02-27 11:19:24 -05:00
Alexander Makarov
de19d33d7b
clarified about adding colors support to console
2013-02-25 03:23:54 +04:00
Alexander Makarov
3bb73e54f9
more tests
2013-02-25 03:20:55 +04:00
Alexander Makarov
aa3d92f715
more tests for Vector
2013-02-25 02:54:31 +04:00
Alexander Makarov
79859238b4
more tests for Dictionary
2013-02-25 02:44:40 +04:00
Alexander Makarov
411a1b84d5
more tests for Object
2013-02-25 02:40:40 +04:00
Alexander Makarov
4c7bd953a1
added test for calling unknown method of Component
2013-02-25 02:32:59 +04:00
Alexander Makarov
695fd37e23
Merge remote-tracking branch 'refs/remotes/origin/master'
2013-02-25 02:18:04 +04:00
Alexander Makarov
f0676a8038
more tests for Behavior and Component
2013-02-25 02:16:50 +04:00
Qiang Xue
e31fa4ec1e
Merge branch 'master' of git.yiisoft.com:yii2
2013-02-24 16:19:43 -05:00
Qiang Xue
1eb1809aa4
finished URL testing.
2013-02-24 16:19:35 -05:00
Alexander Makarov
3f6704b8d7
Added contructor test for Object, adjusted test itself
2013-02-25 00:51:48 +04:00
Alexander Makarov
8878fb912f
Merge branch 'refs/heads/yii-style-fatal-errors'
2013-02-24 12:13:02 +04:00
Alexander Makarov
37d286ef94
Merge branch 'refs/heads/yii-style-fatal-errors'
2013-02-24 12:12:15 +04:00
Alexander Makarov
2c9918338a
added todo about console
2013-02-21 16:12:50 +04:00
Alexander Makarov
418299ad15
fixed namespace
2013-02-21 16:12:49 +04:00
Alexander Makarov
c00c2dcb1a
renamed yiic webapp -> yiic app
2013-02-21 16:12:49 +04:00
Qiang Xue
a5fe4a6af2
Fixed URLManager bugs.
2013-02-20 08:25:06 -05:00
Qiang Xue
448fa79bb3
added url manager test
2013-02-19 22:06:45 -05:00
Qiang Xue
8037514ed6
finished url manager
2013-02-19 22:06:08 -05:00
Qiang Xue
e26188b34f
URL wip
2013-02-19 19:08:45 -05:00
Alexander Makarov
e5be686849
create command template cleanup
2013-02-20 00:34:02 +04:00
Alexander Makarov
a25f870090
renamed create -> webapp/create, specified global options
2013-02-20 00:30:02 +04: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
63cb47e1f5
fixed assignment
2013-02-19 23:27:29 +04:00
Alexander Makarov
989b95a95b
used imports
2013-02-19 23:27:28 +04:00
Qiang Xue
0093d53432
url wip
2013-02-19 09:22:12 -05:00
Qiang Xue
c08c2e8b72
url wip
2013-02-17 12:50:03 -05: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
Qiang Xue
12fbb0f71d
url WIP
2013-02-11 19:51:18 -05:00
Qiang Xue
f65a0bd9ac
url wip
2013-02-11 16:34:02 -05:00
Alexander Makarov
842caa3aae
Yii-style for PHP fatal and parse errors
2013-02-12 00:08:28 +04:00
Qiang Xue
e25ad4bc88
URL wip.
2013-02-11 13:29:53 -05:00