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
Qiang Xue
800723945b
Fixes issue #194 : Added Application::catchAll.
12 years ago
Carsten Brandt
09e4229e16
[WIP] RESTful routing syntax for UrlManager
...
issue #303
Here is the proposal for RESTful routing syntax:
https://gist.github.com/cebe/5674918
12 years ago
Qiang Xue
66e698673d
Fixes issue #457 : incorrect HTTPS detection.
12 years ago
Carsten Brandt
a2066cbe48
Created a \yii\web\VerbFilter
...
It allows to filter actions by HTTP request methods
12 years ago
Qiang Xue
f690f0db13
Fixes issue #441 : InvalidRequestException should be HttpException
12 years ago
Qiang Xue
f5d0bcbcfc
Refactored cache key generation.
12 years ago
Qiang Xue
586752369c
Fixes issue #403
12 years ago