73 Commits

Author SHA1 Message Date
9cf82b3ae1 Added Model::load(). Added Controller::refresh() and redirect(). 2013-06-26 08:34:27 -04:00
051822075e Fixes issue #579: AccessControl deny rule by default 2013-06-24 21:04:44 -04:00
36655d3b1d Merge branch 'master' of github.com:yiisoft/yii2 2013-06-23 19:26:26 -04:00
5698a10c81 Added functional tests for the basic app. 2013-06-23 19:26:16 -04:00
87ee68841e Merge pull request #573 from bio/normalize-repo
Converted CRLF to LF. Added gitattributes file.
2013-06-23 13:55:06 -07:00
7f1b8c109e Adjust for test integration. 2013-06-23 15:03:59 -04:00
a5a2481b4f Added acceptance tests for the basic app. 2013-06-22 20:26:22 -04:00
6708923740 Converted CRLF to LF. Added gitattributes file. 2013-06-22 15:28:11 +03:00
22839ae922 Fixed jsonp response handling. 2013-06-17 17:10:20 -04:00
769acfbdfb Merge pull request #550 from cebe/speed
Improve application speed by using classMap for autoloader
2013-06-17 13:54:19 -07:00
3e6419108f Implemented language negotiation.
Implemented Request::getAcceptedContentTypes().
2013-06-17 15:51:30 -04:00
4782b19739 Better handling of sending response content. 2013-06-17 15:49:53 -04:00
2643daa534 Improve application speed by using classMap for autoloader 2013-06-17 16:38:21 +02:00
3e18479d1f Fixes issue #545: PageCache doesn't work. 2013-06-17 00:48:05 -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
b138199c59 implementation of Response tied to actions
Result of a discussion with @qiangxue
- there is not global Yii::$app->response anymore, every action has
  dedicated response class
- implementation allows using HMVC pattern now, nested actions do not
  interfer
2013-06-16 18:12:27 +02:00
82c978f86a draft idea of action based responses 2013-06-16 17:04:28 +02:00
4ef19b2e79 static instead of self for creating instances
in UploadedFile::loadFilesRecursive
fixes #542
2013-06-16 10:33:23 +02:00
0b294c6fd1 added missing view property to PageCache
fixes #544
2013-06-16 10:29:53 +02:00
d34301a308 Added public. 2013-06-15 18:34:09 -04: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
5a8e4b648b Added XmlResponseFormatter. 2013-06-15 15:19:00 -04:00
fa198518e1 Merge branch 'master' of github.com:yiisoft/yii2 2013-06-15 08:24:26 -04:00
2d118a4c24 Added doc. 2013-06-15 08:24:21 -04:00
5ed52b98a1 renamed Application::handle() to handelRequest()
Name make more sense imo as it is not clear what it handles otherwise.
Removed unused method processRequest form console app and also refactored
console Application to be more similar to web Application.
2013-06-15 14:10:47 +02: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
f14774dfb6 Fixes issue #276: Enable Response::sendFile() to operate on resources 2013-06-10 16:37:35 -04:00
9806563f7f Minor refactoring. 2013-06-10 11:26:56 -04:00
22053cdc60 Response::sendStream WIP 2013-06-10 08:48:30 -04:00
0656b8751f doc cleanup 2013-06-09 22:00:40 -04:00
ef5afef7b2 Fixed test break. 2013-06-09 10:32:29 -04:00
f2d477dce6 Response WIP 2013-06-09 09:47:41 -04:00
7a7d2a9c06 CS fixes. 2013-06-07 22:41:11 +06:00
3833d62f00 Response WIP 2013-06-07 11:31:31 -04:00
b14bb52cdd Fixed status text. 2013-06-07 08:47:22 -04:00
ba0da059da response WIP 2013-06-07 08:00:47 -04:00
59df50052d Merge pull request #509 from yiidevelop/patch-1
Fix use incorrect namespace of Html helpers
2013-06-06 14:12:01 -07:00