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
SilverFire - Dmitry Naumenko
d3f97f7e64
Switched to asset-packagist
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
86bff27be5
compatibility with PHPUnit 6.x fix
8 years ago
Klimov Paul
8269b73b45
compatibility with PHPUnit 6.x fix
8 years ago
Klimov Paul
d8e6a89af9
fixed tests without assettions
8 years ago
Klimov Paul
679bc09b54
compatibility with PHPUnit 6.x fix
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
Klimov Paul
5d4a7a588d
compatibility for PHPUnit adjusted
8 years ago
Sam Mousa
5675ed818d
Fixed tests
8 years ago
Carsten Brandt
5faa0032cb
added more assertations for security masking tests
8 years ago
Sam Mousa
7ab2a1efa8
Fixed test
8 years ago
Sam Mousa
e0e07c9c1b
Added test for indexing by related fields.
8 years ago
Sam Mousa
183ebc5985
Revert "Moved serialization of `Cookie` to `Cookie`. Added unit test for serialization / deserialization."
...
This reverts commit a2acd88efe
.
8 years ago
Kolyunya
892512feba
Fixes #13560 : Refactored `\yii\widgets\FragmentCache::getCachedContent()`, added tests
8 years ago
Sam Mousa
8ae207c3a1
Fixes #13837 : Refactored masking of CSRF tokens
8 years ago
aquy
514b29d55d
Fixes #13369 : Added ability to render current `yii\widgets\LinkPager` page disabled
8 years ago
Sam Mousa
ae7378974e
Fixes #13376 : Data provider now automatically sets an ID so there is no need to set it manually in case multiple data providers are used with pagination
8 years ago
Nikolay Oleynikov
4e9497c4fa
Fixes #13770 : Added support for `yii\widgets\Menu` item classes definition in the form of an array
8 years ago
Sam Mousa
79f16b1492
Fixes #13883 : `\yii\data\SqlDataProvider` now provides automatic fallback for the case when `totalCount` is not specified
8 years ago
Alexander Makarov
a626440761
Reverted #13822 , clarified exception descriptions
8 years ago
Sam Mousa
a2acd88efe
Moved serialization of `Cookie` to `Cookie`. Added unit test for serialization / deserialization.
8 years ago
Pavel Dovlatov
7e1a050a16
Fixes #13821 : fixed docs and added more tests for Url helper
8 years ago
Kolyunya
a35eada199
Fix tests of a web response
8 years ago
Nikolay Oleynikov
ea75068a92
Fixes #13813 : Fixed PHP 7 compatibiltiy by adding support for passing instances of `Error` to the `yii\web\Response::setStatusCodeByException()`
8 years ago
Nikolay Oleynikov
558f2aa02a
Fixes #13827 Generate "safe" methods uncommented by default
8 years ago
Nikolay Oleynikov
7a2f04ae32
Fixes #13822 : Fixed `yii\web\User::loginRequired()` to throw an `UnauthorizedHttpException` instead of a `ForbiddenHttpException`
8 years ago
SilverFire - Dmitry Naumenko
9d6c4bd41b
Enhanced PHPUnit 6 compatibility
8 years ago
Nikolay Oleynikov
cf4eea1878
Fixes #13823 : Refactored migrations template
8 years ago
Klimov Paul
01dc29705f
Fixed compatibility with PHPUnit 6.x
8 years ago
Alexander Makarov
cc44339a45
Improved intl tests to tolerate ICU data differences
...
- Added new assertion.
- Adjusted tests not to rely on intl version allowing multiple valid variants for Russian and Ukrainian currencies and transliteration.
8 years ago
Skiptir Engu
a600e165aa
Added RadiobuttonColumnTest to the grid test group ( #13795 )
8 years ago