Commit Graph

8965 Commits

Author SHA1 Message Date
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
3b7eb5ceea added changelog for #12528 2017-05-10 01:31:11 +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
Carsten Brandt
4cb98c42cb changelog for #14067 2017-05-09 22:51:08 +02:00
Craig London
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
Klimov Paul
473598ac8c Added support for sorting by expression to \yii\data\Sort 2017-05-09 17:26:49 +03:00
Alexander Makarov
990b7c1574 Fixed changelog [skip ci] 2017-05-09 01:33:32 +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
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
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
Taras Gudz
18bc835243 Typo (#14117) [skip ci] 2017-05-05 17:06:46 +03:00
Andrey Akimov
5695b869a9 Fixes #13890: DbTarget log transaction bug 2017-05-04 20:30:38 +02:00
Alexander Makarov
8c30bab105 Eliminated else branches in beforeSave() and beforeDelete() phpdoc examples [skip ci] 2017-05-04 19:03:31 +03:00
Alexander Makarov
fc8ea4831b Fixes #14108: fixed phpdoc mistake in method description 2017-05-03 23:37:46 +03:00
Brandon Kelly
debe85fa34 Fixes #14098: yii\helpers\BaseFileHelper::normalizeOptions() is now protected 2017-05-03 00:53:21 +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
SilverFire - Dmitry Naumenko
7a2737105b Updated PHPdoc 2017-05-01 15:59:37 +03: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
Alex
533da6240e Update phpdoc, \yii\db\ActiveRecord => \yii\db\ActiveRecordInterface [skip ci] (#14076) 2017-04-30 21:14:58 +02:00
Alexander Makarov
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
brandonkelly
33140546cc Merge branch 'master' of https://github.com/yiisoft/yii2 into schema-cache-fixes 2017-04-28 06:38:44 -07:00
Carsten Brandt
f14d4c767f fixed missing changelog and missing @since 2017-04-28 10:49:07 +02: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
6c03216aab Reordered CHANGELOG 2017-04-27 23:02:53 +03:00
SilverFire - Dmitry Naumenko
e8e48e4820 Fixed CHANGELOG 2017-04-27 23:02:34 +03:00
SilverFire - Dmitry Naumenko
fce20a3020 Renamed ActiveForm::registerJs() to registerClientScript(), added tests 2017-04-27 22:27:59 +03:00
Oleg Poludnenko
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
Kolyunya
4a17032717 Fix validators documentation 2017-04-27 21:50:51 +03:00
lynicidn
96dae1cebc file will not loaded
https://github.com/yiisoft/yii2/tree/master/framework/test
2017-04-27 20:51:56 +03:00
brandonkelly
60fac269cb Reorder changelog 2017-04-27 10:37:23 -07: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
Nikolay Oleynikov
da6eada8c8 Fix an invalid phpDocumentor annotation
Fixed an invalid phpDocumentor annotation of `yii\data\DataProviderInterface::getPagination()`.
2017-04-27 17:46:46 +03:00
Robert Korulczyk
94eda9bd52 Add phpdoc. [skip ci] 2017-04-26 20:24:07 +02:00
Dmitry Eliseev
d7fad8a555 Fixes #14059: Removed unused AR instantiating for calling of static methods 2017-04-26 16:09:55 +03:00
Alexander Makarov
37fc6c5afb Alternative names 2017-04-26 15:36:36 +03:00
Alexander Makarov
375ea7a847 Fixes #13951: renamed get-method which was conflicting with existing property (#14055) 2017-04-26 13:32:58 +03:00
Alexander Makarov
705dae9964 Fixes #14052: Fixed processing parse errors on PHP 7 since these are instances of \ParseError 2017-04-26 12:56:54 +03:00
Alexander Makarov
a3a123077f Fixes #13790: Fixed error in \yii\widgets\MaskedInput JavaScript by raising version required 2017-04-26 12:52:49 +03:00
Alexander Makarov
c1fbd52c52 Adjusted changelog [skip ci] 2017-04-26 12:09:37 +03:00
Alexander Makarov
100213d9b2 Removed redundant else 2017-04-26 12:02:17 +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
Dmitry Naumenko
63253ceafc PHPDocs and code style fixed 2017-04-26 09:26:01 +03:00
Alexander Makarov
2fbc5440ba Fixed changelog [skip ci] 2017-04-26 03:38:09 +03:00
Michael Härtl
6792099bcc Fixes #13689: Fixed handling of errors in closures 2017-04-26 03:34:25 +03:00