Commit Graph

7547 Commits

Author SHA1 Message Date
AlexGx
32d0768919 style fixes with phpcs:yii2 2014-03-08 14:55:58 +02:00
Carsten Brandt
d9ea81dc74 Make code coverage work 2014-03-08 13:44:29 +01:00
Paul Klimov
f56616394e Note about embedded documents added to mongodb extension readme 2014-03-08 14:34:35 +02:00
Paul Klimov
866ba85010 yii\mongodb\file\Collection::ensureMongoId() fixed to suppress exception on invalid _id format. 2014-03-08 14:12:08 +02:00
Paul Klimov
0019f130cb Merge branch 'master' of github.com:yiisoft/yii2 2014-03-08 13:53:03 +02:00
Paul Klimov
8d5536ac12 yii\mongodb\file\ActiveRecord::update() fixed to save the attributes while updating file. 2014-03-08 11:49:09 +02:00
Alexander Makarov
34db2d2082 Merge pull request #2652 from Theill11/fix-test-breaks
Update advanced app tests
2014-03-08 12:41:06 +03:00
Johnny Theill
af8f1e254e Added advanced app tests to travis 2014-03-08 07:09:04 +01:00
Qiang Xue
1af04e1e1b Fixes #2661: Added boolean column type support for SQLite 2014-03-07 22:38:30 -05:00
Qiang Xue
35018bfb21 Refactored controller creation process. 2014-03-07 22:34:03 -05:00
Qiang Xue
ad19e332f4 Added back some toArray() implementations. 2014-03-07 22:05:45 -05:00
Qiang Xue
b3b515b9d1 Merge pull request #2660 from EmilHaukeland/patch-2
Corrected 'class' parameter
2014-03-07 20:00:32 -05:00
Qiang Xue
203bc5ea05 Fixed test break. 2014-03-07 19:58:30 -05:00
Emil Haukeland
5836d479bd Update console-migrate.md
Corrected 'class' parameter
2014-03-08 01:21:01 +01:00
Qiang Xue
fad635440b Fixes #2655: Arrayable and ArrayableTrait are incompatible for some PHP versions. 2014-03-07 19:08:27 -05:00
Alexander Makarov
6d97ded6c6 Fixes #2659 2014-03-08 03:01:14 +04:00
Alexander Makarov
24b0de63d5 Minor code style fixes for apidoc 2014-03-08 02:50:59 +04:00
Carsten Brandt
cf9597a7aa code style 2014-03-07 22:17:03 +01:00
Carsten Brandt
a8ef7bab9e Merge branch 'code-style'
* code-style:
  fix php5.4 array syntax
  many phpcs fixes
  fix phpDoc LuaScriptBuilder build @throws
  returned back formatting language files
  code style. WHILE
  code style. FOR
  code style. FOREACH
  code style. operator IF
  @param, @var, @property and @return must declare types as boolean, integer, string, array or null
  short echo tags
  short array syntax
2014-03-07 21:56:40 +01:00
Alexander Makarov
fe48ae0d98 Merge pull request #2657 from Theill11/fix-validation
Advanced app: Username should be unique
2014-03-07 23:55:19 +03:00
Carsten Brandt
1b7e1cd027 Merge pull request #2605 branch 'feature' of https://github.com/mongosoft/yii2 into code-style
* 'feature' of https://github.com/mongosoft/yii2:
  returned back formatting language files
  code style. WHILE
  code style. FOR
  code style. FOREACH
  code style. operator IF
  @param, @var, @property and @return must declare types as boolean, integer, string, array or null
  short echo tags
  short array syntax

Conflicts:
	extensions/apidoc/commands/RenderController.php
	extensions/apidoc/models/BaseDoc.php
	extensions/apidoc/models/Context.php
	extensions/apidoc/templates/bootstrap/Renderer.php
	extensions/apidoc/templates/bootstrap/layouts/guide.php
	extensions/apidoc/templates/bootstrap/layouts/main.php
	extensions/apidoc/templates/bootstrap/views/index.php
	extensions/apidoc/templates/html/Renderer.php
	extensions/apidoc/templates/offline/views/index.php
	extensions/apidoc/templates/offline/views/offline.php
	extensions/apidoc/templates/online/views/index.php
	extensions/elasticsearch/Connection.php
	extensions/redis/ActiveQuery.php
	framework/base/ErrorException.php
	framework/helpers/BaseFileHelper.php
	tests/unit/framework/helpers/FileHelperTest.php
