31 Commits

Author SHA1 Message Date
93d5f5a3ec Fixes #897. 2013-09-22 13:01:27 -04:00
ae39324e54 Support ajax redirection. 2013-09-20 16:21:18 -04:00
3acca93ad3 Enable CSRF validation by default. 2013-09-20 15:04:28 -04:00
1aeb86df78 refactored Request::validateCsrfToken(). 2013-09-19 08:24:06 -04:00
4f555a5751 Fixed CSRF validation bug. 2013-09-19 08:17:07 -04:00
f9b957554f Added Controller::enableCsrfValidation to support turning on/off CSRF validation for particular actions. 2013-09-18 23:24:11 -04:00
cc09ef56b9 updated @property annotations of web\Request 2013-09-18 16:03:06 +02:00
2deff126cf Supports sending CSRF token via HTTP header. 2013-09-17 21:43:03 -04:00
51c29e444d renamed Request::csrfTokenName to csrfVar.
added version, csrfVar and csrfToken to yii js module.
2013-09-15 18:54:26 -04:00
64d57b397a add checks for HEAD request 2013-09-10 14:33:50 +02:00
d02e7d4004 add checks for GET and OPTIONS requests 2013-09-10 14:27:22 +02:00
147558ea19 added some class documentation 2013-08-28 19:33:06 +02:00
ca69ef09d4 update of @property annotations 2013-08-28 14:59:52 +02:00
bdb77f33ba updated @property annotations of many classes 2013-08-28 14:16:13 +02:00
9c97e3e38a fixed phpdoc of Request 2013-08-05 12:00:56 +04:00
e433c98ed4 Fixes #599 2013-07-23 22:01:16 -04:00
6ce60c1666 added support for HTTP verb PATCH
To provider better REST API support PATCH method is added which is used
for partial updates, while a PUT should only update whole record.

issues #303 and yiisoft/yii#2664
2013-07-20 22:46:32 +02:00
a6cd7b72bb refactored helper organization. 2013-07-17 20:45:36 -04:00
3e6419108f Implemented language negotiation.
Implemented Request::getAcceptedContentTypes().
2013-06-17 15:51:30 -04:00
f18d6df625 Revert "Merge pull request #548 from cebe/action-response"
This reverts commit 9d7597d61a51ae7030b667f740c2a97471cf7f6e, reversing
changes made to 6b6390f72b6a6010cfbe614aab236a90d10b1a00.
2013-06-16 19:45:58 -04:00
71782b344e Changed existing code to match the changes regarding response 2013-06-16 18:52:56 +02:00
e543c5fdd0 Fixed test break. 2013-06-15 15:59:57 -04:00
36f6ebab7f Fixes issue #539: Yii2 Csrf protection broken 2013-06-15 15:33:27 -04:00
03e07f4340 cleaned up "use" statements. 2013-06-14 22:42:55 -04:00
ad218c6719 moved HttpException to web. 2013-06-10 17:08:26 -04:00
f2d477dce6 Response WIP 2013-06-09 09:47:41 -04:00
7a7d2a9c06 CS fixes. 2013-06-07 22:41:11 +06:00
13eca9054a refactoring Request. 2013-06-06 07:37:23 -04:00
67d677b21e Renamed Request::getRequestMethod() to Request::getMethod(). 2013-06-05 13:26:01 -04:00
66e698673d Fixes issue #457: incorrect HTTPS detection. 2013-05-29 21:53:25 -04:00
f72105166c reorganized the main repo to satisfy PSR-0. 2013-05-21 21:19:05 -04:00