b566dd522c
Fixes #15272 : Removed type attribute from script tag
2018-02-14 13:39:48 +03:00
e07219c812
Fixes #13996 : Added yii\web\View::registerJsVar()
method that allows registering JavaScript variables
2018-01-26 15:31:27 +03:00
2246786483
Fixed jQuery onLoad event handling
...
Fixes #15086
2017-11-05 11:22:22 +02:00
75e8bfdc58
Fixes #14087 : Added yii\web\View::registerCsrfMetaTags()
method that registers CSRF tags dynamically ensuring that caching doesn't interfere
2017-09-29 17:13:04 +03:00
18689c5ed1
Added missing bracket
2017-09-09 15:43:56 +03:00
3a8feb17a8
Updated yii\web\View
to register JS in jQuery 3.0 compatible way
2017-09-09 15:39:11 +03:00
13d35c4e03
add notes to View register JS and CSS file methods
...
explain why assetmanager features are not available in these methods.
close #14382
related to #10297 , #9101
2017-07-04 11:58:20 +02:00
ba0ab403b5
Added php-cs-fixer coding standards validation to Travis CI ( #14100 )
...
* php-cs-fixer: PSR2 rule.
* php-cs-fixer: PSR2 rule - fix views.
* Travis setup refactoring.
* Add php-cs-fixer to travis cs tests.
* Fix tests on hhvm-3.12
* improve travis config
* composer update
* revert composer update
* improve travis config
* Fix CS.
* Extract config to separate classes.
* Extract config to separate classes.
* Add file header.
* Force short array syntax.
* binary_operator_spaces fixer
* Fix broken tests
* cast_spaces fixer
* concat_space fixer
* dir_constant fixer
* ereg_to_preg fixer
* function_typehint_space fixer
* hash_to_slash_comment fixer
* is_null fixer
* linebreak_after_opening_tag fixer
* lowercase_cast fixer
* magic_constant_casing fixer
* modernize_types_casting fixer
* native_function_casing fixer
* new_with_braces fixer
* no_alias_functions fixer
* no_blank_lines_after_class_opening fixer
* no_blank_lines_after_phpdoc fixer
* no_empty_comment fixer
* no_empty_phpdoc fixer
* no_empty_statement fixer
* no_extra_consecutive_blank_lines fixer
* no_leading_import_slash fixer
* no_leading_namespace_whitespace fixer
* no_mixed_echo_print fixer
* no_multiline_whitespace_around_double_arrow fixer
* no_multiline_whitespace_before_semicolons fixer
* no_php4_constructor fixer
* no_short_bool_cast fixer
* no_singleline_whitespace_before_semicolons fixer
* no_spaces_around_offset fixer
* no_trailing_comma_in_list_call fixer
* no_trailing_comma_in_singleline_array fixer
* no_unneeded_control_parentheses fixer
* no_unused_imports fixer
* no_useless_return fixer
* no_whitespace_before_comma_in_array fixer
* no_whitespace_in_blank_line fixer
* not_operator_with_successor_space fixer
* object_operator_without_whitespace fixer
* ordered_imports fixer
* php_unit_construct fixer
* php_unit_dedicate_assert fixer
* php_unit_fqcn_annotation fixer
* phpdoc_indent fixer
* phpdoc_no_access fixer
* phpdoc_no_empty_return fixer
* phpdoc_no_package fixer
* phpdoc_no_useless_inheritdoc fixer
* Fix broken tests
* phpdoc_return_self_reference fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_to_comment fixer
* phpdoc_trim fixer
* phpdoc_var_without_name fixer
* psr4 fixer
* self_accessor fixer
* short_scalar_cast fixer
* single_blank_line_before_namespace fixer
* single_quote fixer
* standardize_not_equals fixer
* ternary_operator_spaces fixer
* trailing_comma_in_multiline_array fixer
* trim_array_spaces fixer
* protected_to_private fixer
* unary_operator_spaces fixer
* whitespace_after_comma_in_array fixer
* `parent::setRules()` -> `$this->setRules()`
* blank_line_after_opening_tag fixer
* Update finder config.
* Revert changes for YiiRequirementChecker.
* Fix array formatting.
* Add missing import.
* Fix CS for new code merged from master.
* Fix some indentation issues.
2017-06-12 12:25:45 +03:00
e360457091
function clear() -- Set populated arrays to empty arrays ( #14067 )
...
`yii\web\View::clear()` sets populated arrays to empty arrays
2017-05-09 17:31:13 +03:00
4aa935e69e
Fixes #12055 : Changed boolean
to bool
and integer
to int
in phpdoc
2016-11-07 02:51:39 +03:00
32f4dc8997
Fixes #5385 : links created from classes to corresponding guide articles ( #12920 )
2016-11-04 18:55:14 +03:00
3ec3ce9312
Reverted #10429 because of BC breaking
2016-09-23 12:28:50 +03:00
f3dc5c437d
Fixed replacement of alias more than once in View::registerJsFile() and View::registerCssFile(), updated tests
2016-09-17 10:28:39 +03:00
9931324e48
Fixed regression in View::registerJsFile, View::registerCssFile
...
Closes #12544
2016-09-15 21:23:19 +03:00
78edcd0b51
Fixed typo in yii\web\View::registerJsFile()
2016-09-12 18:23:29 +03:00
c3622bb1ad
Added tests for #10429
2016-09-10 15:41:39 +03:00
fd6dd73cec
AssetManager::getAssetUrl()
fixed to get URL when appendedTimestamp
is true
2016-09-10 12:46:54 +03:00
c41ced6f1a
PhpDoc for \yii\web\View::registerJsFile()
improved
2016-08-30 15:47:06 +03:00
f6ff90f672
Fixes #12082 : Used jQuery.on(
instead of event method to ensure forwards compatibility
2016-08-04 21:56:46 +03:00
cd87d67f34
Global DOCS update: ~~~ replaced with ```
2015-12-02 23:15:28 +02:00
c105622004
example for a link tag: issue #2803
...
[ci skip]
2015-04-30 18:25:04 +02:00
61b7079993
Fixes #6007 : added doc about asset bundle name [skip ci]
2014-11-11 08:08:18 -05:00
e7de579ee6
Fixes #5202 : View::registerJsFiles should not strip leading backlashes for protocol relative URL
2014-09-26 16:35:15 -04:00
2f526521ce
new asset WIP
2014-08-30 21:34:35 -04:00
f51a263570
new asset management WIP
2014-08-27 16:44:00 -04:00
3a1e0f3a5c
property codestyle framework
2014-07-30 00:21:31 +02:00
dfa0bc8d06
Fixes #3897 : Raised visibility of yii\web\View::registerAssetFiles()
to protected
2014-06-17 00:50:44 +04:00
6b799d392d
Fixes #3358 : Removed automatic CSRF meta tag generation by View
. Added Html::csrfMetaTags()
and its call to main layout files
2014-06-13 10:04:48 -04:00
4fcd5003de
Fixes #2906 : Added support for using conditional comments for js and css files registered through asset bundles and Html helper
2014-04-26 20:25:48 -04:00
6fe63a217f
view did not use the correct assetmanager
2014-04-25 04:06:07 +02:00
664d2aa007
Supported adding a new response formatter without the need to reconfigure existing formatters
2014-04-16 14:55:33 -04:00
a0f9a6d701
Fixes #2937
2014-03-31 23:17:39 -04:00
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
2014-03-23 20:51:09 +01:00
44d9d0dabb
Fixes #2820
2014-03-21 10:38:32 -04:00
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
26cb7b2a3c
Renamed fooVar
to fooParam
for various classes.
2014-02-15 18:18:27 -05:00
1cd3f2bbd7
Fixed test break.
2014-02-11 10:22:23 -05:00
80d69a6551
Renamed csrfParam back to csrfVar for consistency.
2014-02-10 11:27:54 -05:00
677ee94bb1
Fixes #2386
2014-02-09 13:54:01 -05:00
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
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
2dc341f893
not sending csrf header in ajax response.
2014-02-05 14:29:29 -05:00
4433a67f8e
Added yii\web\View::clear()
2014-01-28 22:06:22 -05:00
7f882d3a39
Merge branch 'master' of git://github.com/yiisoft/yii2
2014-01-28 14:03:45 -05:00
02b908bd9c
Fixes #938 : added yii\web\View::renderAjax
and yii\web\Controller::renderAjax
.
2014-01-28 14:03:39 -05:00
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
262189533a
huge amount of documentation link fixes
2014-01-28 17:54:40 +01:00
861c2b2f9c
Added yii\web\View::POS_LOAD
2014-01-28 11:21:15 -05:00
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
5d23a066ca
Removed unused imports
2014-01-12 23:42:55 +04:00