Alexander Makarov
0d82222b27
Fixed typo [skip ci]
7 years ago
Sam
0017d9c660
Fixes #13780 : Added support for trusted proxies in `yii\web\Request`
7 years ago
Roman Grinyov
6f58f01398
Update input-validation.md ( #14603 ) [skip ci]
7 years ago
Hiren Bhut
f83e23ff17
Fixed typo [skip ci]
7 years ago
bscheshirwork
a36aa13f7d
Added example on how to use service locator as shortcut [skip ci]
7 years ago
Ondřej Vašíček
9923abda28
Fixed typo __contruct -> __construct ( #14574 ) [skip ci]
7 years ago
Carsten Brandt
37bd0229ad
fixed migration example in guide
...
do not register the `app\migrations` path twice when using namespaces.
fixes #14536
7 years ago
Carsten Brandt
f24d29a46f
Added guide about Client side Javascript of ActiveForm ( #12541 ) [skip ci]
7 years ago
Evgeniy Tkachenko
a55de109aa
Update input-validation.md ( #14514 )
7 years ago
Alexander Makarov
b1a49a18a7
Fixes #14509 : clarified on when AJAX validation is triggered
7 years ago
Robert Korulczyk
5b2101f14c
Update guide: Object -> BaseObject
...
issue #7936
7 years ago
Alexander Makarov
d38908fc13
Fixed #14469 : updated RFC links
7 years ago
Alex
59002a9e1e
Fixes #6644 : Added `yii\helpers\ArrayHelper::setValue()`
7 years ago
Carsten Brandt
2f9f15bf92
Fixes #14188 : Add constants and function for sysexits(3) to `ConsoleHelper`
7 years ago
Boudewijn Vahrmeijer
03d53b785d
Fixes #14449 : Fix PHP 7.2 compatibility bugs and add explicit closure support in `yii\base\Application`
7 years ago
Alexander Makarov
5a01c09270
Updated testing docs [skip ci]
7 years ago
Jitendra Joshi
2914dbb6aa
Fixes #14427 : ISO-3166 link updated [skip ci]
7 years ago
Robert Korulczyk
a50d9d8e3e
Enable `include` rule in php-cs-fixer ( #14418 )
7 years ago
Anton Anisimov
c0af66cfda
Fixed typo in the guide ( #14390 ) [skip ci]
7 years ago
Alexander Makarov
4da05813cc
Updated Codeception installation guide [skip ci]
7 years ago
Daniel Gómez Pan
b0ad73e361
Fixes #11415 : Added `yii\console\widgets\Table` to draw tables in console apps
7 years ago
dhoomm
165421dfc7
Fixed typo [skip ci]
7 years ago
SilverFire - Dmitry Naumenko
9a18748e1f
Documented possibility of using asset-packagist
7 years ago
Alexander Makarov
b00c82c2a2
Adjusted RBAC docs to offer both migrations and command approaches [skip ci]
7 years ago
Carsten Brandt
2b9f0006d5
added example for using unsupported PHP format in yii formatter
...
fixes #14278
7 years ago
Carsten Brandt
a3501ed831
guide: note about param binding on strings, not arrays
...
issue #14218
7 years ago
Carsten Brandt
6ec6f8d76c
moved include file logic to separate method
7 years ago
Carsten Brandt
5288577221
make migrationPath accept an array
7 years ago
Carsten Brandt
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.
7 years ago
Carsten Brandt
a1f396c5d8
improved docs
7 years ago
Carsten Brandt
339972fb34
simplified guide example
7 years ago
Felipe Sateler
18bb002c99
Document queryParams in the authorization guide
7 years ago
ihipop
7d209b4143
Adjusted text,add some adivse [skip ci]
7 years ago
Beowulfenator
ed0c755f7c
Adjusted text [skip ci]
7 years ago
Victor Heng
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 ).
7 years ago
Alexander Makarov
57a448d0f8
Adjusted text [skip ci]
7 years ago
Alexander Makarov
f7e3d980ea
Adjusted text [skip ci]
7 years ago
Alexander Makarov
f98e260493
Adjusted text [skip ci]
7 years ago
Alexander Makarov
974a1eeb48
Adjusted text [skip ci]
7 years ago
ihipop
c1e6e6da62
Adjusted typo text [skip ci]
7 years ago
ihipop
2711eb5722
MySql -> MySQL typo
7 years ago
Alexander Makarov
d0a5372170
Adjusted text [skip ci]
7 years ago
ihipop
6a9a255d06
typo
7 years ago
ihipop
d82b4fa03b
add doc for issue #8420
...
#8420
7 years ago
Carsten Brandt
fcfcdbdc34
advanced example on filter validator
...
fixes #4284
7 years ago
Carsten Brandt
8373228228
added namespace example to the autoload guide
7 years ago
Artem Aleksandrov
618f61fafe
Update db-migrations.md ( #14113 ) [skip ci]
...
I made a typo. Sorry. The command migration-rbac, migrationPath property already exists.
8 years ago
Artem Aleksandrov
6a28353a97
Update db-migrations.md ( #14109 ) [skip ci]
...
By default, the class BaseMigrateController property migrationPath is assigned the value '@app/migrations'. In the method getNewMigrations() is the conversion migrationNamescpaces in the path to the file and merges it all into a single array along with the path migrationPath. If the project for migration module is a separate table in the database, all migration came from migrationPath are not initialized and therefore try to migrate. Therefore, it is necessary to specify the property 'migrationPath' => null.
8 years ago
Robert Korulczyk
4dbcc78559
Update runtime-routing.md
8 years ago
Alexander Makarov
1bf2f160d0
param → parameter [skip ci]
8 years ago