4641 Commits

Author SHA1 Message Date
7cd5fc56c4 Fix typos and punctuation (#14564) [skip ci] 2017-07-31 15:22:22 +03:00
e87db6751f Complete translation for guide-zh-CN/input-forms.md and guide-zh-CN/input-multiple-models.md . (#14563) [skip ci] 2017-07-31 13:31:22 +03:00
37bd0229ad fixed migration example in guide
do not register the `app\migrations` path twice when using namespaces.

fixes #14536
2017-07-28 12:35:44 +02:00
20c0e9391a Updated a slip of a pen on db-dao.md in guide-zh-CN (#14541) [skip ci] 2017-07-27 13:54:22 +03:00
f24d29a46f Added guide about Client side Javascript of ActiveForm (#12541) [skip ci] 2017-07-24 23:12:40 +03:00
a55de109aa Update input-validation.md (#14514) 2017-07-22 23:54:58 +02:00
b1a49a18a7 Fixes #14509: clarified on when AJAX validation is triggered 2017-07-21 23:38:40 +03:00
393fc2744a Added yii\base\Object for backwards compatibility
fixes #7936
close #14478
2017-07-19 10:53:33 +02:00
5b2101f14c Update guide: Object -> BaseObject
issue #7936
2017-07-19 10:51:46 +02:00
d38908fc13 Fixed #14469: updated RFC links 2017-07-17 16:21:49 +03:00
59002a9e1e Fixes #6644: Added yii\helpers\ArrayHelper::setValue() 2017-07-16 00:25:44 +03:00
2f9f15bf92 Fixes #14188: Add constants and function for sysexits(3) to ConsoleHelper 2017-07-15 23:26:15 +03:00
03d53b785d Fixes #14449: Fix PHP 7.2 compatibility bugs and add explicit closure support in yii\base\Application 2017-07-14 12:23:03 +03:00
5a01c09270 Updated testing docs [skip ci] 2017-07-12 12:17:37 +03:00
2914dbb6aa Fixes #14427: ISO-3166 link updated [skip ci] 2017-07-11 22:57:18 +03:00
d2781cd232 Added configuration for headers in PHP files generated by message/extract command (#14417) 2017-07-10 20:14:54 +03:00
a50d9d8e3e Enable include rule in php-cs-fixer (#14418) 2017-07-10 13:19:57 +03:00
12eb936083 Enable heredoc_to_nowdoc rule in php-cs-fixer (#14419) 2017-07-10 13:18:52 +03:00
341b8d04c5 Fixed typos in tutorial-mailing.md (#14404) [skip ci] 2017-07-09 12:40:50 +03:00
c0af66cfda Fixed typo in the guide (#14390) [skip ci] 2017-07-04 20:36:36 +03:00
4da05813cc Updated Codeception installation guide [skip ci] 2017-07-03 23:06:00 +03:00
fba43619dc Fixed typos in Russian translation of concept-di-container.md [skip ci] 2017-07-03 00:13:12 +03:00
2d8d94bf64 Fixed typos in Russian translation of concept-behaviors.md [skip ci] 2017-07-03 00:12:44 +03:00
d4224609ea Fixed typos in Russian translation of tutorial-core-validators.md [skip ci] 2017-07-03 00:11:05 +03:00
ad339f473a Fixed typos in Russian translation of input-validation.md [skip ci] 2017-07-03 00:10:32 +03:00
b0ad73e361 Fixes #11415: Added yii\console\widgets\Table to draw tables in console apps 2017-06-29 18:19:55 +03:00
165421dfc7 Fixed typo [skip ci] 2017-06-23 15:16:11 +03:00
b4bf4ca086 Added link to Russian Sphinx guide [skip ci] 2017-06-22 20:14:28 +03:00
118aa0a581 fixed typo 2017-06-17 21:36:25 +03:00
9a18748e1f Documented possibility of using asset-packagist 2017-06-17 17:10:02 +03:00
b00c82c2a2 Adjusted RBAC docs to offer both migrations and command approaches [skip ci] 2017-06-11 17:18:50 +03:00
2b9f0006d5 added example for using unsupported PHP format in yii formatter
fixes #14278
2017-06-09 12:07:38 +02:00
a3501ed831 guide: note about param binding on strings, not arrays
issue #14218
2017-06-07 12:26:27 +02:00
6ec6f8d76c moved include file logic to separate method 2017-06-02 13:35:45 +02:00
5288577221 make migrationPath accept an array 2017-06-02 13:35:45 +02:00
cb9462b224 Added support for specifying aliases for migrationNamespaces
This is used to specify pathes to migrations that do not have
namespaces.

While not directly supported by the migration command provideded by the
framework, these migrations exist in a lot of extensions because custom implementations
of migration controllers out of the framework were using this approach
to load multiple migrations from multiple paths.

Even the framework itself currently ships non-namespaced migrations:

- 17a1d91e4a/framework/rbac/migrations/m140506_102106_rbac_init.php
- 17a1d91e4a/framework/caching/migrations/m150909_153426_cache_init.php
- 17a1d91e4a/framework/log/migrations/m141106_185632_log_init.php

This change allows existing applications to adopt the new namespace-based approach
while keeping existing migrations. While it would be possible to add
namespaces to migrations in the application itself, it is not easily possible
to add namespaces to migrations that come from external sources like
extensions.
2017-06-02 13:34:34 +02:00
a1f396c5d8 improved docs 2017-05-31 17:46:34 +02:00
339972fb34 simplified guide example 2017-05-31 17:46:34 +02:00
18bb002c99 Document queryParams in the authorization guide 2017-05-31 17:46:34 +02:00
137a936a60 Merge pull request #14215 from ihipop/feature/add_doc_for_issue_#8420 [skip ci]
Add doc for issue #8420
2017-05-31 10:59:18 +03:00
7d209b4143 Adjusted text,add some adivse [skip ci] 2017-05-31 11:20:18 +08:00
ed0c755f7c Adjusted text [skip ci] 2017-05-30 17:49:18 +03:00
85294ab4e3 Add migration file example for DbSession (#14227) [skip ci]
Creating a `char` primaryKey in a migration is non-obvious. Used solution from this [issue comment](https://github.com/yiisoft/yii2/issues/10889#issuecomment-302995086).
2017-05-29 11:41:00 +05:00
57a448d0f8 Adjusted text [skip ci] 2017-05-28 15:53:45 +03:00
f7e3d980ea Adjusted text [skip ci] 2017-05-28 15:52:31 +03:00
f98e260493 Adjusted text [skip ci] 2017-05-28 15:51:31 +03:00
974a1eeb48 Adjusted text [skip ci] 2017-05-28 15:48:27 +03:00
c1e6e6da62 Adjusted typo text [skip ci] 2017-05-26 17:33:07 +08:00
2711eb5722 MySql -> MySQL typo 2017-05-26 17:20:56 +08:00
d0a5372170 Adjusted text [skip ci] 2017-05-26 12:17:33 +03:00