SilverFire - Dmitry Naumenko
a86c67ddb3
Reordered CHANGELOG
7 years ago
SilverFire - Dmitry Naumenko
63ec8d96be
Merge branch 'kidol-filemutex'
...
Close #13258
Close #12860
7 years ago
SilverFire - Dmitry Naumenko
20302c873a
minor
7 years ago
SilverFire - Dmitry Naumenko
f8a8f1f381
Fixed CHANGELOG
7 years ago
SilverFire - Dmitry Naumenko
d599568154
Merge branch 'master' into kidol-filemutex
...
Conflicts:
framework/mutex/FileMutex.php
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
Dmitry Naumenko
b6b02ff154
Merge pull request #14745 from cebe/migration-bc
...
ensure backwards compatibiliy with migration without $compact
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
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
SilverFire - Dmitry Naumenko
40ae296b82
Fixed broken test
7 years ago
SilverFire - Dmitry Naumenko
f9b0090a7d
Added more tests for FileValidator to make sure it works as should
...
Closes #14778
7 years ago
SilverFire - Dmitry Naumenko
adc58f0b67
Allowed jQuery 3.2 in composer.json
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
Carsten Brandt
36b535c26b
Fixes #13254 : Made `yii\helpers\StringHelper` and `yii\validators\StringValidator` independent of `Yii::$app` instance
7 years ago
Alexander Makarov
61996979db
Removed commented out code
...
See e69adc19a7 (commitcomment-24119433)
7 years ago
Klimov Paul
e69adc19a7
Fixed `yii\widgets\ActiveField::$options` does not support 'class' option in array format
7 years ago
Carsten Brandt
0faeead0df
improved docs for #14273
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
a4bd0edeaa
unit test for `yii\base\Widget` added
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
431c1b01a7
added test case for merging empty arrays
...
issue #14617
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
Carsten Brandt
f7942c0398
make cache test more robust
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
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
Li Peng
dc623964d1
Update start-workflow.md ( #14730 ) [skip ci]
...
update "组建" -> "组件"
7 years ago
bscheshirwork
c1b5240888
Added PHPDoc @throws to yii\base\View::renderPhpFile() [skip ci]
7 years ago
bscheshirwork
8987957f06
Fixes #14697 : Fixed `console\widgets\Table` rendering when there's no data supplied
7 years ago
Klimov Paul
a72b768773
Fix request usage at `Cors`
7 years ago
Carsten Brandt
1278b018fa
Add IIS specific header to secure headers ( #14715 )
...
See https://github.com/yiisoft/yii2/issues/14400#issuecomment-324233065
for more details.
7 years ago
Francis Lavoie
9588c8f5a4
Fixes #13853 : Added `yii\db\Migration::$compact` as well as `yii\console\controllers\BaseMigrateController::$compact` to allow making the migration console output more compact
7 years ago
Robert Korulczyk
771a9faed2
Fixed invalid tests ( #14716 )
7 years ago
Klimov Paul
264831cf21
`BaseMigrateController::refreshDatabase()` renamed to `truncateDatabase()`
7 years ago
Carsten Brandt
98a71d8b0d
Adjust QueryInterface and QueryTrait types on where() ( #14714 )
...
these did never allow a string condition. Only SQL Query and AR implementation do.
fixes #14496
7 years ago
Carsten Brandt
f2e3312dbc
fix typo
7 years ago