80d6f7323a
Do not render empty row in GridView when data is empty and emptyText set to false
...
Fixes #13352
close #13422
2017-05-10 09:40:29 +02:00
156f09fc6e
Merge pull request #14056 from cebe/db-logging
...
added option to disable query logging in DB command
2017-05-10 01:25:02 +02:00
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
2017-05-10 00:35:40 +03:00
473598ac8c
Added support for sorting by expression to \yii\data\Sort
2017-05-09 17:26:49 +03:00
25242adb91
Fixes #5442 : Fixed problem on load fixture dependencies with database related tests
2017-05-08 22:31:12 +03:00
3e79d56447
made AssetBundle tests less cryptic
...
cleanup step was added in setUp() so this will still work.
split test functions filehelper test
2017-05-08 10:56:56 +02:00
5e8e6840b6
Added copyEmptyDirectories option to FileHelper
...
also set it to false in AssetManager to avoid creating a lot of empty
directories.
fixes #9669
2017-05-08 00:21:53 +02:00
583a2bcb9f
failing test for asset bundle publishing empty directories
2017-05-08 00:17:34 +02:00
fb2441c3d7
moved query log logic into private method and reduced calls to getRawSql()
...
fixes #12528
2017-05-08 00:04:37 +02:00
65ea226729
added option to disable query logging in DB command
...
fixes #12528
2017-05-08 00:04:13 +02:00
5695b869a9
Fixes #13890 : DbTarget log transaction bug
2017-05-04 20:30:38 +02:00
f8b3d68817
Fixes #4793 : yii\filters\AccessControl now can be used without user component
2017-05-03 00:18:16 +02:00
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
31e321b9b2
Remove unused imports. ( #14096 )
2017-05-01 20:26:15 +02:00
2d0e3fb9ef
Fixed Oracle SQL queries with IN condition and more than 1000 parameters
2017-05-01 15:59:37 +03:00
33cff4b5cc
Cleanup after #14017 ( #14091 )
2017-05-01 11:58:02 +02:00
3456c4e0fd
!==
2017-04-28 14:23:08 -07:00
11c0d4bf15
Skip just certain things for sqllite
2017-04-28 12:17:45 -07:00
237af91e8e
Skip testAutoRefreshTableSchema on sqllite
2017-04-28 06:38:02 -07:00
be3f3e0bb1
Merge branch 'master' into schema-cache-fixes
2017-04-27 13:53:05 -07:00
2d28b585a0
Merge branch 'master' into 13614-add-a-failing-test-for-url-rule
2017-04-27 22:07:55 +02:00
8349362271
Fixed tests
2017-04-27 22:43:37 +03:00
fce20a3020
Renamed ActiveForm::registerJs() to registerClientScript(), added tests
2017-04-27 22:27:59 +03:00
15acf45ab2
Merge branch 'master' of https://github.com/yiisoft/yii2 into schema-cache-fixes
2017-04-27 10:35:30 -07:00
e242e9b0ee
Fixes #14072 : clear table schema cache for all methods that affect cache
2017-04-27 10:34:08 -07:00
37fc6c5afb
Alternative names
2017-04-26 15:36:36 +03:00
a9bf1a3a7f
Removed redundant use
2017-04-26 12:02:09 +03:00
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
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
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
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
3598f8180c
Fixes #13087 : Fixed getting active validators for safe attribute
2017-04-26 02:29:10 +03:00
339c7663eb
Fixes #10346 : Fixed "DOMException: Invalid Character Error" in yii\web\XmlResponseFormatter::buildXml()
2017-04-26 02:06:36 +03:00
7db93fc33d
Refactored solution to be contained within ActiveQuery instead of helper
2017-04-25 23:24:27 +03:00
8474927a55
Fixed ambiguous error sql while using unique validator
2017-04-25 23:24:12 +03:00
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
d0ce165ba6
Fixes #13728 : Fixed the bug when yii\behaviors\SluggableBehavior wasn't preserving immutable slug values
2017-04-20 21:30:04 +03:00
d3f97f7e64
Switched to asset-packagist
2017-04-20 14:46:30 +03:00
49564ae3e1
Fix TimestampBehaviorTest to be compatible with PHPUnit 6
2017-04-20 12:20:30 +03:00
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
59d3292399
[IpValidator] disable ipv6 checks ( #13984 )
...
* disable ipv6 checks
* remove empty line
* updated CHANGELOG.md
2017-04-18 19:06:31 +03:00
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
928a30588d
memory usage at unit test reduced
2017-04-13 17:00:59 +03:00
86bff27be5
compatibility with PHPUnit 6.x fix
2017-04-13 16:30:11 +03:00
8269b73b45
compatibility with PHPUnit 6.x fix
2017-04-13 16:22:43 +03:00
d8e6a89af9
fixed tests without assettions
2017-04-13 16:17:35 +03:00
679bc09b54
compatibility with PHPUnit 6.x fix
2017-04-13 15:46:17 +03:00
80ca12872e
garbage collection added to unit tests
2017-04-13 15:40:17 +03:00