63 Commits

Author SHA1 Message Date
cd87d67f34 Global DOCS update: ~~~ replaced with ``` 2015-12-02 23:15:28 +02:00
0712bad090 Fixes #9846: Fixed yii\web\User::loginRequired() should throw 401 not 403 (reverted from commit 4e715f9d65e75853866b19c1f968b4d9c7969ae7)
See https://github.com/yiisoft/yii2/issues/9846#issuecomment-146891825
2015-10-09 22:13:39 +03:00
4e715f9d65 Fixes #9846: Fixed yii\web\User::loginRequired() should throw 401 not 403 2015-10-07 18:16:42 +03:00
bc543db206 fix doc 2015-09-28 15:25:29 +02:00
223b0bea5d Fixes #9369: Yii::$app->user->can() now returns false instead of erroring in case authManager component is not configured 2015-08-11 11:16:21 +03:00
a2568d1ec8 updated some comments and @since annotations 2015-08-02 19:56:49 +02:00
025845e660 performance: unnecessary (when result is cached) getAuthManager() removed 2015-07-09 19:22:36 +02:00
ae42a054bb PSR-2 spaces, commas, etc 2015-06-09 00:05:06 +03:00
0802d3eb60 added more detailed comment for #8556 2015-06-01 15:44:07 +02:00
acb7b2ebbb Fixes #8556: Extracted yii\web\User::getAuthManager() method 2015-05-31 12:46:38 +03:00
0c599b1ee1 Fixes #5480: Added defensive code to yii\web\User::getIdentity() to avoid potential infinite recursion 2014-11-27 21:55:28 -05:00
e2b6cb69b0 Fixes #4889: Application was getting into redirect loop when user wasn't allowed accessing login page. Now shows 403 2014-11-07 03:01:05 +03:00
48ec791e4a Fixes #5587: json_encode is now used with JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE where it makes sense, also it is now default for Json::encode() 2014-10-19 18:50:46 +04:00
851d15380f Fixes #5131: Added $autoRenew parameter to yii\web\User::getIdentity() 2014-09-22 17:58:58 -04:00
090e550a3d Rename \yii\web\User component param for consistency 2014-09-10 05:55:07 +04:00
f3105f736a Fixes #3283: Added $checkAjax to yii\web\User::loginRequired() 2014-08-26 22:29:40 -04:00
0cdf2f5171 Fixed code break. 2014-08-06 10:27:37 -04:00
dee0382c1f Added yii\base\InvalidValueException.
Refactored `yii\web\User`.
2014-08-06 10:07:14 -04:00
7a55aea247 Fixes #4600 2014-08-05 07:53:20 -04:00
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
f6c589f043 Add absoluteAuthTimeout to yii\web\User.
This is based on the code from Yii 1.1.14 by Ivo Kund.
2014-07-16 10:46:11 +02:00
c6f711ccca Fixes #3765: Added yii\web\User::enableSession to support authentication without using session 2014-06-25 16:21:54 -04:00
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
af7530663d Fixes #3383: Added $type parameter to IdentityInterface::findIdentityByAccessToken() 2014-05-06 18:45:18 -04:00
a6136e1b16 Renamed yii\web\User::checkAccess() to yii\web\User::can() 2014-04-12 19:14:50 -04:00
0b29c9607d fixed broken API links [skip ci] 2014-04-09 22:22:49 -04:00
f0dcceb37c ensure Dispatchers logger gets set when requested.
fixes #2894
2014-03-27 13:00:59 +01:00
435747cf98 apidoc and codestyle fixes 2014-03-26 23:03:18 +01:00
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
58ead7deb1 cleanup. 2014-03-21 09:56:12 -04:00
aa4e6ec039 fix User::getReturnUrl() after #2501 2014-03-19 11:20:40 +03:00
f61734d412 Added $checkSession parameter to User::getIsGuest() and getId(). 2014-03-16 20:43:01 -04:00
9e33dedc4e Added return value for User::logout(). 2014-03-16 19:16:39 -04:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
40cb98bb02 updated @property annotations 2014-03-11 16:21:25 +01:00
bd3dd038ab Fixed user status check. 2014-03-08 15:36:07 -05:00
e38c4225b2 Merge commit 'bdce87b242abbff800020deba0a5c2031fc2efe7' into feature-restapi
Conflicts:
	framework/db/BaseActiveRecord.php
2014-03-06 00:00:33 -05:00
8df35f7627 reset access cache when user identity is set
fixes #2632
2014-03-05 17:36:14 +01:00
94a9087b89 Renamed User::loginByToken() to loginByAccessToken(). 2014-03-03 15:03:18 -05:00
7a04dbaae1 Support for other auth types. 2014-03-03 10:18:39 -05:00
48a12559b2 rest api WIP 2014-03-01 23:14:16 -05:00
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
26cb7b2a3c Renamed fooVar to fooParam for various classes. 2014-02-15 18:18:27 -05:00
262189533a huge amount of documentation link fixes 2014-01-28 17:54:40 +01:00
f24454a458 Renames AccessDeniedHttpException to ForbiddenHttpException in framework, docs, and extension files 2014-01-21 17:11:28 -08:00
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00
0d814fa523 Moved "framework" to "iii". 2013-05-09 12:00:15 -04:00
d2f35f2062 Fixes issue #124. 2013-05-05 21:02:57 -04:00
9841d6c639 Fixes issue #124. 2013-05-05 15:11:53 -04:00
74246a23f6 form wip 2013-04-28 10:39:42 -04:00