Commit Graph

96 Commits

Author SHA1 Message Date
Alexander Mohorev
f1edafffaf PHPDoc comment doesn't contain all necessary @throws tag
close #5762
2014-10-25 12:47:08 +02:00
Alexander Makarov
c489f8228d Removed unnecessary token generation. We already have it. 2014-10-09 14:53:59 +04:00
Qiang Xue
d2b864da84 prepare for 2.0.0-rc release. 2014-09-27 21:59:54 -04:00
Qiang Xue
262a77caca Added yii\web\Response::enableCsrfCookie to support storing CSRF tokens in session 2014-09-04 12:20:09 -04:00
Carsten Brandt
92b958cd33 fixed return value of yii\web\Request::getPrefferedLanguage
ensure it is one of the input values

fixes #4880
2014-09-01 12:46:38 +02:00
Jin Hu
3a7ed9b1a9 Added yii\web\Request::setRawBody() 2014-08-20 23:14:48 +08: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
Qiang Xue
4e4e76e883 Request::cookieValidationKey must be explicitly specified now. 2014-07-19 15:39:03 -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
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
6578cfbdab updated phpdoc and classmap 2014-06-25 18:24:23 +02: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
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
Qiang Xue
313437f3c0 Fixes #3284: Added support for checking multiple ETags by yii\filters\HttpCache. 2014-05-23 15:53:49 -04:00
Carsten Brandt
76d8e2b5b3 code style, fixes #3140 2014-04-17 13:24:16 +02:00
Qiang Xue
0b29c9607d fixed broken API links [skip ci] 2014-04-09 22:22:49 -04:00
Carsten Brandt
27659d1776 fixed FileHelper private method static call 2014-03-26 17:51:52 +01:00
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
300c5a549a Fixes #2825: Request::getBodyParams() should correctly parse CONTENT TYPE. 2014-03-22 13:01:21 -04:00
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
Carsten Brandt
40cb98bb02 updated @property annotations 2014-03-11 16:21:25 +01:00
Vladimir Zbrailov
2dcf428173 changelog 2014-03-10 11:23:36 +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
Qiang Xue
af33e821a0 typo fix. 2014-03-02 16:55:53 -05:00
Qiang Xue
032f38a57b Added yii\web\Request::getAuthUser() and getAuthPassword() 2014-02-28 21:29:18 -05: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
8c1d39b348 Add getIsPjax method to Request 2014-02-24 12:28: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
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
Borales
b4fd27a91b Removed unnecessary PHPDoc property (ce04134db2) 2014-02-13 19:09:50 +02:00
Qiang Xue
80d69a6551 Renamed csrfParam back to csrfVar for consistency. 2014-02-10 11:27:54 -05:00
Dilip
e87220bed4 Update Request.php 2014-02-09 09:07:33 +05:30
pzaremba
7d96de6619 one more revert. 2014-02-05 13:30:32 +01:00
pzaremba
75ae3db906 Reverted changes unrelated to issue #2325 2014-02-05 13:27:15 +01:00
pzaremba
9b96338a63 Revert "fixing wrapping - my NetBeans has a mind of its own."
This reverts commit 80be824fc7.
2014-02-05 13:24:01 +01:00
pzaremba
80be824fc7 fixing wrapping - my NetBeans has a mind of its own. 2014-02-05 12:32:59 +01:00
pzaremba
0bf39f6e98 Adding support for the X-HTTP-Method-Override header. 2014-02-05 12:28:24 +01:00
Carsten Brandt
262189533a huge amount of documentation link fixes 2014-01-28 17:54:40 +01:00
Alexander Makarov
f1a674b921 Added yii\web\Request::get($name = null, $defaultValue = null) and yii\web\Request::post($name = null, $defaultValue = null) 2014-01-28 14:02:03 +04:00
Alexander Makarov
8c7ae47e58 Merge pull request #2181 from cebe/request-body-default-post-params
removed getPostParam() from Request, body is $_POST by default
2014-01-28 01:53:56 -08:00