Klimov Paul
f617618172
yii\db\BaseActiveRecord::getAttributeHint() added
2015-04-22 13:10:25 +03: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
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
Qiang Xue
d8848ebf25
Doc improvement [skip ci]
2015-04-12 20:52:05 -04:00
Carsten Brandt
ba0fd22c66
Update ColumnSchema.php
...
added comment
2015-04-13 00:35:41 +02:00
Jan Waś
698bfddeed
Fixes #7847 : yii\db\ColumnSchema was typecasting numerics to strings with incorrect decimal separator for some locales
2015-04-13 00:35:17 +03:00
Alexander Makarov
b806fc7108
Corrected fix for #8032
2015-04-12 12:17:35 +03:00
Alexander Makarov
8ac5776a0d
Changed back usage of attr() to usage of prop() for checkboxes
2015-04-12 11:46:37 +03:00
Carsten Brandt
5306cac4b9
added support for subqueries to simple conditions
...
fixes #8027
2015-04-12 01:45:21 +02:00
Paul Klimov
52407aed53
CHANGELOG entry about #7918 restored
2015-04-11 23:30:06 +03:00
Paul Klimov
3a90be06d6
Merge branch '3376-each-validator'
...
Conflicts:
framework/CHANGELOG.md
2015-04-11 14:13:55 +03:00
Paul Klimov
d594ab0b03
yii\validators\EachValidator uses single generic error message
2015-04-11 13:59:02 +03:00
mohammad hosain
f704f41630
Update yii.php
2015-04-11 14:38:20 +04:30
Qiang Xue
fdb730a12a
syntax fix [skip ci]
2015-04-10 21:51:33 -04:00
ChristopheBrun
82033125c4
Fixes #8032 : yii\rbac\PhpManager::updateItem() was unable to rename item updated
2015-04-11 01:24:32 +03:00