ce1df53ade
Merge branch 'master' into synt-to-master-1
2025-05-04 07:39:31 -04:00
ab6fd4c9c4
Added PHPStan/Psalm annotations for AssetBundle, AssetManager and View ( #20372 )
2025-05-04 12:41:36 +03:00
97a4d711ec
Merge branch 'master' into sync-master-2052.
2025-04-26 19:03:07 -04:00
52e4a3e645
release version 2.0.50
2024-05-30 20:23:31 +03:00
20d6c65db2
Merge branch 'master' into sync-to-master.
2024-03-20 06:11:31 -03:00
e2a167028b
Upgrade to PSR12 coding standard ( #20121 )
2024-03-19 17:21:27 +03:00
c9c100acd7
Remove deprecated method className()
for branch 2.2
. ( #19894 )
2023-07-16 21:45:39 +08:00
d6dfca1b80
Fix #16658 : Fix file readability check on publishing assets by yii\web\AssetManager
2022-08-29 10:18:59 +03:00
161526cd41
HTTPS everywhere ( #19503 )
2022-08-03 12:32:18 +03:00
a345649871
Normalize PhpDoc types in AssetsManager ( #19419 )
2022-06-01 10:30:10 +03:00
a87c02c712
Fix more types ( #19333 )
...
* Migration::upsert() returns void
* Unneeded `@property` tags
* Add missing `null` param/return types
* Null types for db\Query + db\ActiveQuery
* Fixed testSelect
* Null types for Validator
* Several more null types
* One more
* Make AccessRule::$allow always a boolean
It doesn't have any special null handling, so it's safe to default to false
* Validator::$skipOnEmpty is always a boolean
* Catch all throwable from Widget::widget()
* Don't limit $previous args to \Exception
The actual \Exception allows $previous to be any throwable in PHP 7+
* Add Throwable catch block to Instance::get()
* Throwable cleanup
Comment changes only.
- Document \Throwable instead of \Exception wherever appropriate
- Removed redundant exception/error classes when \Throwable is referenced
* Yii::setlogger() accepts null
* ArrayHelper::removeValue() can remove any type of value
* Change default $allow value to false
2022-04-03 11:20:21 +02:00
4e2045c040
release version 2.0.41
2021-03-04 00:51:35 +03:00
2774f3ea6c
Fix #18529 : Fix asset files path with appendTimestamp
option for non-root-relative base URLs
2021-02-27 15:06:08 +03:00
890df1c867
Fix #18381 : The yii\web\AssetManager
$basePath
readable and writeable check has been moved to the checkBasePathPermission()
. This check will run once before publishFile()
and publishDirectory()
2020-11-23 23:06:25 +03:00
ccb14ff667
release version 2.0.39
2020-11-10 13:58:35 +03:00
7ff516063d
Fix #18160 , fix #18192 : Fixed registerFile
with argument depends set does not use the position and appendTimestamp argument, also modify the unit view
2020-10-11 15:03:12 +03:00
848ab0ce6e
Fix #17606 : Fix error in AssetBundle
when a disabled bundle with custom init() was still published
2019-10-13 19:50:27 +03:00
fc98a95a90
Fixes #17185 : Fixed AssetManager
timestamp appending when a file is published manually
2019-03-05 18:11:27 +03:00
ed64d65886
release version 2.0.16
2019-01-31 00:54:16 +01:00
1128a6d609
added missing documentation
2019-01-31 00:20:44 +01:00
572e5f6655
Fixes #15850 : check basePath is writable on publish in AssetManager
2018-12-16 01:54:00 +03:00
e6f5c46cdc
Fixes #15633 : Deprecate some things going away/changing in 2.1
...
- Deprecated `yii\base\BaseObject::className()` in favor of native PHP syntax `::class`, which does not trigger autoloading
- Deprecated XCache and Zend data cache support as caching backends
- Deprecated `yii\BaseYii::powered()` method
- Added `yii\base\InvalidArgumentException` and deprecated `yii\base\InvalidParamException`
- Added `yii\BaseYii::debug()` and deprecated `yii\BaseYii::trace()`
2018-02-11 01:48:29 +03:00
d7c93c9503
fix for #6226 , symlinking files/directories during multithreading ( #14905 )
2017-10-06 17:52:15 +02:00
fa1ca1384f
Fixes #14913 : Assset hashing now takes asset linking into account to improve cache busting
2017-10-06 00:20:35 +02:00
5a8c3d537b
Enable phpdoc_summary
rule in php-cs-fixer config ( #14675 )
...
* Enable `phpdoc_summary` rule in php-cs-fixer config.
* Fix case in "PHPDoc".
2017-08-21 11:19:35 +02:00
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
2017-08-21 01:58:49 +03:00
fe8a0a6a2e
Enable no_useless_else
rule in php-cs-fixer ( #14420 )
2017-07-10 11:26:21 +03:00
5e8e6840b6
Added copyEmptyDirectories option to FileHelper
...
also set it to false in AssetManager to avoid creating a lot of empty
directories.
fixes #9669
2017-05-08 00:21:53 +02:00
1a70f60332
Merge master into doc-fixes
...
Conflicts:
framework/web/AssetManager.php
2016-11-13 15:35:18 +01:00
7a3a342127
Fix errors reported by apidoc extension. ( #12986 )
2016-11-13 14:51:21 +01:00
450eefaa50
Some phpdoc fixes from scrutinizer.
2016-11-12 22:11:30 +01: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
67cc16a07d
AssetManager::publishDirectory - removed redundant is_dir check
2015-12-20 18:17:09 +02:00
01a6235059
#9333 : Fixed AssetManager to publish bundles using symlink with nested directories in hash
...
Closes #9333
2015-12-20 16:24:40 +02:00
ce94928a2c
Enhancement to phpDoc of AssetManager
2015-12-18 10:21:34 +03:00
cd87d67f34
Global DOCS update: ~~~ replaced with ```
2015-12-02 23:15:28 +02:00
a6e1ba2cf6
Fixed mb_ functions calls to use UTF-8 or app charset
2015-11-17 09:02:22 +02:00
fe4cbd30d6
Fixes #9803 : Added option to register asset with scheme (reverted from commit 57dc8540fd0842a76196b92e6c86e1b3441d9c46)
2015-10-29 12:38:42 +03:00
57dc8540fd
Fixes #9803 : Added option to register asset with scheme
2015-10-28 14:08:56 +03:00
5ab4f0f090
Better quotes usage in strings
...
- Use single quote where interpolation isn't necessary
- Use interpolation when it's better than concatenation
2015-10-10 00:23:52 +03:00
abc7dbbf0f
added missing @since
annotations
2015-08-04 12:40:12 +02:00
372211a865
Better type check in AssetManager
2015-08-02 19:20:55 +03:00
6312f2adad
#9249 : fixed wrong condition
2015-08-02 14:35:09 +03:00
6987358e2a
#9249 : better check for file/dir
2015-08-02 14:29:52 +03:00
d3e91abf00
Added @since
tag to yii\web\AssetManager::$hashCallback
2015-08-02 12:49:47 +03:00
2261db0a5f
Adding callback for custom hash generation in AssetManager.
2015-08-02 16:16:32 +07:00
95ba06c01b
Added ability to use aliases and domain relative URLs at yii\web\AssetManager::assetMap
2015-05-28 16:41:59 +03:00
8a506e1ee3
Added support for 'only' and 'except' options for yii\web\AssetManager::publish()
2015-05-27 17:01:05 +03:00
1a81211a9a
Update AssetManager #7535
...
#7535
2015-03-03 09:39:27 +03:00