SilverFire - Dmitry Naumenko
c297986066
Fixed Query::select()
...
fixes #15728
7 years ago
Benoît
517a5ad93c
Add tests
7 years ago
André Sousa
3616dc5e74
Fix test output (Prevent output among phpunit tests) ( #15717 )
...
* Clear output in MigrateControllerTest::testCreateLongNamedMigration
* Clear output in FragmentCacheTest::testVariations
7 years ago
berosoboy
ff4391a8f0
Prevent output among phpunit tests
7 years ago
SilverFire - Dmitry Naumenko
a01a67c81c
Fixed regexp in tests
7 years ago
SilverFire - Dmitry Naumenko
bd472c3640
Revert "Fixed regexp in tests"
...
This reverts commit 4fbece20ce
.
7 years ago
SilverFire - Dmitry Naumenko
4fbece20ce
Fixed regexp in tests
7 years ago
SilverFire - Dmitry Naumenko
d0e52c6172
Fixed CHANGELOG checked to respect CVE ID
7 years ago
SilverFire - Dmitry Naumenko
2eba4b54f8
Added tests to verify issue #15684
7 years ago
Elvira Sheina
ef9600234e
Fix magic getter for ActiveRecord ( #15696 )
7 years ago
Elvira Sheina
23b5fa4391
Fix ExistValidator with targetRelation ignores filter ( #15692 )
7 years ago
SilverFire - Dmitry Naumenko
1b3526d8db
Fixed `yii\db\Query::select()` to override existing selects
...
Fixes #15676 , fixes #15674
7 years ago
SilverFire - Dmitry Naumenko
089685975a
Wrap @inheritdoc tag in curly brackets [skip ci]
7 years ago
SilverFire - Dmitry Naumenko
3ed5e35701
Fixed PHPDocs, code and tests for #15422
7 years ago
SilverFire - Dmitry Naumenko
59fed9a428
Fixed error in tests
7 years ago
SilverFire - Dmitry Naumenko
e806a3b50a
Added `yii\db\ExpressionInterface` support to `yii\db\Command::batchInsert()`
...
Fixes #15661
7 years ago
Dmitry Alekseev
2adf654888
link to a bug in the tests
7 years ago
Dmitry Alekseev
1b14628dbf
Directory creation is moved to export() method
7 years ago
SilverFire - Dmitry Naumenko
a4b6b853b6
Fixed DateValidator to respect time when `format` is `php:U`
...
Fixes #15628
7 years ago
SilverFire - Dmitry Naumenko
78d54bc541
Fixed `yii\db\HttpBasicAuth` not to switch identity, when user is already authenticated
...
Fixes #15658
7 years ago
SilverFire - Dmitry Naumenko
0177d68476
Commit da06c4a1
reduced num of useless brackets in SQL. Fixing tests
7 years ago
SilverFire - Dmitry Naumenko
da06c4a1e1
Fixed QueryBuilder::buildCondition() to skip empty array on input
...
Fixes #15653
7 years ago
Alexander Makarov
7febeb8ad4
Renamed yii\helpers\FileHelper findDirectory() method to findDirectories() to be consistend with findFiles()
7 years ago
SilverFire - Dmitry Naumenko
7bd694dccb
Enhanced tests
7 years ago
SilverFire - Dmitry Naumenko
9323817a53
Refactored code, added tests
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
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
Aleksandar Belic
b566dd522c
Fixes #15272 : Removed type attribute from script tag
7 years ago
Elvira Sheina
a18ee838fd
Fixes #8092 : ExistValidator for relations
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
1bbd2e1993
Add ExpressionInterface to Query class
7 years ago
SilverFire - Dmitry Naumenko
62d4604269
Added BetweenConditionBuilder
...
Replaces #12678 , Fixes #11611
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
Alexander Makarov
a23a325ca7
Fixes #15627 : Corrected session freezing/unfreezing not to attempt opening or closing connection if it isn't necessary
7 years ago
Bizley
dbb49b436b
Fixes #15625 : `yii\grid\DataColumn` boolean filter dropdown list values are now in reversed order
7 years ago
Alexander Makarov
64d57043b1
Fixes #11401 : Fixed `yii\web\DbSession` concurrency issues when writing and regenerating IDs
7 years ago
Brandon Kelly
2e55570e1f
Fixes #15621 : Fixed `yii\web\User::getIdentity()` returning `null` if an exception had been thrown when it was called previously
7 years ago
Dmitry Naumenko
de1750228d
Fixes #13879 : Added upsert support for `yii\db\QueryBuilder` and `yii\db\Command`
7 years ago
Alexander
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>
7 years ago
Vladimir Reznichenko
ecf3ef8bf9
Use root NS specification for opcoded functions
7 years ago
Гордиенко Владислав Юрьевич
7cafa65ad2
Fixes #15216 : Added `yii\web\ErrorHandler::$traceLine` to allow opening file at line clicked in IDE
7 years ago
Alexander Makarov
7bafb7bf09
Fixes #14488 : Added support for X-Forwarded-Host to `yii\web\Request`, fixed `getServerPort()` usage
7 years ago