Qiang Xue
1cd3f2bbd7
Fixed test break.
11 years ago
Qiang Xue
80d69a6551
Renamed csrfParam back to csrfVar for consistency.
11 years ago
Qiang Xue
677ee94bb1
Fixes #2386
11 years ago
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.
11 years ago
Qiang Xue
fb4b0ae98d
The scripts in asset bundles are now registered in `View` at the end of `endBody()`. It was done in `endPage()` previously
11 years ago
Qiang Xue
2dc341f893
not sending csrf header in ajax response.
11 years ago
Qiang Xue
4433a67f8e
Added `yii\web\View::clear()`
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
bc9b62c314
url of CSS and JS files registered in View can be url alias
...
fixes #2132 , fixes #2133
11 years ago
Alexander Makarov
5d23a066ca
Removed unused imports
11 years ago
Qiang Xue
58e847258f
Renamed Request::maskedCsrfToken to csrfToken.
11 years ago
Qiang Xue
0c38655217
psr-4 move
11 years ago
Carsten Brandt
e8b674dc78
Do not unset class properties!
...
this will result in objects that do not have the property anymore :-)
11 years ago
Qiang Xue
5f8e6d377b
Fixes #1706 : Added support for registering a single JS/CSS file with dependency
11 years ago
Qiang Xue
c8960168c5
Fixes #1634 : Use masked CSRF tokens to prevent BREACH exploits
11 years ago
Alexander Makarov
2355c764a8
Fixed `Call to a member function registerAssetFiles() on a non-object` in case of wrong `sourcePath` for an asset bundle
11 years ago
Carsten Brandt
539e233d9c
massive improvement on class documentation
...
- added example code for application components
- added missing short description
[ci skip]
11 years ago
Taras Gudz
f9db4fecb9
Fixed phpDocs [skip ci]
11 years ago
Alexander Makarov
65d7ffa74f
Fixed View refactoring test breakage
11 years ago
Alexander Makarov
927e9dddb4
Refactored View
11 years ago