Qiang Xue
a5a2481b4f
Added acceptance tests for the basic app.
12 years ago
Qiang Xue
22839ae922
Fixed jsonp response handling.
12 years ago
Qiang Xue
3e6419108f
Implemented language negotiation.
...
Implemented Request::getAcceptedContentTypes().
12 years ago
Qiang Xue
4782b19739
Better handling of sending response content.
12 years ago
Carsten Brandt
2643daa534
Improve application speed by using classMap for autoloader
12 years ago
Qiang Xue
3e18479d1f
Fixes issue #545 : PageCache doesn't work.
12 years ago
Qiang Xue
f18d6df625
Revert "Merge pull request #548 from cebe/action-response"
...
This reverts commit 9d7597d61a
, reversing
changes made to 6b6390f72b
.
12 years ago
Carsten Brandt
71782b344e
Changed existing code to match the changes regarding response
12 years ago
Carsten Brandt
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
12 years ago
Carsten Brandt
82c978f86a
draft idea of action based responses
12 years ago
Carsten Brandt
4ef19b2e79
static instead of self for creating instances
...
in UploadedFile::loadFilesRecursive
fixes #542
12 years ago
Carsten Brandt
0b294c6fd1
added missing view property to PageCache
...
fixes #544
12 years ago
Qiang Xue
d34301a308
Added public.
12 years ago
Qiang Xue
e543c5fdd0
Fixed test break.
12 years ago
Qiang Xue
36f6ebab7f
Fixes issue #539 : Yii2 Csrf protection broken
12 years ago
Qiang Xue
5a8e4b648b
Added XmlResponseFormatter.
12 years ago
Qiang Xue
2d118a4c24
Added doc.
12 years ago
Carsten Brandt
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.
12 years ago
Qiang Xue
03e07f4340
cleaned up "use" statements.
12 years ago
Qiang Xue
1181c1cc1b
Removed unused methods.
12 years ago
Qiang Xue
a951e1c8e1
Replaced Jsonable with Arrayable.
...
Added support for different response formats.
Support for error response in different formats.
12 years ago
Qiang Xue
420637443c
Refactored the way of sending response in controller actions.
12 years ago
Qiang Xue
0b8d239ad3
Renamed HeaderCollection::addDefault to setDefault.
12 years ago
Qiang Xue
d7cb4ce97c
Fixes issue #276 : support range request for sending content as a file.
12 years ago
Qiang Xue
d19446ba10
Minor adjustment of Response::redirect()
12 years ago
Carsten Brandt
e5d8e4adcb
fixed usage of renamed method in Response
12 years ago
Carsten Brandt
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...`.
12 years ago
Carsten Brandt
95bfd82524
removed unnecessary defaul value from Response
12 years ago
Qiang Xue
47655843a7
Adjusted parameter order.
12 years ago
Qiang Xue
ad218c6719
moved HttpException to web.
12 years ago
Qiang Xue
f14774dfb6
Fixes issue #276 : Enable Response::sendFile() to operate on resources
12 years ago
Qiang Xue
9806563f7f
Minor refactoring.
12 years ago
Qiang Xue
22053cdc60
Response::sendStream WIP
12 years ago
Qiang Xue
0656b8751f
doc cleanup
12 years ago
Qiang Xue
ef5afef7b2
Fixed test break.
12 years ago
Qiang Xue
f2d477dce6
Response WIP
12 years ago
resurtm
7a7d2a9c06
CS fixes.
12 years ago
Qiang Xue
3833d62f00
Response WIP
12 years ago
Qiang Xue
b14bb52cdd
Fixed status text.
12 years ago
Qiang Xue
ba0da059da
response WIP
12 years ago
Qiang Xue
bf05ee2942
Response WIP.
12 years ago
yiidevelop
8c36cd08db
Fix use incorrect namespace of Html helpers
12 years ago
Revin Roman
2239dd7334
Fix new method name "getIsAjax" and fix web application class name in logger
12 years ago
Qiang Xue
13eca9054a
refactoring Request.
12 years ago
Qiang Xue
6d999ab3dc
Response WIP
12 years ago
Qiang Xue
9b65934638
Added HeaderCollection.
12 years ago
Qiang Xue
51c1e31308
moved Pagination and Sort to data.
12 years ago
Qiang Xue
67d677b21e
Renamed Request::getRequestMethod() to Request::getMethod().
12 years ago
Carsten Brandt
1192306481
improved UrlManager RESTful syntax regex
12 years ago
Carsten Brandt
fbb93d0b63
doc enhancements for #461
12 years ago