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
2369019d22
Fixed test break.
12 years ago
Qiang Xue
3ec9553654
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
fa198518e1
Merge branch 'master' of github.com:yiisoft/yii2
12 years ago
Qiang Xue
2d118a4c24
Added doc.
12 years ago
Qiang Xue
ecb703c370
Merge pull request #538 from cebe/handle-request
...
renamed Application::handle() to handelRequest()
12 years ago
Carsten Brandt
36184569a8
removed unnecessary check
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
Carsten Brandt
79e425bef3
Merge branch 'master' of github.com:yiisoft/yii2
...
* 'master' of github.com:yiisoft/yii2:
Removed unused namespace.
Put back Yii::getObjectVars() and fixed infinite loop in Object::toArray().
Recursively return previous exceptions in toArray().
Added previous exception in toArray().
Removed headers in ErrorHandler.
12 years ago
Carsten Brandt
6c8f898a90
validator use static instead of self
12 years ago
Qiang Xue
e0789ecb82
Removed unused namespace.
12 years ago
Qiang Xue
d4910ee4f5
Put back Yii::getObjectVars() and fixed infinite loop in Object::toArray().
12 years ago
Qiang Xue
b184a75d68
Recursively return previous exceptions in toArray().
12 years ago
Qiang Xue
df0779fb14
Added previous exception in toArray().
12 years ago
Qiang Xue
172f40aada
Removed headers in ErrorHandler.
12 years ago
Qiang Xue
614c28ffb2
Merge branch 'master' of github.com:yiisoft/yii2
12 years ago
Qiang Xue
0c3bcc467d
Moved toArray() from YiiBase to ArrayHelper.
12 years ago
Carsten Brandt
c2ac0f1c95
Merge pull request #537 from sergon/patch-4
...
fix MigrateController
12 years ago
gsd
1a46b8704c
fix MigrateController
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
075a6b6504
fixed how console color should be enabled.
12 years ago
Qiang Xue
725d810085
Refactored console controller color option.
12 years ago
Qiang Xue
f3cc5d1edc
Fixes for issue #536 : refactored error handler.
12 years ago
Carsten Brandt
12e5f62c0b
Errorhandler, manually load classes
...
load ErrorException manually because autoloading them will not work
when error occurs while autoloading a class
12 years ago
Qiang Xue
420637443c
Refactored the way of sending response in controller actions.
12 years ago
Qiang Xue
78a2914e22
Removed ProfileTarget.
12 years ago
Qiang Xue
4a0d2863f6
Fixes issue #421 : yii\db\Schema:refresh() does not clear all cache
12 years ago
Qiang Xue
00df1e88eb
Added GroupDependency.
12 years ago
Qiang Xue
b06d7a8675
refactored cache dependency methods.
12 years ago
Qiang Xue
870f65343b
Fixed a bug in ExpressionDependency.
12 years ago
Qiang Xue
3f22d18dfe
typo fix.
12 years ago
Alexander Makarov
4d5985b10c
added namespace to locale command
12 years ago
Alexander Makarov
cc0fe1b02c
code style fixes
12 years ago
Qiang Xue
17b1e5d2fc
Fixes issue #234 : Added Html::addCssClass() and removeCssClass().
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
1a7f5f58bc
Merge branch 'master' of github.com:yiisoft/yii2
12 years ago
Qiang Xue
531ca690eb
refactored the message command.
12 years ago
Qiang Xue
05cca15459
Removed "fileTypes" option.
12 years ago
Qiang Xue
14e69d3aca
Merge pull request #529 from m-o-g/master
...
Call static::mkdir(...)
12 years ago