16158 Commits

Author SHA1 Message Date
69de8f8460 Update ActiveDataProvider.php 2016-12-20 10:07:04 +03:00
b4b2b0e6d1 better docs about decimal numbers in Formatter
fixes #12520
2016-12-20 01:23:00 +01:00
8f5f540455 Fix fetching table schema for pgsql when PDO::ATTR_CASE is set 2016-12-19 17:10:34 +02:00
c3c6035117 updated images gii (#13244) [skip ci] 2016-12-19 16:10:05 +03:00
87f2d559a2 Merge pull request #13246 from arogachev/patch-3
Fixed comments in travis.yml [skip ci]
2016-12-19 12:48:42 +02:00
d2bafcc2a1 Fixed comments in travis.yml [skip ci] 2016-12-19 16:37:52 +06:00
e1ba289978 Speed up hhvm unit tests - disable jit (#13189)
Turn off the hhvm JIT to speed up the hhvm unit tests.

Source: facebook/hhvm#6979
2016-12-19 00:11:06 +01:00
8562055937 Merge pull request #13216 from yiisoft/arrayhelper-error
fix ArrayHelper::getValue() to throw exception on invalid input
2016-12-18 20:02:26 +02:00
3624eae23f Merge pull request #13217 from yiisoft/throwable
Catch `\Throwable` in critical places
2016-12-18 19:53:27 +02:00
405c8b7e43 Merge pull request #13188 from yiisoft/guide-client-scripts
Edited and extended Guide section about client scripts
2016-12-18 19:21:43 +02:00
e7f186d000 Merge pull request #13239 from arogachev/12947-travis-composer-install
Use composer install instead of composer update in Travis (#12947)
2016-12-18 12:48:43 +02:00
09901a2af1 Minor changelog fixes 2016-12-18 13:22:09 +03:00
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
a710345ea7 Enhanced PHPDocs, added Unit tests, updated CHANGELOG 2016-12-18 11:24:24 +02:00
4afbad1aae Calculation of activity menu item through the closure
Extended documentation
2016-12-18 11:24:24 +02:00
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
24dae19fc8 ListView: PHPDocs and tests enhanced 2016-12-18 10:56:52 +02:00
0148325426 Merge branch 'mdmunir-enhance_listview' 2016-12-18 10:52:26 +02:00
cdabb660d6 Refactored ListView::beforeItem, ::afterItem. Added Unit tests. 2016-12-18 10:52:12 +02:00
cc2e6bcd56 Add beforeItem and afterItem to the `ListView'
added changelog
2016-12-18 10:52:07 +02:00
2b29a779c8 Use composer install instead of composer update in Travis (#12947) 2016-12-18 13:22:23 +06:00
bd552113b2 Fixes #11906: Updated yii\widgets\MaskedInput inputmask dependency to ~3.3.3 2016-12-18 01:25:55 +03:00
2a68351ec3 Fix tests on travis. (#13238) 2016-12-18 01:24:41 +03:00
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
cad400b6ff Added rob006 to changelog line 2016-12-17 16:39:47 +03:00
a7f0a3c147 Merge branch 'master' into fix-numbervalidator-comma-decimal-separator 2016-12-17 16:39:00 +03:00
08054bba6d Fix tests. (#13227) 2016-12-17 16:37:31 +03: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
cb52c42cf5 more details about PHP 5 and 7 compatibility regarding Throwable 2016-12-17 00:43:48 +01: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
a3b6dfbb7b Catch \Throwable in critical places
Added catch `\Throwable` to be compatible with PHP7.
Added it in cases where object state needs to be kept consistent.

Mainly on transactions but also some other places where some values are
reset before exiting.

Most of them could probably be refactored by using `finally` in 2.1, as
that requires PHP 5.5.

fixes #12619
2016-12-16 02:20:02 +01:00
e963b2af64 fix ArrayHelper::getValue() to throw exception on invalid input
fixes #12927
2016-12-16 01:49:37 +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
8ba78398c7 Handle root tag set to null or false or empty. Fixed version in @since 2016-12-16 02:23:08 +03:00