Commit Graph

421 Commits

Author SHA1 Message Date
Carsten Brandt
1e75427393 updated classmap and phpdoc 2014-03-24 23:26:30 +01:00
Qiang Xue
4c939eee3e reverted back change to parsing body params. 2014-03-23 16:52:43 -04:00
Carsten Brandt
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
Qiang Xue
6e8c460273 Fixes #2724: consistent use of absolute and relative routes. 2014-03-22 20:17:31 -04:00
Qiang Xue
300c5a549a Fixes #2825: Request::getBodyParams() should correctly parse CONTENT TYPE. 2014-03-22 13:01:21 -04:00
Qiang Xue
1a71c10934 Added yii\web\PrefixUrlRule 2014-03-21 22:01:20 -04:00
Qiang Xue
44d9d0dabb Fixes #2820 2014-03-21 10:38:32 -04:00
Qiang Xue
58ead7deb1 cleanup. 2014-03-21 09:56:12 -04:00
Qiang Xue
be6b259c4e A better fix. 2014-03-21 09:54:49 -04:00
Qiang Xue
3c518c4207 Merge commit 'f605508bb2805d24df98037ea239f8f582deda0e' into feature-container 2014-03-20 23:51:02 -04:00
Qiang Xue
4374616302 throw exception when UrlManager is not properly configured in console mode. 2014-03-19 09:36:13 -04:00
Ряднов Андрей
aa4e6ec039 fix User::getReturnUrl() after #2501 2014-03-19 11:20:40 +03:00
Qiang Xue
8e11ad0360 refactored code to use Instance::ensure() 2014-03-18 12:31:27 -04:00
Qiang Xue
8c2e39235f Turn module and application into DI containers. 2014-03-17 23:57:01 -04:00
Qiang Xue
f61734d412 Added $checkSession parameter to User::getIsGuest() and getId(). 2014-03-16 20:43:01 -04:00
Qiang Xue
9e33dedc4e Added return value for User::logout(). 2014-03-16 19:16:39 -04:00
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
Qiang Xue
21f2f38b35 Fixes #2691: Null parameters will not be included in the generated URLs by UrlManager 2014-03-12 20:26:20 -04:00
Carsten Brandt
40cb98bb02 updated @property annotations 2014-03-11 16:21:25 +01:00
Alexander Makarov
7a3fd41afc Fixes #2701 2014-03-11 15:44:09 +04:00
Christophe BOULAIN
ca3b2cd057 Fix some references to removed Html::url in phpdoc 2014-03-11 11:15:21 +01:00
Alexander Makarov
348dfa78eb Merge pull request #2676 from yiisoft/url-helper
#2630: `yii\heplers\Html::url` moved to new `yii\helpers\Url::create`
2014-03-11 01:36:05 +03:00
Alexander Makarov
bddad5280c Combined $schema and $absolute into $schema 2014-03-10 20:29:24 +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
bd271d42e4 Removed passing unused parameter 2014-03-10 16:33:17 +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
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
3400eb5215 #2630: yii\heplers\Html::url moved to new yii\helpers\Url::create 2014-03-09 16:41:55 +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
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
65bfd1633b Fixes #2646: Added support for specifying hostinfo in the pattern of a URL rule 2014-03-07 09:53:55 -05:00
Qiang Xue
e38c4225b2 Merge commit 'bdce87b242abbff800020deba0a5c2031fc2efe7' into feature-restapi
Conflicts:
	framework/db/BaseActiveRecord.php
2014-03-06 00:00:33 -05:00
Carsten Brandt
8df35f7627 reset access cache when user identity is set
fixes #2632
2014-03-05 17:36:14 +01:00
AlexGx
eaaa5b1bb5 fix code style 2014-03-04 06:12:30 +02:00
Qiang Xue
94a9087b89 Renamed User::loginByToken() to loginByAccessToken(). 2014-03-03 15:03:18 -05:00
Qiang Xue
a8c7d36c02 Finished HATEOAS support. 2014-03-03 14:58:37 -05:00
Alexander Mohorev
95ea1c20bb code style. FOREACH 2014-03-03 21:47:47 +03:00
Alexander Mohorev
c7e8d8b900 @param, @var, @property and @return must declare types as boolean, integer, string, array or null 2014-03-03 20:50:44 +03:00
Qiang Xue
7a04dbaae1 Support for other auth types. 2014-03-03 10:18:39 -05:00
Qiang Xue
af33e821a0 typo fix. 2014-03-02 16:55:53 -05:00
Qiang Xue
48a12559b2 rest api WIP 2014-03-01 23:14:16 -05:00
Qiang Xue
4891aa79bf Fixes #1535: Improved yii\web\User to start session only when needed. Also prepared it for use without session. 2014-03-01 21:10:49 -05:00
Qiang Xue
ec05c0eaf7 typo fix. 2014-03-01 20:15:21 -05:00
Qiang Xue
489c094766 Fixes #1564: Removed yii\web\Session::autoStart and added hasSessionId. Session will be automatically started when accessing session data 2014-02-28 22:12:31 -05:00