Alexander Makarov
7dfae28b81
fixes #549 : ability to use HTMLPurifier multiple times
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
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
Qiang Xue
75b614787c
doc clarification.
12 years ago
Carsten Brandt
82c978f86a
draft idea of action based responses
12 years ago
Qiang Xue
60abeb0d8f
Renamed view to getView().
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
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
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
0c3bcc467d
Moved toArray() from YiiBase to ArrayHelper.
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
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
531ca690eb
refactored the message command.
12 years ago
Qiang Xue
05cca15459
Removed "fileTypes" option.
12 years ago
Mojtaba Salehi
d97512e774
Call static::mkdir(..)
12 years ago
Klimov Paul
014053f080
Doc comments at "yii\console\controllers\MessageController" has been updated.
12 years ago
Klimov Paul
7c9f74722c
"yii\console\controllers\MessageController" has been fixed.
12 years ago