Commit Graph

3198 Commits

Author SHA1 Message Date
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.
2019-10-03 13:53:35 +03:00
Viktor Khokhryakov
4c76dc4c90 Fix #16610: ErrorException trace was cut when using XDebug 2019-09-18 13:40:10 +03:00
Alexandr Kozhevnikov
96cd8bcb68 Fix #16826: appendTimestamp support was added to View methods registerCssFile() and registerJsFile() 2019-09-17 14:07:15 +03:00
Alexander Kartavenko
97499315a4 Fix #17539: Fixed error when using batch() with indexBy() with MSSQL 2019-09-10 20:55:58 +03:00
Dmitry V. Alekseev
6e2b1782e5 Fix #16855: Ignore console commands that have no actions 2019-09-10 19:00:43 +03:00
Razvan Grigore
062ebf5c0b Fix #17549: Fix yii\db\ExpressionInterface not supported in yii\db\conditions\SimpleConditionBuilder 2019-09-10 18:21:53 +03:00
Alexander Makarov
e7c6d3d889 Fix incorrect constant reference 2019-09-04 01:20:58 +03:00
Manu311
cc5bb71f75 Fix #17449: Ensure CHECK statement goes after COMMENT in MySQL QueryBuilder::addCommentOnColumn() 2019-09-03 19:36:37 +03:00
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) 2019-09-03 17:54:14 +03:00
Somogyi Márton
5e38f47275 Fix #16305: Fix FileValidator mime-type validation failure because of case sensitivity 2019-08-27 18:59:26 +03:00
Somogyi Márton
ac8307d5aa Changelog empty contributor name test fix #17528 (#17529) 2019-08-24 22:13:24 +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 Kartavenko
cdd40b8dfb Fix #17504: Fix upsert when $updateColumns = true but there are no columns to update in the table 2019-08-21 11:56:20 +03:00
Somogyi Márton
f5776a968c #17508 fix 2019-08-18 08:33:31 +02: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
Alexander Makarov
14a7198434 Fix #17485: Revert "Fix #17469: Fixed updating Yii logger instance when setting new logger via configuration"
This reverts commit 46136b09e7.
2019-08-13 16:06:48 +03:00
Alexander Kartavenko
69cf9de56b Fix #17473: Fixed SimpleConditionBuilder::build() when column is not a string 2019-08-01 13:20:37 +03:00
Alexander Kartavenko
4b768a86f5 Fix #17486: Fixed error when using batch() without $db parameter with MSSQL 2019-08-01 13:17:31 +03:00
Alexander Makarov
46136b09e7 Fix #17469: Fixed updating Yii logger instance when setting new logger via configuration 2019-07-30 17:10:17 +03:00
Alexander Kartavenko
e113e09c9c Fix #17459. Use MySQL docker container for testing (#17476) 2019-07-30 15:51:18 +03:00
Sidney Lins
9988efc04f Fix #16796: Fixed addition and removal of table and column comments in MSSQL 2019-07-23 18:50:57 +03:00
Bizley
e50a07c30c Fix #17437: Fixed generating namespaced migrations 2019-07-23 17:28:43 +03:00
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)
2019-07-23 15:46:06 +03:00
Alexander Kartavenko
6fc04a622e Fix #17219: Fixed quoting of table names with spaces in MSSQL 2019-07-19 13:48:57 +03:00
Alexander Kartavenko
259c496e2e Fix #10020: Fixed quoting of column names with dots in MSSQL 2019-07-17 16:46:31 +03:00
Alexander Kartavenko
a9097dbac3 Fix #17435: Fixed i18n_init migration for MSSQL 2019-07-15 23:05:26 +03:00
Alexander Kartavenko
25cf331839 Closes #10023. Fix MSSQL "There are no more rows" exception when using each() and batch() 2019-07-15 13:54:33 +03:00
Alexander Kartavenko
136705c92b MSSQL: fix tests (#17431) 2019-07-13 02:27:47 +03:00
Alexander Kartavenko
d98f4e69b5 Fix MSSQL tests (#17426) 2019-07-11 19:39:46 +03:00
Alexander Kartavenko
869f475dc1 Fix #17413, fix #17418: Fixed MSSQL tests 2019-07-10 17:30:41 +03:00
Alexander Kartavenko
9f2a87363e Fixes #17420: Fixed loading of column default values for MSSQL 2019-07-10 17:29:11 +03:00
Alexander Kartavenko
55b06d2364 Fix #17413: Fixed MSSQL tests: QueryBuilderTest::testGetColumnType(), QueryBuilderTest::testResetSequence() 2019-07-09 11:47:55 +03:00
Alexander Kartavenko
2b9374558b Fix #17395: Fixed issues with actions that contain underscores in their names 2019-07-08 13:46:43 +03:00
Alexander Kartavenko
56f639358c Add MSSQL tests (#17410) 2019-07-04 15:51:01 +03:00
Garth
9dcf65e304 Fix #17389: Fixed UniqueValidator to work with Active Record having joinWith() in its find() 2019-07-02 20:50:53 +03:00
Alexander Kartavenko
eb65dba796 Fixes #17057: Fixed issues with table names that contain special characters or keywords in MSSQL 2019-07-02 14:41:56 +03:00
Alexander Kartavenko
757bc42645 Fixes #17325: Fixed "Cannot drop view" for MySQL while migrate/fresh 2019-06-30 19:53:50 +03:00
Brandon Kelly
f2212a3183 Fix #17384: Fixed SQL error when passing DISTINCT ON queries 2019-06-29 00:05:22 +03:00
Alexander Kartavenko
0fcd495583 Fixes #16394: Fixed issues in migrate/create when specifying default values with colons and adding multiple columns 2019-06-26 12:44:24 +07:00
Alexander Kartavenko
2d333b2301 Fixes #17382: Added \yii\validators\DateValidator::$strictDateFormat to enable strict validation 2019-06-25 15:24:32 +07:00
Alexander Kartavenko
c5397f8784 Closes #16411. Fix windows tests (#17380)
* Fix `\yiiunit\framework\helpers\ConsoleTest::testErrorSummary`
* Fix `\yiiunit\framework\console\controllers\PHPMessageControllerTest::testRemoveUnusedBehavior`
2019-06-19 16:48:20 +03:00
Andriy Borysov
662e367cce Fixes #17332: Trigger 'change' for checkboxes in GridView 2019-06-18 16:21:20 +03:00
Sidney Lins
fe3ebe2e56 Fixes #17356: MSSQL Schema was not detecting string field size 2019-06-18 14:25:13 +03:00
Alexander Makarov
1c919a5ac5 Fixes #17377: Add tests that verify there are no false positives 2019-06-18 12:22:35 +03:00
Ashton Schultz
1f9131d841 Fixes #12080: Fixed afterValidate triggering when any validation occurs 2019-06-18 11:55:39 +03:00
Alexander Kartavenko
3275f97684 Fixes #16565: Added missing parts of the context message in \yii\log\Target::collect 2019-06-13 16:37:46 +03:00
Alexander Kartavenko
3601d512c2 Fixes #17070: Strip invalid character from fallback file name 2019-06-12 23:41:40 +03:00
Alexander Kartavenko
a226b76776 Fixes #17341: Allow callable objects to be set to \yii\filters\AccessRule::$roleParams 2019-06-12 00:02:07 +03:00
Brandon Kelly
54b3d6d8ab Fixes #17344: Improved performance of yii\db\Connection::addSelect() 2019-06-11 16:14:38 +03:00
Alexander Makarov
317a73a59f Fixes #17336: Fixed wildcard matching in Event::hasHandlers() 2019-06-04 15:07:51 +02:00