Andrii Vasyliev
da626f507f
Fix #17607 : Added Yii version 3 DI config compatibility
...
- Allow `__class` and `__construct()` in configurations
- Allow wider use of `Instance::of`
- Allow static call DI definition like: `[SomeFactory::class, 'createMethod']`
- Add support for `__class` in `createObject`
5 years ago
Brandon Kelly
5efe0bda8f
Fix #17585 : Fix `yii\i18n\Formatter` including the `@calendar` locale param in `Yii::t()` calls
5 years ago
Somogyi Márton
6a2777fc6d
Add Request tests for already resolved IP case #17521 ( #17594 )
5 years ago
Somogyi Márton
9054cdfdcc
Fixes #17521 : Request::getUserHost() and request::getUserIp() ( #17593 )
5 years ago
Somogyi Márton
c87855b31c
Fix #17573 : `Request::getUserIP()` security fix for the case when `Request::$trustedHost` and `Request::$ipHeaders` are used
5 years ago
Alexander Makarov
ce0c7ad096
Fix #17533 : Fix mutex testRetryAcquire() on Windows ( #17591 )
...
Skip Windows tests for retry delay
https://docs.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-sleep
> If dwMilliseconds is less than the resolution of the system clock, the thread may sleep for less
> than the specified length of time.
5 years ago
Viktor Khokhryakov
4c76dc4c90
Fix #16610 : ErrorException trace was cut when using XDebug
5 years ago
Alexandr Kozhevnikov
96cd8bcb68
Fix #16826 : `appendTimestamp` support was added to `View` methods `registerCssFile()` and `registerJsFile()`
5 years ago
Alexander Kartavenko
97499315a4
Fix #17539 : Fixed error when using `batch()` with `indexBy()` with MSSQL
5 years ago
Dmitry V. Alekseev
6e2b1782e5
Fix #16855 : Ignore console commands that have no actions
5 years ago
Razvan Grigore
062ebf5c0b
Fix #17549 : Fix `yii\db\ExpressionInterface` not supported in `yii\db\conditions\SimpleConditionBuilder`
5 years ago
Alexander Makarov
e7c6d3d889
Fix incorrect constant reference
5 years ago
Manu311
cc5bb71f75
Fix #17449 : Ensure `CHECK` statement goes after `COMMENT` in MySQL `QueryBuilder::addCommentOnColumn()`
5 years ago
Somogyi Márton
10a069a3a4
Fix #17434 : Fixed Internet Explorer 11 AJAX redirect bug in case of 301 and 302 response codes (`XMLHttpRequest: Network Error 0x800c0008`)
5 years ago
Somogyi Márton
5e38f47275
Fix #16305 : Fix `FileValidator` mime-type validation failure because of case sensitivity
5 years ago
Somogyi Márton
ac8307d5aa
Changelog empty contributor name test fix #17528 ( #17529 )
5 years ago
Somogyi Márton
90d46298ad
Fix #17507 : Fixed regular expression escaping and simpler condition in `Controller::createAction()`
5 years ago
Alexander Kartavenko
cdd40b8dfb
Fix #17504 : Fix upsert when `$updateColumns = true` but there are no columns to update in the table
5 years ago
Somogyi Márton
f5776a968c
#17508 fix
5 years ago
Nikolay Poryadin
491f9737fe
Fix #17223 : Fixed detaching a behavior event when it is a Closure instance
5 years ago
Alexander Makarov
14a7198434
Fix #17485 : Revert "Fix #17469 : Fixed updating `Yii` logger instance when setting new logger via configuration"
...
This reverts commit 46136b09e7
.
5 years ago
Alexander Kartavenko
69cf9de56b
Fix #17473 : Fixed `SimpleConditionBuilder::build()` when column is not a string
5 years ago
Alexander Kartavenko
4b768a86f5
Fix #17486 : Fixed error when using `batch()` without `$db` parameter with MSSQL
5 years ago
Alexander Makarov
46136b09e7
Fix #17469 : Fixed updating `Yii` logger instance when setting new logger via configuration
5 years ago
Alexander Kartavenko
e113e09c9c
Fix #17459 . Use MySQL docker container for testing ( #17476 )
5 years ago
Sidney Lins
9988efc04f
Fix #16796 : Fixed addition and removal of table and column comments in MSSQL
5 years ago
Bizley
e50a07c30c
Fix #17437 : Fixed generating namespaced migrations
5 years ago
Alexander Makarov
a4a22ae1fb
Partially fix travis builds ( #17456 )
...
* Use xenial since trusty has issues installing MySQL
* 5.4 and 5.5 are available on trusty only so these are set to allow failures for now
* Skip memcached and memcache on PHP 5.6 since it's compiled wrong. See https://travis-ci.community/t/unable-to-load-dynamic-library-memcached-so/2232/16
* Ignore failure to update MySQL (it could be up to date already)
5 years ago
Alexander Kartavenko
6fc04a622e
Fix #17219 : Fixed quoting of table names with spaces in MSSQL
5 years ago
Alexander Kartavenko
259c496e2e
Fix #10020 : Fixed quoting of column names with dots in MSSQL
5 years ago
Alexander Kartavenko
a9097dbac3
Fix #17435 : Fixed `i18n_init` migration for MSSQL
5 years ago
Alexander Kartavenko
25cf331839
Closes #10023 . Fix MSSQL "There are no more rows" exception when using `each()` and `batch()`
5 years ago
Alexander Kartavenko
136705c92b
MSSQL: fix tests ( #17431 )
5 years ago
Alexander Kartavenko
d98f4e69b5
Fix MSSQL tests ( #17426 )
5 years ago
Alexander Kartavenko
869f475dc1
Fix #17413 , fix #17418 : Fixed MSSQL tests
5 years ago
Alexander Kartavenko
9f2a87363e
Fixes #17420 : Fixed loading of column default values for MSSQL
5 years ago
Alexander Kartavenko
55b06d2364
Fix #17413 : Fixed MSSQL tests: `QueryBuilderTest::testGetColumnType()`, `QueryBuilderTest::testResetSequence()`
5 years ago
Alexander Kartavenko
2b9374558b
Fix #17395 : Fixed issues with actions that contain underscores in their names
5 years ago
Alexander Kartavenko
56f639358c
Add MSSQL tests ( #17410 )
5 years ago
Garth
9dcf65e304
Fix #17389 : Fixed `UniqueValidator` to work with Active Record having `joinWith()` in its `find()`
5 years ago
Alexander Kartavenko
eb65dba796
Fixes #17057 : Fixed issues with table names that contain special characters or keywords in MSSQL
5 years ago
Alexander Kartavenko
757bc42645
Fixes #17325 : Fixed "Cannot drop view" for MySQL while `migrate/fresh`
5 years ago
Brandon Kelly
f2212a3183
Fix #17384 : Fixed SQL error when passing `DISTINCT ON` queries
5 years ago
Alexander Kartavenko
0fcd495583
Fixes #16394 : Fixed issues in `migrate/create` when specifying default values with colons and adding multiple columns
5 years ago
Alexander Kartavenko
2d333b2301
Fixes #17382 : Added `\yii\validators\DateValidator::$strictDateFormat` to enable strict validation
5 years ago
Alexander Kartavenko
c5397f8784
Closes #16411 . Fix windows tests ( #17380 )
...
* Fix `\yiiunit\framework\helpers\ConsoleTest::testErrorSummary`
* Fix `\yiiunit\framework\console\controllers\PHPMessageControllerTest::testRemoveUnusedBehavior`
5 years ago
Andriy Borysov
662e367cce
Fixes #17332 : Trigger 'change' for checkboxes in GridView
5 years ago
Sidney Lins
fe3ebe2e56
Fixes #17356 : MSSQL Schema was not detecting string field size
5 years ago
Alexander Makarov
1c919a5ac5
Fixes #17377 : Add tests that verify there are no false positives
5 years ago
Ashton Schultz
1f9131d841
Fixes #12080 : Fixed afterValidate triggering when any validation occurs
5 years ago