Nikola Kovacs
f5beaf3edf
Make validator getClientOptions public
...
This allows implementing custom client-side validation
without extending every validator.
Fixes #11163
close #13145
8 years ago
Klimov Paul
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
8 years ago
Boudewijn Vahrmeijer
d295812695
upgrade file updated
8 years ago
Carsten Brandt
af0119a910
Update UPGRADE.md
...
fixes #12850
8 years ago
Basil
3a2b4e445a
Update UPGRADE.md ( #12800 ) [skip ci]
...
The newest composer version should be part of the upgrade guide.
8 years ago
LAV45
04848a6c3b
Fix yii\rest\Serializer serialize ArrayDataProvider with pagination bug
...
fixes #11987
close #12683
8 years ago
Carsten Brandt
69e23f9d12
fixed UPGRADE.md duplicate headline
8 years ago
Alexander Makarov
4290263e21
Fixes #12761 : Added exact command to upgrade framework via Composer to UPGRADE
8 years ago
SilverFire - Dmitry Naumenko
e6eed9a7c9
yii\db\mssql\QueryBuilder - TYPE_TEXT mapped to NVARCHAR(MAX)
8 years ago
Evgeniy Tkachenko
aa4b49a2e6
Fixes #11245 : Added `yii\rbac\ManagerInterface::getRolesByRole($roleName)` method. Implement to `DbManager` and `PhpManager`
8 years ago
githubjeka
6f49cef800
update upgrade file
8 years ago
githubjeka
c6dbf37139
Updated changelog & upgrade files
8 years ago
Klimov Paul
ed0603b706
Fixed `yii\web\Request::getBodyParams()` does not pass full 'content-type' value to `yii\web\RequestParserInterface::parse()`
8 years ago
Bizley
3deb6900b8
Yii 2 name fix ( #12448 )
...
To match Documentation Style Guide
> Yii 2.0 or Yii 2 (not Yii2 or Yii2.0)
8 years ago
Alexander Makarov
0061692e60
Replaced unnecessary double quotes with single quotes
8 years ago
Angel Guevara
8c240ed067
Fixes #11683 : Fixed fixture command to work with short syntax. `yii fixture "*, -User"` should be used instead of `yii fixture "*" -User`
8 years ago
Kanin Peanviriyakulkit
c66121d2b6
update documentation fxp/composer-asset-plugin to version ^1.2.0 ( #11876 )
8 years ago
SilverFire - Dmitry Naumenko
38be74446e
Update PHPDoc, CHANGELOG, UPGRADE.md
8 years ago
Carsten Brandt
9f044b269f
update Upgrade notes
9 years ago
SilverFire - Dmitry Naumenko
62fdaa249f
updated UPGRADE.md
9 years ago
SilverFire - Dmitry Naumenko
37fdc8c5e5
Updated UPGRADE.md
9 years ago
SilverFire - Dmitry Naumenko
e2e4f76229
Updated SqliteQueryBuilderTest to work with Composite in conditions
...
Updated code style, CHANGELOG
9 years ago
SilverFire - Dmitry Naumenko
46a0f2ef50
Updated CHANGELOG
9 years ago
Dmitry Khlystov
7eff23886c
Fixes #10726 : Added `yii\rbac\ManagerInterface::canAddChild()`
9 years ago
Chris Harris
5c4001d84b
Schema Builder Patterns Excel document in /docs folder (temp storage).
...
Fixed some schema builder patterns.
Added more information to upgrade docs.
9 years ago
SilverFire - Dmitry Naumenko
f3b02186b0
Updated UPGRADE.md
9 years ago
SilverFire - Dmitry Naumenko
ab0bb308ba
Updated CHANGELOG and UPGRADE.md
9 years ago
Chris Harris
12d5f55a3e
Doc. formatting [skip ci]
9 years ago
Chris Harris
f7d23f662d
Made base `QueryBuilderTest` abstract to exclude it from tests. Added upgrade notes.
9 years ago
SilverFire - Dmitry Naumenko
367fddc1f3
ArrayHelper::index() - updated CHANGELOG, UPGRADE, guide
9 years ago
SilverFire - Dmitry Naumenko
5714ae576d
Updated CHANGELOG, UPGRADE.md
9 years ago
Carsten Brandt
997dfa3e11
review guide and UPGRADE file
9 years ago
SilverFire - Dmitry Naumenko
3a3fdd9665
Updated UPGRADE.md ( closes #9953 )
9 years ago
SilverFire - Dmitry Naumenko
011c1c65cc
Updated CHANGELOG, UPGRADE guide
9 years ago
Alexander Makarov
d17993c82c
ApcCache is now able to handle PHP 7 APCu
9 years ago
Alexander Makarov
cc4849a3ae
Renamed getUserIDsByRole → getUserIdsByRole for consistency
...
See 0e0079bcae (commitcomment-14953758)
9 years ago
Alexander Makarov
97b40bf705
Added note for upgrade guide
9 years ago
SilverFire - Dmitry Naumenko
9b1dfe54e9
Updated composer-asset-plugin requirement to `~1.1.1` all over the framework
9 years ago
Alexander Makarov
45432cc653
#9528 : added missing data provider for JSON formatter test, added changelog and upgrade note, added `@since` tag to new property
9 years ago
SilverFire - Dmitry Naumenko
9d79038485
Added requirement for ICU Data
9 years ago
SilverFire - Dima Naumenko
fb35afa1f3
Changelog and Updgrade docs update
9 years ago
lichunqiang
a349c1ee1b
Changed yii.confirm context bind
9 years ago
Jani Mikkonen
35466c0929
Update docs composer-asset-plugin [skip ci]
9 years ago
SilverFire - Dima Naumenko
503205295f
UPGRADE.md - added flush cache requirement
9 years ago
SilverFire - Dima Naumenko
e3c49f243c
UrlRule::placeholders, UrlRule::substitutePlaceholderNames are now protected. Updated PHPDoc and UPDATE.md
9 years ago
SilverFire - Dima Naumenko
a7f102fa94
Enh #10061 : `yii\helpers\BaseInflector::transliterate()` is now public
9 years ago
Alexander Makarov
1fbfbfdd9e
#10089
9 years ago
MaximAL
6abde25312
Typo fix
9 years ago
Carsten Brandt
1450e0f70f
Update UPGRADE.md
9 years ago
Marius Ebel
e056f17b38
- Updated upgrade log
9 years ago