Klimov Paul
3ff59d37ee
merge fix
7 years ago
Klimov Paul
fcff67548c
`className()` usage remove
7 years ago
Klimov Paul
a5b9af951e
merge fix
7 years ago
SilverFire - Dmitry Naumenko
f9fd4da8de
Fixed MySQL 5.7 compatibility
...
’’’
General error: 3065 Expression #1 of ORDER BY clause is not in SELECT list, references column information_schema.kcu.ORDINAL_POSITION
’’’
7 years ago
Klimov Paul
83fa82aceb
`Requst::getRawBody()` usage removed
7 years ago
Paul Klimov
e0a7baf631
Move uploaded files inside Request ( #14801 )
...
Uploaded Files management moved to `Request`
7 years ago
SilverFire - Dmitry Naumenko
a86c67ddb3
Reordered CHANGELOG
7 years ago
SilverFire - Dmitry Naumenko
20302c873a
minor
7 years ago
SilverFire - Dmitry Naumenko
f8a8f1f381
Fixed CHANGELOG
7 years ago
Sam
04281cba8c
Fixes #14793 : Module `->get()` and `->has()` methods now check parent modules and fall back to application if nothing found
7 years ago
SilverFire - Dmitry Naumenko
1ce796ef0f
Removed ability to define a hostname as trusted because of possible security issues
...
Closes #14691
7 years ago
SilverFire - Dmitry Naumenko
5aedb9e040
Fixed typo in PHPDocs
7 years ago
Klimov Paul
e7943971d2
`yii\web\Request::getBodyParams()` now generates 415 'Unsupported Media Type' error on invalid or missing 'Content-Type' header
7 years ago
Alexander Makarov
2b6e72f88f
Added missing ,
7 years ago
Carsten Brandt
ee74257c07
adjust framework composer.json after #14338
7 years ago
Carsten Brandt
58d1521280
CHANGELOG for #14620
...
Implemented in
- 3a8feb17a8
- 70ad9f730b
7 years ago
Gediminas Šedbaras
4c61d96786
Corrected return type of BaseActiveRecord::findOne ( #14798 )
7 years ago
Paul Klimov
e703645b4d
Change `RequestParserInterface::parse()` to accept whole `Request` instance ( #14784 )
...
`RequestParserInterface::parse()` signature changed to accept `Request` instance
7 years ago
SilverFire - Dmitry Naumenko
18689c5ed1
Added missing bracket
7 years ago
SilverFire - Dmitry Naumenko
3a8feb17a8
Updated `yii\web\View` to register JS in jQuery 3.0 compatible way
7 years ago
SilverFire - Dmitry Naumenko
70ad9f730b
Updated yii.activeForm to follow jQuery 3.0 API changes
7 years ago
SilverFire - Dmitry Naumenko
34cc2dee8f
Fixes #14294 : Added `InputWidget::renderInputHtml()` to move behavior described in `InputWidget` class docs to the class itself
...
This reverts commit b0162d3a48
.
Closes #14294
7 years ago
SilverFire - Dmitry Naumenko
85458514bb
Added note to UPGRADE.md regarding #14499
...
Fixes #14782
7 years ago
Carsten Brandt
8861aab2ac
more details in upgrade notes
7 years ago
Carsten Brandt
5ccbe85ffa
improve upgrade instruction for AR::instance()
...
issue #14767
7 years ago
Klimov Paul
5c7bdb32a6
fix unit tests
7 years ago
Klimov Paul
257604f19e
`HeaderCollection::fromArray()` improved to handle header name different case
7 years ago
Klimov Paul
37580db6b1
unit test fix
7 years ago
Klimov Paul
722022f744
HTTP headers checks refactored to use PSR-7 abstraction
7 years ago
Alexander Makarov
3c16faa5b0
Fixes #14761 : Removed Yii autoloader in favor of Composer's PSR-4 implementation
7 years ago
Carsten Brandt
36b535c26b
Fixes #13254 : Made `yii\helpers\StringHelper` and `yii\validators\StringValidator` independent of `Yii::$app` instance
7 years ago
Klimov Paul
2e01076abc
`yii\filters\ContentNegotiator` now generates 406 'Not Acceptable' instead of 415 'Unsupported Media Type' on content-type negotiation fail
7 years ago
Klimov Paul
89c14b7dea
Fixed `yii\filters\VerbFilter` uses case-insensitive comparison for the HTTP method name
7 years ago
Alexander Makarov
2e267461a1
Another optimization for #11328
7 years ago
Alexander Makarov
4f9c642d74
Minor optimization for #11328
7 years ago
Klimov Paul
e69adc19a7
Fixed `yii\widgets\ActiveField::$options` does not support 'class' option in array format
7 years ago
Paul Klimov
e82b9c72f3
Fix #11328 PSR-7 HTTP Message Integration ( #14701 )
...
Add PSR-7 'HTTP Message'
7 years ago
Carsten Brandt
9d854c0f25
improved docs for #14273
7 years ago
Sébastien Adam
8700fd701b
Update French translation [skip ci]
7 years ago
Erkan Karataş
dcfc75fffa
Added bg language message [skip ci]
7 years ago
Dmitry Dorogin
9b01ca275f
Fixes #14273 : yii\log\Target::$enabled now supports callable value ( #14539 )
...
* Fixes #14273 : yii\log\Target:: now supports callable value
* added empty line in changelog [skip ci]
* getter and setter
* Update Target.php
7 years ago
Klimov Paul
9e6f9e3b6d
Fixed serialization of `yii\db\Connection` instance closes database connection
7 years ago
Carsten Brandt
97923ac783
ensure backwards compatibiliy with migration without $compact
...
See https://github.com/yiisoft/yii2/pull/14474#discussion_r135237472
7 years ago
Carsten Brandt
711498f93a
Cache user assignments to avoid unnecessary DB queries ( #14696 )
...
* Cache user assignments to avoid unnecessary DB queries
alternative to #9138 and #10981 , only cache on `checkAccess` call which is usually
called on every request. Cache is not necessary in RBAC management.
Similar to #14061 but includes proper cache invalidation and test.
`getAssignments()` always queries the DB. The cache is only applied on
`checkAccess` calls, and invalidated as soon as the RBAC structure is
modified through the manager component (verified by the test case).
Regarding [concerns of memory usage](https://github.com/yiisoft/yii2/pull/14061#issuecomment-297982502 )
if used in batch mode on multiple users, you can call
`invalidateCache()` method if this really causes a problem.
fixes #7743
close #9138
close #14061
close #10981
See also
- https://github.com/yiisoft/yii2/issues/7626#issuecomment-77745166
- https://github.com/yiisoft/yii2/pull/14061#issuecomment-319645488
* improve test naming
* fix tests
* fix assignment cache for non-scalar user-ids
7 years ago
Kolyunya
f866edcfba
Fix console cache controller
...
Fixed a bug in a `yii\console\controllers\CacheController` when caches
defined via a closure were not detected.
fixes #13969
close #14586
7 years ago
Carsten Brandt
349589bf3b
fixed typo in grid view docs
...
fixes #14736
7 years ago
Klimov Paul
08e5e1e71b
`CHANGELOG.md` fix
7 years ago
Paul Klimov
3e6f8b1c19
Fix #13702 PSR Logger ( #14611 )
...
Refactor `Logger` to be PSR compatible extracting Profiler
7 years ago
Paul Klimov
d68789a195
Fixes #13779 , fixes #5786
...
- #13779 : Fixed `yii\db\ActiveRecord::joinWith()` unable to use relation defined via attached behavior.
- #5786 : Allowed to use custom constructors in ActiveRecord-based classes.
7 years ago
Paul Klimov
4d9204d9f3
Fixes #879 : Caching implementation refactored according to PSR-16 'Simple Cache' specification
7 years ago