62 Commits

Author SHA1 Message Date
a29df58516 Removed translations for messages intended for developers 2014-01-09 02:26:29 +04:00
34dc150f63 doc fixes. 2014-01-06 20:51:43 -05:00
5eed149f24 fixed links in phpdoc 2014-01-06 05:47:49 +01:00
404757bf82 Fixes #1631: Charset is now explicitly set to UTF-8 when serving JSON 2013-12-29 00:32:03 +01:00
41d24ee903 Replace request with response in code example 2013-12-09 14:51:45 +03:00
26767735dc Renamed byte methods, moved path methods back to StringHelper 2013-12-04 14:26:47 +01:00
5f2a612c78 Moved file and path related methods from StringHelper to FileHelper, renamed StringHelper byte methods not to be misused as string methods 2013-12-04 09:48:01 +01:00
58bd2fb958 Only whitespace removal 2013-11-27 20:19:56 +02:00
248e0cb916 Added default status code setting. 2013-11-21 08:41:04 -05:00
e775c82dd8 Changed usage of self to static to allow extendibility
code style section has been added here:
https://github.com/yiisoft/yii2/wiki/Core-framework-code-style#self-vs-static

verification code for properties:
https://gist.github.com/cebe/7566916
2013-11-20 18:36:05 +01:00
f5219d2481 Response status code default is 200
fixes #1220
2013-11-20 14:14:04 +01: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
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
7817514e86 fixed default status code for Response::redirect()
fixes #961
2013-10-11 02:42:32 +02:00
6488fe47ec Better phpdoc for chained method calls 2013-10-10 13:34:16 +04:00
ba1496cd50 doc fix. 2013-09-28 20:11:24 -04:00
b59812507a reverted doc change: the original one is correct. 2013-09-27 18:39:33 -04:00
45778a4bd7 Added ->send() to redirect phpdoc example 2013-09-27 20:36:47 +04:00
e19d0dacf9 Fixes #823: consistent interface naming 2013-09-24 15:45:09 +04:00
ae39324e54 Support ajax redirection. 2013-09-20 16:21:18 -04: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
9f72973b83 Bug in XML format 2013-08-23 11:34:31 -07:00
a9e71d5565 better handling with exceptions in __toString() 2013-08-23 07:05:33 -04:00
27ad7e1fc7 Added Controller::goHome(). 2013-08-12 13:19:37 -04:00
21eab82413 Refactored redirect() methods. 2013-08-12 12:01:59 -04:00
2409624894 fix typos - Yii::app() 2013-08-08 21:15:46 +04:00
9f4ccb6243 Added status code display to debugger toolbar. 2013-08-02 22:07:26 -04:00
a6cd7b72bb refactored helper organization. 2013-07-17 20:45:36 -04:00
194d5a86b5 normalize header names. 2013-07-08 19:57:36 -04:00
13f1e7af8a added usage example to Response::redirect() 2013-07-04 22:17:43 +02:00
7f1b8c109e Adjust for test integration. 2013-06-23 15:03:59 -04:00
22839ae922 Fixed jsonp response handling. 2013-06-17 17:10:20 -04:00
4782b19739 Better handling of sending response content. 2013-06-17 15:49:53 -04:00
3e18479d1f Fixes issue #545: PageCache doesn't work. 2013-06-17 00:48:05 -04:00
5a8e4b648b Added XmlResponseFormatter. 2013-06-15 15:19:00 -04:00
2d118a4c24 Added doc. 2013-06-15 08:24:21 -04:00
03e07f4340 cleaned up "use" statements. 2013-06-14 22:42:55 -04:00
1181c1cc1b Removed unused methods. 2013-06-14 20:40:56 -04:00
a951e1c8e1 Replaced Jsonable with Arrayable.
Added support for different response formats.
Support for error response in different formats.
2013-06-14 16:26:33 -04:00
420637443c Refactored the way of sending response in controller actions. 2013-06-13 23:39:18 -04:00
0b8d239ad3 Renamed HeaderCollection::addDefault to setDefault. 2013-06-11 16:05:25 -04:00
d7cb4ce97c Fixes issue #276: support range request for sending content as a file. 2013-06-11 15:17:13 -04:00
d19446ba10 Minor adjustment of Response::redirect() 2013-06-11 12:57:19 -04:00
e5d8e4adcb fixed usage of renamed method in Response 2013-06-11 00:38:57 +02:00
a0762e7d29 API consistency in Response class
use `getIs...` instead of `is...` to allow these methods to be used as
virtual properties.

This is forconsistency to the rest of the framework.
Only methods that take parameters may be named `is...`.
2013-06-10 23:55:52 +02:00
95bfd82524 removed unnecessary defaul value from Response 2013-06-10 23:49:50 +02:00
47655843a7 Adjusted parameter order. 2013-06-10 17:13:36 -04:00
ad218c6719 moved HttpException to web. 2013-06-10 17:08:26 -04:00