Commit Graph

16030 Commits

Author SHA1 Message Date
Pavel Chaplygin
25e6eb04a5 refs #11122: Fixed can not use orderBy with aggregate functions (#12772)
* refs #11122: Fixed can not use `orderBy` with aggregate functions like `count`, `max` etc.

* Update QueryTest.php
2016-12-18 11:28:34 +02:00
SilverFire - Dmitry Naumenko
a710345ea7 Enhanced PHPDocs, added Unit tests, updated CHANGELOG 2016-12-18 11:24:24 +02:00
voskobovich
4afbad1aae Calculation of activity menu item through the closure
Extended documentation
2016-12-18 11:24:24 +02:00
Alexey Rogachev
8d813f7bf1 Fixes #12840, #12836, #13231, #13232
Additionally added tests for #10302 (#10284 (comment)), #10284 (#10217 (comment)), #11729
2016-12-18 12:06:17 +03:00
SilverFire - Dmitry Naumenko
24dae19fc8 ListView: PHPDocs and tests enhanced 2016-12-18 10:56:52 +02:00
SilverFire - Dmitry Naumenko
0148325426 Merge branch 'mdmunir-enhance_listview' 2016-12-18 10:52:26 +02:00
SilverFire - Dmitry Naumenko
cdabb660d6 Refactored ListView::beforeItem, ::afterItem. Added Unit tests. 2016-12-18 10:52:12 +02:00
mdmunir
cc2e6bcd56 Add beforeItem and afterItem to the `ListView'
added changelog
2016-12-18 10:52:07 +02:00
Alexander Makarov
bd552113b2 Fixes #11906: Updated yii\widgets\MaskedInput inputmask dependency to ~3.3.3 2016-12-18 01:25:55 +03:00
Robert Korulczyk
2a68351ec3 Fix tests on travis. (#13238) 2016-12-18 01:24:41 +03:00
SilverFire - Dmitry Naumenko
df733d1bbe Fixed QueryBuilderTest 2016-12-17 22:08:13 +02:00
NabiKAZ
40143239b2 Fixes #13235: Update persian (farsi) messages and some translate it (#13237) 2016-12-17 22:01:49 +02:00
SilverFire - Dmitry Naumenko
2f8225a244 Fixed QueryBuilderTest to work with PgSQL and other DBMS 2016-12-17 21:58:22 +02:00
Daniel Gómez Pan
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
SilverFire - Dmitry Naumenko
54c7e0c434 Added tests for QueryBuilder::batchInsert() 2016-12-17 19:20:01 +02:00
SilverFire - Dmitry Naumenko
4e32fb1eba Enhanced PHPDocs 2016-12-17 12:44:39 +02:00
Ni-san
5795b3937e Added rbac\BaseManager::hasNoAssignments() 2016-12-17 12:37:36 +02:00
SilverFire - Dmitry Naumenko
dd4b5afb5b Try #2 to fix travis build on PHP < 7 2016-12-17 11:33:43 +02:00
SilverFire - Dmitry Naumenko
da5fbbd20e Revert "Try to fix travis build on PHP < 7"
This reverts commit 779b687415.
2016-12-17 10:43:34 +02:00
SilverFire - Dmitry Naumenko
779b687415 Try to fix travis build on PHP < 7 2016-12-17 10:40:00 +02:00
SilverFire - Dmitry Naumenko
7b5efe5161 Enhanced handleAction() in yii.js
Closes #12737
2016-12-17 10:17:30 +02:00
SilverFire - Dmitry Naumenko
0f6b69afad Merge branch 'master' of github.com:yiisoft/yii2 2016-12-17 09:54:13 +02:00
Carsten Brandt
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
Sergey
483c6c1867 Fixes #12713: Fixed yii\caching\FileDependency to clear stat cache before reading filemtime 2016-12-16 23:35:46 +03:00
Brandon Kelly
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
Alexander Makarov
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
Alexander Makarov
8c5c7047a6 Merge branch 'master' into fix-pjax-automatic-id 2016-12-16 12:47:18 +03:00
Carsten Brandt
18bac955c1 docs about JSON and UTF-8
fixes #10761
2016-12-16 03:08:02 +01:00
Carsten Brandt
22787571b4 Update UPGRADE.md 2016-12-16 00:58:17 +01:00
Carsten Brandt
4496b3e799 note about disabling serializer on arraycache
close #12984
2016-12-16 00:26:18 +01:00
Carsten Brandt
6d4c61ce16 fixed changelog 2016-12-16 00:04:00 +01:00
Carsten Brandt
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
Alexander Makarov
e83624df9e Closes #11418: Added test for #11418 2016-12-16 01:43:54 +03:00
SilverFire - Dmitry Naumenko
f1a34773e1 Test empty commit 2016-12-16 00:20:21 +02:00
SilverFire - Dmitry Naumenko
cfbdb06d6d Test empty commit 2016-12-16 00:12:12 +02:00
SilverFire - Dmitry Naumenko
11c58549d4 Fixed FileHelperTest::testFindFilesRecursiveWithSymLink() 2016-12-15 23:36:16 +02:00
SilverFire - Dmitry Naumenko
50953c2960 Merge branch 'zalatov-fix-filehelper-findfiles-isdir' 2016-12-15 23:21:36 +02:00
SilverFire - Dmitry Naumenko
9a45b70adf Updated FileHelperTest 2016-12-15 23:21:23 +02:00
SilverFire - Dmitry Naumenko
cfe5202e44 Fixed CHANGELOG merge problems 2016-12-15 23:21:20 +02:00
zalatov
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
SilverFire - Dmitry Naumenko
821ba54720 Reordered CHANGELOG 2016-12-15 22:41:02 +02:00
Alexander Makarov
877f82d27c Merge branch 'master' into fix-pjax-automatic-id 2016-12-15 22:07:58 +03:00
Alexander Makarov
cc23f94b5d Merge pull request #13210 from yiisoft/query-filter-having
Query filter having
2016-12-15 18:10:58 +03:00
Alexander Makarov
3e03237713 Merge branch 'master' into query-filter-having 2016-12-15 18:04:05 +03:00
Alexander Makarov
b78d6367ba Removed duplicate assertion from tests, divided test method into two 2016-12-15 18:02:25 +03:00
Elvira Sheina
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
Carsten Brandt
01997441cc added tests for rest\UrlRule::createUrl()
verify issue #13200
2016-12-15 01:41:28 +01:00
Dmitry Naumenko
518be6b8ec Enhanced PHPDocs markup 2016-12-14 23:07:44 +02:00
Alexander Makarov
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
Konstantin Tsukur
e78a7fe20e Initial work on #11697 2016-12-14 23:57:02 +03:00