Commit Graph

12222 Commits

Author SHA1 Message Date
Carsten Brandt
f99f333218 added note to docs about #8085 2015-04-15 10:03:42 +02:00
Qiang Xue
b002ad746d Finished pagination section [skip ci] 2015-04-14 23:26:02 -04: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
a8f4e8bee4 yiiunit\framework\db\QueryTest::testCount() fixed to be more generic 2015-04-14 16:58:46 +03:00
Klimov Paul
6bbdb36fac Unit test for yii\data\ArrayDataProvider added 2015-04-14 16:51:46 +03:00
Klimov Paul
2ebe355e8d yiiunit\framework\db\QueryTest fixed to be run for 'mysql' only 2015-04-14 16:28:13 +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
Alexander Makarov
68d287f5d4 Merge pull request #8076 from yiijan/docs-ja-0414
docs/guide-ja/tutorial-core-validators.md - updated [ci skip]
2015-04-14 12:20:06 +03:00
Nobuo Kihara
ae24deac32 docs/guide-ja/tutorial-core-validators.md - updated [ci skip] 2015-04-14 18:14:13 +09:00
Qiang Xue
1c2cbae22b Merge pull request #8059 from walkskyer/patch-2
Dirty Attributes
2015-04-13 21:49:02 -04:00
Carsten Brandt
bfb38c9938 added test group 2015-04-14 00:01:08 +02:00
Carsten Brandt
17011e48b4 added unit test for #8066 2015-04-13 18:21:19 +02:00
walkskyer
ad039eb37b Dirty Attributes
第一次翻译有些生硬请见谅
2015-04-13 11:06:31 +08: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
sergey144010
60aeb6cbac Russian translation of db-migrations.md 2015-04-13 01:01:24 +03: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
Qiang Xue
f964ae9005 Merge pull request #8045 from yiisoft/simple-subqueries
added support for subqueries to simple conditions
2015-04-11 22:52:35 -04: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
Alexander Makarov
7c2bd6fd72 Merge pull request #8039 from mohammadhosain/patch-1
Update yii.php [skip ci]
2015-04-11 13:19:43 +03:00
mohammad hosain
f704f41630 Update yii.php 2015-04-11 14:38:20 +04:30
Alexander Makarov
9bb04b2008 Merge pull request #8035 from yiijan/docs-ja-0411
Docs ja updated and reorganized [ci skip]
2015-04-11 12:22:20 +03:00
Nobuo Kihara
9d3c81e8d4 ja-doc-reorganized merged [ci skip] 2015-04-11 12:57:40 +09:00
Nobuo Kihara
19148fbc7d Merge branch 'master' of github.com:yiisoft/yii2 into docs-ja-0411 2015-04-11 12:43:04 +09:00
Nobuo Kihara
54475a8f10 docs/guide-ja updated [ci skip] 2015-04-11 12:42:31 +09:00
Qiang Xue
fdb730a12a syntax fix [skip ci] 2015-04-10 21:51:33 -04:00
Alexander Makarov
183c4c9496 Silenced migrate command non-error output in DbManagerTestCase 2015-04-11 01:30:54 +03:00
ChristopheBrun
82033125c4 Fixes #8032: yii\rbac\PhpManager::updateItem() was unable to rename item updated 2015-04-11 01:24:32 +03:00
Qiang Xue
6fe5d08894 doc improvement [skip ci] 2015-04-09 23:13:37 -04:00
Alexander Makarov
36a0e8384a Fixes #7918: yii\widgets\Pjax got ability to avoid registering link/form handler via setting false to $linkSelector/$formSelector 2015-04-09 23:16:38 +03:00
Alexander Makarov
926770b7d9 Changed usage of .prop() to .attr() in order to avoid issues when working with forms having input with names matching form properties. Related to #8014. 2015-04-09 23:06:47 +03:00
Klimov Paul
e29fcc8ea2 Docs about yii\validators\EachValidator adjusted 2015-04-09 18:14:35 +03:00
Klimov Paul
9fedb978f6 Docs for yii\validators\EachValidator adjusted 2015-04-09 18:13:50 +03:00
Klimov Paul
35eb833a2b Added yii\validators\EachValidator 2015-04-09 16:48:15 +03:00
Qiang Xue
aead65f2d2 Fixes #7515: Added support to use indexBy() together with column() in query builder 2015-04-08 22:54:30 -04:00
Alexander Makarov
cee6d0637d Merge pull request #8020 from votintsev/patch-2
Update db-query-builder.md [skip ci]
2015-04-09 01:05:06 +03:00
Jan Waś
ced423b601 Fixes #8012: Fixed fetching multiple relations between two tables for pgsql 2015-04-09 00:59:56 +03:00
votintsev
c630b100ff Update db-query-builder.md
remove extra square bracket
2015-04-08 17:33:52 +03:00
Alexander Makarov
cc1b74adcf Merge pull request #8014 from yiisoft/yii-js-fix-form-action-property
Changed usage of prop() to usage of attr()
2015-04-08 12:09:58 +03:00
Alexander Makarov
e224568b49 Fixes #8014: Fixed setting incorrect form "action" property after submitting a form using a link with "data-method" and containing "action" among "data-params" 2015-04-08 03:17:42 +03:00
Qiang Xue
1cd6047174 Fixes #7998. [skip ci] 2015-04-07 08:30:03 -04:00
Alexander Makarov
8805db1727 Merge pull request #8001 from gonimar/patch-17
Fix migrate/down order
2015-04-07 12:24:42 +03:00
Sergey Gonimar
3872c6c565 Fix migrate/down order
Migrations were applied at the same time. This cause invalid sort order while downgrade.

Command `yii migrate `

Output:
```
Yii Migration Tool (based on Yii v2.0.4-dev)

Total 2 new migrations to be applied:
        m150402_075534_initial
        m150402_075544_feedback
```

Command `yii migrate/down 2`

```
Yii Migration Tool (based on Yii v2.0.4-dev)

Total 2 migrations to be reverted:
        m150402_075534_initial
        m150402_075544_feedback
```

In databasse
```
"m000000_000000_base";1428382302
"m150402_075534_initial";1428388855           <----
"m150402_075544_feedback";1428388855     <----
```
2015-04-07 12:01:09 +05:00
Carsten Brandt
af67f3b86e fixed broken link and removed BOM 2015-04-07 01:51:17 +02:00
Carsten Brandt
52677ce42b fixed broken links 2015-04-07 01:37:30 +02:00