Commit Graph

3288 Commits

Author SHA1 Message Date
Qiang Xue
9484423172 Merge pull request #2672 from lucianobaraglia/code-style-fixes
Code style fixes
2014-03-08 20:30:12 -05:00
Luciano Baraglia
269d1303a9 Code style fixes 2014-03-08 20:47:04 -03:00
Alexander Makarov
150d5152b2 more grid docs 2014-03-09 03:21:42 +04:00
Qiang Xue
bd3dd038ab Fixed user status check. 2014-03-08 15:36:07 -05:00
Qiang Xue
b751211dae fixed implementation of Session::getHasSessionId(). 2014-03-08 15:29:00 -05:00
Carsten Brandt
f7148c2d80 callback -> callable
this term is resolveable by the php docs when linking types in apidoc
2014-03-08 21:04:47 +01:00
Vladimir
66315a2cb6 Update HttpBearerAuth.php
typo fix
2014-03-08 17:41:11 +03:00
Carsten Brandt
595f55c504 api doc improvements 2014-03-08 14:20:19 +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
fad635440b Fixes #2655: Arrayable and ArrayableTrait are incompatible for some PHP versions. 2014-03-07 19:08:27 -05: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
Carsten Brandt
e2aacad8aa Added links to PHP.net to apidoc 2014-03-07 19:41:43 +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
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
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
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
Carsten Brandt
740a769477 improved HelpController with messages for each command 2014-03-06 22:43:57 +01:00
Qiang Xue
e38c4225b2 Merge commit 'bdce87b242abbff800020deba0a5c2031fc2efe7' into feature-restapi
Conflicts:
	framework/db/BaseActiveRecord.php
2014-03-06 00:00:33 -05:00
Qiang Xue
1b03dc8f4c major features and documentation finished for REST API. 2014-03-05 23:52:33 -05:00
Qiang Xue
18c7c63e66 rest WIP 2014-03-05 22:21:55 -05:00
jneto81
310d77f3b9 Removed U+FEFF character from pt-PT language file to fixe #2631 2014-03-05 23:22:29 +00:00
Alexander Makarov
386979d6a3 Revert "Used ternary operator instead of "or" for constant definition"
This reverts commit 2bb6f13505.
2014-03-06 01:56:51 +04:00
Qiang Xue
3f42d5826a REST wip. 2014-03-05 13:29:24 -05:00
Carsten Brandt
8df35f7627 reset access cache when user identity is set
fixes #2632
2014-03-05 17:36:14 +01:00
Qiang Xue
993963bb94 reset batch query result when rewinding. 2014-03-05 09:00:32 -05:00
Qiang Xue
5474300c8b fixed loading namespaceless controller classes. 2014-03-05 08:29:07 -05:00
Qiang Xue
10061359ed Fixes #1467: Added support for organizing controllers in subdirectories 2014-03-04 23:30:48 -05:00
Carsten Brandt
80e9b80078 replace pjax with external resouce via composer
We are now maintaining a fork of pjax:
https://github.com/yiisoft/jquery-pjax
2014-03-05 05:06:37 +01:00
Carsten Brandt
3777ec2bd3 fixed > 100 typos introduced by me :-) 2014-03-05 02:38:59 +01:00
Carsten Brandt
f34a0c63a1 fixed phpdoc 2014-03-05 02:35:01 +01:00
Carsten Brandt
aa9d3b3e66 Merge branch 'master' of github.com:yiisoft/yii2
* 'master' of github.com:yiisoft/yii2: (40 commits)
  Fixes #2624: Html::textArea() should respect "name" option.
  Removed unused "use" statements
  Changed "and" to "&&"
  Used ternary operator instead of "or" for constant definition
  Removed unused variables
  Removed executable flag from asset files
  Changelog for #2607
  Added note about overriding asset bundles according to #2556
  Added some documentation to new pjax attribute
  Add unit tests
  typo fix.
  Update MessageController.php
  Update MessageController.php
  add findAndModify() method to the Collection class
  Add an option to ignore pjax request on some links.
  fix code style php5.4 syntax
  Inline control structures are not allowed
  fix code style
  fix code style
  fix typo double `;`, `Each PHP statement must be on a line by itself`
  ...
2014-03-05 02:33:30 +01:00
Carsten Brandt
80cc310895 updated phpdoc references of BaseAR to the interface
fixes #2623
2014-03-05 02:32:45 +01:00
Qiang Xue
c64ab9d7fc Fixes #2624: Html::textArea() should respect "name" option. 2014-03-04 19:34:09 -05:00
Alexander Makarov
12d4615039 Changed "and" to "&&" 2014-03-04 22:28:52 +04:00
Alexander Makarov
2bb6f13505 Used ternary operator instead of "or" for constant definition 2014-03-04 22:17:11 +04:00
Alexander Makarov
b0ef4c9084 Removed unused variables 2014-03-04 21:46:30 +04:00
Alexander Makarov
c7daae46cd Changelog for #2607 2014-03-04 21:10:56 +04:00
Alexander Makarov
51d6db7d80 Merge pull request #2607 from mitalcoi/db_message_source
enchansment of db message source
2014-03-04 20:08:40 +03:00
Christophe BOULAIN
078fdab686 Added some documentation to new pjax attribute 2014-03-04 13:45:36 +01:00
Sorokin Victor
1a14ed2127 Update MessageController.php 2014-03-04 12:40:13 +02:00
Sorokin Victor
4d4a3f0804 Update MessageController.php 2014-03-04 12:36:54 +02:00
Christophe BOULAIN
3daa177ea2 Add an option to ignore pjax request on some links. 2014-03-04 10:21:11 +01:00