7120 Commits

Author SHA1 Message Date
661e672554 Fixed inconsistency with dots in translation added in #13286 (#13290) [skip ci] 2016-12-30 00:27:20 +07:00
076661c390 Added @dynasource to composer.json 2016-12-29 12:59:21 +02:00
765588933b Added translation for unique validator (#13286) [skip ci] 2016-12-28 22:45:42 +07:00
30e599b94f updated docs about deleteALl() and updateAll() 2016-12-27 21:35:45 +01:00
210cf36750 Fixes #12703: Fixed StringHelper::truncateHtml() non functional when dom PHP extension is disabled 2016-12-26 23:15:19 +07:00
c33583aede Fixed naming for #13214 as suggested by Paul 2016-12-26 22:42:14 +07:00
56583c37e3 CHANGELOG merge fix 2016-12-26 22:27:32 +07:00
c175c6b73a Merge branch 'master' into xml-formatter-root-and-object-tags 2016-12-26 18:17:15 +03:00
194577c55e Code style fix 2016-12-26 15:39:33 +02:00
e13a18ba8b added missing version information
fixes #13259
2016-12-20 22:40:44 +01:00
ed82ba4ee2 Revert "fix ArrayHelper::getValue() to throw exception on invalid input"
This reverts commit e963b2af6486dd79c26a460148c63efb580f53fc because of BC breaking reported in #13248.

To know more about the reasons of commit revertinvg, visit https://github.com/yiisoft/yii2/issues/13248
2016-12-20 12:39:25 +02:00
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
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
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
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
bd552113b2 Fixes #11906: Updated yii\widgets\MaskedInput inputmask dependency to ~3.3.3 2016-12-18 01:25:55 +03:00
40143239b2 Fixes #13235: Update persian (farsi) messages and some translate it (#13237) 2016-12-17 22:01:49 +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
4e32fb1eba Enhanced PHPDocs 2016-12-17 12:44:39 +02:00
5795b3937e Added rbac\BaseManager::hasNoAssignments() 2016-12-17 12:37:36 +02:00
7b5efe5161 Enhanced handleAction() in yii.js
Closes #12737
2016-12-17 10:17:30 +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
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
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
2f7c1b36b5 Fixes #12419: Added ability to remove root tag and object tags for yii\web\XmlResponseFormatter 2016-12-16 00:27:31 +03: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
1dcc6042b6 Initial work on #12419 2016-12-16 00:12:32 +03: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
3e03237713 Merge branch 'master' into query-filter-having 2016-12-15 18:04:05 +03:00