Carsten Brandt
6ec6f8d76c
moved include file logic to separate method
7 years ago
Carsten Brandt
5288577221
make migrationPath accept an array
7 years ago
Tobias Munk
deb1def9d3
added alias syntax support
...
fixes #13356
fixes #13359
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
4b9e48b8dc
improved docs: link term "path alias" to the guide
7 years ago
Paul Klimov
0beb59305c
Fixes #13058 : Fixed caught exception thrown during view file rendering produces wrong output
7 years ago
leandrogehlen
17a1d91e4a
Allows override query relation in descendant class
...
fixes #13441
close #13642
7 years ago
Carsten Brandt
6e7ea782c0
fix cloning of DB connection for sqlite in-memory db
...
fixes #14131
close #14232
7 years ago
nanodesu88
67b9a57e86
additional fix for #13501
...
close #13593
7 years ago
Carsten Brandt
3e94919592
added failing test for #13593
7 years ago
Carsten Brandt
2feb0945ca
Fixed RBAC databases tests
...
tests were reusing static DB connection instance resulting in all tests
to be run against MySQL only!
PgSQL and Sqlite tests are now failing because of the issue reported in #13501 .
7 years ago
Carsten Brandt
fa4d76223b
Merge pull request #14123 from cebe/access-rule-params
...
Alternative implementation for passing parameters to AccessRule roles
7 years ago
Carsten Brandt
a1f396c5d8
improved docs
7 years ago
Carsten Brandt
339972fb34
simplified guide example
7 years ago
Felipe Sateler
88bbd61988
Alternative implementation for passing parameters to AccessRule roles
...
fixes #8426 : `yii\filters\AccessRule` now allows passing GET or other parameters to the role checking function
replaces #8426
7 years ago
Felipe Sateler
18bb002c99
Document queryParams in the authorization guide
7 years ago
Alexander Makarov
137a936a60
Merge pull request #14215 from ihipop/feature/add_doc_for_issue_#8420 [skip ci]
...
Add doc for issue #8420
7 years ago
ihipop
7d209b4143
Adjusted text,add some adivse [skip ci]
7 years ago
SilverFire - Dmitry Naumenko
f111ab4413
Merge branch 'd1rtyf1ng3rs-13551-load-fixtures-in-subdirectories'
7 years ago
SilverFire - Dmitry Naumenko
f7c9e6b852
Enhanced FixtureController::getFixtureRelativeName()
...
Updated CHANGELOG
7 years ago
Skiba Max
51dd58cf34
Fixed #13551 : loading fixtures in subdirectories
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
Ilya Rogov
e2218cbbae
Add test coverage of yii\helpers\Html ( #14220 )
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
Ilya Rogov
0d9cd0ccd7
Add test coverage of yii\helpers\BaseJson ( #14217 )
7 years ago
Ilya Rogov
b07f2018de
Add test coverage of yii\helpers\BaseMarkdown ( #14223 )
7 years ago
viwek
49ab20139c
Inserted missing * on line 972 ( #14224 ) [skip ci]
7 years ago
Alex-Code
7c6620a65f
Fixes #13846 : Fixed `Query::count()` issue with `orderBy`
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
a1d4a237cb
fixed indonesian translators.json file
7 years ago
Alexander Makarov
9b8b965fcb
Fixes #14211 : Fixed regression in Unique and Exist validators
7 years ago
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
7 years ago
Ilya Rogov
21a7a68e45
Add test coverage of yii\helpers\BaseArrayHelper ( #14205 )
7 years ago
corpsepk
ac70262bfc
Fixed typo in BaseFileHelper::findFiles() docs ( #14200 ) [skip ci]
7 years ago
yyxx9988
273c33de87
Simplified Chinese translation of filter validator ( #14195 )
...
* Simplified Chinese Translation of filter validator
* Using more specific words
7 years ago
Carsten Brandt
fcfcdbdc34
advanced example on filter validator
...
fixes #4284
7 years ago
Novrian Y.F
734f2aa71e
Translate "Looking Ahead" guide to Bahasa Indonesia ( #14177 )
7 years ago
Carsten Brandt
8373228228
added namespace example to the autoload guide
7 years ago
bscheshirwork
921147dca5
Fixes #14161 , #14150 : fixed primary table aliasing (include case manual set alias) in validators
7 years ago
Novrian Y.F
2d12e1a1d6
Translate "Generating Code with Gii" guide to Bahasa Indonesia ( #14162 )
7 years ago
Sergey Makinen
52f8539135
Add Command tests
7 years ago
Sergey Makinen
47f837db0b
Fix constraint tests
7 years ago