7bd694dccb
Enhanced tests
2018-02-16 00:06:59 +02:00
c3c9d1fd97
Merge branch 'master' into SamMousa-indexby-after-relations-9342
...
Conflicts:
framework/db/Query.php
2018-02-15 23:38:06 +02:00
9323817a53
Refactored code, added tests
2018-02-15 23:14:52 +02:00
d39d3ed0a6
Fixes #15644 : Avoid wrong default selection on a dropdown, checkbox list, and radio list, when a option has a key equals to zero
2018-02-15 18:23:12 +03:00
63ffae028e
Fixes #14254 : add an option to specify whether validator is forced to always use master DB for yii\validators\UniqueValidator and yii\validators\ExistValidator
2018-02-15 02:12:54 +03:00
41cf14e515
Added tests for #14538 , added CHANGELOG line
2018-02-15 00:20:59 +02:00
b566dd522c
Fixes #15272 : Removed type attribute from script tag
2018-02-14 13:39:48 +03:00
a18ee838fd
Fixes #8092 : ExistValidator for relations
2018-02-13 01:12:05 +03:00
ad0c19de3a
Merge pull request #15643 from SilverFire/make-query-expression
...
Implement ExpressionInterface in Query
2018-02-12 17:54:46 +02:00
44ab0414b6
fixing tests
2018-02-12 16:56:46 +02:00
898fbfc6f8
fixed tests
2018-02-12 16:03:08 +02:00
df91a9608f
Fixes #14638 : Added yii\db\SchemaBuilderTrait::tinyInteger()
2018-02-12 12:01:21 +03:00
74dc1cdc30
Fixes #13618 : Active record now resets related models after corresponding attributes updates
...
Co-authored-by: Robert Korulczyk <robert@korulczyk.pl>
2018-02-12 02:26:49 +03:00
5e8fd58ddb
15630 fixed like escaping ( #15642 )
...
* Tests for like escaping.
* Fix for like condition escaping
* Fixed PHPDocs
* Simplify tests
2018-02-11 22:59:24 +03:00
23dbbb9fd7
Merge branch 'master' into make-query-expression
2018-02-11 20:05:32 +02:00
1bbd2e1993
Add ExpressionInterface to Query class
2018-02-11 20:02:27 +02:00
62d4604269
Added BetweenConditionBuilder
...
Replaces #12678 , Fixes #11611
2018-02-11 18:55:07 +02:00
00c0bb5804
Added test for #15630 ( #15639 )
2018-02-11 12:49:21 +03:00
25f8b263e5
Fixes #14811 : Fixed yii\filters\HttpCache to work with PHP 7.2
2018-02-11 12:08:01 +03:00
e6f5c46cdc
Fixes #15633 : Deprecate some things going away/changing in 2.1
...
- Deprecated `yii\base\BaseObject::className()` in favor of native PHP syntax `::class`, which does not trigger autoloading
- Deprecated XCache and Zend data cache support as caching backends
- Deprecated `yii\BaseYii::powered()` method
- Added `yii\base\InvalidArgumentException` and deprecated `yii\base\InvalidParamException`
- Added `yii\BaseYii::debug()` and deprecated `yii\BaseYii::trace()`
2018-02-11 01:48:29 +03:00
5bd6ed5684
Fixed issues in accidental merge of unfinished #15398
2018-02-10 14:10:14 +02:00
a23a325ca7
Fixes #15627 : Corrected session freezing/unfreezing not to attempt opening or closing connection if it isn't necessary
2018-02-10 00:06:10 +03:00
dbb49b436b
Fixes #15625 : yii\grid\DataColumn boolean filter dropdown list values are now in reversed order
2018-02-09 12:22:26 +03:00
64d57043b1
Fixes #11401 : Fixed yii\web\DbSession concurrency issues when writing and regenerating IDs
2018-02-09 03:13:50 +03:00
2e55570e1f
Fixes #15621 : Fixed yii\web\User::getIdentity() returning null if an exception had been thrown when it was called previously
2018-02-09 01:34:33 +03:00
de1750228d
Fixes #13879 : Added upsert support for yii\db\QueryBuilder and yii\db\Command
2018-02-09 01:05:50 +03:00
24f4e3126a
Bug #15523 : yii\web\Session settings could now be configured after session is started (StalkAlex, rob006, daniel1302, samdark)
...
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
Co-authored-by: Robert Korulczyk <robert@korulczyk.pl>
Co-authored-by: daniel.1302 <daniel.1302@gmail.com>
2018-02-08 20:11:45 +03:00
ecf3ef8bf9
Use root NS specification for opcoded functions
2018-02-08 00:00:36 +03:00
7cafa65ad2
Fixes #15216 : Added yii\web\ErrorHandler::$traceLine to allow opening file at line clicked in IDE
2018-02-07 22:36:29 +03:00
7bafb7bf09
Fixes #14488 : Added support for X-Forwarded-Host to yii\web\Request, fixed getServerPort() usage
2018-02-07 00:01:50 +03:00
40b038379f
Fixes #13019 : Support JSON in SchemaBuilderTrait
2018-02-06 16:35:49 +03:00
37bd97ad9a
Fixes #13679 : Added yii\behaviors\CacheableWidgetBehavior
2018-02-06 01:33:49 +03:00
5550ad2021
Fixes #15595 : yii\data\DataFilter can now handle lt,gt,lte and gte on yii\validators\DateValidator
2018-02-05 22:54:45 +07:00
c7e55450dd
Reverted #14593
...
(reverted from commit a42bbd8f01de340d9f4964aad8c9d3297b4eabcd)
2018-02-05 14:12:20 +03:00
b9fc1f3ca6
Build image in dockerized tests with BUILD_ARG ( #15559 )
...
* added build argument for Yii 2.0 PHP base image version
- streamlined build
- dropped network config for CI
- updated local test script
* added default for PHP (7.2) image on GitLab CI
* use PHP 7.1 as a default on GitLab CI, see https://github.com/yiisoft/yii2/issues/15512
2018-02-05 17:57:06 +07:00
a42bbd8f01
Fixes #14593 : Added yii\db\Command::EVENT_AFTER_EXECUTE event that is triggered after command is executed
2018-02-05 15:49:18 +07:00
d16586334d
Fixes #7640 : Implemented custom data types support. Added JSON support for MySQL and PostgreSQL, array support for PostgreSQL
2018-02-05 04:59:14 +07:00
5afe0a0d36
Fixes #15047 : yii\db\Query::select() and yii\db\Query::addSelect() now check for duplicate column names
2018-02-04 23:41:33 +03:00
8b74e29663
Fixes #14296 : Fixed log targets to throw exception in case log can not be properly exported
2018-02-04 01:20:09 +07:00
61b47014a2
Fixes #14643 : Added yii\web\ErrorAction::$layout property to conveniently set layout from error action config
...
Co-authored-by: Stas So <etc@swods.ru>
Co-authored-by: Carsten Brandt <mail@cebe.cc>
2018-02-03 21:18:47 +03:00
17186b24c1
Fixed test
2018-02-03 20:43:16 +03:00
b979b2aa88
Fixes #15355 : Additional test and fix
2018-02-03 20:10:13 +03:00
16e63f6de2
Fixes #13465 : Added yii\helpers\FileHelper::findDirectory() method
2018-02-03 23:00:59 +07:00
8a155701c2
Fixed test class name
2018-02-03 18:29:23 +03:00
63fdd26b7e
Fixes #8527 : Added yii\i18n\Locale component having getCurrencySymbol() method
...
Co-authored-by: Anton Gubarev <a.p.gubarev@gmail.com>
2018-02-03 18:01:54 +03:00
810e9e5337
Fixes #14546 : Added dataDirectory property into BaseActiveFixture
2018-02-03 19:11:11 +07:00
1a1fb49426
Fixes #15522 : Fixed yii\db\ActiveRecord::refresh() method does not use an alias in the condition
2018-02-01 16:13:19 +07: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
06ebd3faa7
Fixes #13034 : Fixed normalizePath for windows network shares that start with two backslashes
2018-01-30 17:57:13 +07:00
67f67e3a69
SCA with Php Inspections (EA Extended) ( #15571 )
2018-01-29 17:08:57 +07:00