f5beaf3edf
Make validator getClientOptions public
...
This allows implementing custom client-side validation
without extending every validator.
Fixes #11163
close #13145
2016-12-08 01:30:36 +01:00
c17766181f
Added QueryInterface::emulateExecution()
...
Added `QueryInterface::emulateExecution()`, which allows preventing of
the actual query execution.
This allows to cancel `DataProvider` preventing search query execution
in case search model is invalid:
``` php
public function search($params)
{
$query = Item::find();
$dataProvider = new ActiveDataProvider([
'query' => $query,
]);
$this->load($params);
if (!$this->validate()) {
$query->where('0=1');
$query->emulateExecution(); // No SQL execution will be done
return $dataProvider;
}
```
This also fix unecessary query in case of `via()` usage. See #12390 .
fixes #12390
fixes #6373
close #12708
2016-12-02 13:28:51 +01:00
d295812695
upgrade file updated
2016-12-01 17:24:41 +01:00
af0119a910
Update UPGRADE.md
...
fixes #12850
2016-10-27 08:55:55 +02:00
3a2b4e445a
Update UPGRADE.md ( #12800 ) [skip ci]
...
The newest composer version should be part of the upgrade guide.
2016-10-21 17:48:52 +03:00
04848a6c3b
Fix yii\rest\Serializer serialize ArrayDataProvider with pagination bug
...
fixes #11987
close #12683
2016-10-20 13:17:10 +02:00
69e23f9d12
fixed UPGRADE.md duplicate headline
2016-10-20 12:27:38 +02:00
4290263e21
Fixes #12761 : Added exact command to upgrade framework via Composer to UPGRADE
2016-10-18 14:38:21 +03:00
e6eed9a7c9
yii\db\mssql\QueryBuilder - TYPE_TEXT mapped to NVARCHAR(MAX)
2016-10-04 16:42:05 +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
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
ed0603b706
Fixed yii\web\Request::getBodyParams() does not pass full 'content-type' value to yii\web\RequestParserInterface::parse()
2016-09-05 14:49:16 +03:00
3deb6900b8
Yii 2 name fix ( #12448 )
...
To match Documentation Style Guide
> Yii 2.0 or Yii 2 (not Yii2 or Yii2.0)
2016-09-03 22:02:33 +02:00
0061692e60
Replaced unnecessary double quotes with single quotes
2016-07-29 22:56:38 +03:00
8c240ed067
Fixes #11683 : Fixed fixture command to work with short syntax. yii fixture "*, -User" should be used instead of yii fixture "*" -User
2016-07-07 01:30:06 +03:00
c66121d2b6
update documentation fxp/composer-asset-plugin to version ^1.2.0 ( #11876 )
2016-07-03 12:05:42 +02:00
38be74446e
Update PHPDoc, CHANGELOG, UPGRADE.md
2016-05-22 12:54:29 +03:00
9f044b269f
update Upgrade notes
2016-04-28 00:32:44 +02:00
62fdaa249f
updated UPGRADE.md
2016-04-26 00:30:02 +03:00
37fdc8c5e5
Updated UPGRADE.md
2016-04-26 00:21:44 +03:00
e2e4f76229
Updated SqliteQueryBuilderTest to work with Composite in conditions
...
Updated code style, CHANGELOG
2016-04-25 23:36:41 +03:00
46a0f2ef50
Updated CHANGELOG
2016-03-23 00:08:07 +02:00
0ba1f5bba5
Merge branch 'master' of git://github.com/yiisoft/yii2 into 9562-add-char-datatype
2016-03-21 04:01:31 -07:00
7eff23886c
Fixes #10726 : Added yii\rbac\ManagerInterface::canAddChild()
2016-03-15 22:43:27 +03:00
b8e44b2f47
Merge branch 'master' of git://github.com/yiisoft/yii2 into 9562-add-char-datatype
2016-03-14 05:33:41 -07:00
5c4001d84b
Schema Builder Patterns Excel document in /docs folder (temp storage).
...
Fixed some schema builder patterns.
Added more information to upgrade docs.
2016-03-14 05:29:42 -07:00
f3b02186b0
Updated UPGRADE.md
2016-03-10 18:13:46 +02:00
ab0bb308ba
Updated CHANGELOG and UPGRADE.md
2016-03-10 16:39:21 +02:00
12d5f55a3e
Doc. formatting [skip ci]
2016-02-26 23:29:02 -08:00
f7d23f662d
Made base QueryBuilderTest abstract to exclude it from tests. Added upgrade notes.
2016-02-26 05:27:31 -08:00
367fddc1f3
ArrayHelper::index() - updated CHANGELOG, UPGRADE, guide
2016-02-24 23:10:07 +02:00
5714ae576d
Updated CHANGELOG, UPGRADE.md
2016-02-13 12:39:29 +02:00
997dfa3e11
review guide and UPGRADE file
2016-02-12 15:56:54 +01:00
3a3fdd9665
Updated UPGRADE.md ( closes #9953 )
2016-02-11 16:52:39 +02:00
011c1c65cc
Updated CHANGELOG, UPGRADE guide
2016-01-23 10:42:56 +02:00
d17993c82c
ApcCache is now able to handle PHP 7 APCu
2015-12-15 03:48:44 +03:00
cc4849a3ae
Renamed getUserIDsByRole → getUserIdsByRole for consistency
...
See 0e0079bcae (commitcomment-14953758)
2015-12-14 12:34:00 +03:00
97b40bf705
Added note for upgrade guide
2015-12-08 20:54:55 +03:00
9b1dfe54e9
Updated composer-asset-plugin requirement to ~1.1.1 all over the framework
2015-11-30 08:28:48 +02:00
45432cc653
#9528 : added missing data provider for JSON formatter test, added changelog and upgrade note, added @since tag to new property
2015-11-25 05:52:15 +03:00
9d79038485
Added requirement for ICU Data
2015-11-19 17:26:01 +02:00
fb35afa1f3
Changelog and Updgrade docs update
2015-11-17 12:07:40 +02:00
a349c1ee1b
Changed yii.confirm context bind
2015-11-17 09:27:35 +02:00
35466c0929
Update docs composer-asset-plugin [skip ci]
2015-11-12 14:25:07 +02:00
503205295f
UPGRADE.md - added flush cache requirement
2015-11-12 12:20:41 +02:00
e3c49f243c
UrlRule::placeholders, UrlRule::substitutePlaceholderNames are now protected. Updated PHPDoc and UPDATE.md
2015-11-09 19:22:51 +02:00
a7f102fa94
Enh #10061 : yii\helpers\BaseInflector::transliterate() is now public
2015-11-05 16:07:33 +02:00
1fbfbfdd9e
#10089
2015-11-04 21:01:27 +03:00
6abde25312
Typo fix
2015-07-11 21:26:24 +03:00