Commit Graph

248 Commits

Author SHA1 Message Date
Qiang Xue
4bee9e8430 Merge pull request #1852 from creocoder/activerecord-tablename-prefix-fixes
[WIP] ActiveRecord::tableName() hardcoded prefix fix
2014-01-08 20:44:37 -08:00
Alexander Kochetov
ecf7942aa4 \yii\web\DbSession updated 2014-01-09 08:07:42 +04:00
Qiang Xue
6423c41233 Merge pull request #1839 from anfrantic/master
UplodedFile enhasement
2014-01-08 18:54:47 -08:00
Qiang Xue
c6c51baa3c Fixes #1844: Response::sendFile() and other file sending methods will not send the response 2014-01-08 21:51:37 -05:00
Qiang Xue
50703f8a82 Fixes #1844: Calling Response::sendFile() would cause sending the response twice 2014-01-08 20:57:36 -05:00
Alexander Makarov
a29df58516 Removed translations for messages intended for developers 2014-01-09 02:26:29 +04:00
andrey
264e61101a UplodedFile enhasement 2014-01-08 20:10:32 +02:00
andrey
29693f68fd UplodedFile enhasement 2014-01-08 19:55:16 +02:00
Alexander Makarov
e8a80af413 fixes #1811 2014-01-07 12:58:11 +04:00
Qiang Xue
34dc150f63 doc fixes. 2014-01-06 20:51:43 -05:00
Alexander Makarov
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
Qiang Xue
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
Carsten Brandt
9968098e8a fixed getSecureConnection after #1800
and 7ba6a06300
2014-01-06 13:05:10 +01:00
Alexander Makarov
7ba6a06300 Fixed code style and comparison 2014-01-06 15:11:47 +04:00
ginus
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
Carsten Brandt
5eed149f24 fixed links in phpdoc 2014-01-06 05:47:49 +01:00
Carsten Brandt
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
John Was
7e1e622458 simpler implementation of the handler property in yii\web\Session 2014-01-03 23:51:45 +01:00
John Was
53bb25947d add handler property to yii\web\Session 2014-01-03 21:52:45 +01:00
Qiang Xue
4a9b2d2b82 Added support for using array-typed arguments for console commands 2014-01-02 21:06:59 -05:00
Qiang Xue
7ec8d0df5f doc fix. 2014-01-01 23:47:41 -05:00
Qiang Xue
fb0c43b30b yii\web\User::loginRequired() now returns the Response object instead of exiting the application 2014-01-01 23:36:55 -05:00
Qiang Xue
1edeb7aa5e Fixed test break. 2013-12-30 21:35:15 -05:00
Qiang Xue
5f8e6d377b Fixes #1706: Added support for registering a single JS/CSS file with dependency 2013-12-30 21:02:42 -05:00
Qiang Xue
943bf88904 doc fix. 2013-12-29 23:36:19 -05:00
Alexander Makarov
404757bf82 Fixes #1631: Charset is now explicitly set to UTF-8 when serving JSON 2013-12-29 00:32:03 +01:00
Qiang Xue
f554d46aaa minor fixes. 2013-12-28 13:14:33 -05:00
Qiang Xue
c31e113d95 Fixes #1671 2013-12-28 08:59:29 -05:00
Qiang Xue
4b569f3e90 Fixed CSRF token masking issue. 2013-12-27 23:26:38 -05:00
Qiang Xue
c8960168c5 Fixes #1634: Use masked CSRF tokens to prevent BREACH exploits 2013-12-26 17:51:14 -05:00
Qiang Xue
2686403c0e Use better random CSRF token. 2013-12-26 16:19:09 -05:00
Alexander Makarov
be5afe7da8 Fixes #1572: Added yii\web\Controller::createAbsoluteUrl() 2013-12-22 22:06:11 +01:00
Paul Kofmann
8c4412be50 short array syntax 2013-12-18 14:05:00 +01:00
Alexander Makarov
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
Carsten Brandt
ac3967cab7 removed unused property from Session
cleanup after #1479
2013-12-11 16:47:30 +01:00
DaSourcerer
97645bcfb5 Removed compatibility code for PHP < 5.4 2013-12-11 14:07:17 +01:00
Qiang Xue
e56d60ad49 Escape special chars in URL rules. 2013-12-10 17:04:39 -05:00
Alexander Kozhevnikov
41d24ee903 Replace request with response in code example 2013-12-09 14:51:45 +03:00
Alexander Makarov
26767735dc Renamed byte methods, moved path methods back to StringHelper 2013-12-04 14:26:47 +01:00
Alexander Makarov
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
Qiang Xue
c7c13a6693 Added concrete http exception classes. 2013-11-29 21:22:08 -05:00
Qiang Xue
a5e3c00d75 replaced inheritdoc tags. 2013-11-29 12:49:07 -05:00
Panagiotis Moustafellos
58bd2fb958 Only whitespace removal 2013-11-27 20:19:56 +02:00
Qiang Xue
13c6b99814 Fixes #1331: Added support for using '*' to specify verb filters for all actions. 2013-11-26 16:28:55 -05:00
Panagiotis Moustafellos
2ff8ac3d61 fixed PhpDoc by swapping to {@inheritdoc} 2013-11-26 04:24:20 +02:00
Qiang Xue
4b353c7bce Fixes #1297: CSRF not generated on error pages 2013-11-24 17:41:09 -05:00
Qiang Xue
7b0ba10d31 Fixes #1248: url manager didn't handle array parameters well. 2013-11-23 13:13:12 -05:00
Qiang Xue
248e0cb916 Added default status code setting. 2013-11-21 08:41:04 -05:00
Qiang Xue
9e1fa1f7a4 Added code example. 2013-11-20 22:56:21 -05:00
Qiang Xue
423ce83798 adjusted log place. 2013-11-20 22:53:43 -05:00