Commit Graph

216 Commits

Author SHA1 Message Date
Qiang Xue
3dead3386c CS fix. 2014-02-24 07:33:16 -05:00
tof06
61767861fb Add X-PJAX-URL header when redirect a pjax request 2014-02-24 12:29:27 +01:00
tof06
8c1d39b348 Add getIsPjax method to Request 2014-02-24 12:28:33 +01:00
Alexander Makarov
d8d44b6127 Merge pull request #2501 from yiisoft/unify-urls
Fixes #2426: Changed URL creation method signatures to be consistent
2014-02-21 23:53:15 +03:00
Carsten Brandt
c46b35b13c allow configuring asset converter property with default class 2014-02-21 17:45:33 +01:00
Alexander Makarov
752b7cf9d1 Fixes #2502: Unclear error message when $_SERVER['DOCUMENT_ROOT'] is empty 2014-02-20 20:55:02 +04:00
Alexander Makarov
6a1816a94e Allow using string for URL in case there are no parameters 2014-02-20 20:45:16 +04:00
Alexander Makarov
43c17d99cc Fixes #2426: Changed URL creation method signatures to be consistent 2014-02-20 20:10:33 +04:00
Carsten Brandt
098567ce16 fixed phpdoc errors and updated properties 2014-02-20 13:42:30 +01:00
Carsten Brandt
5558fa1297 small code style fix 2014-02-17 03:56:35 +01:00
Qiang Xue
26cb7b2a3c Renamed fooVar to fooParam for various classes. 2014-02-15 18:18:27 -05:00
Borales
b4fd27a91b Removed unnecessary PHPDoc property (ce04134db2) 2014-02-13 19:09:50 +02:00
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