Robert Korulczyk
383cf0c48d
Fix #17762 : PHP 7.4: Remove special condition for converting PHP errors to exceptions if they occurred inside of __toString() call
2019-12-25 12:25:04 +03:00
Yusup Hambali
05aae044e5
Fix #17720 : DI 3 support for application core components and default object configurations
2019-12-12 02:48:42 +03:00
Alexander Makarov
e153c68768
Fix #17725 : Ensure we do not use external polyfills for pbkdf2() as these may be implemented incorrectly
2019-12-11 18:55:35 +03:00
Alexander Makarov
69b1966b4a
PHP 7.4 fixes
...
- Fix `Model::activeAttributes()` to access array offset on value of non-string
- Fix incorrect decoding of default binary value for PostgreSQL
- Fix incorrect type-casting of reflection type to string
2019-12-10 15:08:45 +03:00
Yusup Hambali
c1e9739ed2
Fix #17670 : Fix overriding core component class using __class
2019-11-19 20:10:26 +03:00
Alexander Makarov
166f892f14
Fix #17673 : Add note about renderDynamic() and register*() methods [skip ci]
2019-11-19 17:15:38 +03:00
Viktor Khokhryakov
4c76dc4c90
Fix #16610 : ErrorException trace was cut when using XDebug
2019-09-18 13:40:10 +03:00
Alexander Makarov
18401399fe
Inline constant since it is not part of the public interface
...
In Yii 3 instead I'd make constant private but we have no PHP 7 in 2.0
2019-09-04 00:35:53 +03:00
Somogyi Márton
90d46298ad
Fix #17507 : Fixed regular expression escaping and simpler condition in Controller::createAction()
2019-08-22 12:11:12 +03:00
Alexander Makarov
2927a7af1c
release version 2.0.25
2019-08-13 23:04:44 +03:00
Alexander Makarov
2d96095e9e
Fix phpdoc [skip ci]
2019-08-13 23:04:07 +03:00
Nikolay Poryadin
491f9737fe
Fix #17223 : Fixed detaching a behavior event when it is a Closure instance
2019-08-13 20:35:42 +03:00
yuniorsk
d3bd1403de
Fixes docs for createController method ( #17478 ) [skip ci]
2019-07-30 17:42:47 +03:00
Alexander Makarov
331d997185
Noted in Security::encrypt* that data returned is byte string [skip ci]
2019-07-12 15:13:53 +03:00
Alexander Makarov
1f6cc43337
Remove unnecessary concatenation
2019-07-02 21:34:35 +03:00
Alexander Kartavenko
b0a973a8da
Fix #17396 : Added 'invoked by controller' to the debug log message when \yii\base\Action is used
2019-06-28 01:50:44 +03:00
Alexander Makarov
1c919a5ac5
Fixes #17377 : Add tests that verify there are no false positives
2019-06-18 12:22:35 +03:00
Alexander Makarov
317a73a59f
Fixes #17336 : Fixed wildcard matching in Event::hasHandlers()
2019-06-04 15:07:51 +02:00
Pavel Dovlatov
bdb7c64910
Update to https protocol for php.net links ( #17168 ) [skip ci]
...
* Updated php.net link for some MemCache properties [skip ci]
* Changed protocol to https for links to php.net in comments
* Changed protocol to https for links to php.net in code
* Changed www.php.net (http) to secure.php.net (https) in comments
* Changed www.php.net (http) to secure.php.net (https) in code
* Changed protocol to https for links to php.net in UPGRADE.md
* Changed protocol to https for links to pecl.php.net in comments
* Changed us.php.net to secure.php.net (https) in comments
* Changed protocol to https for links to php.net in docs
* Changed www.php.net (http) to secure.php.net (https) in docs
* Changed protocol to https for links to pecl.php.net in docs
* Changed ru/jp.php.net to secure.php.net (https) in docs
Don't sure about russian guide: is this links meant to be for guide on russian, or not?
2019-02-28 13:09:27 +03:00
Carsten Brandt
768d590eef
added missing @since annotations
2019-01-31 00:45:25 +01:00
Razvan Grigore
ca3c8da503
Fixes #16377 : Fixed yii\base\Event:off() undefined index error when event handler does not match
2018-06-12 09:50:43 +03:00
Vuong Minh
aeeb6ce39d
Fixes #16252 : Fixed yii\base\DynamicModel for checking exist property
2018-05-30 22:51:52 +03:00
Paweł Jankowiak
33fe3476c7
Fixes #16280 : Fixed yii\base\Model::getActiveValidators() to return correct validators for attribute on scenario
2018-05-21 01:17:34 +05:00
Sohel Ahmed Mesaniya
0fbec30bbc
Docs enhancement ( #15464 ) [skip ci]
2018-05-14 12:59:00 +03:00
Sam
a8d95f429d
Fixes #14636 : Views can now use relative paths even when using themed views
2018-05-11 12:50:56 +03:00
杨国帅
2c997cdb82
Fixes #16184 : Fixed yii\base\Widget to access stack property with self instead of static
2018-04-29 12:36:10 +03:00
Vladimir Reznichenko
14984328e5
SCA with Php Inspections (EA Ultimate) ( #16105 )
2018-04-16 13:22:54 +03:00
Vladimir Reznichenko
1a74b3d4f8
[minor] SCA with Php Inspections (EA Ultimate) ( #15871 )
...
* Php Inspections (EA Ultimate): use type casting where applicable
* Php Inspections (EA Ultimate): use constants where applicable
* Php Inspections (EA Ultimate): CS
* Php Inspections (EA Ultimate): address some of one-time used variables
* Php Inspections (EA Ultimate): address some of performance-related findings
* Php Inspections (EA Ultimate): address some of performance-related findings
* Php Inspections (EA Ultimate): revert a constant usage
* Php Inspections (EA Ultimate): revert sequential assignments
* Php Inspections (EA Ultimate): build is green again
* Php Inspections (EA Ultimate): revert array_merge tweaks
* Php Inspections (EA Ultimate): revert BC-incompatible one-time used variable tweak
* Update description [skip ci]
* Php Inspections (EA Ultimate): CS
2018-03-12 01:37:19 +03:00
Dmitry Naumenko
5e16c67673
Merge pull request #15797 from kalessil/master
...
[minor] Static code analysis
2018-03-10 15:42:48 +02:00
SilverFire - Dmitry Naumenko
08c87aec4f
Fixed Component::off() not to throw an exception
...
Fixes #15822
2018-03-03 16:37:41 +02:00
Vladimir Reznichenko
f10cb6aeee
SCA with Php Inspections (EA Ultimate)
2018-02-27 19:13:22 +01:00
SilverFire - Dmitry Naumenko
22832b7c49
release version 2.0.14
2018-02-19 00:27:09 +02:00
Alexander Makarov
596e5b1283
Fixed escaping in arrayable trait ( #15669 )
2018-02-19 00:31:41 +03:00
SilverFire - Dmitry Naumenko
05b85008f8
Updated PHPDocs [skip ci]
2018-02-18 23:12:08 +02:00
Paul Klimov
69a36789c4
fixed duplicating wildcard event trigger at Event::trigger()
2018-02-18 21:33:11 +02:00
Alexander Makarov
0de49406db
Minor code style adjustments, phpdoc
2018-02-18 02:56:56 +03:00
Alexander Makarov
a1937544e0
Code style adjustments
2018-02-18 02:41:49 +03:00
Carsten Brandt
e493843b1c
improve @deprecated annotations
2018-02-16 11:19:00 +01:00
Sergey Makinen
c382d3e8d4
Fixes #15120 : Refactored dynamic caching introducing DynamicContentAwareInterface and DynamicContentAwareTrait
2018-02-13 00:19:01 +03:00
Brandon Kelly
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
Klimov Paul
65f6b59b35
@inheritdoc notation changed
2018-01-23 13:11:24 +02:00
Alexander Makarov
6b0be47e0f
Fixes #14711 : Fixed yii\web\ErrorHandler displaying exception message in non-debug mode
2018-01-22 11:41:24 +03:00
Alexander Makarov
d7be512fa0
Fixes #10186 : Use native hash_equals in yii\base\Security::compareString() if available, throw exception if non-strings are compared
2018-01-18 01:58:32 +03:00
Benoît Bouré
f1277d6d21
Fixes #6844 : yii\base\ArrayableTrait::toArray() now allows recursive $fields and $expand
2018-01-15 18:15:32 +03:00
Elvira Sheina
a559b9fa76
Fixes #14903 : Fixed route with extra dashes is executed controller while it should not
2018-01-09 18:59:07 +04:00
Ankit Padia
533f9edd35
generatePasswordHash() documentation example syntax error fixed
2018-01-05 17:47:20 +05:30
Alexander Makarov
e813c20124
Fixes #3250 : Added support for events partial wildcard matching
2017-12-24 00:36:54 +03:00
Paul Klimov
921310fd69
condition optimized
2017-12-23 15:33:42 +02:00
Klimov Paul
c2cf1f03ca
Event wildcards added to Event
2017-12-22 17:32:03 +02:00
SilverFire - Dmitry Naumenko
072ef77ea5
Prevent source path disclosure when form is represented by an anonymous class
2017-12-22 12:21:32 +02:00