8282 Commits

Author SHA1 Message Date
ef8f6172bb Added a note about URLManager cache duration
https://github.com/yiisoft/yii2/pull/13426#issuecomment-366078957
issue #13426
2018-02-16 04:34:38 +01:00
8079456290 Merge branch 'SamMousa-indexby-after-relations-9342' 2018-02-16 00:27:22 +02:00
6144ca8167 Added CHANGELOG and UPGRADE notes 2018-02-16 00:26:47 +02:00
2e8b6e5c80 Added ruleConfig to UrlManager::setBuiltRulesCache() to fix tests 2018-02-16 00:12:14 +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
58016ee111 changelog 2018-02-15 21:53:29 +02:00
a2f9ff8aac Merge branch 'master' into yuriystovbur-13425-fix-url-rules-cache 2018-02-15 21:52:25 +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
d64c139331 Added accidentally removed changelog line [skip ci] 2018-02-15 14:26:54 +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
798947af29 Update AttributeTypecastBehavior.php
Line `Handles owner 'beforeInsert' and 'beforeUpdate' events, ensuring attribute typecasting.` required for change (hotfix php docs.)
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
9e566d7021 #8092: Enhance exists validator for relations (#15647) 2018-02-13 15:38:35 +03:00
eab30d38a1 getView() made public instead of protected 2018-02-13 12:12:42 +03:00
a18ee838fd Fixes #8092: ExistValidator for relations 2018-02-13 01:12:05 +03:00
c382d3e8d4 Fixes #15120: Refactored dynamic caching introducing DynamicContentAwareInterface and DynamicContentAwareTrait 2018-02-13 00:19:01 +03:00
1cd4bb8ac8 reordered changelog [skip ci] 2018-02-12 18:24:16 +02:00
3c966f9917 Updated CHANGELOG 2018-02-12 17:58:26 +02:00
ad0c19de3a Merge pull request #15643 from SilverFire/make-query-expression
Implement ExpressionInterface in Query
2018-02-12 17:54:46 +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
7e7cae7acb Changed conditions properties visibility to private 2018-02-11 20:07:09 +02:00
23dbbb9fd7 Merge branch 'master' into make-query-expression 2018-02-11 20:05:32 +02:00
8f6e2560bc Change BetweenColumnsCondition properties visibility 2018-02-11 20:03:58 +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
78a151bdae Fixes #14859: Fixed OCI DB defaultSchema failure when masterConfig is used 2018-02-11 15:38:57 +03:00
eb758f6f04 Fixes #15031: Fixed incorrect string type length detection for OCI DB schema 2018-02-11 13:54:37 +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
856760eedf reordered changelog [skip ci] 2018-02-10 12:34:35 +02:00
a56f9bb980 Updated CHANGELOG 2018-02-10 12:32:46 +02:00
a036fac490 Extract cache from yii\db\Command to yii\db\CacheableQueryTrait and use it in yii\db\Query 2018-02-10 12:30:58 +02:00
73fe41ee9f Removed redundant condition 2018-02-10 12:40:50 +03:00
47e43a1b63 Try reverting init() 2018-02-10 11:50:14 +03:00
d86db78276 Extra checks 2018-02-10 01:39:17 +03:00
7924a22490 Remove extra condition 2018-02-10 01:07:20 +03:00
07e623e415 Don't use open() method because it registers handlers 2018-02-10 00:42:17 +03: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
e6f67a6a37 Merge pull request #15626 from CedricYii/hotfix/QueryBuilderOci
Fixes #7640: oci/QueryBuilder wrong namespace
2018-02-09 11:22:38 +02: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
ad128f1d86 Fixes #7640: oci/QueryBuilder wrong namespace
Fix commit d165863
2018-02-09 10:04:11 +01: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