Alexander Makarov
7b2df5554c
Fixes #14072 : Fixed a bug where \yii\db\Command::createTable(), addForeignKey(), dropForeignKey(), addCommentOnColumn(), and dropCommentFromColumn() weren't refreshing the table cache on yii\db\Schema
2017-05-02 18:26:02 +02:00
Robert Korulczyk
31e321b9b2
Remove unused imports. ( #14096 )
2017-05-01 20:26:15 +02:00
SilverFire - Dmitry Naumenko
2d0e3fb9ef
Fixed Oracle SQL queries with IN condition and more than 1000 parameters
2017-05-01 15:59:37 +03:00
brandonkelly
3456c4e0fd
!==
2017-04-28 14:23:08 -07:00
brandonkelly
11c0d4bf15
Skip just certain things for sqllite
2017-04-28 12:17:45 -07:00
brandonkelly
237af91e8e
Skip testAutoRefreshTableSchema on sqllite
2017-04-28 06:38:02 -07:00
Brandon Kelly
be3f3e0bb1
Merge branch 'master' into schema-cache-fixes
2017-04-27 13:53:05 -07:00
Robert Korulczyk
2d28b585a0
Merge branch 'master' into 13614-add-a-failing-test-for-url-rule
2017-04-27 22:07:55 +02:00
SilverFire - Dmitry Naumenko
8349362271
Fixed tests
2017-04-27 22:43:37 +03:00
SilverFire - Dmitry Naumenko
fce20a3020
Renamed ActiveForm::registerJs() to registerClientScript(), added tests
2017-04-27 22:27:59 +03:00
brandonkelly
15acf45ab2
Merge branch 'master' of https://github.com/yiisoft/yii2 into schema-cache-fixes
2017-04-27 10:35:30 -07:00
brandonkelly
e242e9b0ee
Fixes #14072 : clear table schema cache for all methods that affect cache
2017-04-27 10:34:08 -07:00
Alexander Makarov
a9bf1a3a7f
Removed redundant use
2017-04-26 12:02:09 +03:00
Kolyunya
1e65fc29ed
Fixes #14033 : Fixed yii\filters\AccessRule::matchIp() erroring in case IP is not defined under HHVM
2017-04-26 11:53:42 +03:00
Carsten Brandt
d786b78f25
Helper independent ( #14050 )
...
* Made sure most helpers are independent of Yii::$app
* Made sure most validators are independent of Yii::$app
2017-04-26 09:49:44 +02:00
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
2017-04-26 03:28:05 +03:00
Leandro Guindani Gehlen
385eb88048
Added yii\data\Sort::parseSortParams
...
allowing customize other params request formats in descendant class.
close #13170
2017-04-26 01:42:45 +02:00
Paul Klimov
3598f8180c
Fixes #13087 : Fixed getting active validators for safe attribute
2017-04-26 02:29:10 +03:00
sasha-ch
339c7663eb
Fixes #10346 : Fixed "DOMException: Invalid Character Error" in yii\web\XmlResponseFormatter::buildXml()
2017-04-26 02:06:36 +03:00
Sam Mousa
98871123c9
Fixed ignored params when using count in SqlDataProvider
2017-04-25 10:54:18 +02:00
Гордиенко Владислав Юрьевич
bda091bbb2
yii\filters\RateLimiter refactored ( #13994 )
...
Refactored yii\filters\RateLimiter and added tests
2017-04-24 22:20:46 +03:00
Nikolay Oleynikov
d0ce165ba6
Fixes #13728 : Fixed the bug when yii\behaviors\SluggableBehavior wasn't preserving immutable slug values
2017-04-20 21:30:04 +03:00
Klimov Paul
49564ae3e1
Fix TimestampBehaviorTest to be compatible with PHPUnit 6
2017-04-20 12:20:30 +03:00
Alexander Makarov
9bd7dfc89e
Skipped segfaulting test when running on Travis and corresponding PHP versions
2017-04-19 18:03:39 +03:00
Гордиенко Владислав Юрьевич
0cf236ec66
Fixes #13963 : Added tests for yii\behaviors\TimestampBehavior
2017-04-19 12:38:47 +03:00
Mikk Tendermann
59d3292399
[IpValidator] disable ipv6 checks ( #13984 )
...
* disable ipv6 checks
* remove empty line
* updated CHANGELOG.md
2017-04-18 19:06:31 +03:00
Sergey Makinen
454f0a9301
Fixes #13807 : Fixed yii\db\QueryBuilder to inherit subquery params when building a INSERT INTO ... SELECT query
2017-04-17 03:31:43 +03:00
Klimov Paul
928a30588d
memory usage at unit test reduced
2017-04-13 17:00:59 +03:00
Klimov Paul
d8e6a89af9
fixed tests without assettions
2017-04-13 16:17:35 +03:00
Klimov Paul
80ca12872e
garbage collection added to unit tests
2017-04-13 15:40:17 +03:00
Klimov Paul
04a14efd3f
compatibility with PHPUnit 6.x fix
2017-04-13 15:29:10 +03:00
SilverFire - Dmitry Naumenko
b0b55472da
yii\caching\Cache::getOrSet() now supports both Closure and callable
...
Closes #13981
2017-04-13 15:07:30 +03:00
Klimov Paul
15561b7a2c
unit test fix
2017-04-13 14:56:03 +03:00
Klimov Paul
dee88787fc
compatibility with PHPUnit 6.x added
2017-04-13 14:49:43 +03:00
Carsten Brandt
5faa0032cb
added more assertations for security masking tests
2017-04-04 10:47:48 +02:00
Kolyunya
892512feba
Fixes #13560 : Refactored \yii\widgets\FragmentCache::getCachedContent(), added tests
2017-04-02 02:40:52 +03:00
Sam Mousa
8ae207c3a1
Fixes #13837 : Refactored masking of CSRF tokens
2017-04-02 02:10:16 +03:00
aquy
514b29d55d
Fixes #13369 : Added ability to render current yii\widgets\LinkPager page disabled
2017-04-02 00:54:00 +03:00
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
2017-04-01 18:27:27 +03:00
Nikolay Oleynikov
4e9497c4fa
Fixes #13770 : Added support for yii\widgets\Menu item classes definition in the form of an array
2017-04-01 16:57:17 +03:00
Sam Mousa
79f16b1492
Fixes #13883 : \yii\data\SqlDataProvider now provides automatic fallback for the case when totalCount is not specified
2017-04-01 16:37:25 +03:00
Alexander Makarov
a626440761
Reverted #13822 , clarified exception descriptions
2017-03-30 16:50:18 +03:00
Pavel Dovlatov
7e1a050a16
Fixes #13821 : fixed docs and added more tests for Url helper
2017-03-23 17:35:47 +03:00
Kolyunya
a35eada199
Fix tests of a web response
2017-03-23 09:27:06 +03:00
Nikolay Oleynikov
ea75068a92
Fixes #13813 : Fixed PHP 7 compatibiltiy by adding support for passing instances of Error to the yii\web\Response::setStatusCodeByException()
2017-03-23 01:20:42 +03:00
Nikolay Oleynikov
7a2f04ae32
Fixes #13822 : Fixed yii\web\User::loginRequired() to throw an UnauthorizedHttpException instead of a ForbiddenHttpException
2017-03-23 00:18:39 +03:00
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.
2017-03-18 10:53:43 +03:00
Skiptir Engu
a600e165aa
Added RadiobuttonColumnTest to the grid test group ( #13795 )
2017-03-18 00:17:42 +03:00
usix298
13c2f5370f
Fixed formatting in tests [skip ci]
2017-03-18 00:13:08 +03:00
Artur Fursa
1b322f519f
Fixes #13776 : Fixed setting precision and scale for decimal columns in MSSQL
2017-03-16 19:38:56 +03:00