Carsten Brandt
462bdbfad2
moved CHANGLOG line which belongs to 2.0.4 instead of 2.0.3
...
698bfddeed
2015-04-24 11:43:10 +02:00
Carsten Brandt
5bc9017267
Update CHANGELOG.md
...
added line for #8158
2015-04-22 23:56:47 +02:00
EliasZ
70abb9b31c
add isset check on index which might not be set
...
close #8158
2015-04-22 22:25:00 +02:00
Klimov Paul
f2f211f610
Fallback for object containing \Closure added to yii\helpers\VarDumper::export()
2015-04-22 18:13:40 +03:00
Klimov Paul
91a6e4bc8e
Fixed incorrect URL config processing at yii\web\Application::handleRequest() and yii\widgets\Menu::items if route element is not a first one
2015-04-22 17:43:15 +03:00
Klimov Paul
4672a8c83f
Doc comments at yii\validators\Validator::isEmpty() fixed
2015-04-22 16:32:37 +03:00
Klimov Paul
1c1cfd5e2d
yii\db\BaseActiveRecord::getAttributeLabel() refactored to be recursive
2015-04-22 14:19:46 +03:00
Klimov Paul
4482d9f8f3
Merge branch 'master' of github.com:yiisoft/yii2
2015-04-22 13:10:45 +03:00
Klimov Paul
f617618172
yii\db\BaseActiveRecord::getAttributeHint() added
2015-04-22 13:10:25 +03:00
Alexander Makarov
0645622d49
Merge pull request #8151 from nkovacs/following
...
Grammar fix: followings -> following [skip ci]
2015-04-21 17:58:03 +03:00
Carsten Brandt
5635a97fa2
Update BaseActiveRecord.php
...
more explicit code for #8149
2015-04-21 16:50:29 +02:00
Klimov Paul
6d96d3cbee
Fixed yii\db\BaseActiveRecord::updateCounters() fails for new record saved with counter attribute not set
2015-04-21 16:23:00 +03:00
Nikola Kovacs
f11bdfa2a7
Grammar fix: followings -> following
2015-04-21 15:08:16 +02:00
Jan Was
5f099b3f8d
Merge branch 'master' into 7374-inserting-ar-without-values
2015-04-21 09:49:46 +02:00
Paul Klimov
30234292ac
Merge pull request #8071 from klimov-paul/5042-insert-returning
...
Insert into returning alternative
2015-04-21 10:33:01 +03:00
Qiang Xue
0756d167a0
Fixes #8055 : should take precedence over
2015-04-20 21:46:26 -04:00
Qiang Xue
631d0ffb66
Merge pull request #8055 from Agrumas/patch-2
...
[REST] extraPatterns should take precedence over patterns
2015-04-20 21:44:20 -04:00
Alexander Makarov
5dd3a14141
Fixes #7851 : removed incorrect phpdoc lines
2015-04-21 00:34:34 +03:00
Alexander Makarov
28dce6c9b6
Fixes #7656 : Fixed yii\rbac\DbManager::getRolesByUser() and yii\rbac\PhpManager::getRolesByUser() to return roles only
2015-04-21 00:29:04 +03:00
Carsten Brandt
1cfc40d6e5
link to the guide on quoting from query phpdoc
...
fixes #8141
2015-04-20 23:24:01 +02:00
Carsten Brandt
10d0ad70af
close output buffer for widget on exception
...
while running bootstrap extension unit tests which were failing first
I found phpunit complaining about risky tests because output buffers
were not closed correctly. This change fixes this problem.
close #7844
2015-04-20 15:17:51 +02:00
Klimov Paul
8caaba0168
Allow specification of the $key as an array at yii\helpers\ArrayHelper::getValue()
2015-04-20 15:52:32 +03:00
Paul Klimov
1981a620d1
Merge pull request #7660 from creocoder/response-optimization
...
Light Response refactoring
2015-04-20 15:10:18 +03:00
Carsten Brandt
851a914f67
phpdoc tweak: Model::scenarios()
2015-04-20 13:08:04 +02:00
Klimov Paul
91147996d5
Merge branch 'master' of github.com:yiisoft/yii2
2015-04-20 13:27:58 +03:00
Klimov Paul
9c40341d03
'links' and 'meta' envelope names are now configurable at yii\rest\Serializer
2015-04-20 13:27:29 +03:00
Carsten Brandt
296e5816d8
typo #8113
2015-04-20 12:25:19 +02:00
Klimov Paul
4ac64e47f5
Issue #6442 added to CHANGELOG.md
2015-04-20 13:14:03 +03:00
Klimov Paul
a3df232655
Merge branch 'improved-mkdir-error'
...
Conflicts:
framework/CHANGELOG.md
2015-04-20 13:13:03 +03:00
Klimov Paul
95d65b4958
added missing @since tag
2015-04-20 12:56:41 +03:00
Klimov Paul
55f4342b5c
Merge branch 'master' of github.com:yiisoft/yii2 into 1468-attribute-hint
2015-04-20 12:43:27 +03:00
Klimov Paul
427ee8dcbf
Automatic encoding at BaseHtml::activeHint() removed
2015-04-20 12:42:41 +03:00
Klimov Paul
a0b8f74d2e
yii\db\Schema::insert() primary key value composition fixed
2015-04-20 11:48:51 +03:00
Klimov Paul
aa9399c6c0
Merge branch 'master' of github.com:yiisoft/yii2 into 5042-insert-returning
2015-04-20 11:23:38 +03:00
Klimov Paul
6751a80ea0
yii\db\Schema::insert() now returns primary key value for empty sequence
2015-04-20 11:22:58 +03:00
Agrumas
82c8f3101e
Updated Lithuanian translation
2015-04-19 16:13:31 +03:00
Agrumas
ef912f4e43
[REST] specifying a higher priority rule via extraPatterns
2015-04-19 15:19:33 +03:00
Klimov Paul
85ca8c3712
Added ability to specify hints for model attributes
2015-04-17 14:16:28 +03:00
Alexander Makarov
59a9f47f8e
Fixed last page label
2015-04-17 11:52:32 +03:00
Alexander Makarov
a733ecd40c
yii\widgets\LinkPager::$firstPageLabel and yii\widgets\LinkPager::$lastPageLabel now could be set to true in order to use page number as label
2015-04-17 11:51:48 +03:00
Klimov Paul
83e2603985
Restriction on inline model method usage at yii\validators\EachValidator removed in case of usage inside model scope
2015-04-16 11:32:02 +03:00
Kirsa Denis
cafd135022
Fixes #8064 : Added ability to remove containing menu tag by setting yii\widgets\Menu::$options['tag'] to false
2015-04-15 13:21:14 +03:00
Carsten Brandt
f99f333218
added note to docs about #8085
2015-04-15 10:03:42 +02:00
Klimov Paul
bb4bed4833
Fixed yii\data\ArrayDataProvider::getKeys() return wrong when yii\data\ArrayDataProvider::$allModels contain integer key
2015-04-14 17:07:16 +03:00
Klimov Paul
b8081b59b3
Fixed yii\db\Query::count() fails for query containing 'having' without 'group by'
2015-04-14 16:11:07 +03:00
Klimov Paul
767276362d
Redundant typecast at yii\db\Schema::insert() removed
2015-04-14 12:31:32 +03:00
Klimov Paul
b05ea3d69e
PK typecast at yii\db\ActiveRecord restored
2015-04-14 12:00:22 +03:00
Klimov Paul
60aa5f3eb9
Redundant checks at yii\db\oci\Schema::insert() and yii\db\pgsql\Schema::insert() removed
2015-04-14 11:59:58 +03:00
Paul Klimov
31ef4c4504
Command execution at yii\db\oci\Schema::insert() fixed
2015-04-13 17:49:14 +03:00
Paul Klimov
4e8ee7b001
Use RETURNING for inserts for pgsql and oci to support PKs with a custom default value expression
2015-04-13 17:11:00 +03:00