Alexander Kochetov
826c83c301
ActiveRecord::getNamespacedClass() correct PHP 5.3 code
12 years ago
Alexander Kochetov
a788f505fb
Model::formName() correct PHP 5.3 code
12 years ago
Qiang Xue
d182ce1d38
Renamed reservedMemorySize to memoryReserveSize.
12 years ago
Qiang Xue
e7e9723f8a
Added Application::$reservedMemorySize.
12 years ago
resurtm
732e438473
Fixed typo in the \yii\db\ActiveRecord::isOperationAtomic() method.
12 years ago
Qiang Xue
22839ae922
Fixed jsonp response handling.
12 years ago
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
Carsten Brandt
2fa52d8c67
rename classMap.php -> classes.php
12 years ago
Carsten Brandt
c68eef89b1
moved classMap to separate file
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
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