0a7dbe3df5
Added decision on global error handler
2017-09-25 17:56:28 +03:00
ab8c54f12a
Fixes #14864 : Ability to use dependencies in constructor of migrations
2017-09-23 01:24:18 +02:00
7ff12aac42
Added details about backwards compatibility
...
Thanks, Symfony team!
2017-09-22 23:21:32 +03:00
9c83703a06
Merge pull request #14861 from hableel/patch-2
...
Arabic translation for CompareValidator messages
2017-09-21 00:12:45 +03:00
71f1be9243
Arabic translation for CompareValidator messages
...
Add missing CompareValidator translation
2017-09-20 14:37:28 +03:00
5522d1909c
Clarify how joinWith()/innerJoinWith() deals with eager loading [skip ci]
2017-09-19 23:43:23 +02:00
d4780559c9
Fixes #14765 : RBAC: add index on user_id
column in auth_assignment
table for performance reasons
2017-09-19 23:35:46 +02:00
03aac69a9b
guide fix
2017-09-19 13:20:13 +03:00
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
’’’
2017-09-16 08:52:47 +03:00
a86c67ddb3
Reordered CHANGELOG
2017-09-13 22:49:35 +03:00
63ec8d96be
Merge branch 'kidol-filemutex'
...
Close #13258
Close #12860
2017-09-13 22:47:02 +03:00
20302c873a
minor
2017-09-13 22:46:11 +03:00
f8a8f1f381
Fixed CHANGELOG
2017-09-13 22:12:30 +03:00
d599568154
Merge branch 'master' into kidol-filemutex
...
Conflicts:
framework/mutex/FileMutex.php
2017-09-13 22:05:40 +03:00
04281cba8c
Fixes #14793 : Module ->get()
and ->has()
methods now check parent modules and fall back to application if nothing found
2017-09-13 01:32:57 +03:00
b6b02ff154
Merge pull request #14745 from cebe/migration-bc
...
ensure backwards compatibiliy with migration without $compact
2017-09-13 00:10:57 +03:00
1ce796ef0f
Removed ability to define a hostname as trusted because of possible security issues
...
Closes #14691
2017-09-12 23:28:29 +03:00
5aedb9e040
Fixed typo in PHPDocs
2017-09-12 16:55:29 +03:00
2b6e72f88f
Added missing ,
2017-09-12 00:40:52 +03:00
ee74257c07
adjust framework composer.json after #14338
2017-09-11 23:09:35 +02:00
58d1521280
CHANGELOG for #14620
...
Implemented in
- 3a8feb17a8213362d79bfbb32dc89621c1de42f1
- 70ad9f730b8cef64f7243895f737f0df856469bc
2017-09-11 23:05:25 +02:00
4c61d96786
Corrected return type of BaseActiveRecord::findOne ( #14798 )
2017-09-11 22:31:00 +02:00
40ae296b82
Fixed broken test
2017-09-11 12:49:46 +03:00
f9b0090a7d
Added more tests for FileValidator to make sure it works as should
...
Closes #14778
2017-09-09 16:13:10 +03:00
adc58f0b67
Allowed jQuery 3.2 in composer.json
2017-09-09 15:46:47 +03:00
18689c5ed1
Added missing bracket
2017-09-09 15:43:56 +03:00
3a8feb17a8
Updated yii\web\View
to register JS in jQuery 3.0 compatible way
2017-09-09 15:39:11 +03:00
70ad9f730b
Updated yii.activeForm to follow jQuery 3.0 API changes
2017-09-09 14:59:02 +03:00
34cc2dee8f
Fixes #14294 : Added InputWidget::renderInputHtml()
to move behavior described in InputWidget
class docs to the class itself
...
This reverts commit b0162d3a48150be2394dbd30147b3019a433b3a2.
Closes #14294
2017-09-09 14:34:01 +03:00
85458514bb
Added note to UPGRADE.md regarding #14499
...
Fixes #14782
2017-09-09 13:22:10 +03:00
8861aab2ac
more details in upgrade notes
2017-09-08 17:10:16 +02:00
5ccbe85ffa
improve upgrade instruction for AR::instance()
...
issue #14767
2017-09-08 16:36:42 +02:00
36b535c26b
Fixes #13254 : Made yii\helpers\StringHelper
and yii\validators\StringValidator
independent of Yii::$app
instance
2017-09-07 22:32:07 +03:00
61996979db
Removed commented out code
...
See e69adc19a7 (commitcomment-24119433)
2017-09-06 18:54:04 +03:00
e69adc19a7
Fixed yii\widgets\ActiveField::$options
does not support 'class' option in array format
2017-09-06 17:43:48 +03:00
0faeead0df
improved docs for #14273
2017-09-06 09:36:25 +02:00
9d854c0f25
improved docs for #14273
2017-09-06 09:32:50 +02:00
8700fd701b
Update French translation [skip ci]
2017-09-06 01:49:43 +03:00
dcfc75fffa
Added bg language message [skip ci]
2017-09-05 13:23:43 +03:00
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
2017-09-01 23:49:53 +02:00
a4bd0edeaa
unit test for yii\base\Widget
added
2017-09-01 17:10:32 +03:00
9e6f9e3b6d
Fixed serialization of yii\db\Connection
instance closes database connection
2017-09-01 13:30:56 +03:00
97923ac783
ensure backwards compatibiliy with migration without $compact
...
See https://github.com/yiisoft/yii2/pull/14474#discussion_r135237472
2017-09-01 11:07:52 +02:00
431c1b01a7
added test case for merging empty arrays
...
issue #14617
2017-09-01 10:58:45 +02:00
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
2017-09-01 10:50:36 +02:00
f7942c0398
make cache test more robust
2017-09-01 10:03:30 +02:00
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
2017-09-01 09:34:56 +02:00
349589bf3b
fixed typo in grid view docs
...
fixes #14736
2017-09-01 09:20:38 +02:00
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.
2017-08-29 15:13:28 +03:00
dc623964d1
Update start-workflow.md ( #14730 ) [skip ci]
...
update "组建" -> "组件"
2017-08-28 19:03:43 +03:00