Commit Graph

386 Commits

Author SHA1 Message Date
Qiang Xue
0cdf2f5171 Fixed code break. 2014-08-06 10:27:37 -04:00
Qiang Xue
dee0382c1f Added yii\base\InvalidValueException.
Refactored `yii\web\User`.
2014-08-06 10:07:14 -04:00
Qiang Xue
7a55aea247 Fixes #4600 2014-08-05 07:53:20 -04:00
Tadas Z
f010fb57b4 Enh #4581: Added ability to disable url encoding in UrlRule. 2014-08-04 00:07:36 +03:00
Carsten Brandt
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
Carsten Brandt
1f31f27787 phpdoc 2014-07-29 22:19:14 +02:00
Carsten Brandt
08a480c6e6 make Request more robust against invalid CSRF data
fixes #4514
2014-07-29 20:13:57 +02:00
tom--
2c5c2c101b Fixes #4131: Security adjustments 2014-07-26 03:29:30 +04:00
Alexander Makarov
0edd8bc65a Fixed missing and incorrect phpdoc 2014-07-25 17:26:35 +04:00
Alexander Makarov
07f01bcf2b Used substr_compare instead of substr when we don't care about result 2014-07-23 16:37:49 +04:00
Qiang Xue
4e4e76e883 Request::cookieValidationKey must be explicitly specified now. 2014-07-19 15:39:03 -04:00
OmgDef
697a85dd26 Check for UPLOAD_ERR_NO_FILE in UploadedFile
fixes #4276, close #4358
2014-07-19 11:57:14 +02:00
Qiang Xue
e5a87af234 Fixes #4331: yii\helpers\Url now uses UrlManager to determine base URL when generating URLs 2014-07-17 21:51:37 -04:00
Carsten Brandt
4717571e22 improved docs about goBack()
fixes #4343
2014-07-17 20:45:44 +02:00
Nikola Kovacs
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
Carsten Brandt
f4c451b2ee Merge pull request #4285 from yiisoft/global-asset-config
Improved global configuration of assetmanager
2014-07-12 14:34:35 +02:00
Carsten Brandt
8b70a55b14 Improved global configuration of assetmanager
Added `beforeCopy`, `afterCopy`, `forceCopy` properties to AssetManager

fixes #4209
2014-07-12 13:51:05 +02:00
Alexander Makarov
5296da3390 Adjusted phpdoc 2014-07-11 14:53:52 +04:00
Qiang Xue
acaa4f8194 Fixes #4204: yii\web\Request::getUserIP() will return null if it cannot detect user IP address 2014-07-04 09:14:01 -04:00
Alexander Makarov
f66e28c4aa Fixes #4199: added missing category to logging calls 2014-07-04 11:40:30 +03:00
Qiang Xue
9c4d4715dd guide WIP [skip ci] 2014-07-03 08:33:09 -04:00
Qiang Xue
399b6b18e3 Fixes #4103 2014-06-28 21:58:07 -04:00
Klimov Paul
2bab6259d1 'Security' helper usage switched to 'security' application component. 2014-06-27 14:31:08 +03:00
Carsten Brandt
739f5fda48 Merge pull request #4061 from yiisoft/fix-headers
attempt to fix multiple header issue
2014-06-26 00:05:41 +02:00
Qiang Xue
c6f711ccca Fixes #3765: Added yii\web\User::enableSession to support authentication without using session 2014-06-25 16:21:54 -04:00
Carsten Brandt
109c4b44bc attempt to fix multiple header issue
fixes #3893
2014-06-25 20:39:19 +02:00
Carsten Brandt
6578cfbdab updated phpdoc and classmap 2014-06-25 18:24:23 +02:00
Carsten Brandt
a28589203f do not show debug info for UserException 2014-06-24 10:21:55 +02:00
Carsten Brandt
f12316f2e8 file and line information missing from error array representation 2014-06-24 10:18:57 +02:00
Qiang Xue
7b1cef269d Fixes #3996: Traversing Yii::$app->session may cause a PHP error 2014-06-21 13:32:40 -04:00
Alexander Makarov
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
Qiang Xue
209dd7e600 Fixes #3956: Flash messages set via Yii::$app->session->setFlash() will be removed only if they are accessed 2014-06-19 21:36:48 -04:00
Alexander Makarov
dfa0bc8d06 Fixes #3897: Raised visibility of yii\web\View::registerAssetFiles() to protected 2014-06-17 00:50:44 +04:00
Qiang Xue
6b799d392d Fixes #3358: Removed automatic CSRF meta tag generation by View. Added Html::csrfMetaTags() and its call to main layout files 2014-06-13 10:04:48 -04:00
Alexander Makarov
4ad1b6c1d5 Fixes #3640: All cookies are not httpOnly by default in order to increase overall security 2014-06-09 01:43:55 +04:00
SonicGD
b2246d19ce fix align 2014-06-04 09:36:55 +06:00
SonicGD
bf73fd81c1 Set expire to null so CookieCollection::has work 2014-06-04 09:33:39 +06:00
Klimov Paul
8ac309849d Url encoding for the route param added 2014-05-28 13:07:33 +03:00
Sergey Gonimar
9b31870286 Fix ErrorHandler 2014-05-28 12:34:05 +06:00
Carsten Brandt
c8f6baf5ba Update Response.php
typo
2014-05-26 17:23:11 +02:00
Carsten Brandt
ee2b968b7f fixed argument display in errorHandler 2014-05-25 20:30:26 +02:00
Qiang Xue
313437f3c0 Fixes #3284: Added support for checking multiple ETags by yii\filters\HttpCache. 2014-05-23 15:53:49 -04:00
Klimov Paul
1641e057a9 VarDumper::export() applied over framework. 2014-05-20 16:35:12 +03:00
Carsten Brandt
ad6b191081 improved docs about flash messages 2014-05-19 12:34:31 +02:00
Alexandr
a07b4afea6 Update Controller.php 2014-05-18 02:56:38 +07:00
Alexandr
06e0c50699 Update ErrorAction.php 2014-05-18 02:55:40 +07:00
lynicidn
3829b3a5ad changed comments #3446 2014-05-12 20:35:35 +04:00
Carsten Brandt
7511de6cab added errorInfo to exception views 2014-05-12 13:31:33 +02:00
Qiang Xue
a2aa20f183 simplified errorhandler registration. 2014-05-11 20:59:20 -04:00
Qiang Xue
af7530663d Fixes #3383: Added $type parameter to IdentityInterface::findIdentityByAccessToken() 2014-05-06 18:45:18 -04:00