Commit Graph

524 Commits

Author SHA1 Message Date
bpteam
703f374a85 Fixes #9596: Fixed \yii\web\UrlManager::createAbsoluteUrl(['site/index', '#' => 'testHash']) losing hash 2015-09-05 11:40:45 +03:00
Alexander Kochetov
223b0bea5d Fixes #9369: Yii::$app->user->can() now returns false instead of erroring in case authManager component is not configured 2015-08-11 11:16:21 +03:00
Carsten Brandt
abc7dbbf0f added missing @since annotations 2015-08-04 12:40:12 +02:00
Carsten Brandt
854e186210 fixed caching issue with UrlManager::createUrl
this fix will skip the cache in case we encounter a situation which can
not easily be cached.

fixes #9091
2015-08-03 00:31:59 +02:00
Carsten Brandt
6e3da6b329 various phpdoc fixes 2015-08-02 22:53:08 +02:00
Carsten Brandt
a2568d1ec8 updated some comments and @since annotations 2015-08-02 19:56:49 +02:00
Alexander Makarov
372211a865 Better type check in AssetManager 2015-08-02 19:20:55 +03:00
Alexander Makarov
6312f2adad #9249: fixed wrong condition 2015-08-02 14:35:09 +03:00
Alexander Makarov
6987358e2a #9249: better check for file/dir 2015-08-02 14:29:52 +03:00
Alexander Makarov
d3e91abf00 Added @since tag to yii\web\AssetManager::$hashCallback 2015-08-02 12:49:47 +03:00
Petra Barus
2261db0a5f Adding callback for custom hash generation in AssetManager. 2015-08-02 16:16:32 +07:00
Carsten Brandt
6d9fe671de various code style and whitespace adjustments 2015-08-02 00:27:19 +02:00
Alexander Makarov
9a87271abf Fixed missing stacktrace items on PHP syntax errors of "unexpected end of file" type 2015-07-30 16:30:36 +03:00
Chris Harris
26e5b021a8 Fixes #9246: Added yii\web\UrlRule::getParamRules() 2015-07-29 17:10:51 +03:00
Klimov Paul
984afd3c6e yii\web\ErrorAction displays 404 error instead of blank page on direct access 2015-07-24 17:24:10 +03:00
zetamen
df6f270a0e Fixes #9161: Fixed yii\web\Request ignore queryParams when resolve request 2015-07-21 10:40:31 +03:00
Alexander Makarov
b53f50a762 Reverted #9140
See discussion at ef27d820d2
2015-07-18 22:08:47 +03:00
Alexander Makarov
ef27d820d2 #9140: better fix for IDEs 2015-07-17 15:42:29 +03:00
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