jeicd
c2f83da8d8
Fix phpdoc
9 years ago
jeicd
0407407b76
fix coding style to follow PSR-2
9 years ago
Alexander Makarov
fbe5bb7d20
Fixed generation of canonical URLs for `ViewAction` pages
9 years ago
Kevin LEVRON
bc543db206
fix doc
9 years ago
mdmunir
b7020065c8
Fixes #9476 : Added DI injection via controller action method signature
9 years ago
Carsten Brandt
73d6f32234
fixed name conflict between class and file name for UnprocessableEntityHttpException
...
pr #9733
9 years ago
Boudewijn Vahrmeijer
dd818e17df
Fixes #9754 : Fixed `\yii\web\Request` error when path info is empty
9 years ago
janfrs
194b80b00e
Fix comment msg UnprocessableEntity #2106
9 years ago
janfrs
07199cbf61
Change to since 2.0.7 on UnprocessableEntity #2106
...
Thanks to @Renkas for noticing
9 years ago
janfrs
7562fe940e
Add Unprocessable Entity Exception as in #2106
9 years ago
bpteam
703f374a85
Fixes #9596 : Fixed `\yii\web\UrlManager::createAbsoluteUrl(['site/index', '#' => 'testHash'])` losing hash
9 years ago
Carsten Brandt
5a069d1a3c
Fixed inappropriate error response on invalid JSON request
...
Current API responds to invalid JSON with:
```json
HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=UTF-8
...
{"name":"Bad Request","message":"Invalid JSON data in request body: Syntax error.","code":0,"status":400,"previous":{"name":"Internal Server Error","message":"There was an error at the server.","code":0,"status":500}}
```
While it should be
```json
HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=UTF-8
...
{"name":"Bad Request","message":"Invalid JSON data in request body: Syntax error.","code":0,"status":400}
```
9 years ago
Alexander Kochetov
223b0bea5d
Fixes #9369 : `Yii::$app->user->can()` now returns `false` instead of erroring in case `authManager` component is not configured
9 years ago
Carsten Brandt
abc7dbbf0f
added missing `@since` annotations
9 years ago
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
9 years ago
Carsten Brandt
6e3da6b329
various phpdoc fixes
9 years ago
Carsten Brandt
a2568d1ec8
updated some comments and `@since` annotations
9 years ago
Alexander Makarov
372211a865
Better type check in AssetManager
9 years ago
Alexander Makarov
6312f2adad
#9249 : fixed wrong condition
9 years ago
Alexander Makarov
6987358e2a
#9249 : better check for file/dir
9 years ago
Alexander Makarov
d3e91abf00
Added `@since` tag to `yii\web\AssetManager::$hashCallback`
9 years ago
Petra Barus
2261db0a5f
Adding callback for custom hash generation in AssetManager.
9 years ago
Carsten Brandt
6d9fe671de
various code style and whitespace adjustments
9 years ago
Alexander Makarov
9a87271abf
Fixed missing stacktrace items on PHP syntax errors of "unexpected end of file" type
9 years ago
Chris Harris
26e5b021a8
Fixes #9246 : Added `yii\web\UrlRule::getParamRules()`
9 years ago
Klimov Paul
984afd3c6e
`yii\web\ErrorAction` displays 404 error instead of blank page on direct access
9 years ago
zetamen
df6f270a0e
Fixes #9161 : Fixed `yii\web\Request` ignore `queryParams` when resolve request
9 years ago
Alexander Makarov
b53f50a762
Reverted #9140
...
See discussion at ef27d820d2
9 years ago
Alexander Makarov
ef27d820d2
#9140 : better fix for IDEs
9 years ago
matthewyang
fed6f35627
remove redefined parent property
9 years ago
Alexander Makarov
4e3b82bb25
Fixed `ViewAction::resolveViewName()` not to accept `/../` and `/./`
...
Fixes #9070 (CVE-2015-5467)
9 years ago
Alexander Makarov
aaf931a5e8
Fixes #9070 : Fixed `ViewAction::resolveViewName()` not to accept `/../` and `/./`
9 years ago
Sebastian Chojniak
025845e660
performance: unnecessary (when result is cached) getAuthManager() removed
9 years ago
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
9 years ago
Alexander Makarov
9f91a02a86
Fixes #9005 : added note about crossdomain jQuery requests and Request::getIsAjax()
9 years ago
Alexander Mohorev
9e3d28a3d9
Fix spelling
9 years ago
Alexander Mohorev
39cb131984
Spelling and sc fixes
9 years ago
Alexander Mohorev
ae42a054bb
PSR-2 spaces, commas, etc
9 years ago
Alexander Mohorev
0c5e4b7105
PSR-2 foreach statement
9 years ago
Klimov Paul
4283f29a5a
`yii\web\MultiFieldSession` created
9 years ago
Alexander Mohorev
e8535eea22
Incorrect property type declared.
9 years ago
Carsten Brandt
f68e970de2
link to PHP classes just as we do with normal classes
...
apidoc can handle this!
9 years ago
Carsten Brandt
0802d3eb60
added more detailed comment for #8556
9 years ago
Alexander Makarov
67658cf57d
Replaced static with $this in phpdoc since current IDEs are finally able to handle it correctly
9 years ago
Alexander Makarov
acb7b2ebbb
Fixes #8556 : Extracted `yii\web\User::getAuthManager()` method
9 years ago
Klimov Paul
886e99be11
Fixed `yii\web\Response::xSendFile()` does not reset format
9 years ago
Klimov Paul
95ba06c01b
Added ability to use aliases and domain relative URLs at `yii\web\AssetManager::assetMap`
9 years ago
Klimov Paul
8a506e1ee3
Added support for 'only' and 'except' options for `yii\web\AssetManager::publish()`
9 years ago
Klimov Paul
b57b994a75
Fixed missing error suppression operator at `yii\web\AssetConverter::convert()`
10 years ago
Mike Grigorieff
32bc19ae9b
Updated web/Controller.php, simplified code design
...
close #8387
10 years ago