Commit Graph

506 Commits

Author SHA1 Message Date
Alexander Makarov
105100fe79 Merge pull request #9140 from matthewyang/fix-redefine-parent-property-controller
Removed redefinition of Application::$controller from web/console
2015-07-17 08:29:33 +03:00
matthewyang
fed6f35627 remove redefined parent property 2015-07-17 12:23:27 +08:00
Alexander Makarov
aaf931a5e8 Fixes #9070: Fixed ViewAction::resolveViewName() not to accept /../ and /./ 2015-07-10 12:34:09 +03:00
Sebastian Chojniak
025845e660 performance: unnecessary (when result is cached) getAuthManager() removed 2015-07-09 19:22:36 +02:00
Carsten Brandt
5d3532c649 fixed endless error loop in error handler
this happended when `stream` was set on the response but the stream resouce was invalid
either because it was already sent or became invalid for some other cases.

fixes #9046
2015-07-08 20:30:26 +02:00
Alexander Makarov
9f91a02a86 Fixes #9005: added note about crossdomain jQuery requests and Request::getIsAjax() 2015-07-06 16:34:02 +03:00
Alexander Mohorev
9e3d28a3d9 Fix spelling 2015-06-29 23:13:15 +03:00
Alexander Mohorev
39cb131984 Spelling and sc fixes 2015-06-16 23:53:12 +03:00
Klimov Paul
58760538d0 Merge branch 'master' of github.com:yiisoft/yii2 into 8670-multi-data-session 2015-06-09 12:58:17 +03:00
Alexander Mohorev
ae42a054bb PSR-2 spaces, commas, etc 2015-06-09 00:05:06 +03:00
Alexander Mohorev
0c5e4b7105 PSR-2 foreach statement 2015-06-08 23:21:21 +03:00
Klimov Paul
4283f29a5a yii\web\MultiFieldSession created 2015-06-08 17:25:24 +03:00
Alexander Mohorev
e8535eea22 Incorrect property type declared. 2015-06-07 23:55:34 +03:00
Carsten Brandt
f68e970de2 link to PHP classes just as we do with normal classes
apidoc can handle this!
2015-06-05 21:53:24 +02:00
Carsten Brandt
0802d3eb60 added more detailed comment for #8556 2015-06-01 15:44:07 +02:00
Alexander Makarov
67658cf57d Replaced static with $this in phpdoc since current IDEs are finally able to handle it correctly 2015-05-31 13:39:30 +03:00
Alexander Makarov
acb7b2ebbb Fixes #8556: Extracted yii\web\User::getAuthManager() method 2015-05-31 12:46:38 +03:00
Klimov Paul
886e99be11 Fixed yii\web\Response::xSendFile() does not reset format 2015-05-29 16:29:06 +03:00
Klimov Paul
95ba06c01b Added ability to use aliases and domain relative URLs at yii\web\AssetManager::assetMap 2015-05-28 16:41:59 +03:00
Klimov Paul
8a506e1ee3 Added support for 'only' and 'except' options for yii\web\AssetManager::publish() 2015-05-27 17:01:05 +03:00
Klimov Paul
b57b994a75 Fixed missing error suppression operator at yii\web\AssetConverter::convert() 2015-05-20 11:08:14 +03:00
Mike Grigorieff
32bc19ae9b Updated web/Controller.php, simplified code design
close #8387
2015-05-13 12:53:44 +02:00
Qiang Xue
78d3a856d3 Added Json::htmlEncode() to support safer JSON data encoding in HTML code 2015-05-09 23:38:17 -04:00
Carsten Brandt
49ac8d790a phpdoc: added link 2015-05-08 00:00:31 +02:00
Klimov Paul
8609311738 Fixed numeric keys in $_GET transformed to 0-based, if 'pretty URL' enabled 2015-05-06 17:09:31 +03:00
Qiang Xue
ebc089e6c2 Fixes #8194: Caching of the matched rules added to yii\web\UrlManager::createUrl() 2015-05-03 22:03:42 -04:00
Carsten Brandt
c105622004 example for a link tag: issue #2803
[ci skip]
2015-04-30 18:25:04 +02:00
Carsten Brandt
9a5abd923f cleanup after #8171 2015-04-24 15:28:57 +02:00
Philippe Gaultier
be6c619de9 Fixes #8171: Allow the user to enforce the fileSize to allow sending files which are not seekable. Needed when using S3 Stream Wrapper 2015-04-24 14:30:30 +03:00
Carsten Brandt
ef662b57be added missing @since annotations 2015-04-24 12:09:40 +02:00
Klimov Paul
91a6e4bc8e Fixed incorrect URL config processing at yii\web\Application::handleRequest() and yii\widgets\Menu::items if route element is not a first one 2015-04-22 17:43:15 +03:00
Paul Klimov
1981a620d1 Merge pull request #7660 from creocoder/response-optimization
Light Response refactoring
2015-04-20 15:10:18 +03:00
Qiang Xue
92664b4b11 code optimization [skip ci] 2015-04-06 08:14:01 -04:00
Qiang Xue
739f6358cd Fixes #7637: Allow yii\web\Request::validateCsrfToken() to validate a manually provided token 2015-04-05 17:34:29 -04:00
tom--
4089c29a09 old C-prefix class name 2015-03-31 12:57:17 -04:00
Steven Michaels
748e68f98d Fixing broken doc links to ContentNegotiator 2015-03-30 23:23:38 -05:00
Qiang Xue
19ca5a1584 Fixes #7637. 2015-03-30 22:36:45 -04:00
Qiang Xue
72c34cda1e Fixes #6871: Fixed the bug that using defaults and hostnames in URL rules may cause an out-of-range index issue 2015-03-27 22:52:01 -04:00
Qiang Xue
8e33fbfbff Fixes #7636: yii\web\Session::getHasSessionId() uses a more lenient way to check if session ID is provided in URL 2015-03-26 22:57:27 -04:00
Alexander Kochetov
4e8197e43f Light Response refactoring 2015-03-10 22:51:44 +03:00
Ezekiel Fernandez
d0c01dc9ba CodeStyle fix
close #7614
2015-03-07 00:41:20 +01:00
Alexander Makarov
0eecb6ab1e Fixes #7529: Fixed yii\web\Response::sendContentAsFile() that was broken in 2.0.3 2015-03-04 00:41:44 +03:00
lynicidn
1a81211a9a Update AssetManager #7535
#7535
2015-03-03 09:39:27 +03:00
Qiang Xue
07403d3f9d Fixes #3723: yii\filters\PageCache now supports caching response headers as well as non-HTML response content 2015-02-21 19:45:44 -05:00
slavcodev
9028bc5aa7 Fixed header Content-Type when response is empty 2015-02-21 02:05:03 +03:00
Qiang Xue
ae305bb907 Fixes #7226: yii\web\Request::getEtag() should strip off -gzip which may be added by Apache 2015-02-10 13:36:05 -05:00
Qiang Xue
a6608ba334 Merge branch 'master' of git://github.com/yiisoft/yii2 2015-02-08 22:28:09 -05:00
Qiang Xue
0068a94af1 Fixes #4710: added cache busting support for assets 2015-02-08 22:28:03 -05:00
Alexander Makarov
6481d13494 Optimized checks order in conditions 2015-02-08 17:56:36 +03:00
Alexander Makarov
af7ae33d5b Use (array) cast instead of !is_array check for both readability and performance 2015-02-08 17:56:14 +03:00