Alexander Makarov
b151b1cdb2
Fixes #14150
7 years ago
Bizley
ddee256a1a
Fixes #14133 : Fixed bug when calculating timings with mixed nested profile begin and end in `yii\log\Logger::calculateTimings()`
7 years ago
Robert Korulczyk
daa8b67c7b
Fixes #13350 , #14094 , #11288
...
- Bug #13350 : Fixed bug with incorrect caching of `yii\web\UrlRule::createUrl()` results in `yii\web\UrlManager`.
- Bug #14094 : Fixed bug when single `yii\web\UrlManager::createUrl()` call my result multiple calls of `yii\web\UrlRule::createUrl()` for the same rule.
- Enh #11288 : Added support for caching of `yii\web\UrlRule::createUrl()` results in `yii\web\UrlManager` for rules with defaults.
7 years ago
Carsten Brandt
5c72047426
Fixed ambiguous column name in SELECT in UniqueValidator
...
fixes #14042
7 years ago
Carsten Brandt
5ed6910e1c
Added support for cloning a db connection
...
improved fix #14020
fixes #13890
https://github.com/yiisoft/yii2/pull/14020/files#r115185865
close #14121
7 years ago
Alexey Rogachev
80d6f7323a
Do not render empty row in GridView when data is empty and emptyText set to false
...
Fixes #13352
close #13422
7 years ago
Alexander Makarov
23cc4bf4fe
Further changes for unique and exist validators
...
- Combined methods for getting names and aliases of from tables
- Normalized names and aliases
- Added MSSQL syntax
- Added support for spaces in aliases and table names
7 years ago
Klimov Paul
473598ac8c
Added support for sorting by expression to `\yii\data\Sort`
7 years ago
Leandro Gehlen
25242adb91
Fixes #5442 : Fixed problem on load fixture dependencies with database related tests
7 years ago
Carsten Brandt
3e79d56447
made AssetBundle tests less cryptic
...
cleanup step was added in setUp() so this will still work.
split test functions filehelper test
7 years ago
Carsten Brandt
5e8e6840b6
Added copyEmptyDirectories option to FileHelper
...
also set it to false in AssetManager to avoid creating a lot of empty
directories.
fixes #9669
7 years ago
quantum
583a2bcb9f
failing test for asset bundle publishing empty directories
7 years ago
Carsten Brandt
fb2441c3d7
moved query log logic into private method and reduced calls to getRawSql()
...
fixes #12528
7 years ago
Carsten Brandt
65ea226729
added option to disable query logging in DB command
...
fixes #12528
7 years ago
Andrey Akimov
5695b869a9
Fixes #13890 : DbTarget log transaction bug
8 years ago
Bizley
f8b3d68817
Fixes #4793 : `yii\filters\AccessControl` now can be used without `user` component
8 years ago
Robert Korulczyk
31e321b9b2
Remove unused imports. ( #14096 )
8 years ago
SilverFire - Dmitry Naumenko
2d0e3fb9ef
Fixed Oracle SQL queries with `IN` condition and more than 1000 parameters
8 years ago
brandonkelly
3456c4e0fd
!==
8 years ago
brandonkelly
11c0d4bf15
Skip just certain things for sqllite
8 years ago
brandonkelly
237af91e8e
Skip testAutoRefreshTableSchema on sqllite
8 years ago
SilverFire - Dmitry Naumenko
8349362271
Fixed tests
8 years ago
SilverFire - Dmitry Naumenko
fce20a3020
Renamed `ActiveForm::registerJs()` to `registerClientScript()`, added tests
8 years ago
brandonkelly
e242e9b0ee
Fixes #14072 : clear table schema cache for all methods that affect cache
8 years ago
Alexander Makarov
37fc6c5afb
Alternative names
8 years ago
Alexander Makarov
a9bf1a3a7f
Removed redundant use
8 years ago
Kolyunya
1e65fc29ed
Fixes #14033 : Fixed `yii\filters\AccessRule::matchIp()` erroring in case IP is not defined under HHVM
8 years ago
Carsten Brandt
d786b78f25
Helper independent ( #14050 )
...
* Made sure most helpers are independent of Yii::$app
* Made sure most validators are independent of Yii::$app
8 years ago
Cyrillos Jonua
db0e7a6c8f
Fixes #13848 : `yii\di\Instance::ensure()` wasn't throwing an exception when `$type` is specified and `$reference` object isn't instance of `$type`
8 years ago
Leandro Guindani Gehlen
385eb88048
Added `yii\data\Sort::parseSortParams`
...
allowing customize other params request formats in descendant class.
close #13170
8 years ago
Paul Klimov
3598f8180c
Fixes #13087 : Fixed getting active validators for safe attribute
8 years ago
sasha-ch
339c7663eb
Fixes #10346 : Fixed "DOMException: Invalid Character Error" in `yii\web\XmlResponseFormatter::buildXml()`
8 years ago
Alexander Makarov
7db93fc33d
Refactored solution to be contained within ActiveQuery instead of helper
8 years ago
vladis84
8474927a55
Fixed ambiguous error sql while using unique validator
8 years ago
Sam Mousa
98871123c9
Fixed ignored params when using count in `SqlDataProvider`
8 years ago
Гордиенко Владислав Юрьевич
bda091bbb2
yii\filters\RateLimiter refactored ( #13994 )
...
Refactored yii\filters\RateLimiter and added tests
8 years ago
Nikolay Oleynikov
d0ce165ba6
Fixes #13728 : Fixed the bug when `yii\behaviors\SluggableBehavior` wasn't preserving immutable slug values
8 years ago
Klimov Paul
49564ae3e1
Fix `TimestampBehaviorTest` to be compatible with PHPUnit 6
8 years ago
Alexander Makarov
9bd7dfc89e
Skipped segfaulting test when running on Travis and corresponding PHP versions
8 years ago
Гордиенко Владислав Юрьевич
0cf236ec66
Fixes #13963 : Added tests for yii\behaviors\TimestampBehavior
8 years ago
Mikk Tendermann
59d3292399
[IpValidator] disable ipv6 checks ( #13984 )
...
* disable ipv6 checks
* remove empty line
* updated CHANGELOG.md
8 years ago
Sergey Makinen
454f0a9301
Fixes #13807 : Fixed `yii\db\QueryBuilder` to inherit subquery params when building a `INSERT INTO ... SELECT` query
8 years ago
Klimov Paul
928a30588d
memory usage at unit test reduced
8 years ago
Klimov Paul
d8e6a89af9
fixed tests without assettions
8 years ago
Klimov Paul
80ca12872e
garbage collection added to unit tests
8 years ago
Klimov Paul
04a14efd3f
compatibility with PHPUnit 6.x fix
8 years ago
SilverFire - Dmitry Naumenko
b0b55472da
`yii\caching\Cache::getOrSet()` now supports both `Closure` and `callable`
...
Closes #13981
8 years ago
Klimov Paul
15561b7a2c
unit test fix
8 years ago
Klimov Paul
dee88787fc
compatibility with PHPUnit 6.x added
8 years ago
Sam Mousa
5675ed818d
Fixed tests
8 years ago