Carsten Brandt
25b78aa615
Fixes #13508 : Fixed duplicate attachment of behavior BC break
...
Fixes BC break introduced in
954c771fdb
?diff=split#diff-d45d5e14cbb9739c2e1c63b53ba5e363L669
8 years ago
Carsten Brandt
c19b2f7dc8
release version 2.0.11
8 years ago
Brandon Kelly
5609e918de
Fixed some malformed @var tags ( #13468 ) [skip ci]
8 years ago
Alexander Makarov
920877c815
Fixed WidgetEvent construction
8 years ago
user57376
7c1693479f
Fixes #12000 : Added EVENT_INIT to widget
8 years ago
Alexander Makarov
767400da19
Fixes for #13457 as commented by @cebe
8 years ago
Alexander Makarov
f20c0177af
Fixes #7435 : Added `EVENT_BEFORE_RUN`, `EVENT_AFTER_RUN` and corresponding methods to `yii\base\Widget`
8 years ago
Carsten Brandt
c1c11d06ae
Revert "Fixed some comment issues ( #13392 ) [skip ci]"
...
This reverts commit 652d05f0b8
.
`@property` comments are used to document the property that is
defined by a getter/setter if the method description does not fit.
8 years ago
Hao
652d05f0b8
Fixed some comment issues ( #13392 ) [skip ci]
8 years ago
Carsten Brandt
65e4a28800
consistent behavior for Yii::$app->controller and ->action ( #13167 )
...
Fixed inconsistency, `Yii::$app->controller` is available
after handling the request since 2.0.10, this is now also the case for
`Yii::$app->controller->action`.
fixes #12795
8 years ago
Carsten Brandt
48c806fe1c
added unit test for DynamicModel::load()
...
issue #12116
8 years ago
Carsten Brandt
4735d4da6b
Update DynamicModel.php
...
added note about limitations, i.e. no scenarios -> no safe attributes -> no load().
8 years ago
Alexander Makarov
954c771fdb
Code cleanup ( #13113 )
...
* Simplified code branching, named variable better
* More simple code cleanup
* More consistent line breaks before return statemetns
8 years ago
SilverFire - Dmitry Naumenko
437825be70
Implemented Container::setDependencies(), Container::setDefinitions
...
Closes #11758
Closes #13029
8 years ago
Carsten Brandt
b8b3aeeb00
update deprecated phpdoc messages
8 years ago
Robert Korulczyk
9cb7125921
`@return bool` in `ErrorHandler::handleError()`
8 years ago
Robert Korulczyk
7a3a342127
Fix errors reported by apidoc extension. ( #12986 )
8 years ago
Robert Korulczyk
450eefaa50
Some phpdoc fixes from scrutinizer.
8 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
Alexey Rogachev
e8c16a09fa
Fixed some typos ( #12847 )
8 years ago
Robert Korulczyk
5308aa1eee
Fixes #12619 : Added catch `Throwable` in `yii\base\ErrorHandler::handleException()`
8 years ago
Paul Klimov
8d05bd9479
`yii\base\Application::$version` converted to `yii\base\Module::$version` virtual property, allowing to specify version as a PHP callback
...
`yii\base\Application::$version` converted to `yii\base\Module::$version` virtual property, allowing to specify version as a PHP callback
8 years ago
Alexander Makarov
8a452bcc2e
Fixes #10587 : Latest used controller instance was not available in `Response::EVENT_AFTER_SEND` handler
8 years ago
Almir Bolduan
6c1fe1a137
Update Security.php
...
Corrected description for method decryptByKey().
8 years ago
SilverFire - Dmitry Naumenko
eb02b362be
Revert "Replaced `extract()` function usages with custom polyfill in order to fix HHVM compatibility"
...
This reverts commit f7bd7c2b6b
.
8 years ago
SilverFire - Dmitry Naumenko
f7bd7c2b6b
Replaced `extract()` function usages with custom polyfill in order to fix HHVM compatibility
8 years ago
Klimov Paul
48b0b962b8
Added `yii\base\Event::offAll()` method allowing clear all registered class-level event handlers
8 years ago
Alexander Makarov
dbe284c618
Changed formatting of phpdoc. See #12409
8 years ago
Roman Grinyov
f0c44bca91
Cosmetic changes 2 ( #12409 ) [skip ci]
8 years ago
Carsten Brandt
e97c798a4f
fixed wrong docs about behaviors
...
fixes #12392
8 years ago
Roman Grinyov
ba43ef370d
Cosmetic changes
8 years ago
Roman Grinyov
00e4470c42
Cosmetic changes
8 years ago
Alexander Makarov
9f71bf400e
Fixes #12038 : Introduced `yii\base\ViewNotFoundException` which is thrown when views file doesn't exists, used it in `ViewAction`
8 years ago
Klimov Paul
8de6a5117c
Fixed `yii\base\Model::offsetExists()` throws an exception on un-existing field
8 years ago
Carsten Brandt
93f6ddfbe9
document the fact that widgets use output buffering
...
so they may break ob stack when end() and begin() are called in
different views.
close #11687
8 years ago
Hisateru Tanaka
9585939d9f
Fixes #11723 : Fixed PHP 7 + XDebug error handling displaying "Expected array for frame 0"
8 years ago
Nikola Kovacs
9d327baa8b
coding style fixes
8 years ago
Carsten Brandt
e49bc29aa8
Update ActionFilter.php
8 years ago
Paul Klimov
7e7db38011
Fix #11591 `ActionFilter` wildcard ( #11594 )
...
* Added support for wildcards for `only` and `except` at `yii\base\ActionFilter`
8 years ago
Evgeniy Tkachenko
d0a68883c7
phpDoc of $layout updated
8 years ago
Carsten Brandt
e94b68436d
complete test coverage for reading /dev/urandom
...
fixes an issue with buffered reading
9 years ago
Carsten Brandt
f2f082dbab
moved checks before random_bytes() to have consistent behavior accross php versions
9 years ago
Alexander Makarov
0c6c1eebd1
Better buffer usage description as suggested by @tom--
...
https://github.com/yiisoft/yii2/pull/11285#discussion_r59960199
9 years ago
Alexander Makarov
6a80a132e2
Converted constant into local variable #11285
9 years ago
Alexander Makarov
81b18e1538
Fixed variable name
9 years ago
Alexander Makarov
371440d59a
More Security component enhancements
...
- Removed PHP version checks since both are met by default because Yii requires 5.4.0+.
- Limit PHP fread buffer in order to prevent entropy wasting.
- Fixed incorrect bytes to read calculation.
- Added more notes explaining decisions.
9 years ago
Tom Worster
c455a3c54b
Security component enhancements
...
- Added tests for random key generation speed.
- Better generateRandomKey() performance for small reads because of using fopen + buffered read and local caching of source detection.
- Use /dev/random on FreeBSD.
9 years ago
Andrii Vasyliev
e8d30f0c51
enable use of yii2 inside of phar packaged console applications
9 years ago
Joel Waldock
20de74d343
Fix spelling in Controller.php
9 years ago