6883 Commits

Author SHA1 Message Date
088f15ee67 Cosmetic changes in DocBlocks (#12788) [skip ci] 2016-10-20 00:31:25 +03:00
8a452bcc2e Fixes #10587: Latest used controller instance was not available in Response::EVENT_AFTER_SEND handler 2016-10-19 12:02:55 +03:00
a42fd9aed7 Replaced " to ` in DocBlocks for readability 2016-10-18 23:18:05 +03:00
4290263e21 Fixes #12761: Added exact command to upgrade framework via Composer to UPGRADE 2016-10-18 14:38:21 +03:00
3c1eb55f55 PHPDoc @return fix for insert() (#12757) [skip ci] 2016-10-17 16:36:25 +03:00
6fa828805a Force AJAX validation on form submit
When AJAX validation in enabled, `yii.activeForm.js` will run it forcefully on form submit to display all possible errors

Fixes #12499
2016-10-16 12:37:59 +03:00
17df7577a5 Fixed URI component decoding with + (plus) sign
Fixes #11921
2016-10-16 10:05:45 +03:00
9d98d03ec5 Update CHANGELOG.md 2016-10-14 18:00:03 +03:00
1bd13e233b afterInit event for yiiActiveForm
https://github.com/yiisoft/yii2/issues/12744
2016-10-14 17:17:56 +03:00
1ab204e481 Fixed race condition in yii.js ajax prefilter
Closes #10358
2016-10-14 15:37:28 +03:00
3e1588b5b9 Added unit tests for #9561
canGetProperty and canSetProperty on ActiveRecord checks attributes

close #11087
2016-10-13 13:18:37 +02:00
64ed8c9112 added note about timezone conversion to DateValidator
fixes #11692
2016-10-13 13:06:50 +02:00
1414b18835 Add short validator names time and datetime.
These map to `DateValidator` with `$type` set to
TYPE_TIME and TYPE_DATETIME.

close #12198
2016-10-13 12:30:54 +02:00
8d5daef88e more direct link in DbSession comment 2016-10-13 12:28:52 +02:00
e23a419732 PHPDocs updated 2016-10-12 20:29:32 +03:00
beaf63ec41 Fix documentation grammar (#12728) [skip ci] 2016-10-12 16:21:55 +03:00
4b43183df7 Fixes #10563: Fixed forming Content-Disposition header for file downloads (#12721) 2016-10-12 11:41:21 +03:00
677b55475b Reverted accidental commit 2016-10-12 00:38:54 +03:00
75e43ccc3a Fixes regression introduced by #12576. Closes #12576 2016-10-12 00:38:04 +03:00
2ffa670885 add functions for filtering 2016-10-12 00:07:45 +03:00
6100849e2f Documentation ActiveQueryInterface::one() (#12682)
* Documentation ActiveQueryInterface::one()

Currently there is an issue when using `BaseActiveRecord::findOne()` because it uses the return type for `ActiveQueryInterface::one()` which is inherited from `QueryInterface::one()` which returns `array|false`

https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/db/BaseActiveRecord.php?selectedAuthors%5B0%5D=angeldelcaos%40gmail.com&orderField=path&order=asc&honorSelectedPaths=0

* null -> `null`
2016-10-11 15:00:45 +02:00
2a9a997277 Added support for wildcards for optional at yii\filters\auth\AuthMethod 2016-10-10 12:24:04 +03:00
63f95fa3ad Fixes #11309: Added yii\web\Request::getHostName() method that returns hostname of current request 2016-10-07 01:00:14 +03:00
89bc2918d3 Make 'safe' validator work on write-only properties
fixes #12605
2016-10-06 14:44:11 +02:00
af32a48783 Fixed duplication in CHANGELOG 2016-10-05 12:01:15 +03:00
5b7a70c7a4 Reordered CHANGELOG 2016-10-05 11:53:26 +03:00
2d84f72e52 Reverted mis-paste during mege 2016-10-05 11:45:37 +03:00
76ced661b2 DetailView captionOptions & contentOptions attributes 2016-10-05 11:43:21 +03:00
483e09dc4a Merge pull request #12672 from rob006/patch-3
Fix phpdoc in `yii\helpers\BaseHtml`
2016-10-05 11:39:06 +03:00
105b093225 Merge pull request #12668 from rob006/patch-2
Fix `yii\db\Query::having` phpdoc [skip ci]
2016-10-05 11:35:27 +03:00
68eb1268a3 Fix phpdoc in yii\helpers\BaseHtml 2016-10-04 23:08:39 +02:00
eb8809b8e1 Improve yii\widgets\ActiveField::widget() performance (#12669)
See https://github.com/yiisoft/yii2/pull/12632#discussion_r81110938
2016-10-04 23:54:46 +03:00
e7195da4b3 Fix yii\db\Query::having phpdoc [skip ci] 2016-10-04 21:24:52 +02:00
6519885738 Merge branch 'master' of github.com:yiisoft/yii2 2016-10-04 18:11:13 +03:00
b1a81203e3 fix CHANGELOG.md 2016-10-04 18:11:02 +03:00
7ca2260702 UrlManager::normalizer creation fixed 2016-10-04 17:02:57 +03:00
e6eed9a7c9 yii\db\mssql\QueryBuilder - TYPE_TEXT mapped to NVARCHAR(MAX) 2016-10-04 16:42:05 +03:00
f5d5d6f264 CHANGELOG.md fix 2016-10-04 16:20:56 +03:00
aa4b49a2e6 Fixes #11245: Added yii\rbac\ManagerInterface::getRolesByRole($roleName) method. Implement to DbManager and PhpManager 2016-10-04 14:44:18 +03:00
7137d676fb Merge pull request #12663 from githubjeka/issue-11835
MSSQL: Fix to NTEXT is being deprecated
2016-10-04 13:23:10 +03:00
6f49cef800 update upgrade file 2016-10-04 13:02:05 +03:00
c6dbf37139 Updated changelog & upgrade files 2016-10-04 12:29:39 +03:00
a89623ed7b updated changelog 2016-10-04 10:31:13 +03:00
4d43ec3867 NTEXT is being deprecated in MSSQL 2016-10-04 10:23:04 +03:00
95152f3c2c Fixed consistency of indexBy handling for yii\db\Query::column()
Closes #12649
2016-10-03 11:17:32 +03:00
32f42e3fa6 Allow wildcards for reloadble CSS files 2016-10-01 22:04:52 +03:00
1496c8cde3 Reordered CHANGELOG 2016-09-30 13:10:17 +03:00
ea0c6d7a1a yii.reloadableScripts now support wildcards with * character
Closes #11494
2016-09-30 13:08:14 +03:00
fc41a1c04b Prevent reading property of undefined in updateInputs()
Closes #11352
2016-09-30 10:42:46 +03:00
81df45014c Fixed custom widget validation (#12629) (#12632) 2016-09-29 11:58:05 +03:00