13337 Commits

Author SHA1 Message Date
19fdd4f96d Fix problem, that Application::getUser can return null 2015-08-12 11:36:13 +03:00
ffaf3ef174 Merge pull request #9386 from nukkumatti/issue-9382
Fixes #9382
2015-08-12 10:32:42 +03:00
14fe0c3f80 Fixes #9382 2015-08-12 08:30:18 +03:00
44c70a8011 docs/guide-pt-BR - typos [ci skip] 2015-08-11 23:40:07 +03:00
f4a5b03b1d updated docs about AR in migrations
fixes #9374
2015-08-11 21:49:58 +02:00
a4b0ce0cb7 Merge pull request #9384 from alcirmonteiro/master
docs/guide-pt-BR/tutorial-yii-integration.md - translate - update [ci…
2015-08-11 21:29:28 +02:00
24fb544732 docs/guide-pt-BR/tutorial-yii-integration.md - translate - update [ci skip] 2015-08-11 14:01:16 -03:00
223b0bea5d Fixes #9369: Yii::$app->user->can() now returns false instead of erroring in case authManager component is not configured 2015-08-11 11:16:21 +03:00
9176d07e62 docs/guide-pt-BR typos [ci skip] 2015-08-11 10:48:47 +03:00
b5be32cf25 Merge pull request #9359 from bizley-code/guide-pl
Guide [PL] rest rate limiting and start forms [skip ci]
2015-08-10 01:28:10 +03:00
3aea67890f Merge pull request #9360 from microinginer/master
Translate "Page Caching" to uzbek language
2015-08-09 23:00:59 +02:00
3f2f7111df BaseVarDumper::export() object to string fallback fixed 2015-08-09 20:51:38 +03:00
314f9efdeb Translate "Page Caching" to uzbek language 2015-08-09 19:56:10 +03:00
d9eb660df3 BaseVarDumper::export() object to string fallback fixed 2015-08-09 19:30:36 +03:00
f48f63ecf5 VarDumperTest fixed 2015-08-09 17:53:24 +03:00
18070247da Merge branch 'master' of git://github.com/yiisoft/yii2 into guide-pl 2015-08-09 16:28:51 +02:00
16e1e8fe28 Fallback for objects at yii\helpers\VarDumper::export() advanced 2015-08-09 15:02:48 +03:00
69839828af Merge pull request #9347 from alcirmonteiro/master
docs/guide-pt-BR/tutorial-core-validators.md - translate - update [ci skip]
2015-08-07 15:44:30 +03:00
ba314264ac Fixed typo 2015-08-07 15:17:29 +03:00
9fc060fa34 docs/guide-pt-BR/tutorial-core-validators.md - translate - update [ci skip] 2015-08-07 09:08:53 -03:00
9c155d5914 Merge pull request #9338 from mickgeek/patch-1
Fixing a typo [skip ci]
2015-08-06 18:28:42 +03:00
1f17ca10dc Fixing a typo 2015-08-06 18:12:01 +03:00
2ff5997b69 prepare for next release 2015-08-06 00:04:24 +02:00
89eb3dff14 prepare for release 2.0.6 2.0.6 2015-08-06 00:00:30 +02:00
a0ca0298c9 updated composer.lock and fixed broken phpunit installation 2015-08-05 23:11:43 +02:00
316e95b81d Remove length from SchemaBuilderTrait::text.
close #9307
2015-08-05 22:50:46 +02:00
e1ea227e6d improved console helper progressbar ETA
update only once per second to avoid flapping
2015-08-05 13:56:11 +02:00
187cec5e8e Upated Russian guide TOC 2015-08-05 10:33:39 +03:00
c2ca39e574 Merge pull request #9309 from mikehaertl/fix-bind-param-docs
Improve docs for bindParam() $value [ci skip]
2015-08-04 17:19:22 +03:00
b071587e0a Improve docs for bindParam() $value 2015-08-04 16:08:38 +02:00
9a728f8af0 Merge pull request #9308 from efremovP/master
translate in russian tutorial start from scratch [skip ci]
2015-08-04 16:25:36 +03:00
37cfc5e608 translate in russian tutorial start from scratch 2015-08-04 17:58:47 +05:00
a6b8a30998 Removed unused "use" 2015-08-04 15:38:31 +03:00
ca2c1df067 Minor changelog typo fixes 2015-08-04 14:59:24 +03:00
6263e99a0d Merge pull request #9306 from nkovacs/patch-10
Update schema builder doc
2015-08-04 13:46:52 +02:00
30724af4e8 Update schema builder doc 2015-08-04 13:42:18 +02:00
56902298b4 fixed wrong expectation in QueryBuilder test 2015-08-04 12:58:03 +02:00
abc7dbbf0f added missing @since annotations 2015-08-04 12:40:12 +02:00
cba167bcde adjusted version info in the guide 2015-08-04 12:21:22 +02:00
0d778d0570 adjusted querybuilder tests to match implementation 2015-08-04 12:15:00 +02:00
41b25e94b0 improved parameter naming and documentation of schemabuilder
changes according to #9191
close #9191
2015-08-04 11:58:41 +02:00
729e61e7cb Merge pull request #9299 from yiisoft/schemabuilder-refactoring
refactored SchemaBuilder
2015-08-04 11:21:23 +02:00
dd1471f6b3 adjusted guide docs for SchemaBuilder 2015-08-04 00:04:26 +02:00
aef21ceec8 phpdoc typo 2015-08-03 23:38:58 +02:00
681db52ba6 refactored SchemaBuilder
- rename class to ColumnSchemaBuilder as this is more appropriate
- changed internal organisation to match how the rest of schema related classes work
  - the ColumnSchemaBuilder is now created the same way as QueryBuilder is
- removed static call magic and method annotations, now real methods are called as they are
- the whole code works on objects in a db context now instead of setting database connection in global state
- trait is now used by Migration by default but can be used in other contexts as well

Migration usage is now as follows:

```php
$this->createTable('example_table', [
  'id' => $this->primaryKey(),
  'name' => $this->string(64)->notNull(),
  'type' => $this->integer()->notNull()->defaultValue(10),
  'description' => $this->text(),
  'rule_name' => $this->string(64),
  'data' => $this->text(),
  'created_at' => $this->datetime()->notNull(),
  'updated_at' => $this->datetime(),
]);
```
2015-08-03 23:25:50 +02:00
18e9ca92b9 Merge pull request #9296 from efremovP/master
translate russian tutorial-template-engines [skip ci]
2015-08-03 20:40:41 +03:00
1948754d00 phpdoc and slight refactoring of SchemaBuilder 2015-08-03 17:38:13 +02:00
1e145c7452 translate russian tutorial-template-engines 2015-08-03 19:11:43 +05:00
fd97ed1841 Merge pull request #9295 from efremovP/master
translate_russian_tutorial_mailing [skip ci]
2015-08-03 16:08:48 +03:00
063f3e56ed fixed translate russian rest-quick-start 2015-08-03 17:46:55 +05:00