Carsten Brandt
a3501ed831
guide: note about param binding on strings, not arrays
...
issue #14218
2017-06-07 12:26:27 +02:00
Carsten Brandt
6ec6f8d76c
moved include file logic to separate method
2017-06-02 13:35:45 +02:00
Carsten Brandt
5288577221
make migrationPath accept an array
2017-06-02 13:35:45 +02:00
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.
2017-06-02 13:34:34 +02:00
Carsten Brandt
a1f396c5d8
improved docs
2017-05-31 17:46:34 +02:00
Carsten Brandt
339972fb34
simplified guide example
2017-05-31 17:46:34 +02:00
Felipe Sateler
18bb002c99
Document queryParams in the authorization guide
2017-05-31 17:46:34 +02:00
Alexander Makarov
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
ihipop
7d209b4143
Adjusted text,add some adivse [skip ci]
2017-05-31 11:20:18 +08:00
Beowulfenator
ed0c755f7c
Adjusted text [skip ci]
2017-05-30 17:49:18 +03:00
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 ).
2017-05-29 11:41:00 +05:00
Alexander Makarov
57a448d0f8
Adjusted text [skip ci]
2017-05-28 15:53:45 +03:00
Alexander Makarov
f7e3d980ea
Adjusted text [skip ci]
2017-05-28 15:52:31 +03:00
Alexander Makarov
f98e260493
Adjusted text [skip ci]
2017-05-28 15:51:31 +03:00
Alexander Makarov
974a1eeb48
Adjusted text [skip ci]
2017-05-28 15:48:27 +03:00
ihipop
c1e6e6da62
Adjusted typo text [skip ci]
2017-05-26 17:33:07 +08:00
ihipop
2711eb5722
MySql -> MySQL typo
2017-05-26 17:20:56 +08:00
Alexander Makarov
d0a5372170
Adjusted text [skip ci]
2017-05-26 12:17:33 +03:00
ihipop
6a9a255d06
typo
2017-05-26 17:13:52 +08:00
ihipop
d82b4fa03b
add doc for issue #8420
...
#8420
2017-05-26 16:58:19 +08:00
Carsten Brandt
a1d4a237cb
fixed indonesian translators.json file
2017-05-26 10:34:37 +02:00
Novrian Y.F
dbeadba085
Translate some application structure guide to Bahasa Indonesia ( #14209 ) [skip ci]
...
* Add blocktypes.json file in Indonesian Guide
* Translate "Application Structure Overview" to Bahasa Indonesia
* Translate "Entry Script" guide to Bahasa Indonesia
* Translate "Structure App - Application" to Bahasa Indonesia
* Translate "Application Component" guide to Bahasa Indonesia
* Add translators.json attribution in Indonesian Documentation
2017-05-25 20:50:13 +05:00
yyxx9988
273c33de87
Simplified Chinese translation of filter validator ( #14195 )
...
* Simplified Chinese Translation of filter validator
* Using more specific words
2017-05-24 06:55:12 +02:00
Carsten Brandt
fcfcdbdc34
advanced example on filter validator
...
fixes #4284
2017-05-23 23:21:03 +02:00
Novrian Y.F
734f2aa71e
Translate "Looking Ahead" guide to Bahasa Indonesia ( #14177 )
2017-05-18 17:06:29 +02:00
Carsten Brandt
8373228228
added namespace example to the autoload guide
2017-05-17 22:38:25 +02:00
Novrian Y.F
2d12e1a1d6
Translate "Generating Code with Gii" guide to Bahasa Indonesia ( #14162 )
2017-05-16 00:31:19 +02:00
Novrian Y.F
5ea1acc960
Translate "Working with Database" guide to Bahasa Indonesia ( #14152 ) [skip ci]
2017-05-12 14:18:45 +03:00
Yury Izotov
10a1e198e4
"из вне" => "извне"
...
grammar nazi attack
2017-05-11 15:57:16 +05:00
Yury Izotov
ccd9cb5d60
fix broken link ( #14143 ) [skip ci]
...
File output-client-scripts.md not created. And in site - error 404: http://stuff.cebe.cc/yii2docs-ru/guide-output-client-scripts.html
2017-05-11 13:09:17 +03:00
Novrian Y.F
1c07c429cf
Add Indonesian guide translation ( #14120 ) [skip ci]
...
* Update README.md on Indonesian Guide Translation
* Translate "Working with Forms" guide to Bahasa Indonesia
2017-05-07 22:12:39 +03:00
Taras Gudz
18bc835243
Typo ( #14117 ) [skip ci]
2017-05-05 17:06:46 +03:00
Artem Aleksandrov
618f61fafe
Update db-migrations.md ( #14113 ) [skip ci]
...
I made a typo. Sorry. The command migration-rbac, migrationPath property already exists.
2017-05-04 22:23:39 +03:00
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.
2017-05-04 16:03:15 +02:00
Robert Korulczyk
2d28b585a0
Merge branch 'master' into 13614-add-a-failing-test-for-url-rule
2017-04-27 22:07:55 +02:00
Robert Korulczyk
4dbcc78559
Update runtime-routing.md
2017-04-26 11:41:07 +02:00
Alexander Makarov
1bf2f160d0
param → parameter [skip ci]
2017-04-26 12:08:57 +03:00
Dmitry Naumenko
918aee784e
Fixed spelling and typos
2017-04-25 07:54:55 +03:00
Ivan
d4d80ed312
Add setup for Apache
...
Describes the settings for Apache.
2017-04-24 21:50:37 +03:00
Nurbek Nurjanov
5e42b9e142
Added note clarifying that load function clears fixture data [skip ci]
2017-04-20 21:19:19 +03:00
Alexander Makarov
c35ddec09a
Update composer fxp plugin version in docs and travis scripts
2017-04-19 02:55:31 +03:00
Pavel Dovlatov
400c531d95
Tiny documentation fix [skip ci] ( #13998 )
2017-04-17 15:51:09 +03:00
Charles Q. Wu
85cc75aaa2
docs/guide/input-multiple-models: added a note on avoiding validating the same input data with the same rules more than once ( #13995 ) [skip ci]
2017-04-17 02:07:59 +03:00
David Baker
e81ebc0fba
Tweaked verbiage slightly [ci skip]
2017-04-14 13:41:07 -06:00
Evgeniy Moiseenko
510cd3541d
Fixed wording in Russian translation ( #13970 ) [skip ci]
2017-04-12 11:29:56 +03:00
Angel Guevara
519753d868
Added missing parts of disabling CSRF validation doc [skip ci] ( #13966 )
2017-04-12 01:55:13 +03:00
Alexey Rogachev
9445e5508b
Fixes #10675 : Added docs for disabling CSRF validation in standalone actions
2017-04-11 02:05:36 +03:00
GirMate
a9be295b94
Update input-validation.md ( #13942 ) [skip ci]
2017-04-07 23:54:55 +03:00
Bizley
d370b10cb9
Guide PL updates ( #13914 ) [skip ci]
2017-04-04 01:06:44 +03:00
Evgeniy Moiseenko
8434285611
Fixed russian translate
2017-04-03 13:15:48 +03:00