SilverFire - Dmitry Naumenko
da06c4a1e1
Fixed QueryBuilder::buildCondition() to skip empty array on input
...
Fixes #15653
7 years ago
SilverFire - Dmitry Naumenko
5da39b4a7e
Fixed PHPDocs
7 years ago
Alexander Makarov
7febeb8ad4
Renamed yii\helpers\FileHelper findDirectory() method to findDirectories() to be consistend with findFiles()
7 years ago
Brandon Kelly
47674e1266
#13879 : Added yii\db\Migration::upsert()
7 years ago
Robert Korulczyk
c1a4b2f4ca
Fix typo in UPGRADE.md ( #15654 ) [skip ci]
7 years ago
Brandon Kelly
018ac16025
2.0.14 upgrade guide improvements ( #15652 ) [skip ci]
...
* Use the right exception name
* include note about 2.1 "early access" changes in 2.0.14 upgrade guide
* fix indentation
7 years ago
Carsten Brandt
e493843b1c
improve `@deprecated` annotations
7 years ago
Carsten Brandt
ef8f6172bb
Added a note about URLManager cache duration
...
https://github.com/yiisoft/yii2/pull/13426#issuecomment-366078957
issue #13426
7 years ago
SilverFire - Dmitry Naumenko
8079456290
Merge branch 'SamMousa-indexby-after-relations-9342'
7 years ago
SilverFire - Dmitry Naumenko
6144ca8167
Added CHANGELOG and UPGRADE notes
7 years ago
SilverFire - Dmitry Naumenko
2e8b6e5c80
Added ruleConfig to UrlManager::setBuiltRulesCache() to fix tests
7 years ago
SilverFire - Dmitry Naumenko
7bd694dccb
Enhanced tests
7 years ago
SilverFire - Dmitry Naumenko
c3c9d1fd97
Merge branch 'master' into SamMousa-indexby-after-relations-9342
...
Conflicts:
framework/db/Query.php
7 years ago
SilverFire - Dmitry Naumenko
a1b5f077e0
Merge branch 'yuriystovbur-13425-fix-url-rules-cache'
7 years ago
SilverFire - Dmitry Naumenko
9323817a53
Refactored code, added tests
7 years ago
SilverFire - Dmitry Naumenko
58016ee111
changelog
7 years ago
SilverFire - Dmitry Naumenko
a2f9ff8aac
Merge branch 'master' into yuriystovbur-13425-fix-url-rules-cache
7 years ago
André Sousa
d39d3ed0a6
Fixes #15644 : Avoid wrong default selection on a dropdown, checkbox list, and radio list, when a option has a key equals to zero
7 years ago
Alexander Makarov
d64c139331
Added accidentally removed changelog line [skip ci]
7 years ago
rossoneri
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`
7 years ago
SilverFire - Dmitry Naumenko
41cf14e515
Added tests for #14538 , added CHANGELOG line
7 years ago
Hryhorii Furletov
798947af29
Update AttributeTypecastBehavior.php
...
Line `Handles owner 'beforeInsert' and 'beforeUpdate' events, ensuring attribute typecasting.` required for change (hotfix php docs.)
7 years ago
Aleksandar Belic
b566dd522c
Fixes #15272 : Removed type attribute from script tag
7 years ago
Alexander Makarov
9e566d7021
#8092 : Enhance exists validator for relations ( #15647 )
7 years ago
Alexander Makarov
eab30d38a1
getView() made public instead of protected
7 years ago
Elvira Sheina
a18ee838fd
Fixes #8092 : ExistValidator for relations
7 years ago
Sergey Makinen
c382d3e8d4
Fixes #15120 : Refactored dynamic caching introducing `DynamicContentAwareInterface` and `DynamicContentAwareTrait`
7 years ago
SilverFire - Dmitry Naumenko
1cd4bb8ac8
reordered changelog [skip ci]
7 years ago
SilverFire - Dmitry Naumenko
3c966f9917
Updated CHANGELOG
7 years ago
Dmitry Naumenko
ad0c19de3a
Merge pull request #15643 from SilverFire/make-query-expression
...
Implement ExpressionInterface in Query
7 years ago
SilverFire - Dmitry Naumenko
44ab0414b6
fixing tests
7 years ago
SilverFire - Dmitry Naumenko
898fbfc6f8
fixed tests
7 years ago
Robert Korulczyk
df91a9608f
Fixes #14638 : Added `yii\db\SchemaBuilderTrait::tinyInteger()`
7 years ago
Nikolay Oleynikov
74dc1cdc30
Fixes #13618 : Active record now resets related models after corresponding attributes updates
...
Co-authored-by: Robert Korulczyk <robert@korulczyk.pl>
7 years ago
Alexander Makarov
5e8fd58ddb
15630 fixed like escaping ( #15642 )
...
* Tests for like escaping.
* Fix for like condition escaping
* Fixed PHPDocs
* Simplify tests
7 years ago
SilverFire - Dmitry Naumenko
7e7cae7acb
Changed conditions properties visibility to private
7 years ago
SilverFire - Dmitry Naumenko
23dbbb9fd7
Merge branch 'master' into make-query-expression
7 years ago
Dmitry Naumenko
8716b99681
Merge pull request #15641 from SilverFire/between-columns-condition
...
Added BetweenConditionBuilder
7 years ago
SilverFire - Dmitry Naumenko
8f6e2560bc
Change BetweenColumnsCondition properties visibility
7 years ago
SilverFire - Dmitry Naumenko
1bbd2e1993
Add ExpressionInterface to Query class
7 years ago
SilverFire - Dmitry Naumenko
62d4604269
Added BetweenConditionBuilder
...
Replaces #12678 , Fixes #11611
7 years ago
remond
78a151bdae
Fixes #14859 : Fixed OCI DB `defaultSchema` failure when `masterConfig` is used
7 years ago
Roman
eb758f6f04
Fixes #15031 : Fixed incorrect string type length detection for OCI DB schema
7 years ago
Alexander Makarov
00c0bb5804
Added test for #15630 ( #15639 )
7 years ago
Alexander Makarov
25f8b263e5
Fixes #14811 : Fixed `yii\filters\HttpCache` to work with PHP 7.2
7 years ago
Brandon Kelly
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()`
7 years ago
SilverFire - Dmitry Naumenko
5bd6ed5684
Fixed issues in accidental merge of unfinished #15398
7 years ago
SilverFire - Dmitry Naumenko
856760eedf
reordered changelog [skip ci]
7 years ago
SilverFire - Dmitry Naumenko
a56f9bb980
Updated CHANGELOG
7 years ago
胡倍玮
a036fac490
Extract cache from `yii\db\Command` to `yii\db\CacheableQueryTrait` and use it in `yii\db\Query`
7 years ago