Carsten Brandt
3e94919592
added failing test for #13593
2017-05-31 19:14:21 +02:00
Carsten Brandt
2feb0945ca
Fixed RBAC databases tests
...
tests were reusing static DB connection instance resulting in all tests
to be run against MySQL only!
PgSQL and Sqlite tests are now failing because of the issue reported in #13501 .
2017-05-31 18:55:44 +02:00
Felipe Sateler
88bbd61988
Alternative implementation for passing parameters to AccessRule roles
...
fixes #8426 : `yii\filters\AccessRule` now allows passing GET or other parameters to the role checking function
replaces #8426
2017-05-31 17:46:34 +02:00
Skiba Max
51dd58cf34
Fixed #13551 : loading fixtures in subdirectories
2017-05-30 21:27:43 +03:00
Ilya Rogov
e2218cbbae
Add test coverage of yii\helpers\Html ( #14220 )
2017-05-28 18:03:36 +05:00
Ilya Rogov
0d9cd0ccd7
Add test coverage of yii\helpers\BaseJson ( #14217 )
2017-05-28 17:32:41 +05:00
Ilya Rogov
b07f2018de
Add test coverage of yii\helpers\BaseMarkdown ( #14223 )
2017-05-28 17:31:42 +05:00
Alex-Code
7c6620a65f
Fixes #13846 : Fixed Query::count() issue with orderBy
2017-05-28 15:27:45 +03:00
Alexander Makarov
9b8b965fcb
Fixes #14211 : Fixed regression in Unique and Exist validators
2017-05-26 00:31:30 +03:00
Ilya Rogov
21a7a68e45
Add test coverage of yii\helpers\BaseArrayHelper ( #14205 )
2017-05-25 14:12:13 +05:00
Sergey Makinen
52f8539135
Add Command tests
2017-05-15 20:55:26 +03:00
Sergey Makinen
47f837db0b
Fix constraint tests
2017-05-15 20:55:26 +03:00
Sergey Makinen
3a384d0ded
Disable column comment test on old CUBRID
2017-05-15 20:55:26 +03:00
Sergey Makinen
73ac13e6d7
Implement retrieving dbms constraints
2017-05-15 20:55:25 +03:00
Alexander Makarov
625d554e3a
Additional edge case for #14150
2017-05-12 18:06:27 +03:00
Alexander Makarov
8a087c8537
#14150 : Added {{ and }} to getTablesUsedInFrom() output
2017-05-12 15:55:37 +03:00
Alexander Makarov
b151b1cdb2
Fixes #14150
2017-05-12 14:17:23 +03:00
Bizley
ddee256a1a
Fixes #14133 : Fixed bug when calculating timings with mixed nested profile begin and end in yii\log\Logger::calculateTimings()
2017-05-12 11:48:16 +03:00
Alexander Makarov
d331b72be6
Merge branch 'master' into unique-validator-fix
2017-05-12 00:45:55 +03:00
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.
2017-05-10 12:30:43 +03:00
Carsten Brandt
5c72047426
Fixed ambiguous column name in SELECT in UniqueValidator
...
fixes #14042
2017-05-10 12:02:48 +03:00
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
2017-05-10 09:46:10 +02:00
Alexey Rogachev
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
Carsten Brandt
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
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
2017-05-10 00:35:40 +03:00
Klimov Paul
473598ac8c
Added support for sorting by expression to \yii\data\Sort
2017-05-09 17:26:49 +03:00
Leandro Gehlen
25242adb91
Fixes #5442 : Fixed problem on load fixture dependencies with database related tests
2017-05-08 22:31:12 +03:00
Carsten Brandt
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
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
2017-05-08 00:21:53 +02:00
quantum
583a2bcb9f
failing test for asset bundle publishing empty directories
2017-05-08 00:17:34 +02:00
Carsten Brandt
fb2441c3d7
moved query log logic into private method and reduced calls to getRawSql()
...
fixes #12528
2017-05-08 00:04:37 +02:00
Carsten Brandt
65ea226729
added option to disable query logging in DB command
...
fixes #12528
2017-05-08 00:04:13 +02:00
Andrey Akimov
5695b869a9
Fixes #13890 : DbTarget log transaction bug
2017-05-04 20:30:38 +02:00
Bizley
f8b3d68817
Fixes #4793 : yii\filters\AccessControl now can be used without user component
2017-05-03 00:18:16 +02:00
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
Robert Korulczyk
33cff4b5cc
Cleanup after #14017 ( #14091 )
2017-05-01 11:58:02 +02: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
37fc6c5afb
Alternative names
2017-04-26 15:36:36 +03: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