Commit Graph

14105 Commits

Author SHA1 Message Date
Alexander Makarov
5fab5942bc Merge pull request #9397 from TOLK-kz/patch-1
correct typo in kazakh [skip ci]
2015-08-13 10:21:42 +03:00
Toleugazy
4926148f96 correct typo in kazakh 2015-08-13 13:14:12 +06:00
Carsten Brandt
00a8a6270e revised docs about Model::load()
thanks to @tom-- for review.
2015-08-12 16:01:41 +02:00
Гонимар Сергей
5e4d2183e2 Georgian translation 2015-08-12 15:35:33 +03:00
Alexander Makarov
ff87dd2bd7 Merge pull request #9389 from dkushnikov/patch-1
Fix problem, that Application::getUser can return null
2015-08-12 12:50:37 +03:00
Dmitry Kushnikov
19fdd4f96d Fix problem, that Application::getUser can return null 2015-08-12 11:36:13 +03:00
Alexander Makarov
ffaf3ef174 Merge pull request #9386 from nukkumatti/issue-9382
Fixes #9382
2015-08-12 10:32:42 +03:00
Taras Gudz
14fe0c3f80 Fixes #9382 2015-08-12 08:30:18 +03:00
Davidson Alencar
44c70a8011 docs/guide-pt-BR - typos [ci skip] 2015-08-11 23:40:07 +03:00
Carsten Brandt
f4a5b03b1d updated docs about AR in migrations
fixes #9374
2015-08-11 21:49:58 +02:00
Carsten Brandt
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
Davidson Alencar
24fb544732 docs/guide-pt-BR/tutorial-yii-integration.md - translate - update [ci skip] 2015-08-11 14:01:16 -03:00
Alexander Kochetov
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
Davidson Alencar
9176d07e62 docs/guide-pt-BR typos [ci skip] 2015-08-11 10:48:47 +03:00
Alexander Makarov
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
Carsten Brandt
3aea67890f Merge pull request #9360 from microinginer/master
Translate "Page Caching" to uzbek language
2015-08-09 23:00:59 +02:00
Klimov Paul
3f2f7111df BaseVarDumper::export() object to string fallback fixed 2015-08-09 20:51:38 +03:00
inginer
314f9efdeb Translate "Page Caching" to uzbek language 2015-08-09 19:56:10 +03:00
Klimov Paul
d9eb660df3 BaseVarDumper::export() object to string fallback fixed 2015-08-09 19:30:36 +03:00
Klimov Paul
f48f63ecf5 VarDumperTest fixed 2015-08-09 17:53:24 +03:00
Bizley
18070247da Merge branch 'master' of git://github.com/yiisoft/yii2 into guide-pl 2015-08-09 16:28:51 +02:00
Klimov Paul
16e1e8fe28 Fallback for objects at yii\helpers\VarDumper::export() advanced 2015-08-09 15:02:48 +03:00
Alexander Makarov
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
Alexander Makarov
ba314264ac Fixed typo 2015-08-07 15:17:29 +03:00
Davidson Alencar
9fc060fa34 docs/guide-pt-BR/tutorial-core-validators.md - translate - update [ci skip] 2015-08-07 09:08:53 -03:00
Alexander Makarov
9c155d5914 Merge pull request #9338 from mickgeek/patch-1
Fixing a typo [skip ci]
2015-08-06 18:28:42 +03:00
Oleg Belostotskiy
1f17ca10dc Fixing a typo 2015-08-06 18:12:01 +03:00
Carsten Brandt
2ff5997b69 prepare for next release 2015-08-06 00:04:24 +02:00
Carsten Brandt
89eb3dff14 prepare for release 2.0.6 2.0.6 2015-08-06 00:00:30 +02:00
Carsten Brandt
a0ca0298c9 updated composer.lock and fixed broken phpunit installation 2015-08-05 23:11:43 +02:00
Nikola Kovacs
316e95b81d Remove length from SchemaBuilderTrait::text.
close #9307
2015-08-05 22:50:46 +02:00
Carsten Brandt
e1ea227e6d improved console helper progressbar ETA
update only once per second to avoid flapping
2015-08-05 13:56:11 +02:00
Alexander Makarov
187cec5e8e Upated Russian guide TOC 2015-08-05 10:33:39 +03:00
Alexander Makarov
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
Michael Härtl
b071587e0a Improve docs for bindParam() $value 2015-08-04 16:08:38 +02:00
Alexander Makarov
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
Peter Efremov
37cfc5e608 translate in russian tutorial start from scratch 2015-08-04 17:58:47 +05:00
Alexander Makarov
a6b8a30998 Removed unused "use" 2015-08-04 15:38:31 +03:00
Alexander Makarov
ca2c1df067 Minor changelog typo fixes 2015-08-04 14:59:24 +03:00
Carsten Brandt
6263e99a0d Merge pull request #9306 from nkovacs/patch-10
Update schema builder doc
2015-08-04 13:46:52 +02:00
Nikola Kovacs
30724af4e8 Update schema builder doc 2015-08-04 13:42:18 +02:00
Carsten Brandt
56902298b4 fixed wrong expectation in QueryBuilder test 2015-08-04 12:58:03 +02:00
Carsten Brandt
abc7dbbf0f added missing @since annotations 2015-08-04 12:40:12 +02:00
Carsten Brandt
cba167bcde adjusted version info in the guide 2015-08-04 12:21:22 +02:00
Carsten Brandt
0d778d0570 adjusted querybuilder tests to match implementation 2015-08-04 12:15:00 +02:00
Carsten Brandt
41b25e94b0 improved parameter naming and documentation of schemabuilder
changes according to #9191
close #9191
2015-08-04 11:58:41 +02:00
Carsten Brandt
729e61e7cb Merge pull request #9299 from yiisoft/schemabuilder-refactoring
refactored SchemaBuilder
2015-08-04 11:21:23 +02:00
Carsten Brandt
dd1471f6b3 adjusted guide docs for SchemaBuilder 2015-08-04 00:04:26 +02:00
Carsten Brandt
aef21ceec8 phpdoc typo 2015-08-03 23:38:58 +02:00
Carsten Brandt
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