241 Commits

Author SHA1 Message Date
a29df58516 Removed translations for messages intended for developers 2014-01-09 02:26:29 +04:00
e8a80af413 fixes #1811 2014-01-07 12:58:11 +04:00
34dc150f63 doc fixes. 2014-01-06 20:51:43 -05:00
bee82b29ad Fixed URL parsing so it's now properly giving 404 for URLs like http://example.com//////site/about 2014-01-07 04:40:38 +04:00
c56647ff4c Merge pull request #1757 from nineinchnick/1476_session_handler
Add handler property to yii\web\Session
2014-01-06 07:26:36 -08:00
9968098e8a fixed getSecureConnection after #1800
and 7ba6a06300f150bbd2818afb01070203a6ce0549
2014-01-06 13:05:10 +01:00
7ba6a06300 Fixed code style and comparison 2014-01-06 15:11:47 +04:00
e92934e612 fix when $_SERVER['HTTPS'] is "ON"
when $_SERVER['HTTPS'] is "ON" it doesn't work well
2014-01-06 16:28:34 +08:00
5eed149f24 fixed links in phpdoc 2014-01-06 05:47:49 +01:00
e8b674dc78 Do not unset class properties!
this will result in objects that do not have the property anymore :-)
2014-01-05 01:11:33 +01:00
7e1e622458 simpler implementation of the handler property in yii\web\Session 2014-01-03 23:51:45 +01:00
53bb25947d add handler property to yii\web\Session 2014-01-03 21:52:45 +01:00
4a9b2d2b82 Added support for using array-typed arguments for console commands 2014-01-02 21:06:59 -05:00
7ec8d0df5f doc fix. 2014-01-01 23:47:41 -05:00
fb0c43b30b yii\web\User::loginRequired() now returns the Response object instead of exiting the application 2014-01-01 23:36:55 -05:00
1edeb7aa5e Fixed test break. 2013-12-30 21:35:15 -05:00
5f8e6d377b Fixes #1706: Added support for registering a single JS/CSS file with dependency 2013-12-30 21:02:42 -05:00
943bf88904 doc fix. 2013-12-29 23:36:19 -05:00
404757bf82 Fixes #1631: Charset is now explicitly set to UTF-8 when serving JSON 2013-12-29 00:32:03 +01:00
f554d46aaa minor fixes. 2013-12-28 13:14:33 -05:00
c31e113d95 Fixes #1671 2013-12-28 08:59:29 -05:00
4b569f3e90 Fixed CSRF token masking issue. 2013-12-27 23:26:38 -05:00
c8960168c5 Fixes #1634: Use masked CSRF tokens to prevent BREACH exploits 2013-12-26 17:51:14 -05:00
2686403c0e Use better random CSRF token. 2013-12-26 16:19:09 -05:00
be5afe7da8 Fixes #1572: Added yii\web\Controller::createAbsoluteUrl() 2013-12-22 22:06:11 +01:00
8c4412be50 short array syntax 2013-12-18 14:05:00 +01:00
2355c764a8 Fixed Call to a member function registerAssetFiles() on a non-object in case of wrong sourcePath for an asset bundle 2013-12-12 18:39:40 +01:00
ac3967cab7 removed unused property from Session
cleanup after #1479
2013-12-11 16:47:30 +01:00
97645bcfb5 Removed compatibility code for PHP < 5.4 2013-12-11 14:07:17 +01:00
e56d60ad49 Escape special chars in URL rules. 2013-12-10 17:04:39 -05:00
41d24ee903 Replace request with response in code example 2013-12-09 14:51:45 +03:00
26767735dc Renamed byte methods, moved path methods back to StringHelper 2013-12-04 14:26:47 +01:00
5f2a612c78 Moved file and path related methods from StringHelper to FileHelper, renamed StringHelper byte methods not to be misused as string methods 2013-12-04 09:48:01 +01:00
c7c13a6693 Added concrete http exception classes. 2013-11-29 21:22:08 -05:00
a5e3c00d75 replaced inheritdoc tags. 2013-11-29 12:49:07 -05:00
58bd2fb958 Only whitespace removal 2013-11-27 20:19:56 +02:00
13c6b99814 Fixes #1331: Added support for using '*' to specify verb filters for all actions. 2013-11-26 16:28:55 -05:00
2ff8ac3d61 fixed PhpDoc by swapping to {@inheritdoc} 2013-11-26 04:24:20 +02:00
4b353c7bce Fixes #1297: CSRF not generated on error pages 2013-11-24 17:41:09 -05:00
7b0ba10d31 Fixes #1248: url manager didn't handle array parameters well. 2013-11-23 13:13:12 -05:00
248e0cb916 Added default status code setting. 2013-11-21 08:41:04 -05:00
9e1fa1f7a4 Added code example. 2013-11-20 22:56:21 -05:00
423ce83798 adjusted log place. 2013-11-20 22:53:43 -05:00
33f4a142ee fixes invalid value in controller redirect
fixes #1261
2013-11-21 01:56:42 +01:00
900100c29e Merge pull request #1258 from cebe/self-static
Changed usage of self to static to allow extendibility
2013-11-20 12:29:04 -08:00
a82330b212 reverted duplicated fix for #1244
fixes #1244
2013-11-20 21:09:30 +01:00
e775c82dd8 Changed usage of self to static to allow extendibility
code style section has been added here:
https://github.com/yiisoft/yii2/wiki/Core-framework-code-style#self-vs-static

verification code for properties:
https://gist.github.com/cebe/7566916
2013-11-20 18:36:05 +01:00
64862f96ca disable CSRF validation after validation has failed
this allows to be able to call error action.

fixes #1244
2013-11-20 14:35:08 +01:00
f5219d2481 Response status code default is 200
fixes #1220
2013-11-20 14:14:04 +01:00
d2e5f2c507 Fixes #1234: use dash instead of underscore to separate language and country in locale id. 2013-11-19 16:33:52 -05:00