2459 Commits

Author SHA1 Message Date
2745a16245 fix phpdoc in log\Target 2017-11-03 01:11:09 +01:00
ba739bf7ab Documented CSS/JS asset options per file (#15062) [skip ci]
As per issues #10158 and #10166. Order of details on CSS and JS properties swapped because of the order they're listed in the template.
2017-11-01 16:57:41 +03:00
144ccf0344 docs: apache2 htaccess, avoid scriptname in URLs
adjust .htaccess example to show 404 on pretty URLs, when
$showScriptName is false.

fixes https://github.com/yiisoft/yii2-app-basic/issues/109
2017-10-30 10:07:10 +01:00
376006a2d5 Data filter enhancements and docs
- Added docs.
- Moved to "data" namespace.
- Moved messages to "yii" category.
- Added Russian messages translation.
2017-10-26 11:32:52 +03:00
b7a96a8eb5 Fixed typo in output client scripts [skip ci] 2017-10-25 21:50:35 +03:00
c4b3e102db added documentation for chaining via() relations
see https://github.com/yiisoft/yii2/issues/10408#issuecomment-338881999
2017-10-24 10:22:23 +02:00
e65451991d Added example for concrete file alias to aliases docs [skip ci] 2017-10-23 22:23:04 +03:00
b5e0903435 Added not to operator format in docs [skip ci] 2017-10-19 18:27:37 +03:00
3c8b62b32d Added missing quote in the documentation [skip ci] 2017-10-19 12:43:47 +03:00
0ee17dcb7d avoid meaningless headlines like "Overview"
these could appear without context and are confusing in that case.
2017-10-17 10:11:25 +02:00
15a46441e1 Updated asset-plugin version in docs [skip ci] 2017-10-02 21:03:13 +02:00
5522d1909c Clarify how joinWith()/innerJoinWith() deals with eager loading [skip ci] 2017-09-19 23:43:23 +02:00
03aac69a9b guide fix 2017-09-19 13:20:13 +03:00
0faeead0df improved docs for #14273 2017-09-06 09:36:25 +02:00
f2e3312dbc fix typo 2017-08-24 10:42:57 +02:00
c70f274ca5 added example to db migration query builder usage 2017-08-24 10:41:14 +02:00
70eff97c55 improved Yii micro framework guide
fixes #14154
2017-08-23 13:31:45 +02:00
73ac52658b Create tutorial-yii-as-micro-framework.md
fixes #14154
2017-08-23 13:31:45 +02:00
Sam
4081a4b203 Fixes #14184: Module service locator now falls back to its parent module service locator in case component isn't found 2017-08-23 00:38:39 +03:00
58792cdac5 Fixes #14664: Add migrate/fresh command to truncate database and apply migrations again 2017-08-20 01:00:41 +03:00
7a38849310 Removed unnecessary dot (#14670) [skip ci] 2017-08-20 00:57:45 +03:00
0d82222b27 Fixed typo [skip ci] 2017-08-17 14:42:14 +03:00
Sam
0017d9c660 Fixes #13780: Added support for trusted proxies in yii\web\Request 2017-08-17 13:14:51 +03:00
6f58f01398 Update input-validation.md (#14603) [skip ci] 2017-08-07 00:39:10 +03:00
f83e23ff17 Fixed typo [skip ci] 2017-08-04 23:47:37 +03:00
a36aa13f7d Added example on how to use service locator as shortcut [skip ci] 2017-08-02 14:49:15 +03:00
9923abda28 Fixed typo __contruct -> __construct (#14574) [skip ci] 2017-08-02 13:21:19 +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
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
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
a50d9d8e3e Enable include rule in php-cs-fixer (#14418) 2017-07-10 13:19:57 +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
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
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