16935 Commits

Author SHA1 Message Date
16e9af4792 fix doc structure-application-components
翻译关于闭包引导的描述
2017-09-23 10:43:06 +08:00
7b90a0a17a add glossary
首次添加术语
2017-09-23 10:24:58 +08:00
904274aea7 Merge pull request #1 from yiichina/doc
Create glossary.md
2017-09-22 21:12:25 -05:00
2d87fd36fd fix 2 2017-09-22 21:53:05 +08:00
0649ed8a96 fix start-databases 2017-09-22 21:52:17 +08:00
568c824018 Create glossary.md 2017-09-22 05:46:31 -05:00
ca4ebea9a6 Merge pull request #15 from lisgroup/patch-2
Update structure-applications.md
2017-09-15 20:35:48 +08:00
902095c89e Merge pull request #16 from lisgroup/patch-3
Update structure-applications.md
2017-09-15 20:35:30 +08:00
a6afa3b1fb Merge pull request #14 from lisgroup/patch-1
Update start-databases.md
2017-09-15 20:35:01 +08:00
b99628c6d2 Update structure-applications.md
修改为中文翻译
2017-09-15 14:59:04 +08:00
30b1ba51f4 Update structure-applications.md
参考中英文增加空格
2017-09-15 14:40:12 +08:00
1ca616ebcb Update start-databases.md
fix: / change .
2017-09-15 14:22:43 +08:00
4d4a0be5bc Update caching-fragment.md
将链接的多余的中括号支掉
2017-09-08 11:21:31 +08:00
3ed0fea789 merge from xiaoliushifu 2017-09-08 11:15:43 +08:00
15119230aa "组建"改为"组件" 2017-09-07 13:22:37 +08:00
a15c14271c 755 -> 644 2017-09-06 21:59:24 +08:00
4b782531a3 version 2.0.12
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJZNWvJAAoJEL5PQd4d7u7QPr8P/3Xrs10FiHUTM3O24r/GvbJf
 SnPEx1h/2A1Jcdksl/yq3D/8zeLuvEY7Y2u1gkGhyr/9DvPVK0txPsV3oPGxz1IU
 SVXaPYitUXGp1juFIB8Z+uGOSG4y+YYs+THLcUVhD4PVt9enyerIgwVutA2Jtej5
 rwb+YL8kybMQFyMhdhWyRmHesQF5NtH+kg/EZGMjYB+Qb7Acfa7d0pjA3VxTuVnU
 hslQUPOPXajcnYDdwq2fQvjWBdAT89rWEg1SO3uOEc/GKTw+TwcJ6cN7PNkMGeb9
 pDB3hrDbQWxvd16s70MSdZQXUf7+a46eJSyo7vjGOQUDfBSQW1iQmByqqDeLmmZ4
 jgTqy6bpAzz6IgXlJn+ENfW7Z74tuiG6UKZDdARGtSHSjwVczKsHacz6V5puKndp
 sxgVGxmRLe6gGAskyGJbN6A09V+8DgPtpu+zwsQxax4/vzo7pXzx0jMgFZ6FJ1KQ
 WmJy0HztAOKdS/jpHxQW4wUSP0cELq+OnVSxLokeZzjPLaml+Eo9kktjiH1S9LnE
 DDGTV/lemwzmXi9Vkuvdd03fiw9IdeDK1WloWK5C8F3yjZO/FE+MXYvBR0icow3q
 Wt8h9Q/PjsORNrf7wlLfdSpr/GpAwZbOHV0x5tSiO5s+miDsDuynAHnK110LVfGL
 SPnw06utT4Ckac8V7v4X
 =K9Zp
 -----END PGP SIGNATURE-----

merge from 2.0.12
2017-09-06 21:41:47 +08:00
be658f82bf release version 2.0.12 2.0.12 2017-06-05 16:33:41 +02:00
c09a03ab8e fixed version and missing @since annotation 2017-06-05 16:26:51 +02:00
717c545d2c moved wrong changelog entry 2017-06-05 16:04:32 +02:00
226f524da3 skip failing HHVM test
see https://github.com/yiisoft/yii2/issues/14244
2017-06-05 13:25:51 +02:00
40e5702b6b Fixes #5108 DateValidator resets $timestampAttribute value on empty attribute (#14242)
* `yii\validators\DateValidator` now resets `$timestampAttribute` value on empty validated attribute value

* array-value test at `DateValidatorTest` restored
2017-06-05 11:50:02 +02:00
b8d5a35916 Merge pull request #14241 from cebe/migration-namespaces
Added support for specifying aliases for migrationNamespaces
2017-06-05 11:38:26 +02:00
844eacba26 Update BaseMigrateController.php
make sure console arguments are recognized as array.
2017-06-05 11:31:38 +02:00
cd3c6404cb Fixes #4999: Added support for wildcards at yii\filters\AccessRule::$controllers 2017-06-02 21:19:38 +03: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
deb1def9d3 added alias syntax support
fixes #13356
fixes #13359
2017-06-02 13:34:34 +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
4b9e48b8dc improved docs: link term "path alias" to the guide 2017-06-02 10:45:20 +02:00
0beb59305c Fixes #13058: Fixed caught exception thrown during view file rendering produces wrong output 2017-06-02 01:30:21 +03:00
17a1d91e4a Allows override query relation in descendant class
fixes #13441
close #13642
2017-06-01 11:53:43 +02:00
6e7ea782c0 fix cloning of DB connection for sqlite in-memory db
fixes #14131
close #14232
2017-06-01 11:43:49 +02:00
67b9a57e86 additional fix for #13501
close #13593
2017-05-31 19:17:28 +02:00
3e94919592 added failing test for #13593 2017-05-31 19:14:21 +02:00
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.
2017-05-31 18:55:44 +02:00
fa4d76223b Merge pull request #14123 from cebe/access-rule-params
Alternative implementation for passing parameters to AccessRule roles
2017-05-31 17:48:02 +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
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
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
f111ab4413 Merge branch 'd1rtyf1ng3rs-13551-load-fixtures-in-subdirectories' 2017-05-30 21:28:05 +03:00
f7c9e6b852 Enhanced FixtureController::getFixtureRelativeName()
Updated CHANGELOG
2017-05-30 21:27:50 +03:00
51dd58cf34 Fixed #13551: loading fixtures in subdirectories 2017-05-30 21:27:43 +03: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
e2218cbbae Add test coverage of yii\helpers\Html (#14220) 2017-05-28 18:03:36 +05:00
57a448d0f8 Adjusted text [skip ci] 2017-05-28 15:53:45 +03:00