Alexander Makarov
1271bc419f
Fix #19041 : Fix PHP 8.1 issues
3 years ago
ntesic
e68b7ae162
Fix #19138 : Allow digits in language code
...
Co-authored-by: ntesic <nikolatesic@gmail.com>
3 years ago
Bilal
e353835cc5
Fixed typo ( #19134 )
3 years ago
Alexander Makarov
d7aec6b8e7
prepare for next release
3 years ago
Alexander Makarov
655786b7ed
release version 2.0.44
3 years ago
Alexander Makarov
fe7f5ed0fa
Use https in composer.json for yiiframework.com
3 years ago
Alexander Makarov
214746c737
Adjust CHANGELOG messages
3 years ago
Bizley
12763a146e
Fix #19067 : Fix constant session regeneration ( #19113 )
...
* Fix constant session regeneration
* Add tests for session ID, always regenerating session ID for switching identity
3 years ago
Anton
6fb16bc30f
Fix #19098 : Add `yii\helper\BaseHtml::$normalizeClassAttribute` to fix duplicate classes
3 years ago
irice
02fe7f42c8
Fix #18660 : Check name if backslash appears
3 years ago
Anton
cccb65a70d
Fix #19108 : Optimize `Component::hasEventHandlers()` and `Component::trigger()`
3 years ago
Anton
8e0e5ad814
Fix #19096 : Fix `Request::getIsConsoleRequest()` may return erroneously when testing a Web application in Codeception
3 years ago
Anton
6067608321
Fix #19005 : Add `yii\base\Module::setControllerPath()`
3 years ago
Alexey Rogachev
1e41533789
(Docs) Normalized existing "virtual" / "magic" methods' descriptions, add missing ones ( #19066 )
3 years ago
Alexey Rogachev
6c9eb1a90c
(Docs) Fixed preview for $prepareDataProvider ( #19055 )
3 years ago
Anton
766cf701e5
Fix #19031 : Fix displaying console help for parameters with declared types
3 years ago
Papp Péter
0d899fa18b
Fix #19030 : Add DI container usage to `yii\base\Widget::end()`
3 years ago
Anton
d52c1237ca
Update Controller phpdoc ( #19052 )
3 years ago
ptolomaues
17aa0e40c1
Fix #13105 : Add yiiActiveForm validate_only property for skipping form auto-submission
3 years ago
AnkIF
6aa5bd8d46
Fix #18967 : Use proper attribute names for tabular data in `yii\widgets\ActiveField::addAriaAttributes()`
3 years ago
rhertogh
81a3b83995
Fix #19021 : Fix return type in PhpDoc `yii\db\Migration` functions `up()`, `down()`, `safeUp()` and `safeDown()`
...
* Fixed PhpDoc in Migration.php (revert #18886 )
Fixed the return type of `up()`, `down()`, `safeUp()` and `safeDown()` functions to match the described behavior.
The current implementation checks for `false`, "all other return values mean the migration succeeds".
This PR also reverts #18886 since it was a code fix for what was documentation error.
Allow all possible values for `yii\db\Migration` functions `up()`, `down()`, `safeUp()` and `safeDown()`
3 years ago
Alexey Rogachev
552593ca3b
Prepare for new apidoc (part 2) ( #19010 )
...
* Fix broken links for events with different namespace
* Fix broken links in see tag
* Fix broken links in see tag (loadData())
* Fix broken link for var_export()
* Fix broken link for CVE
* Remove redundant markdown link wrap in see tags
* Remove see tags that refer to private properties
* Remove more see tags that refer to private properties
* Remove see tags that refer to private methods
* Remove one more redundant markdown link wrap in see tag [skip ci]
* Fix typo in see tag (causes broken link)
* Remove more see tags that refer to private methods
3 years ago
Anton
c8d027f649
Fix #18993 : Load defaults by `attributes()` in `yii\db\ActiveRecord::loadDefaultValues()`
3 years ago
Anton
533b569005
Fix PhpDoc of `ActiveField` ( #19001 )
3 years ago
Alexey Rogachev
fa6f0ef658
Fix variable references in phpdoc ( #19006 )
3 years ago
Marco van 't Wout
53477e8ad9
Correct note about html encoded items in radio/checkboxlist ( #19007 )
3 years ago
Anton
03235e6c12
Fix #18988 : Fix default value of `yii\console\controllers\MessageController::$translator`
3 years ago
Anton
4c1f872320
Improve ArrayAccess phpdoc in yii\base\Model ( #18992 )
...
Fix parameter name in `offsetSet()`
Fix type of property `$offset` in PhpDoc's
3 years ago
Sohel Ahmed Mesaniya
4b3361bf02
Docs enhancements ( #18985 )
...
- added more strict checks in if condition: that if `$user` exists, only then call its method
- Renamed `verifyPassword` to `validatePassword` because yii2-advanced-template use that method name
3 years ago
Anton
480ae53f6d
Fix migration command example in BaseMigrateController ( #18978 )
3 years ago
Anton
97f9fba7e9
Fix #18962 : Extend ignore list in `yii\console\MessageController::$except`
3 years ago
Aleksandr Bogatikov
e294c23102
Fix#18328: Yii::warning() raised on file register after View::endBody() has been moved to View::endPage() ( #18975 )
...
Co-authored-by: Mehdi Achour <machour@gmail.com>
3 years ago
Aleksandr Bogatikov
d27fb96409
StringHelper::dirname() fixed for trailing slash ( #18965 )
...
* StringHelper::dirname() fixed for trailing slash
* StringHelper::dirname() fix for PHP <7 versions
* Update CHANGELOG.md
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
Co-authored-by: Bizley <pawel@positive.codes>
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
Anton
6fdba043d7
Update Session.php ( #18969 )
3 years ago
Anton
d80974da30
Fix #18955 : Check `yiisoft/yii2-swiftmailer` before using as default mailer in `yii\base\Application`
3 years ago
Bizley
0041f034fd
[doc] Update PHP doc links ( #18957 )
...
* Replace https://secure.php.net with https://www.php.net
* Replace http://www.php.net with https://www.php.net
3 years ago
Bizley
ae82b58d85
Fix #18909 : Fix bug with binding default action parameters for controllers
3 years ago
BIKI DAS
14a28ab4f4
docs improvment ( #18935 )
3 years ago
BIKI DAS
7cca296a5e
Framework(Baseyii.php) -----> fixed typos and improved doc ( #18927 )
...
* fixed typos and improved doc
* spacing fix
* The ---> the
* removed "are"
Co-authored-by: Bizley <pawel@positive.codes>
3 years ago
Anton
0181a49bb4
Fix phpdoc in BaseFileHelper ( #18928 )
3 years ago
Anton
ccf979196c
Fix yii\i18n\GettextMessageSource PHPDoc ( #18916 )
3 years ago
BIKI DAS
e078c9422f
Fix typos
3 years ago
Toir Tuychiev
3578621833
Shorten two identical statements in compare validator ( #18922 )
3 years ago
Anton
f7c81fb044
Fix BaseMigrateController::$migrationPath phpdoc ( #18924 )
3 years ago
Mario Simão
175f66e6e0
Fix #18908 : Add stdClass as possible return type to getBodyParams ( #18918 )
3 years ago
Mario Simão
2c3f5d990c
Fix #18733 : Fix session offset doc types ( #18919 )
3 years ago
Oleg Poludnenko
01b6b2a5d1
Fix #18913 : Add filename validation for `MessageSource::getMessageFilePath()`
...
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
3 years ago
Alexander Gubarev
e3028c524d
Fix #18899 : Replace usages of `strpos` with `strncmp` and remove redundant usage of `array_merge` and `array_values`
3 years ago
hexkir
f2caf02164
Fix #18904 : Improve Captcha client-side validation
3 years ago