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
Qiang Xue
d19446ba10
Minor adjustment of Response::redirect()
12 years ago
Qiang Xue
a8d2eded98
Fixing test breaks.
12 years ago
Qiang Xue
040db44fbd
refactored FileHelper.
12 years ago
Qiang Xue
2a30e32912
FileHelper refactoring WIP
12 years ago
Qiang Xue
901d753c9a
doc improvement.
12 years ago
gsd
663fe63911
Update Schema.php
12 years ago
Paul Klimov
dc8c71f409
"StringHelper::basename()" has been replaced by plain "basename" at "FileHelper".
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
Carsten Brandt
1d2185f9ac
added note about usage to StringHelper::basename()
12 years ago
Carsten Brandt
1df859cfa1
typo: primarykey -> primaryKey
12 years ago
Qiang Xue
47655843a7
Adjusted parameter order.
12 years ago