Carsten Brandt
|
3519c14e60
|
throw exceptions in case of invalid response content
fixes #1842
|
11 years ago |
Qiang Xue
|
02b908bd9c
|
Fixes #938: added `yii\web\View::renderAjax` and `yii\web\Controller::renderAjax`.
|
11 years ago |
Carsten Brandt
|
262189533a
|
huge amount of documentation link fixes
|
11 years ago |
Qiang Xue
|
861c2b2f9c
|
Added `yii\web\View::POS_LOAD`
|
11 years ago |
Carsten Brandt
|
f93054a486
|
fixed possible problem with realpath and false value
realpath(false) = current working directory.
This can cause problems with getAlias() which returns false.
see yiisoft/yii#3113
|
11 years ago |
Alexander Makarov
|
f1a674b921
|
Added `yii\web\Request::get($name = null, $defaultValue = null)` and `yii\web\Request::post($name = null, $defaultValue = null)`
|
11 years ago |
Carsten Brandt
|
21ae27b306
|
updated phpdoc properties
|
11 years ago |
Carsten Brandt
|
ce04134db2
|
removed getPostParam() from Request, body is $_POST by default
fixes #2093
|
11 years ago |
Carsten Brandt
|
190417f917
|
small refactoring + cleanup request
|
11 years ago |
Carsten Brandt
|
6f82959675
|
made post params consistend with body and query params in request
issue #2093
|
11 years ago |
Qiang Xue
|
11c9c5b573
|
fixed test break.
|
11 years ago |
peeradach001
|
7c0b56cb96
|
fix
|
11 years ago |
Carsten Brandt
|
bc9b62c314
|
url of CSS and JS files registered in View can be url alias
fixes #2132, fixes #2133
|
11 years ago |
Carsten Brandt
|
9630c807a7
|
doc link fixes
|
11 years ago |
Daniel Schmidt
|
041f6aac6c
|
Removed temp class
|
11 years ago |
Daniel Schmidt
|
d03b2add89
|
Condenses changelog notes to 1 line (#2103)
|
11 years ago |
Daniel Schmidt
|
7fef8cf0cf
|
Adds docblock comments and HTTP spec links for the new HTTP Exception classes (#2103)
|
11 years ago |
Vladimir Zbrailov
|
4dabe605e3
|
added use http_get_request_headers and use getHeaders method in Gii module
|
11 years ago |
Vladimir Zbrailov
|
53647d8b16
|
Added ability to get incoming headers
|
11 years ago |
Daniel Schmidt
|
f24454a458
|
Renames AccessDeniedHttpException to ForbiddenHttpException in framework, docs, and extension files
|
11 years ago |
Daniel Schmidt
|
20e031c8ac
|
Adds UnsupportedMediaTypeHttpException for 415 Http errors
|
11 years ago |
Daniel Schmidt
|
81f3ce12ab
|
Adds TooManyRequestsHttpException for 429 http errors
|
11 years ago |
Daniel Schmidt
|
87a2b1d6b9
|
Adds ConflictHttpException for 409 http errors
|
11 years ago |
Daniel Schmidt
|
8d9c9a3482
|
Adds NotAcceptableHttpException for 406 Http errors
|
11 years ago |
Daniel Schmidt
|
c5252f9284
|
Adds GoneHttpException for 410 http errors
|
11 years ago |
Daniel Schmidt
|
04743b20a2
|
Adds UnauthorizedHttpException class for 401 errors
|
11 years ago |
Daniel Schmidt
|
cbe8b27779
|
Deletes AccessDeniedHttpException
|
11 years ago |
Daniel Schmidt
|
31bff3eae5
|
Renames AccessDeniedHttpException to ForbiddenHttpException as in #2103
|
11 years ago |
Qiang Xue
|
9aa006e5ea
|
Removed implementation of `Arrayable` from `yii\Object`
|
11 years ago |
Carsten Brandt
|
4844886431
|
added schema parameter to createAbsoluteUrl() to force 'http' or 'https'
fixes #1585
|
11 years ago |
Carsten Brandt
|
9822dfae55
|
typo
|
11 years ago |
Carsten Brandt
|
0d669f5e6b
|
refactored params methods in Request
issue #2043
|
11 years ago |
Luciano Baraglia
|
701852e95d
|
AccessControl denyCallback call fix
|
11 years ago |
Carsten Brandt
|
36c296378b
|
remove _method param from rest params
|
11 years ago |
Carsten Brandt
|
813a008da2
|
improved request body parser docs and configuration
added a fallback for handling all request types
fixes #2066, related to #2043
|
11 years ago |
Daniel Schmidt
|
7c98ef591c
|
Fixed type in JsonParser
|
11 years ago |
Daniel Schmidt
|
1026b9da57
|
Tabs vs. spaces
|
11 years ago |
Daniel Schmidt
|
7f8850bc70
|
Adds customizable parsing functionality to the web\Request class (Issue #2043)
|
11 years ago |
Carsten Brandt
|
7ae8b8b50f
|
added support to parse json request to Request::getRestParams()
|
11 years ago |
Qiang Xue
|
68fdb52551
|
doc improved.
|
11 years ago |
Qiang Xue
|
88059439f6
|
Fixes #2063: Removed `yii\web\Request::acceptTypes` and renamed `yii\web\Request::acceptedContentTypes` to `acceptableContentTypes`.
Renamed `yii\web\Request::acceptedLanguages` to `acceptableLanguages`
|
11 years ago |
Alexander Makarov
|
462c50031a
|
Fixes #1930: Fixed domain based URL matching for website root
|
11 years ago |
Alexander Makarov
|
6e7165133e
|
Fixes #1991: regression in index.php handling
|
11 years ago |
Alexander Makarov
|
5d23a066ca
|
Removed unused imports
|
11 years ago |
Qiang Xue
|
cc636805da
|
Fixes #1894: The path aliases `@webroot` and `@web` are now available right after the application is initialized
|
11 years ago |
Qiang Xue
|
58e847258f
|
Renamed Request::maskedCsrfToken to csrfToken.
|
11 years ago |
Qiang Xue
|
bdcd995f00
|
added missing use statement.
|
11 years ago |
Qiang Xue
|
0c38655217
|
psr-4 move
|
11 years ago |
Qiang Xue
|
0d814fa523
|
Moved "framework" to "iii".
|
12 years ago |
Qiang Xue
|
8520be08de
|
Fixes issue #174: make URL parameters available in $_GET.
|
12 years ago |