Commit Graph

4065 Commits

Author SHA1 Message Date
Alexander Makarov
842e7eb573 Added tests, final Url helper adjustments 2014-03-11 02:12:13 +04:00
Christian Nadolle
bf5de41188 Added changelog 2014-03-10 22:12:19 +01:00
Alexander Makarov
bddad5280c Combined $schema and $absolute into $schema 2014-03-10 20:29:24 +04:00
Alexander Makarov
577f8a5c50 Added separate schema and absolute parameters 2014-03-10 20:11:06 +04:00
Alexander Makarov
2b842ecc57 Moded URL management methods from controller to Url helper, updated docs 2014-03-10 19:40:32 +04:00
Alexander Makarov
1276970ce5 Made $url default consistent 2014-03-10 17:57:24 +04:00
Alexander Makarov
aeb25c39e1 Further adjustments for Url helper 2014-03-10 17:52:03 +04:00
Alexander Makarov
bd271d42e4 Removed passing unused parameter 2014-03-10 16:33:17 +04:00
Alexander Makarov
338bc86e6d Fixed absolute URLs in Url::to 2014-03-10 15:54:25 +04:00
Alexander Makarov
67af6bc84a Fixed inconsistent usage of getters 2014-03-10 15:50:43 +04:00
Alexander Makarov
cb5a889621 Fixed recursion 2014-03-10 15:39:31 +04:00
Alexander Makarov
5d6c314d4e Adjusted URL helper, fixed usage 2014-03-10 15:25:15 +04:00
Vladimir Zbrailov
2dcf428173 changelog 2014-03-10 11:23:36 +04:00
Christian Nadolle
0051a1ece4 sort options by action in Migration controller 2014-03-09 22:47:05 +01:00
Christian Nadolle
706ab7f968 combine globalOptions() with local options into options($id)
adjust existing Console Controllers and docs
2014-03-09 22:45:04 +01:00
Alexander Makarov
92b381795b Adjusted Url helper methods 2014-03-10 01:34:05 +04:00
Vladimir Zbrailov
46d2413c69 fix buildin php bug https://bugs.php.net/bug.php?id=66606 2014-03-10 00:33:41 +04:00
Alexander Makarov
73b7e03ec3 Argument for Url::base is now optional 2014-03-09 19:09:03 +04:00
Alexander Makarov
2dacc4fb0a Adjusted changelog 2014-03-09 18:30:20 +04:00
Alexander Makarov
8df9dddd70 Added Url::createAbsolute, adjusted signiatures 2014-03-09 18:24:27 +04:00
Alexander Makarov
2cd5f982fe Renamed methods, added Url::getHome 2014-03-09 18:15:37 +04:00
Alexander Makarov
14fc5bd1de Added Url::canonical 2014-03-09 18:10:36 +04:00
Alexander Makarov
5420517e21 Added Url::rememberReturnUrl 2014-03-09 18:07:54 +04:00
Alexander Makarov
e758608a5a Added Url::asset 2014-03-09 18:02:24 +04:00
Alexander Makarov
3400eb5215 #2630: yii\heplers\Html::url moved to new yii\helpers\Url::create 2014-03-09 16:41:55 +04:00
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
Christian Nadolle
b0d7559a8d console/Controller show help for local options 2014-03-09 00:43:12 +01:00
Christian Nadolle
05f7df3091 console/Controller support local options per action 2014-03-09 00:43:11 +01: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