Commit Graph

204 Commits

Author SHA1 Message Date
Qiang Xue
1cd3f2bbd7 Fixed test break. 2014-02-11 10:22:23 -05:00
Qiang Xue
65a8eae717 Fixes #2399: Fixed the bug that AssetBundle did not handle relative URLs correctly 2014-02-11 08:33:46 -05:00
Qiang Xue
80d69a6551 Renamed csrfParam back to csrfVar for consistency. 2014-02-10 11:27:54 -05:00
Qiang Xue
677ee94bb1 Fixes #2386 2014-02-09 13:54:01 -05:00
Dilip
e87220bed4 Update Request.php 2014-02-09 09:07:33 +05:30
Dilip
85a8191f6e Changed csrf-var to csrf-param
Changed csrf-var to csrf-param due to meta validation error. The validation error as mentioned in the issue https://github.com/yiisoft/yii2/issues/2363. It is fixed in this pull request.
2014-02-09 08:50:51 +05:30
Qiang Xue
fb4b0ae98d The scripts in asset bundles are now registered in View at the end of endBody(). It was done in endPage() previously 2014-02-05 22:45:26 -05:00
Qiang Xue
2dc341f893 not sending csrf header in ajax response. 2014-02-05 14:29:29 -05:00
Alexander Makarov
b44e653c63 Merge pull request #2325 from infoza/master
Adding support for the X-HTTP-Method-Override header
2014-02-05 15:37:01 +03:00
pzaremba
7d96de6619 one more revert. 2014-02-05 13:30:32 +01:00
pzaremba
75ae3db906 Reverted changes unrelated to issue #2325 2014-02-05 13:27:15 +01:00
pzaremba
9b96338a63 Revert "fixing wrapping - my NetBeans has a mind of its own."
This reverts commit 80be824fc7.
2014-02-05 13:24:01 +01:00
pzaremba
80be824fc7 fixing wrapping - my NetBeans has a mind of its own. 2014-02-05 12:32:59 +01:00
pzaremba
0bf39f6e98 Adding support for the X-HTTP-Method-Override header. 2014-02-05 12:28:24 +01:00
Qiang Xue
646e371b44 Fixes #1812: Hide potential warning message due to race condition occurring to Session::regenerateID() call 2014-02-04 17:02:32 -05:00
vova07
efaaec1cbf Improved to support aliases. Fixes #2240. 2014-01-31 19:48:49 +02:00
Qiang Xue
d53f4dd9ea Fixes #2139: error found while sending response is not displayed. 2014-01-29 21:35:07 -05:00
Qiang Xue
c35359e31f Merge branch 'master' of git://github.com/yiisoft/yii2 2014-01-28 23:27:47 -05:00
Qiang Xue
4433a67f8e Added yii\web\View::clear() 2014-01-28 22:06:22 -05:00
Carsten Brandt
3519c14e60 throw exceptions in case of invalid response content
fixes #1842
2014-01-29 00:59:41 +01:00
Qiang Xue
7f882d3a39 Merge branch 'master' of git://github.com/yiisoft/yii2 2014-01-28 14:03:45 -05:00
Qiang Xue
02b908bd9c Fixes #938: added yii\web\View::renderAjax and yii\web\Controller::renderAjax. 2014-01-28 14:03:39 -05:00
Carsten Brandt
f26dcafbed Merge branch 'master' of github.com:yiisoft/yii2
* 'master' of github.com:yiisoft/yii2:
  Added `yii\web\View::POS_LOAD`
2014-01-28 18:03:16 +01:00
Carsten Brandt
262189533a huge amount of documentation link fixes 2014-01-28 17:54:40 +01:00
Qiang Xue
861c2b2f9c Added yii\web\View::POS_LOAD 2014-01-28 11:21:15 -05:00
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
2014-01-28 14:28:39 +01:00
Alexander Makarov
f1a674b921 Added yii\web\Request::get($name = null, $defaultValue = null) and yii\web\Request::post($name = null, $defaultValue = null) 2014-01-28 14:02:03 +04:00
Alexander Makarov
8c7ae47e58 Merge pull request #2181 from cebe/request-body-default-post-params
removed getPostParam() from Request, body is $_POST by default
2014-01-28 01:53:56 -08:00
Carsten Brandt
21ae27b306 updated phpdoc properties 2014-01-28 00:11:18 +01:00
Carsten Brandt
ce04134db2 removed getPostParam() from Request, body is $_POST by default
fixes #2093
2014-01-27 11:03:50 +01:00
Carsten Brandt
190417f917 small refactoring + cleanup request 2014-01-27 11:02:46 +01:00
Carsten Brandt
6f82959675 made post params consistend with body and query params in request
issue #2093
2014-01-27 10:48:33 +01:00
Qiang Xue
11c9c5b573 fixed test break. 2014-01-26 18:37:33 -05:00
Qiang Xue
150d71368b Merge branch 'request-params-refactoring' of github.com:cebe/yii2 into cebe-request-params-refactoring
Conflicts:
	framework/CHANGELOG.md
2014-01-26 17:41:14 -05:00
peeradach001
7c0b56cb96 fix 2014-01-27 04:06:51 +07:00
Carsten Brandt
bc9b62c314 url of CSS and JS files registered in View can be url alias
fixes #2132, fixes #2133
2014-01-23 22:43:43 +01:00
Carsten Brandt
9630c807a7 doc link fixes 2014-01-23 12:04:02 +01:00
Daniel Schmidt
041f6aac6c Removed temp class 2014-01-22 19:33:39 -08:00
Daniel Schmidt
d03b2add89 Condenses changelog notes to 1 line (#2103) 2014-01-22 19:32:56 -08:00
Daniel Schmidt
40090577c5 Merge branch 'master' of git://github.com/yiisoft/yii2 into 2103-rename-accessdeniedhttpexception 2014-01-22 19:23:51 -08:00
Daniel Schmidt
7fef8cf0cf Adds docblock comments and HTTP spec links for the new HTTP Exception classes (#2103) 2014-01-22 19:23:39 -08:00
Vladimir Zbrailov
4dabe605e3 added use http_get_request_headers and use getHeaders method in Gii module 2014-01-22 18:54:10 +04:00
Vladimir Zbrailov
53647d8b16 Added ability to get incoming headers 2014-01-22 17:44:57 +04:00
Daniel Schmidt
f24454a458 Renames AccessDeniedHttpException to ForbiddenHttpException in framework, docs, and extension files 2014-01-21 17:11:28 -08:00
Daniel Schmidt
20e031c8ac Adds UnsupportedMediaTypeHttpException for 415 Http errors 2014-01-21 16:58:29 -08:00
Daniel Schmidt
81f3ce12ab Adds TooManyRequestsHttpException for 429 http errors 2014-01-21 16:57:31 -08:00
Daniel Schmidt
87a2b1d6b9 Adds ConflictHttpException for 409 http errors 2014-01-21 16:56:50 -08:00
Daniel Schmidt
8d9c9a3482 Adds NotAcceptableHttpException for 406 Http errors 2014-01-21 16:55:52 -08:00
Daniel Schmidt
c5252f9284 Adds GoneHttpException for 410 http errors 2014-01-21 16:54:23 -08:00
Daniel Schmidt
04743b20a2 Adds UnauthorizedHttpException class for 401 errors 2014-01-21 16:52:16 -08:00