Commit Graph

15391 Commits

Author SHA1 Message Date
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
Alexander Makarov
18e9ca92b9 Merge pull request #9296 from efremovP/master
translate russian tutorial-template-engines [skip ci]
2015-08-03 20:40:41 +03:00
Carsten Brandt
1948754d00 phpdoc and slight refactoring of SchemaBuilder 2015-08-03 17:38:13 +02:00
Peter Efremov
1e145c7452 translate russian tutorial-template-engines 2015-08-03 19:11:43 +05:00
Alexander Makarov
fd97ed1841 Merge pull request #9295 from efremovP/master
translate_russian_tutorial_mailing [skip ci]
2015-08-03 16:08:48 +03:00
Peter Efremov
063f3e56ed fixed translate russian rest-quick-start 2015-08-03 17:46:55 +05:00
Peter Efremov
abeb8bcaeb translate_russian_tutorial_mailing 2015-08-03 17:39:16 +05:00
Carsten Brandt
728dc0c584 added docs about form element naming
close #8993
2015-08-03 12:51:17 +02:00
Carsten Brandt
d8bb724ec7 changed method visibility, fixed test break 2015-08-03 12:37:58 +02:00
Carsten Brandt
13fca3bc54 alternative solution for issue #7627
should cover more cases then #8912. Have not tested it yet.

see #7627
2015-08-03 12:29:43 +02:00
kidol
bf8eb490a1 Fixes PageCache not setting any duration and dependency when caching response data
close #9076
2015-08-03 11:40:20 +02:00
Carsten Brandt
7150e830d9 do not use reserved php words as function in schemabuilder
there is a reason for them to be reserved, we should not add such workarounds to still use them.

close #9283
2015-08-03 11:21:58 +02:00
Carsten Brandt
543d107508 applied the same fix as #7305 also to DbTarget
fixes #6354
2015-08-03 00:45:34 +02:00
Carsten Brandt
854e186210 fixed caching issue with UrlManager::createUrl
this fix will skip the cache in case we encounter a situation which can
not easily be cached.

fixes #9091
2015-08-03 00:31:59 +02:00
Lorenzo Milesi
a6fc02345e FileValidator->getSizeLimit: check also php's post_max_size
- return the lowerest of `post_max_size` or `upload_max_filesize`
- Raised warning for misconfigured PHP

close #8373
2015-08-02 23:37:46 +02:00
Carsten Brandt
0575a710c0 CHANGELOG for #8551
see also #5780
2015-08-02 23:26:57 +02:00