2014-03-07 21:54:44 +01:00
Johnny Theill
a5e6e2d43b username should be unique 2014-03-07 21:50:04 +01:00
Carsten Brandt
668dacbab6 Merge pull request #2622 branch 'ext-codestyle-fix' of https://github.com/AlexGx/yii2 into code-style
* 'ext-codestyle-fix' of https://github.com/AlexGx/yii2:
  fix php5.4 array syntax
  many phpcs fixes
  fix phpDoc LuaScriptBuilder build @throws

Conflicts:
	extensions/apidoc/commands/RenderController.php
	extensions/apidoc/models/BaseDoc.php
	extensions/apidoc/templates/BaseRenderer.php
	extensions/apidoc/templates/bootstrap/Renderer.php
	extensions/apidoc/templates/bootstrap/layouts/guide.php
	extensions/apidoc/templates/bootstrap/layouts/main.php
	extensions/apidoc/templates/html/Renderer.php
	extensions/apidoc/templates/offline/Renderer.php
	extensions/apidoc/templates/offline/assets/AssetBundle.php
	extensions/apidoc/templates/offline/views/index.php
2014-03-07 21:34:23 +01:00
Johnny Theill
95e01899c7 Changed assertions 2014-03-07 21:26:01 +01:00
Carsten Brandt
e2aacad8aa Added links to PHP.net to apidoc 2014-03-07 19:41:43 +01:00
Carsten Brandt
f279719196 be consistent, use singular inheritdoc 2014-03-07 18:46:26 +01:00
Carsten Brandt
adb28deeff added support for basic @inheritDoc tags 2014-03-07 18:43:50 +01:00
Carsten Brandt
31a1eca556 add source code links to api docs 2014-03-07 17:52:12 +01:00
Larry Ullman
6df4802e12 Edited whole document 2014-03-07 11:16:26 -05:00
Larry Ullman
db222533e3 Edited
Really not sure what this is. It seems incomplete as is.
2014-03-07 11:16:26 -05:00
Carsten Brandt
5e356acbd7 exclude file support for apidocs
issue #1797
2014-03-07 16:51:18 +01:00
Qiang Xue
bbea1ab19c Fixes #2629: Module::controllerPath is now read only, and all controller classes must be namespaced under Module::controllerNamespace 2014-03-07 10:35:15 -05:00
Carsten Brandt
d4869eab6b reverted 315cfbc03b to be nice to travis 2014-03-07 16:01:04 +01:00
Carsten Brandt
315cfbc03b check if travis can do a crazy build for us :) 2014-03-07 15:58:06 +01:00
Qiang Xue
65bfd1633b Fixes #2646: Added support for specifying hostinfo in the pattern of a URL rule 2014-03-07 09:53:55 -05:00
Carsten Brandt
6d3e60f963 Merge pull request #2656 from yiisoft/apidoc-refactoring
Apidoc refactoring
2014-03-07 14:47:13 +01:00
Carsten Brandt
ca6bfdbbb5 final changes for apidoc refactoring 2014-03-07 14:40:52 +01:00
Carsten Brandt
acde64c88b finished guide command refactoring 2014-03-07 13:37:58 +01:00
Alexander Makarov
96d131899f Fixed ErrorException changes 2014-03-07 13:46:21 +04:00
Qiang Xue
4f8c037a21 fixed unset. 2014-03-06 21:18:28 -05:00
Qiang Xue
9b8ffdfacc Fixes #2653: Fixed the bug that unsetting an unpopulated AR relation would trigger exception (qiangxue) 2014-03-06 20:38:55 -05:00
Qiang Xue
11baf61977 Fixed unsetting relation bug. 2014-03-06 19:19:23 -05:00
Qiang Xue
4d538d6bba removed ModelSerializer as it is replaced by new REST implementation. 2014-03-06 19:17:23 -05:00
Johnny Theill
70463d538c fix tests 2014-03-07 00:13:28 +01:00
Alexander Makarov
3422c01712 Minor phpdoc fix 2014-03-07 03:07:49 +04:00
Alexander Makarov
05339536a6 Used Exception instead of die() in classmap CLI controller 2014-03-07 03:07:49 +04:00
Alexander Makarov
fa66122170 Merge pull request #2651 from yiisoft/error-handler-adjustments
Fixes #2603: `yii\base\ErrorHandler` now extends `\ErrorHandler`
2014-03-07 01:38:03 +03:00
Alexander Makarov
44558df59d #2603: yii\base\ErrorHandler now extends \ErrorHandler 2014-03-07 02:21:36 +04:00
Alexander Makarov
c5ec3550de Removed unused "use" statements 2014-03-07 02:10:32 +04:00
Alexander Makarov
71835d977e More short syntax for arrays 2014-03-07 02:03:23 +04:00