3334 Commits

Author SHA1 Message Date
491f9737fe Fix #17223: Fixed detaching a behavior event when it is a Closure instance 2019-08-13 20:35:42 +03:00
14a7198434 Fix #17485: Revert "Fix #17469: Fixed updating Yii logger instance when setting new logger via configuration"
This reverts commit 46136b09e73163c0be858c825434828b770d09e5.
2019-08-13 16:06:48 +03:00
69cf9de56b Fix #17473: Fixed SimpleConditionBuilder::build() when column is not a string 2019-08-01 13:20:37 +03:00
4b768a86f5 Fix #17486: Fixed error when using batch() without $db parameter with MSSQL 2019-08-01 13:17:31 +03:00
46136b09e7 Fix #17469: Fixed updating Yii logger instance when setting new logger via configuration 2019-07-30 17:10:17 +03:00
e113e09c9c Fix #17459. Use MySQL docker container for testing (#17476) 2019-07-30 15:51:18 +03:00
9988efc04f Fix #16796: Fixed addition and removal of table and column comments in MSSQL 2019-07-23 18:50:57 +03:00
e50a07c30c Fix #17437: Fixed generating namespaced migrations 2019-07-23 17:28:43 +03:00
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
6fc04a622e Fix #17219: Fixed quoting of table names with spaces in MSSQL 2019-07-19 13:48:57 +03:00
259c496e2e Fix #10020: Fixed quoting of column names with dots in MSSQL 2019-07-17 16:46:31 +03:00
a9097dbac3 Fix #17435: Fixed i18n_init migration for MSSQL 2019-07-15 23:05:26 +03:00
25cf331839 Closes #10023. Fix MSSQL "There are no more rows" exception when using each() and batch() 2019-07-15 13:54:33 +03:00
136705c92b MSSQL: fix tests (#17431) 2019-07-13 02:27:47 +03:00
d98f4e69b5 Fix MSSQL tests (#17426) 2019-07-11 19:39:46 +03:00
869f475dc1 Fix #17413, fix #17418: Fixed MSSQL tests 2019-07-10 17:30:41 +03:00
9f2a87363e Fixes #17420: Fixed loading of column default values for MSSQL 2019-07-10 17:29:11 +03:00
55b06d2364 Fix #17413: Fixed MSSQL tests: QueryBuilderTest::testGetColumnType(), QueryBuilderTest::testResetSequence() 2019-07-09 11:47:55 +03:00
2b9374558b Fix #17395: Fixed issues with actions that contain underscores in their names 2019-07-08 13:46:43 +03:00
56f639358c Add MSSQL tests (#17410) 2019-07-04 15:51:01 +03:00
9dcf65e304 Fix #17389: Fixed UniqueValidator to work with Active Record having joinWith() in its find() 2019-07-02 20:50:53 +03:00
eb65dba796 Fixes #17057: Fixed issues with table names that contain special characters or keywords in MSSQL 2019-07-02 14:41:56 +03:00
757bc42645 Fixes #17325: Fixed "Cannot drop view" for MySQL while migrate/fresh 2019-06-30 19:53:50 +03:00
f2212a3183 Fix #17384: Fixed SQL error when passing DISTINCT ON queries 2019-06-29 00:05:22 +03:00
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
2d333b2301 Fixes #17382: Added \yii\validators\DateValidator::$strictDateFormat to enable strict validation 2019-06-25 15:24:32 +07:00
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
662e367cce Fixes #17332: Trigger 'change' for checkboxes in GridView 2019-06-18 16:21:20 +03:00
fe3ebe2e56 Fixes #17356: MSSQL Schema was not detecting string field size 2019-06-18 14:25:13 +03:00
1c919a5ac5 Fixes #17377: Add tests that verify there are no false positives 2019-06-18 12:22:35 +03:00
1f9131d841 Fixes #12080: Fixed afterValidate triggering when any validation occurs 2019-06-18 11:55:39 +03:00
3275f97684 Fixes #16565: Added missing parts of the context message in \yii\log\Target::collect 2019-06-13 16:37:46 +03:00
3601d512c2 Fixes #17070: Strip invalid character from fallback file name 2019-06-12 23:41:40 +03:00
a226b76776 Fixes #17341: Allow callable objects to be set to \yii\filters\AccessRule::$roleParams 2019-06-12 00:02:07 +03:00
54b3d6d8ab Fixes #17344: Improved performance of yii\db\Connection::addSelect() 2019-06-11 16:14:38 +03:00
317a73a59f Fixes #17336: Fixed wildcard matching in Event::hasHandlers() 2019-06-04 15:07:51 +02:00
8d9947f06a Fixes #17299: Fixed adding of input error class in \yii\widgets\ActiveField::widget 2019-05-28 09:03:39 +02:00
e1f6761dfd Fixes #17233: Fixed bug with integer model attribute names in Validator class 2019-05-15 18:03:57 +03:00
6d10d1f05d Fixed ActiveRecord test was using parent Order class instead of getting one for extensions 2019-05-01 00:10:22 +03:00
56215d58e1 Fixes #12077, #12135, #17263: Fixed PostgreSQL version of alterColumn() to accept properly ColumnSchemaBuilder definition of column 2019-04-30 21:08:00 +04:00
58761b4411 Fixes #16820: yii\filters\Cors::prepareHeaders() now accepts Access-Control-Allow-Headers in preflight response 2019-04-16 17:27:26 +03:00
77d70bfbe6 Fixes #16589: Fixed not using defaultValue in BlameableBehavior for console app 2019-04-15 18:06:16 +03:00
33405fa4a5 Fixes #17268: Fixed Formatter didn't take power into account 2019-04-15 17:48:32 +03:00
9c37016dac Fixes #17235: yii\helpers\FileHelper::normalizePath() now accepts stream wrappers 2019-03-29 18:26:31 +03:00
d2c2f63686 Fixes #17127: yii\db\ActiveRecord::findOne() now accepts table aliases 2019-03-22 15:59:26 +03:00
72b4e6d47c kB instead of KB (#16368)
* kB instead of KB

When kilobyte is referred to 1000 bytes the abbreviation should be written with lower case "k" as kB. Upper case K is usually intended to refer to 1024 multiplier
See this page: https://en.wikipedia.org/wiki/Kilobyte
2019-03-20 21:04:43 +03:00
a3b6d227ba Fixes #16335: Fixed in yii\filters\AccessRule::matchIP() user IP validation with netmask in rule 2019-03-20 14:44:22 +03:00
9689c7824f Merge remote-tracking branch 'upstream/master' 2019-03-13 10:08:43 +07:00
8bb334b9ae Fixes #9438, #13740, #15037: Handle DB session callback custom fields before session closed 2019-03-09 15:54:39 +03:00
a8d4f8538e Fixes #16681: ActiveField::inputOptions were not used during some widgets rendering 2019-03-09 15:39:58 +03:00