7460 Commits

Author SHA1 Message Date
9b8b965fcb Fixes #14211: Fixed regression in Unique and Exist validators 2017-05-26 00:31:30 +03:00
ac70262bfc Fixed typo in BaseFileHelper::findFiles() docs (#14200) [skip ci] 2017-05-24 20:59:35 +05:00
921147dca5 Fixes #14161, #14150: fixed primary table aliasing (include case manual set alias) in validators 2017-05-16 13:24:49 +03:00
625d554e3a Additional edge case for #14150 2017-05-12 18:06:27 +03:00
8a087c8537 #14150: Added {{ and }} to getTablesUsedInFrom() output 2017-05-12 15:55:37 +03:00
b151b1cdb2 Fixes #14150 2017-05-12 14:17:23 +03:00
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
1838370da0 Fixed changelog [skip ci] 2017-05-12 00:47:59 +03:00
d331b72be6 Merge branch 'master' into unique-validator-fix 2017-05-12 00:45:55 +03:00
96382454b1 Additional refactoring as suggested by @dynasource 2017-05-10 13:08:29 +03:00
e5799da1c0 Remove unnecessary variable from UrlRule.php (#13948) 2017-05-10 12:31:05 +03:00
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
9828bde1db Added escaping for column name 2017-05-10 12:04:54 +03:00
5c72047426 Fixed ambiguous column name in SELECT in UniqueValidator
fixes #14042
2017-05-10 12:02:48 +03:00
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
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
3b7eb5ceea added changelog for #12528 2017-05-10 01:31:11 +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
4cb98c42cb changelog for #14067 2017-05-09 22:51:08 +02:00
e360457091 function clear() -- Set populated arrays to empty arrays (#14067)
`yii\web\View::clear()` sets populated arrays to empty arrays
2017-05-09 17:31:13 +03:00
473598ac8c Added support for sorting by expression to \yii\data\Sort 2017-05-09 17:26:49 +03:00
990b7c1574 Fixed changelog [skip ci] 2017-05-09 01:33:32 +03:00
25242adb91 Fixes #5442: Fixed problem on load fixture dependencies with database related tests 2017-05-08 22:31:12 +03: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
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
18bc835243 Typo (#14117) [skip ci] 2017-05-05 17:06:46 +03:00
5695b869a9 Fixes #13890: DbTarget log transaction bug 2017-05-04 20:30:38 +02:00
8c30bab105 Eliminated else branches in beforeSave() and beforeDelete() phpdoc examples [skip ci] 2017-05-04 19:03:31 +03:00
fc8ea4831b Fixes #14108: fixed phpdoc mistake in method description 2017-05-03 23:37:46 +03:00
debe85fa34 Fixes #14098: yii\helpers\BaseFileHelper::normalizeOptions() is now protected 2017-05-03 00:53:21 +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
7a2737105b Updated PHPdoc 2017-05-01 15:59:37 +03:00
2d0e3fb9ef Fixed Oracle SQL queries with IN condition and more than 1000 parameters 2017-05-01 15:59:37 +03:00
533da6240e Update phpdoc, \yii\db\ActiveRecord => \yii\db\ActiveRecordInterface [skip ci] (#14076) 2017-04-30 21:14:58 +02:00
78446e9ed4 Fixes #13086, Fixes #13656: Fixed bug with optional parameters at the beginning of pattern in yii\web\UrlRule 2017-04-28 22:42:05 +02:00
33140546cc Merge branch 'master' of https://github.com/yiisoft/yii2 into schema-cache-fixes 2017-04-28 06:38:44 -07:00
f14d4c767f fixed missing changelog and missing @since 2017-04-28 10:49:07 +02: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
6c03216aab Reordered CHANGELOG 2017-04-27 23:02:53 +03:00
e8e48e4820 Fixed CHANGELOG 2017-04-27 23:02:34 +03:00
fce20a3020 Renamed ActiveForm::registerJs() to registerClientScript(), added tests 2017-04-27 22:27:59 +03:00
a480d70875 More control over ActiveForm widget
If part of a form is rendered separately (e.g. in ajax request), it's not easy to apply JS validation to it.
By moving JS registration to a separate method this problem could be solved much more easier.
2017-04-27 22:27:59 +03:00
4a17032717 Fix validators documentation 2017-04-27 21:50:51 +03:00
96dae1cebc file will not loaded
https://github.com/yiisoft/yii2/tree/master/framework/test
2017-04-27 20:51:56 +03:00
60fac269cb Reorder changelog 2017-04-27 10:37:23 -07:00
15acf45ab2 Merge branch 'master' of https://github.com/yiisoft/yii2 into schema-cache-fixes 2017-04-27 10:35:30 -07:00