Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
d2b864da
Commit
d2b864da
authored
Sep 27, 2014
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prepare for 2.0.0-rc release.
parent
83054530
Show whitespace changes
Inline
Side-by-side
Showing
35 changed files
with
55 additions
and
71 deletions
+55
-71
composer.json
apps/advanced/composer.json
+1
-1
composer.json
apps/basic/composer.json
+1
-1
composer.json
apps/benchmark/composer.json
+1
-1
widget-bootstrap.md
docs/guide/widget-bootstrap.md
+0
-1
CHANGELOG.md
extensions/apidoc/CHANGELOG.md
+2
-2
CHANGELOG.md
extensions/authclient/CHANGELOG.md
+2
-2
BootstrapThemeAsset.php
extensions/bootstrap/BootstrapThemeAsset.php
+0
-27
CHANGELOG.md
extensions/bootstrap/CHANGELOG.md
+2
-2
CHANGELOG.md
extensions/codeception/CHANGELOG.md
+2
-2
CHANGELOG.md
extensions/composer/CHANGELOG.md
+2
-2
CHANGELOG.md
extensions/debug/CHANGELOG.md
+2
-2
CHANGELOG.md
extensions/elasticsearch/CHANGELOG.md
+2
-2
CHANGELOG.md
extensions/faker/CHANGELOG.md
+2
-2
FixtureController.php
extensions/faker/FixtureController.php
+2
-0
CHANGELOG.md
extensions/gii/CHANGELOG.md
+2
-2
CHANGELOG.md
extensions/imagine/CHANGELOG.md
+2
-2
CHANGELOG.md
extensions/jui/CHANGELOG.md
+2
-2
CHANGELOG.md
extensions/mongodb/CHANGELOG.md
+2
-2
CHANGELOG.md
extensions/redis/CHANGELOG.md
+2
-2
CHANGELOG.md
extensions/smarty/CHANGELOG.md
+2
-2
CHANGELOG.md
extensions/sphinx/CHANGELOG.md
+2
-2
CHANGELOG.md
extensions/swiftmailer/CHANGELOG.md
+2
-2
CHANGELOG.md
extensions/twig/CHANGELOG.md
+2
-2
BaseYii.php
framework/BaseYii.php
+1
-1
CHANGELOG.md
framework/CHANGELOG.md
+2
-2
classes.php
framework/classes.php
+6
-0
Controller.php
framework/console/Controller.php
+3
-0
CacheController.php
framework/console/controllers/CacheController.php
+0
-0
FixtureController.php
framework/console/controllers/FixtureController.php
+0
-0
Connection.php
framework/db/Connection.php
+0
-2
Formatter.php
framework/i18n/Formatter.php
+0
-0
ArrayFixture.php
framework/test/ArrayFixture.php
+0
-0
AssetManager.php
framework/web/AssetManager.php
+3
-0
Request.php
framework/web/Request.php
+0
-1
Response.php
framework/web/Response.php
+1
-0
No files found.
apps/advanced/composer.json
View file @
d2b864da
...
...
@@ -12,7 +12,7 @@
"irc"
:
"irc://irc.freenode.net/yii"
,
"source"
:
"https://github.com/yiisoft/yii2"
},
"minimum-stability"
:
"
dev
"
,
"minimum-stability"
:
"
RC
"
,
"require"
:
{
"php"
:
">=5.4.0"
,
"yiisoft/yii2"
:
"*"
,
...
...
apps/basic/composer.json
View file @
d2b864da
...
...
@@ -12,7 +12,7 @@
"irc"
:
"irc://irc.freenode.net/yii"
,
"source"
:
"https://github.com/yiisoft/yii2"
},
"minimum-stability"
:
"
dev
"
,
"minimum-stability"
:
"
RC
"
,
"require"
:
{
"php"
:
">=5.4.0"
,
"yiisoft/yii2"
:
"*"
,
...
...
apps/benchmark/composer.json
View file @
d2b864da
...
...
@@ -15,7 +15,7 @@
"config"
:
{
"vendor-dir"
:
"protected/vendor"
},
"minimum-stability"
:
"
dev
"
,
"minimum-stability"
:
"
RC
"
,
"require"
:
{
"php"
:
">=5.4.0"
,
"yiisoft/yii2"
:
"*"
...
...
docs/guide/widget-bootstrap.md
View file @
d2b864da
...
...
@@ -24,7 +24,6 @@ convenient way to include bootstrap assets in your pages with a single line adde
public
$depends
=
[
'yii\web\YiiAsset'
,
'yii\bootstrap\BootstrapAsset'
,
// this line
// 'yii\bootstrap\BootstrapThemeAsset' // uncomment to apply bootstrap 2 style to bootstrap 3
];
```
...
...
extensions/apidoc/CHANGELOG.md
View file @
d2b864da
Yii Framework 2 apidoc extension Change Log
===========================================
2.
0.0-rc
under development
--------------------------
2.
0.0-rc
September 27, 2014
--------------------------
-
-
no changes in this release.
...
...
extensions/authclient/CHANGELOG.md
View file @
d2b864da
Yii Framework 2 authclient extension Change Log
===============================================
2.
0.0-rc
under development
--------------------------
2.
0.0-rc
September 27, 2014
--------------------------
-
-
Bug #3633: OpenId return URL comparison advanced to prevent url encode problem (klimov-paul)
-
Bug #4490:
`yii\authclient\widgets\AuthChoice`
does not preserve initial settings while opening popup (klimov-paul)
...
...
extensions/bootstrap/BootstrapThemeAsset.php
deleted
100644 → 0
View file @
83054530
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace
yii\bootstrap
;
use
yii\web\AssetBundle
;
/**
* Asset bundle for the Twitter bootstrap default theme.
*
* @author Alexander Makarov <sam@rmcreative.ru>
* @since 2.0
*/
class
BootstrapThemeAsset
extends
AssetBundle
{
public
$sourcePath
=
'@bower/bootstrap/dist'
;
public
$css
=
[
'css/bootstrap-theme.css'
,
];
public
$depends
=
[
'yii\bootstrap\BootstrapAsset'
,
];
}
extensions/bootstrap/CHANGELOG.md
View file @
d2b864da
Yii Framework 2 bootstrap extension Change Log
==============================================
2.
0.0-rc
under development
--------------------------
2.
0.0-rc
September 27, 2014
--------------------------
-
-
Bug #3292: Fixed dropdown widgets rendering incorrect HTML (it3rmit)
-
Bug #3740: Fixed duplicate error message when client validation is enabled (tadaszelvys)
...
...
extensions/codeception/CHANGELOG.md
View file @
d2b864da
Yii Framework 2 Codeception extension Change Log
================================================
2.
0.0-rc
under development
--------------------------
2.
0.0-rc
September 27, 2014
--------------------------
-
-
no changes in this release.
...
...
extensions/composer/CHANGELOG.md
View file @
d2b864da
Yii Framework 2 composer extension Change Log
=============================================
2.
0.0-rc
under development
--------------------------
2.
0.0-rc
September 27, 2014
--------------------------
-
-
Bug #3438: Fixed support for non-lowercase package names (cebe)
-
Chg: Added
`yii\composer\Installer::postCreateProject()`
and modified the syntax of calling installer methods in composer.json (qiangxue)
...
...
extensions/debug/CHANGELOG.md
View file @
d2b864da
Yii Framework 2 debug extension Change Log
==========================================
2.
0.0-rc
under development
--------------------------
2.
0.0-rc
September 27, 2014
--------------------------
-
-
Bug #1263: Fixed the issue that Gii and Debug modules might be affected by incompatible asset manager configuration (qiangxue)
-
Bug #3956: Debug toolbar was affecting flash message removal (samdark)
...
...
extensions/elasticsearch/CHANGELOG.md
View file @
d2b864da
Yii Framework 2 elasticsearch extension Change Log
==================================================
2.
0.0-rc
under development
--------------------------
2.
0.0-rc
September 27, 2014
--------------------------
-
-
Bug #3587: Fixed an issue with storing empty records (cebe)
-
Bug #4187: Elasticsearch dynamic scripting is disabled in 1.2.0, so do not use it in query builder (cebe)
...
...
extensions/faker/CHANGELOG.md
View file @
d2b864da
Yii Framework 2 faker extension Change Log
==============================================
2.
0.0-rc
under development
--------------------------
2.
0.0-rc
September 27, 2014
--------------------------
-
-
Chg #4622: Simplified the way of creating a Faker fixture template file (qiangxue)
...
...
extensions/faker/FixtureController.php
View file @
d2b864da
...
...
@@ -131,6 +131,8 @@ use yii\helpers\VarDumper;
* ],
* ~~~
*
* @property \Faker\Generator $generator This property is read-only.
*
* @author Mark Jebri <mark.github@yandex.ru>
* @since 2.0.0
*/
...
...
extensions/gii/CHANGELOG.md
View file @
d2b864da
Yii Framework 2 gii extension Change Log
========================================
2.
0.0-rc
under development
--------------------------
2.
0.0-rc
September 27, 2014
--------------------------
-
-
Bug #1263: Fixed the issue that Gii and Debug modules might be affected by incompatible asset manager configuration (qiangxue)
-
Bug #2314: Gii model generator does not generate correct relation type in some special case (qiangxue)
...
...
extensions/imagine/CHANGELOG.md
View file @
d2b864da
Yii Framework 2 imagine extension Change Log
================================================
2.
0.0-rc
under development
--------------------------
2.
0.0-rc
September 27, 2014
--------------------------
-
-
no changes in this release.
...
...
extensions/jui/CHANGELOG.md
View file @
d2b864da
Yii Framework 2 jui extension Change Log
========================================
2.
0.0-rc
under development
--------------------------
2.
0.0-rc
September 27, 2014
--------------------------
-
-
Chg #1551: Jui datepicker has a new property
`$dateFormat`
which is used to set the clientOption
`dateFormat`
.
The new property does not use the datepicker formatting synax anymore but uses the same as the
`yii\i18n\Formatter`
...
...
extensions/mongodb/CHANGELOG.md
View file @
d2b864da
Yii Framework 2 mongodb extension Change Log
============================================
2.
0.0-rc
under development
--------------------------
2.
0.0-rc
September 27, 2014
--------------------------
-
-
Bug #2337:
`yii\mongodb\Collection::buildLikeCondition()`
fixed to escape regular expression (klimov-paul)
-
Bug #3385: Fixed "The 'connected' property is deprecated" (samdark)
...
...
extensions/redis/CHANGELOG.md
View file @
d2b864da
Yii Framework 2 redis extension Change Log
==========================================
2.
0.0-rc
under development
--------------------------
2.
0.0-rc
September 27, 2014
--------------------------
-
-
Bug #1311: Fixed storage and finding of
`null`
and boolean values (samdark, cebe)
-
Enh #3520: Added
`unlinkAll()`
-method to active record to remove all records of a model relation (NmDimas, samdark, cebe)
...
...
extensions/smarty/CHANGELOG.md
View file @
d2b864da
Yii Framework 2 smarty extension Change Log
===========================================
2.
0.0-rc
under development
--------------------------
2.
0.0-rc
September 27, 2014
--------------------------
-
-
Enh #4619 (samdark, hwmaier)
-
New functions:
...
...
extensions/sphinx/CHANGELOG.md
View file @
d2b864da
Yii Framework 2 sphinx extension Change Log
===========================================
2.
0.0-rc
under development
--------------------------
2.
0.0-rc
September 27, 2014
--------------------------
-
-
Bug #3668: Escaping of the special characters at 'MATCH' statement added (klimov-paul)
-
Bug #4018: AR relation eager loading does not work with db models (klimov-paul)
...
...
extensions/swiftmailer/CHANGELOG.md
View file @
d2b864da
Yii Framework 2 swiftmailer extension Change Log
================================================
2.
0.0-rc
under development
--------------------------
2.
0.0-rc
September 27, 2014
--------------------------
-
-
no changes in this release.
...
...
extensions/twig/CHANGELOG.md
View file @
d2b864da
Yii Framework 2 twig extension Change Log
=========================================
2.
0.0-rc
under development
--------------------------
2.
0.0-rc
September 27, 2014
--------------------------
-
-
Bug #2925: Fixed throwing exception when accessing AR property with null value (samdark)
-
Bug #3767: Fixed repeated adding of extensions when using config. One may now pass extension instances as well (grachov)
...
...
framework/BaseYii.php
View file @
d2b864da
...
...
@@ -93,7 +93,7 @@ class BaseYii
*/
public
static
function
getVersion
()
{
return
'2.0.0-
dev
'
;
return
'2.0.0-
rc
'
;
}
/**
...
...
framework/CHANGELOG.md
View file @
d2b864da
Yii Framework 2 Change Log
==========================
2.
0.0-rc
under development
--------------------------
2.
0.0-rc
September 27, 2014
--------------------------
-
-
Bug #1263: Fixed the issue that Gii and Debug modules might be affected by incompatible asset manager configuration (qiangxue)
-
Bug #2314: Gii model generator does not generate correct relation type in some special case (qiangxue)
...
...
framework/classes.php
View file @
d2b864da
...
...
@@ -33,6 +33,7 @@ return [
'yii\base\InvalidConfigException'
=>
YII2_PATH
.
'/base/InvalidConfigException.php'
,
'yii\base\InvalidParamException'
=>
YII2_PATH
.
'/base/InvalidParamException.php'
,
'yii\base\InvalidRouteException'
=>
YII2_PATH
.
'/base/InvalidRouteException.php'
,
'yii\base\InvalidValueException'
=>
YII2_PATH
.
'/base/InvalidValueException.php'
,
'yii\base\Model'
=>
YII2_PATH
.
'/base/Model.php'
,
'yii\base\ModelEvent'
=>
YII2_PATH
.
'/base/ModelEvent.php'
,
'yii\base\Module'
=>
YII2_PATH
.
'/base/Module.php'
,
...
...
@@ -56,6 +57,7 @@ return [
'yii\behaviors\SluggableBehavior'
=>
YII2_PATH
.
'/behaviors/SluggableBehavior.php'
,
'yii\behaviors\TimestampBehavior'
=>
YII2_PATH
.
'/behaviors/TimestampBehavior.php'
,
'yii\caching\ApcCache'
=>
YII2_PATH
.
'/caching/ApcCache.php'
,
'yii\caching\ArrayCache'
=>
YII2_PATH
.
'/caching/ArrayCache.php'
,
'yii\caching\Cache'
=>
YII2_PATH
.
'/caching/Cache.php'
,
'yii\caching\ChainedDependency'
=>
YII2_PATH
.
'/caching/ChainedDependency.php'
,
'yii\caching\DbCache'
=>
YII2_PATH
.
'/caching/DbCache.php'
,
...
...
@@ -152,6 +154,7 @@ return [
'yii\helpers\BaseArrayHelper'
=>
YII2_PATH
.
'/helpers/BaseArrayHelper.php'
,
'yii\helpers\BaseConsole'
=>
YII2_PATH
.
'/helpers/BaseConsole.php'
,
'yii\helpers\BaseFileHelper'
=>
YII2_PATH
.
'/helpers/BaseFileHelper.php'
,
'yii\helpers\BaseFormatConverter'
=>
YII2_PATH
.
'/helpers/BaseFormatConverter.php'
,
'yii\helpers\BaseHtml'
=>
YII2_PATH
.
'/helpers/BaseHtml.php'
,
'yii\helpers\BaseHtmlPurifier'
=>
YII2_PATH
.
'/helpers/BaseHtmlPurifier.php'
,
'yii\helpers\BaseInflector'
=>
YII2_PATH
.
'/helpers/BaseInflector.php'
,
...
...
@@ -162,6 +165,7 @@ return [
'yii\helpers\BaseVarDumper'
=>
YII2_PATH
.
'/helpers/BaseVarDumper.php'
,
'yii\helpers\Console'
=>
YII2_PATH
.
'/helpers/Console.php'
,
'yii\helpers\FileHelper'
=>
YII2_PATH
.
'/helpers/FileHelper.php'
,
'yii\helpers\FormatConverter'
=>
YII2_PATH
.
'/helpers/FormatConverter.php'
,
'yii\helpers\Html'
=>
YII2_PATH
.
'/helpers/Html.php'
,
'yii\helpers\HtmlPurifier'
=>
YII2_PATH
.
'/helpers/HtmlPurifier.php'
,
'yii\helpers\Inflector'
=>
YII2_PATH
.
'/helpers/Inflector.php'
,
...
...
@@ -219,6 +223,7 @@ return [
'yii\rest\UrlRule'
=>
YII2_PATH
.
'/rest/UrlRule.php'
,
'yii\rest\ViewAction'
=>
YII2_PATH
.
'/rest/ViewAction.php'
,
'yii\test\ActiveFixture'
=>
YII2_PATH
.
'/test/ActiveFixture.php'
,
'yii\test\ArrayFixture'
=>
YII2_PATH
.
'/test/ArrayFixture.php'
,
'yii\test\BaseActiveFixture'
=>
YII2_PATH
.
'/test/BaseActiveFixture.php'
,
'yii\test\DbFixture'
=>
YII2_PATH
.
'/test/DbFixture.php'
,
'yii\test\Fixture'
=>
YII2_PATH
.
'/test/Fixture.php'
,
...
...
@@ -280,6 +285,7 @@ return [
'yii\web\RequestParserInterface'
=>
YII2_PATH
.
'/web/RequestParserInterface.php'
,
'yii\web\Response'
=>
YII2_PATH
.
'/web/Response.php'
,
'yii\web\ResponseFormatterInterface'
=>
YII2_PATH
.
'/web/ResponseFormatterInterface.php'
,
'yii\web\ServerErrorHttpException'
=>
YII2_PATH
.
'/web/ServerErrorHttpException.php'
,
'yii\web\Session'
=>
YII2_PATH
.
'/web/Session.php'
,
'yii\web\SessionIterator'
=>
YII2_PATH
.
'/web/SessionIterator.php'
,
'yii\web\TooManyRequestsHttpException'
=>
YII2_PATH
.
'/web/TooManyRequestsHttpException.php'
,
...
...
framework/console/Controller.php
View file @
d2b864da
...
...
@@ -27,6 +27,9 @@ use yii\helpers\Console;
* where `<route>` is a route to a controller action and the params will be populated as properties of a command.
* See [[options()]] for details.
*
* @property string $help This property is read-only.
* @property string $helpSummary This property is read-only.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
...
...
framework/console/controllers/CacheController.php
View file @
d2b864da
framework/console/controllers/FixtureController.php
View file @
d2b864da
framework/db/Connection.php
View file @
d2b864da
...
...
@@ -118,8 +118,6 @@ use yii\caching\Cache;
* read-only.
* @property QueryBuilder $queryBuilder The query builder for the current DB connection. This property is
* read-only.
* @property array $queryCacheInfo The current query cache information, or null if query cache is not enabled.
* This property is read-only.
* @property Schema $schema The schema information for the database opened by this connection. This property
* is read-only.
* @property Connection $slave The currently active slave connection. Null is returned if there is slave
...
...
framework/i18n/Formatter.php
View file @
d2b864da
framework/test/ArrayFixture.php
View file @
d2b864da
framework/web/AssetManager.php
View file @
d2b864da
...
...
@@ -31,6 +31,9 @@ use yii\helpers\Url;
* ]
* ```
*
* @property AssetConverterInterface $converter The asset converter. Note that the type of this property
* differs in getter and setter. See [[getConverter()]] and [[setConverter()]] for details.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
...
...
framework/web/Request.php
View file @
d2b864da
...
...
@@ -65,7 +65,6 @@ use yii\helpers\StringHelper;
* @property string $queryString Part of the request URL that is after the question mark. This property is
* read-only.
* @property string $rawBody The request body. This property is read-only.
* @property string $rawCsrfToken The random token for CSRF validation. This property is read-only.
* @property string $referrer URL referrer, null if not present. This property is read-only.
* @property string $scriptFile The entry script file path.
* @property string $scriptUrl The relative URL of the entry script.
...
...
framework/web/Response.php
View file @
d2b864da
...
...
@@ -35,6 +35,7 @@ use yii\helpers\StringHelper;
* ~~~
*
* @property CookieCollection $cookies The cookie collection. This property is read-only.
* @property string $downloadHeaders The attachment file name. This property is write-only.
* @property HeaderCollection $headers The header collection. This property is read-only.
* @property boolean $isClientError Whether this response indicates a client error. This property is
* read-only.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment