Commit Graph

8965 Commits

Author SHA1 Message Date
SilverFire - Dmitry Naumenko
05b85008f8 Updated PHPDocs [skip ci] 2018-02-18 23:12:08 +02:00
Alexander Makarov
cd8a9c47d7 Fixed kebab-name console command parameters 2018-02-18 23:32:50 +03:00
SilverFire - Dmitry Naumenko
e4d5dd3898 Reordered CHANGELOG [skip ci] 2018-02-18 21:47:20 +02:00
Paul Klimov
69a36789c4 fixed duplicating wildcard event trigger at Event::trigger() 2018-02-18 21:33:11 +02:00
SilverFire - Dmitry Naumenko
e806a3b50a Added yii\db\ExpressionInterface support to yii\db\Command::batchInsert()
Fixes #15661
2018-02-18 20:23:08 +02:00
Ruitang Du
3c8207f050 seems missing a ) here... 2018-02-18 23:54:14 +08:00
Dmitry Naumenko
bdc372fd4f Merge pull request #15663 from alexeevdv/bugfix/file-target-disabled-directory-creation
\yii\log\FileTarget directory creation is moved to export() method
2018-02-18 17:48:42 +02:00
Jafaripur
67caf0219a Check db driver have useMaster or not for calling. (#15664)
Breaking change in mongodb or another driver.
In checking unique validation in mongodb validator error occurred in calling useMaster but in mongodb this is not exist and this is breaking change in older driver.
2018-02-18 18:40:09 +03:00
Dmitry Alekseev
bf19882a23 is_dir check is removed 2018-02-18 16:22:45 +03:00
Dmitry Alekseev
484d2a63ec is_dir check is removed 2018-02-18 14:48:06 +03:00
Dmitry Alekseev
cc77ad3706 changelog 2018-02-18 13:07:27 +03:00
Dmitry Alekseev
1b14628dbf Directory creation is moved to export() method 2018-02-18 12:57:09 +03:00
SilverFire - Dmitry Naumenko
d131d08ce1 Reordered CHANGELOG [skip ci] 2018-02-18 10:45:09 +02:00
SilverFire - Dmitry Naumenko
a4b6b853b6 Fixed DateValidator to respect time when format is php:U
Fixes #15628
2018-02-18 09:55:43 +02:00
Alexander Makarov
0de49406db Minor code style adjustments, phpdoc 2018-02-18 02:56:56 +03:00
Carsten Brandt
48e2f542d7 re-added require that will break if autoloader is not configured 2018-02-18 00:46:11 +01:00
Carsten Brandt
488f98648a added missing @since annotations 2018-02-18 00:44:10 +01:00
Alexander Makarov
a1937544e0 Code style adjustments 2018-02-18 02:41:49 +03:00
Carsten Brandt
915e887791 fix misplaced CHANGELOG lines 2018-02-17 23:43:11 +01:00
Alexander Makarov
d934d9f6f6 Improved phpdoc for ErrorHandler::$traceLine [skip ci] 2018-02-17 21:54:21 +03:00
Alexander Makarov
59b56b312f #15476: Fixed ActiveField initial error class in case setting it to input 2018-02-17 21:48:13 +03:00
Alexander Makarov
4e37041db7 Fixed changelog [skip ci] 2018-02-17 21:01:22 +03:00
SilverFire - Dmitry Naumenko
78d54bc541 Fixed yii\db\HttpBasicAuth not to switch identity, when user is already authenticated
Fixes #15658
2018-02-17 13:16:15 +02:00
Alexander Makarov
78c95b453c Fixed changelog and @since tag that was in the wrong method [skip ci] 2018-02-17 03:26:27 +03:00
Alexander Makarov
32f54cc08b Minor changelog fixes [skip ci] 2018-02-17 02:49:32 +03:00
Alexander Makarov
10bab28423 Mentioned new data caching methods in the guide [skip ci] 2018-02-17 02:25:28 +03:00
SilverFire - Dmitry Naumenko
da06c4a1e1 Fixed QueryBuilder::buildCondition() to skip empty array on input
Fixes #15653
2018-02-16 23:46:08 +02:00
SilverFire - Dmitry Naumenko
5da39b4a7e Fixed PHPDocs 2018-02-16 23:08:24 +02:00
Alexander Makarov
7febeb8ad4 Renamed yii\helpers\FileHelper findDirectory() method to findDirectories() to be consistend with findFiles() 2018-02-16 22:41:28 +03:00
Brandon Kelly
47674e1266 #13879: Added yii\db\Migration::upsert() 2018-02-16 17:37:00 +03:00
Robert Korulczyk
c1a4b2f4ca Fix typo in UPGRADE.md (#15654) [skip ci] 2018-02-16 16:34:54 +03:00
Brandon Kelly
018ac16025 2.0.14 upgrade guide improvements (#15652) [skip ci]
* Use the right exception name

* include note about 2.1 "early access" changes in 2.0.14 upgrade guide

* fix indentation
2018-02-16 15:01:50 +03:00
Carsten Brandt
e493843b1c improve @deprecated annotations 2018-02-16 11:19:00 +01:00
Carsten Brandt
ef8f6172bb Added a note about URLManager cache duration
https://github.com/yiisoft/yii2/pull/13426#issuecomment-366078957
issue #13426
2018-02-16 04:34:38 +01:00
SilverFire - Dmitry Naumenko
8079456290 Merge branch 'SamMousa-indexby-after-relations-9342' 2018-02-16 00:27:22 +02:00
SilverFire - Dmitry Naumenko
6144ca8167 Added CHANGELOG and UPGRADE notes 2018-02-16 00:26:47 +02:00
SilverFire - Dmitry Naumenko
2e8b6e5c80 Added ruleConfig to UrlManager::setBuiltRulesCache() to fix tests 2018-02-16 00:12:14 +02:00
SilverFire - Dmitry Naumenko
c3c9d1fd97 Merge branch 'master' into SamMousa-indexby-after-relations-9342
Conflicts:
	framework/db/Query.php
2018-02-15 23:38:06 +02:00
SilverFire - Dmitry Naumenko
9323817a53 Refactored code, added tests 2018-02-15 23:14:52 +02:00
SilverFire - Dmitry Naumenko
58016ee111 changelog 2018-02-15 21:53:29 +02:00
SilverFire - Dmitry Naumenko
a2f9ff8aac Merge branch 'master' into yuriystovbur-13425-fix-url-rules-cache 2018-02-15 21:52:25 +02:00
André Sousa
d39d3ed0a6 Fixes #15644: Avoid wrong default selection on a dropdown, checkbox list, and radio list, when a option has a key equals to zero 2018-02-15 18:23:12 +03:00
Alexander Makarov
d64c139331 Added accidentally removed changelog line [skip ci] 2018-02-15 14:26:54 +03:00
rossoneri
63ffae028e Fixes #14254: add an option to specify whether validator is forced to always use master DB for yii\validators\UniqueValidator and yii\validators\ExistValidator 2018-02-15 02:12:54 +03:00
SilverFire - Dmitry Naumenko
41cf14e515 Added tests for #14538, added CHANGELOG line 2018-02-15 00:20:59 +02:00
Hryhorii Furletov
798947af29 Update AttributeTypecastBehavior.php
Line `Handles owner 'beforeInsert' and 'beforeUpdate' events, ensuring attribute typecasting.` required for change (hotfix php docs.)
2018-02-15 00:20:59 +02:00
Aleksandar Belic
b566dd522c Fixes #15272: Removed type attribute from script tag 2018-02-14 13:39:48 +03:00
Alexander Makarov
9e566d7021 #8092: Enhance exists validator for relations (#15647) 2018-02-13 15:38:35 +03:00
Alexander Makarov
eab30d38a1 getView() made public instead of protected 2018-02-13 12:12:42 +03:00
Elvira Sheina
a18ee838fd Fixes #8092: ExistValidator for relations 2018-02-13 01:12:05 +03:00