57 Commits (17f0ad7aa1c4a0036258d6e0281f59177b7dd768)

Author SHA1 Message Date
Aleksandr Bogatikov e294c23102
Fix#18328: Yii::warning() raised on file register after View::endBody() has been moved to View::endPage() (#18975) 3 years ago
Aleksandr Bogatikov b757d25c4b
Fix #18328: Raise warning when trying to register a file after `View::endBody()` has been called 3 years ago
Isitar bceba86952
Fix #18414: Fix `AssetManager::appendTimestamp()` not appending timestamp for website root in sub-directory 4 years ago
杨晶旭 7ff516063d
Fix #18160, fix #18192: Fixed `registerFile` with argument depends set does not use the position and appendTimestamp argument, also modify the unit view 4 years ago
Alexandr Kozhevnikov 96cd8bcb68
Fix #16826: `appendTimestamp` support was added to `View` methods `registerCssFile()` and `registerJsFile()` 5 years ago
Aleksandar Belic b566dd522c Fixes #15272: Removed type attribute from script tag 7 years ago
E.Alamo e07219c812 Fixes #13996: Added `yii\web\View::registerJsVar()` method that allows registering JavaScript variables 7 years ago
Alex Yashkin 2246786483
Fixed jQuery onLoad event handling 7 years ago
Robin Kamps 75e8bfdc58 Fixes #14087: Added `yii\web\View::registerCsrfMetaTags()` method that registers CSRF tags dynamically ensuring that caching doesn't interfere 7 years ago
SilverFire - Dmitry Naumenko 18689c5ed1
Added missing bracket 7 years ago
SilverFire - Dmitry Naumenko 3a8feb17a8
Updated `yii\web\View` to register JS in jQuery 3.0 compatible way 7 years ago
Carsten Brandt 13d35c4e03 add notes to View register JS and CSS file methods 7 years ago
Robert Korulczyk ba0ab403b5 Added php-cs-fixer coding standards validation to Travis CI (#14100) 7 years ago
Craig London e360457091 function clear() -- Set populated arrays to empty arrays (#14067) 7 years ago
Robert Korulczyk 4aa935e69e Fixes #12055: Changed `boolean` to `bool` and `integer` to `int` in phpdoc 8 years ago
Boudewijn Vahrmeijer 32f4dc8997 Fixes #5385: links created from classes to corresponding guide articles (#12920) 8 years ago
SilverFire - Dmitry Naumenko 3ec3ce9312 Reverted #10429 because of BC breaking 8 years ago
SilverFire - Dmitry Naumenko f3dc5c437d
Fixed replacement of alias more than once in View::registerJsFile() and View::registerCssFile(), updated tests 8 years ago
SilverFire - Dmitry Naumenko 9931324e48
Fixed regression in View::registerJsFile, View::registerCssFile 8 years ago
SilverFire - Dmitry Naumenko 78edcd0b51 Fixed typo in `yii\web\View::registerJsFile()` 8 years ago
SilverFire - Dmitry Naumenko c3622bb1ad Added tests for #10429 8 years ago
Evgeniy Tkachenko fd6dd73cec `AssetManager::getAssetUrl()` fixed to get URL when `appendedTimestamp` is true 8 years ago
Klimov Paul c41ced6f1a PhpDoc for `\yii\web\View::registerJsFile()` improved 8 years ago
Newerton f6ff90f672 Fixes #12082: Used `jQuery.on(` instead of event method to ensure forwards compatibility 8 years ago
cuiliang c0df003ac0 merge from master 8 years ago
SilverFire - Dmitry Naumenko cd87d67f34 Global DOCS update: ~~~ replaced with ``` 9 years ago
╃巡洋艦㊣ 586684b050 2.0.5 bf7edc5 9 years ago
Carsten Brandt c105622004 example for a link tag: issue #2803 10 years ago
╃巡洋艦㊣ 1468bd4d3d version 2.0.1 84b42ab 10 years ago
Qiang Xue 61b7079993 Fixes #6007: added doc about asset bundle name [skip ci] 10 years ago
Qiang Xue e7de579ee6 Fixes #5202: View::registerJsFiles should not strip leading backlashes for protocol relative URL 10 years ago
Qiang Xue 2f526521ce new asset WIP 10 years ago
Qiang Xue f51a263570 new asset management WIP 10 years ago
RichWeber 92cd13a913 pull origin 10 years ago
Carsten Brandt 3a1e0f3a5c property codestyle framework 10 years ago
Alexander Makarov dfa0bc8d06 Fixes #3897: Raised visibility of `yii\web\View::registerAssetFiles()` to protected 10 years ago
Qiang Xue 6b799d392d Fixes #3358: Removed automatic CSRF meta tag generation by `View`. Added `Html::csrfMetaTags()` and its call to main layout files 10 years ago
Qiang Xue 4fcd5003de Fixes #2906: Added support for using conditional comments for js and css files registered through asset bundles and Html helper 11 years ago
Carsten Brandt 6fe63a217f view did not use the correct assetmanager 11 years ago
Qiang Xue 664d2aa007 Supported adding a new response formatter without the need to reconfigure existing formatters 11 years ago
Qiang Xue a0f9a6d701 Fixes #2937 11 years ago
Carsten Brandt bf3c75147d reverted breaking PHPdoc codestyle changes 11 years ago
Qiang Xue 44d9d0dabb Fixes #2820 11 years ago
SonicGD b5f8a4dc22 Reformat code te be PSR-2 compatible 11 years ago
Qiang Xue 26cb7b2a3c Renamed `fooVar` to `fooParam` for various classes. 11 years ago
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 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