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
Qiang Xue
032f38a57b
Added yii\web\Request::getAuthUser() and getAuthPassword()
2014-02-28 21:29:18 -05:00
Qiang Xue
24e086deaf
Added yii\web\UrlRuleInterface and yii\web\CompositeUrlRule
2014-02-28 14:40:25 -05:00
Qiang Xue
49010df192
Changed Controller::afterAction(), Module::afterAction() and ActionFilter::afterAction() to pass $result by value instead of reference
2014-02-27 10:52:17 -05:00
andy5
b9837d8d69
Change AssetBundle.register() return type to static
...
Enable IDE typehints for custom AssetBundle properties (related to #2572 ).
2014-02-27 05:50:14 -08:00
Qiang Xue
ad06b80e6e
Enhanced parsing the accept header.
2014-02-26 23:11:59 -05:00
Qiang Xue
3dead3386c
CS fix.
2014-02-24 07:33:16 -05:00
tof06
61767861fb
Add X-PJAX-URL header when redirect a pjax request
2014-02-24 12:29:27 +01:00
tof06
8c1d39b348
Add getIsPjax method to Request
2014-02-24 12:28:33 +01:00
Alexander Makarov
d8d44b6127
Merge pull request #2501 from yiisoft/unify-urls
...
Fixes #2426 : Changed URL creation method signatures to be consistent
2014-02-21 23:53:15 +03:00
Carsten Brandt
c46b35b13c
allow configuring asset converter property with default class
2014-02-21 17:45:33 +01:00
Alexander Makarov
752b7cf9d1
Fixes #2502 : Unclear error message when $_SERVER['DOCUMENT_ROOT'] is empty
2014-02-20 20:55:02 +04:00
Alexander Makarov
6a1816a94e
Allow using string for URL in case there are no parameters
2014-02-20 20:45:16 +04:00
Alexander Makarov
43c17d99cc
Fixes #2426 : Changed URL creation method signatures to be consistent
2014-02-20 20:10:33 +04:00
Carsten Brandt
098567ce16
fixed phpdoc errors and updated properties
2014-02-20 13:42:30 +01:00
Carsten Brandt
5558fa1297
small code style fix
2014-02-17 03:56:35 +01:00
Qiang Xue
26cb7b2a3c
Renamed fooVar to fooParam for various classes.
2014-02-15 18:18:27 -05:00