94dfccd6fa
19324 dropdownlist selection for boolean attributes ( #19331 )
...
* Fix #19324 by allowing for direct comparison
* Invert meaning of strict
* Remove WinterSilence from authors list
* Fix improper implementation of strict checks
* Add test for renderSelectOptions
* Partially revert 'Fix improper implementation of strict checks'
* Add additional tests for strict
* Revert 'Fix improper implementation of strict checks'
* Add failing test for demonstration
* Comment out demonstration test
* Update framework/CHANGELOG.md
Co-authored-by: Bizley <pawel@positive.codes>
Co-authored-by: Bizley <pawel@positive.codes>
2022-04-11 09:44:48 +02:00
16a684e8e6
Fix broken code block ( #19344 )
2022-04-10 13:31:35 +02:00
a90017294c
Fix #19312 : Fix PHP 8.1 error when passing null to yii\helpers\BaseInflector
2022-04-08 17:36:08 +04:00
def396f7d9
Fix broken code block inside note block ( #19342 )
2022-04-08 15:53:16 +04:00
e352649a75
Improve DataFilterTest ( #19341 )
2022-04-08 13:48:17 +04:00
4e1a37d567
Resolve #19327 ( #19336 )
...
* Resolve #19327
* cast from extracted column
* Update CHANGELOG
* Update CHANGELOG.md
Co-authored-by: Bizley <pawel@positive.codes>
2022-04-08 08:05:47 +02:00
06e5472753
Fix #19256 : Pass missed $view to user's callback in yii\validators\InlineValidator::clientValidateAttribute()
2022-04-08 01:20:28 +04:00
406ec82f94
Fix #19270 : Replace deprecated scss converter in yii\web\AssetConverter::$commands
2022-04-08 01:18:36 +04:00
1382aea4a8
Fix #19295 : Added alias text/rtf for mime-type application/rtf
2022-04-07 00:14:00 +04:00
1789b28d76
Extend examples in guide/input-tabular-input.md ( #19278 )
2022-04-07 00:05:17 +04:00
9f6d24d939
Fix #19328 : Passing null to parameter #1 ($string) of type string is deprecated in yii\db\oci\Schema
...
Co-authored-by: Kevin Desmettre <kdesmettre@oph74.fr>
2022-04-06 23:58:14 +04:00
10f604582c
Fix autoload sections in composer.json ( #19337 )
...
Move `yii\cs\` into `autoload-dev` and add `test` and `build` namespaces
2022-04-06 23:43:31 +04:00
14c42b7bb5
Added jfif to mimeTypes.php ( #19338 )
...
* Added `jfif` to mimeTypes.php
Added the 'image/jpeg' mime type for `.jfif` files (https://en.wikipedia.org/wiki/JPEG_File_Interchange_Format )
* Update MimeTest.php
Added 'jfif' extension to MimeTest
2022-04-05 08:28:41 +02: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
e08222bebd
Fix #19254 : Support specifying custom characters for yii.validation.trim() and replace deprecated jQuery.trim()
2022-03-31 00:46:08 +04: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
4cfdfc011f
Add yii\web\UploadedFile::$fullPath ( #19308 )
...
* Add `yii\web\UploadedFile::$fullPath`
`$_FILES['userfile']['full_path']` Available as of PHP 8.1.
Updates related methods `loadFilesRecursive()` and `loadFilesRecursive()`
* Update UploadedFile.php
* Update UploadedFile.php
* Update UploadedFile.php
* Update CHANGELOG.md
* Apply suggestions from code review
Co-authored-by: Bizley <pawel@positive.codes>
* Update UploadedFile.php
Co-authored-by: Bizley <pawel@positive.codes>
2022-03-30 09:38:00 +02:00
f6d328335e
GroupUrlRule slash in prefix ( #19330 )
...
* Bring back slash
* changelog
* group url rule test
2022-03-29 21:37:25 +02:00
091b055ce9
Fix yii\caching\Dependency::generateReusableHash() ( #19303 )
...
* Fix yii\caching\Dependency::generateReusableHash()
* Update DbQueryDependencyTest.php
* Update CHANGELOG.md
* Update Dependency.php
* Update framework/caching/Dependency.php
Co-authored-by: Bizley <pawel@positive.codes>
* Update comment Dependency::generateReusableHash()
Co-authored-by: Bizley <pawel@positive.codes>
2022-03-29 08:22:34 +02:00
2874e070f3
Fix #19322 : Revert force setting value to empty string in case it's null in yii\validators\FilterValidator::validateAttribute()
2022-03-24 17:50:00 +04:00
7cc45f75f5
Add TrimValidator ( #19304 )
...
* Add TrimValidator
* Update Validator.php
* Update Validator.php
* Update TrimValidator.php
* Update TrimValidator.php
* Update TrimValidator.php
* Update TrimValidator.php
* Update CHANGELOG.md
* Update Validator.php
2022-03-22 11:16:47 +01:00
7f244793f5
Rewrite Model::attributes() ( #19309 )
...
* Optimize Model::attributes()
* Update CHANGELOG.md
2022-03-18 08:09:22 +01:00
a843c61da6
Set the default to an array ( #19306 )
2022-03-16 08:20:03 +01:00
3a13a31f37
update internals links ( #19300 )
2022-03-14 08:09:50 +01:00
c3ca164be2
Update links (internals) ( #19298 )
...
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
2022-03-12 12:29:12 +01:00
e2cb4630f8
update links (vi, zh lang) ( #19294 )
2022-03-11 07:58:37 +01:00
f3473aa4e8
Fix Model::__clone() ( #19291 )
...
* Fix Model::__clone()
Reset validators and errors after cloning to prevent changing cloned model via inner objects of clone like as InlineValidator
* Update CHANGELOG.md
Co-authored-by: Bizley <pawel@positive.codes>
2022-03-09 08:02:51 +01:00
b1e51dccd9
update links (uk, uz lang) ( #19288 )
2022-03-08 08:25:29 +01:00
4cb799bf92
Fix @param type ( #19286 )
2022-03-05 10:31:33 +01:00
08fa259a56
update links ( #19283 )
2022-03-04 13:29:26 +01:00
857f049e2e
composer update (allow-plugins) ( #19277 )
...
Co-authored-by: Bizley <pawel@positive.codes>
2022-03-02 17:45:53 +01:00
64e5c7ca26
Update links (RU and PT-BR lang) ( #19281 )
...
* Update links (RU lang)
* Update links (PT-BR lang)
2022-03-02 11:04:22 +01:00
2222a617ab
update links (ja, pl lang) ( #19276 )
2022-02-28 10:57:47 +01:00
1d20db57e6
Fixing typo ( #19269 )
...
Fixing typo on word "métido", it is supposed to be "método"
2022-02-23 15:49:31 +01:00
adf8af42ee
update links (id, it lang) ( #19258 )
2022-02-23 08:44:43 +01:00
19c978fc8a
update links (es, fr) ( #19245 )
2022-02-20 10:07:30 +01:00
3203353a38
Remove code duplication in ActiveRecord::attributes()
2022-02-20 01:01:24 +03:00
7b8c29d874
Fix #19243 : Handle finfo_open for tar.xz as application/octet-stream on PHP 8.1
2022-02-19 23:45:20 +03:00
9bf7c96f26
Update db-active-record.md ( #19250 )
...
Complete the php command.
2022-02-19 11:07:44 +01:00
4d90778861
Fix bug #19235 ( #19247 )
...
* Fix bug #19235
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
2022-02-18 09:27:18 +01:00
3c6805e384
Update links (ar) ( #19230 )
2022-02-15 14:31:27 +03:00
cb5e180695
Fix PhpDoc of yii\db\pgsql\QueryBuilder::normalizeTableRowData() ( #19234 )
2022-02-15 14:27:59 +03:00
f248d88841
Fix a typo in a Japanese doc ( #19232 )
...
👍🏻
2022-02-14 11:03:39 +01:00
9bcc8c8e83
update links (en) ( #19222 )
...
Co-authored-by: Bizley <pawel@positive.codes>
2022-02-12 17:43:48 +01:00
7fd85d2268
Fix MimeTest
2022-02-11 16:39:05 +03:00
200d8b87d5
prepare for next release
2022-02-11 16:13:11 +03:00
0792736b35
release version 2.0.45
2.0.45
2022-02-11 16:12:40 +03:00
aa61a7b77a
clarification added ( #19220 )
2022-02-10 14:07:39 +01:00
2861121a67
update boolean attributes link ( #19216 )
...
Co-authored-by: Bizley <pawel@positive.codes>
2022-02-09 10:05:12 +01:00
9fbdc9f01b
Fix #18821 : Additional type fixes ( #19217 )
2022-02-09 11:35:20 +03:00