16020 Commits

Author SHA1 Message Date
df733d1bbe Fixed QueryBuilderTest 2016-12-17 22:08:13 +02:00
40143239b2 Fixes #13235: Update persian (farsi) messages and some translate it (#13237) 2016-12-17 22:01:49 +02:00
2f8225a244 Fixed QueryBuilderTest to work with PgSQL and other DBMS 2016-12-17 21:58:22 +02:00
b985ea3476 Fix #13108: Negative integer parameter causes "Unknown alias" error w… (#13220)
* Fix #13108: Negative integer parameter causes "Unknown alias" error when you execute command console

* Fix #13108: Fix small issues

* Update Request.php

change order
2016-12-17 21:30:36 +02:00
54c7e0c434 Added tests for QueryBuilder::batchInsert() 2016-12-17 19:20:01 +02:00
4e32fb1eba Enhanced PHPDocs 2016-12-17 12:44:39 +02:00
5795b3937e Added rbac\BaseManager::hasNoAssignments() 2016-12-17 12:37:36 +02:00
dd4b5afb5b Try #2 to fix travis build on PHP < 7 2016-12-17 11:33:43 +02:00
da5fbbd20e Revert "Try to fix travis build on PHP < 7"
This reverts commit 779b687415d4861d2127db3fc425620d1cc7a5f8.
2016-12-17 10:43:34 +02:00
779b687415 Try to fix travis build on PHP < 7 2016-12-17 10:40:00 +02:00
7b5efe5161 Enhanced handleAction() in yii.js
Closes #12737
2016-12-17 10:17:30 +02:00
0f6b69afad Merge branch 'master' of github.com:yiisoft/yii2 2016-12-17 09:54:13 +02:00
66e8158716 Fixes #11771: Fixed semantics of yii\di\ServiceLocator::__isset() to match the behavior of __get() which fixes inconsistent behavior on newer PHP versions 2016-12-16 23:48:08 +03:00
483c6c1867 Fixes #12713: Fixed yii\caching\FileDependency to clear stat cache before reading filemtime 2016-12-16 23:35:46 +03:00
350e93e626 Fixes #12612: Query conditions added with yii\db\Query::andWhere() now get appended to the existing conditions if they were already being joined with the and operator 2016-12-16 13:19:14 +03:00
e4d9e9df4e Merge pull request #13110 from dynasource/fix-pjax-automatic-id
Custom ID generation for Pjax widgets to solve unstable ajax calls (i…
2016-12-16 12:47:53 +03:00
8c5c7047a6 Merge branch 'master' into fix-pjax-automatic-id 2016-12-16 12:47:18 +03:00
18bac955c1 docs about JSON and UTF-8
fixes #10761
2016-12-16 03:08:02 +01:00
22787571b4 Update UPGRADE.md 2016-12-16 00:58:17 +01:00
4496b3e799 note about disabling serializer on arraycache
close #12984
2016-12-16 00:26:18 +01:00
6d4c61ce16 fixed changelog 2016-12-16 00:04:00 +01:00
9821c589c5 fixed issue with rest\UrlRule extraPatterns
url creation did not work when no HTTP verb was specified.
fixes #13200
2016-12-16 00:00:27 +01:00
e83624df9e Closes #11418: Added test for #11418 2016-12-16 01:43:54 +03:00
f1a34773e1 Test empty commit 2016-12-16 00:20:21 +02:00
cfbdb06d6d Test empty commit 2016-12-16 00:12:12 +02:00
11c58549d4 Fixed FileHelperTest::testFindFilesRecursiveWithSymLink() 2016-12-15 23:36:16 +02:00
50953c2960 Merge branch 'zalatov-fix-filehelper-findfiles-isdir' 2016-12-15 23:21:36 +02:00
9a45b70adf Updated FileHelperTest 2016-12-15 23:21:23 +02:00
cfe5202e44 Fixed CHANGELOG merge problems 2016-12-15 23:21:20 +02:00
1d5a6d1722 Add is_dir() validation for BaseFileHelper::findFiles().
Sometimes it throws exception when file/directory is deleted or moved while executing script.
2016-12-15 23:21:17 +02:00
821ba54720 Reordered CHANGELOG 2016-12-15 22:41:02 +02:00
877f82d27c Merge branch 'master' into fix-pjax-automatic-id 2016-12-15 22:07:58 +03:00
cc23f94b5d Merge pull request #13210 from yiisoft/query-filter-having
Query filter having
2016-12-15 18:10:58 +03:00
3e03237713 Merge branch 'master' into query-filter-having 2016-12-15 18:04:05 +03:00
b78d6367ba Removed duplicate assertion from tests, divided test method into two 2016-12-15 18:02:25 +03:00
bfba0aa711 Refactor validateAttribute method in UniqueValidator (#13202)
* Refactor validateAttribute method in UniqueValidator

Extract prepareParams and prepareQuery from validateAttribute,
so they can be tested separately.

* Added issue number to changelog

* Eliminated unneeded variable

* Renamed methods and parameters, update PHPDocs
2016-12-15 12:23:16 +01:00
01997441cc added tests for rest\UrlRule::createUrl()
verify issue #13200
2016-12-15 01:41:28 +01:00
518be6b8ec Enhanced PHPDocs markup 2016-12-14 23:07:44 +02:00
837b33767c Fixes #11697: Added filterHaving(), andFilterHaving() and orFilterHaving() to yii\db\Query
Signed-off-by: Alexander Makarov <sam@rmcreative.ru>
2016-12-14 23:58:04 +03:00
e78a7fe20e Initial work on #11697 2016-12-14 23:57:02 +03:00
88f2348ed5 Fixed ActiveRecord::unlinkAll() to respect onCondition()
Closes #12213
2016-12-14 22:51:21 +02:00
da944aa9c0 Rebased "Revamps PageCache to store data in one entry (#10506)" (#12145) 2016-12-14 14:59:00 +03:00
7be8ccbb41 All words in h3 in docs must start with capital letter (#13207) 2016-12-14 12:44:15 +01:00
a1581329cf Fixes #13183: Docs for working with separated migrations (#13201) 2016-12-14 13:19:43 +03:00
a132ee9a08 Fixed order or checks in IpValidator
Fixes #13198
2016-12-13 18:14:04 +02:00
50b668eee8 redundant code removed 2016-12-13 16:54:51 +02:00
ae83dd0524 Fixes #13128: Fixed incorrect position of {pos} string in ColumnSchemaBuilder __toString 2016-12-11 23:36:35 +03:00
75b98c6b7e Updated PHPDocs for Cache 2016-12-11 21:52:49 +02:00
7d494c1915 Fixed unexpected form submit on validate() call
Fixed `validate()` method in `yii.activeForm.js` to prevent unexpected form submit
when `forceValidate` set to `true`

Closes #13105
2016-12-11 21:05:16 +02:00
8e0af24203 Fix protocol-relative URLs in Url::to() (#13156) (#13157)
* Fix protocol-relative URLs in `Url::to()`

* Use `isRelative()` in `Url::to()`
2016-12-11 20:39:21 +02:00