50 Commits

Author SHA1 Message Date
943bf88904 doc fix. 2013-12-29 23:36:19 -05:00
f554d46aaa minor fixes. 2013-12-28 13:14:33 -05:00
c31e113d95 Fixes #1671 2013-12-28 08:59:29 -05:00
4b569f3e90 Fixed CSRF token masking issue. 2013-12-27 23:26:38 -05:00
c8960168c5 Fixes #1634: Use masked CSRF tokens to prevent BREACH exploits 2013-12-26 17:51:14 -05:00
2686403c0e Use better random CSRF token. 2013-12-26 16:19:09 -05:00
c7c13a6693 Added concrete http exception classes. 2013-11-29 21:22:08 -05:00
58bd2fb958 Only whitespace removal 2013-11-27 20:19:56 +02:00
d2e5f2c507 Fixes #1234: use dash instead of underscore to separate language and country in locale id. 2013-11-19 16:33:52 -05:00
c7ff329e3c doc fix. 2013-11-16 21:30:34 -05:00
c16c181247 Must be one method to get _GET. getGet() is just duplication 2013-11-16 23:25:44 +07:00
539e233d9c massive improvement on class documentation
- added example code for application components
- added missing short description

[ci skip]
2013-11-13 01:16:21 +01:00
f9db4fecb9 Fixed phpDocs [skip ci] 2013-11-12 02:54:54 +00:00
913eb62294 updated phpdoc and fixed generator read/write-only annotation 2013-11-08 12:24:03 +01:00
cc5fe76c9e Added ability to get all GET, POST, PUT, DELETE or PATCH parameters to Request 2013-11-02 16:31:36 +04:00
8c98d99596 Removed fallback from mb_parse_str to parse_str from Request::getRestParams since mb_ availability is Yii2 requirement 2013-10-24 17:06:40 +04:00
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
293cb9d86f Fixed search form. 2013-10-04 20:35:58 -04:00
fe58cbd56a doc update. 2013-10-01 21:35:56 -04:00
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