401 Commits

Author SHA1 Message Date
68b473679a release version 2.0.47 2022-11-18 20:21:58 +04:00
0ababa2d36 small fix #19530 (#19532)
* small fix #19530

* small fix #19530 | fix test

* small fix #19530 | fix test

* small fix #19530 | fix test

* small fix #19530 | update CHANGELOG.md

* Update framework/CHANGELOG.md

Co-authored-by: viktor.shumeiko <viktor.shumeiko@simbirsoft.com>
Co-authored-by: Alexey Rogachev <arogachev90@gmail.com>
2022-09-05 17:32:20 +06:00
161526cd41 HTTPS everywhere (#19503) 2022-08-03 12:32:18 +03:00
d9c41fa207 Fix #19420: Update list of JS callbacks in yii\widgets\MaskedInput 2022-06-01 11:33:28 +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
4628b91e73 Fix types (#19332)
* Migration::upsert() returns void

* Unneeded `@property` tags

* Add missing `null` param/return types

* Null types for db\Query + db\ActiveQuery

* Fixed testSelect
2022-03-30 18:40:10 +02:00
655786b7ed release version 2.0.44 2021-12-30 10:50:56 +03:00
6aa5bd8d46 Fix #18967: Use proper attribute names for tabular data in yii\widgets\ActiveField::addAriaAttributes() 2021-11-22 13:00:45 +03:00
533b569005 Fix PhpDoc of ActiveField (#19001) 2021-11-12 00:21:03 +03:00
fa6f0ef658 Fix variable references in phpdoc (#19006) 2021-11-10 13:26:55 +03:00
e3028c524d Fix #18899: Replace usages of strpos with strncmp and remove redundant usage of array_merge and array_values 2021-09-28 11:06:46 +03:00
d5a428e001 Fix some code smells (#18696) 2021-06-05 13:37:45 +03:00
82be8b61cf Replacing deprecated ::className() with ::class (#18671) 2021-05-22 23:14:54 +03:00
a03fb0c01e Fix #17631: Fix yii\widgets\BaseListView to properly render custom summary 2021-03-26 13:53:42 +03:00
b8f4958092 Fix #18442: Fix calls with array access to strings 2020-12-23 01:08:58 +03:00
98533b7e31 Fix #18426: Fix check for route's leading slash in yii\widgets\Menu 2020-12-09 14:05:26 +03:00
ccb14ff667 release version 2.0.39 2020-11-10 13:58:35 +03:00
973ecda74c Fix #16892: Validation error class was not applied to checkbox and radio when validationStateOn = self::VALIDATION_STATE_ON_INPUT
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2020-09-11 22:28:10 +03:00
da1fddb576 Fix #17766: Remove previous PJAX event binding before registering new one 2020-01-11 16:27:55 +03:00
23a8d041a6 Fix #17853: Fix errors in ActiveField to be properly caught when PHP 7 is used
Changed __toString method to catch all PHP 7 error types. \Throwable is part of PHP 7+, so I left the \Exception in for older PHP.
2019-10-03 15:03:12 +03:00
a6b135e058 Fix #17355: Fixed Pjax after request event bug 2019-08-27 18:56:33 +03:00
8d9947f06a Fixes #17299: Fixed adding of input error class in \yii\widgets\ActiveField::widget 2019-05-28 09:03:39 +02:00
e9b33916b6 Fixes #17220: Fixed error when using non-InputWidget in active form field 2019-03-28 12:57:44 +03:00
f7fcc0043e Revert "Fixes #17220: Fixed widgets with no options"
This reverts commit a7f98964151d5894d9862fb0a1bf80040de86b69.
2019-03-24 15:57:46 +03:00
a7f9896415 Fixes #17220: Fixed widgets with no options 2019-03-23 11:29:38 +03:00
a8d4f8538e Fixes #16681: ActiveField::inputOptions were not used during some widgets rendering 2019-03-09 15:39:58 +03:00
8b7e878f1d Revert "Fixes #16629: ActiveField::inputOptions were not merged with options passed for radio and checkbox"
This reverts commit 8334ab3060dc97fac87c1fb176ce6d92be175e80 as it
breaks layout for checkboxes with Bootstrap
2018-11-21 18:32:24 +02:00
8334ab3060 Fixes #16629: ActiveField::inputOptions were not merged with options passed for radio and checkbox 2018-11-20 01:12:17 +03:00
9fadc6e102 Optimize comment of LinkPager (#16758) [skip ci] 2018-10-06 00:48:20 +03:00
9910519aba Revert "Fixes #16657: Ensure widgets after run event result contains the result of the rendered widget"
This reverts commit 7dc38ff4029ec96931c574dac430a924370ea039.
2018-10-01 01:04:11 +03:00
7dc38ff402 Fixes #16657: Ensure widgets after run event result contains the result of the rendered widget 2018-09-23 13:28:09 +03:00
26700f06d1 Merge ActiveField condition with the parent (#16715) 2018-09-19 20:14:32 +03:00
f7862c16c7 Fixes #14368: Added role attribute for active radio list 2018-09-17 02:26:42 +03:00
9d03667b40 Fixes #16527: Fixed return content for \yii\widgets\ActiveForm::run() 2018-07-28 23:50:22 +08:00
cdcbb7575a Simlified FQCN [skip ci] 2018-03-01 09:55:43 +02:00
d0a6302b37 Update ActiveField.php
Used Html instead BaseHtml
2018-03-01 08:05:25 +01:00
3838208cbc Fixed has-error class to ActiveField div container when attribute name is tabular 2018-02-28 10:25:14 +01:00
22832b7c49 release version 2.0.14 2018-02-19 00:27:09 +02:00
59b56b312f #15476: Fixed ActiveField initial error class in case setting it to input 2018-02-17 21:48:13 +03:00
c382d3e8d4 Fixes #15120: Refactored dynamic caching introducing DynamicContentAwareInterface and DynamicContentAwareTrait 2018-02-13 00:19:01 +03:00
b3130be7ba Fixes #15476: Added \yii\widgets\ActiveForm::$validationStateOn to be able to specify where to add class for invalid fields 2018-01-31 03:03:21 +07:00
08eccb612f Fixes #15536: Fixed yii\widgets\ActiveForm::init() for call parent::init() 2018-01-24 11:15:10 +03:00
65f6b59b35 @inheritdoc notation changed 2018-01-23 13:11:24 +02:00
9823345a74 Fixes #6391: Added note clarifying config for ListView pager and sorter [skip ci] 2018-01-21 23:08:53 +03:00
c8fbe40352 Fixes #9253: Allow variations to be a string for yii\filters\PageCache and yii\widgets\FragmentCache 2017-12-19 12:52:17 +03:00
a9d18c4a8e Disable temporary fix (#15024)
Please disable the temp fix, that was fixed in https://github.com/yiisoft/jquery-pjax/pull/50
2017-12-11 23:51:48 +02:00
e9f57b9e7e Fixes #15234: Fixed \yii\widgets\LinkPager removed tag from disabledListItemSubTagOptions 2017-11-27 23:42:17 +03:00
2d672b6722 release version 2.0.13 2017-11-03 01:09:29 +03:00
fb23b0d0ea Code style fixes 2017-11-01 02:43:02 +03:00
34cc2dee8f Fixes #14294: Added InputWidget::renderInputHtml() to move behavior described in InputWidget class docs to the class itself
This reverts commit b0162d3a48150be2394dbd30147b3019a433b3a2.

Closes #14294
2017-09-09 14:34:01 +03:00