Carsten Brandt
36184569a8
removed unnecessary check
2013-06-15 14:20:50 +02:00
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.
2013-06-15 14:10:47 +02:00
Qiang Xue
03e07f4340
cleaned up "use" statements.
2013-06-14 22:42:55 -04:00
Qiang Xue
1181c1cc1b
Removed unused methods.
2013-06-14 20:40:56 -04:00
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.
2013-06-14 23:40:34 +02:00
Carsten Brandt
6c8f898a90
validator use static instead of self
2013-06-14 23:39:46 +02:00
Qiang Xue
e0789ecb82
Removed unused namespace.
2013-06-14 17:23:57 -04:00
Qiang Xue
d4910ee4f5
Put back Yii::getObjectVars() and fixed infinite loop in Object::toArray().
2013-06-14 17:23:37 -04:00
Qiang Xue
b184a75d68
Recursively return previous exceptions in toArray().
2013-06-14 17:15:28 -04:00
Qiang Xue
df0779fb14
Added previous exception in toArray().
2013-06-14 17:10:36 -04:00
Qiang Xue
172f40aada
Removed headers in ErrorHandler.
2013-06-14 17:06:01 -04:00
Qiang Xue
614c28ffb2
Merge branch 'master' of github.com:yiisoft/yii2
2013-06-14 17:02:06 -04:00
Qiang Xue
0c3bcc467d
Moved toArray() from YiiBase to ArrayHelper.
2013-06-14 17:01:20 -04:00
gsd
1a46b8704c
fix MigrateController
2013-06-15 02:28:18 +06:00
Qiang Xue
a951e1c8e1
Replaced Jsonable with Arrayable.
...
Added support for different response formats.
Support for error response in different formats.
2013-06-14 16:26:33 -04:00
Qiang Xue
075a6b6504
fixed how console color should be enabled.
2013-06-14 12:53:21 -04:00
Qiang Xue
725d810085
Refactored console controller color option.
2013-06-14 11:16:56 -04:00
Qiang Xue
f3cc5d1edc
Fixes for issue #536 : refactored error handler.
2013-06-14 08:19:45 -04:00
Carsten Brandt
12e5f62c0b
Errorhandler, manually load classes
...
load ErrorException manually because autoloading them will not work
when error occurs while autoloading a class
2013-06-14 10:49:50 +02:00
Qiang Xue
420637443c
Refactored the way of sending response in controller actions.
2013-06-13 23:39:18 -04:00
Qiang Xue
78a2914e22
Removed ProfileTarget.
2013-06-13 16:39:34 -04:00
Qiang Xue
4a0d2863f6
Fixes issue #421 : yii\db\Schema:refresh() does not clear all cache
2013-06-12 21:59:30 -04:00
Qiang Xue
00df1e88eb
Added GroupDependency.
2013-06-12 21:45:12 -04:00
Qiang Xue
b06d7a8675
refactored cache dependency methods.
2013-06-12 21:21:19 -04:00
Qiang Xue
870f65343b
Fixed a bug in ExpressionDependency.
2013-06-12 20:30:44 -04:00
Qiang Xue
3f22d18dfe
typo fix.
2013-06-12 20:16:48 -04:00
Alexander Makarov
cc0fe1b02c
code style fixes
2013-06-13 02:16:48 +04:00
Qiang Xue
17b1e5d2fc
Fixes issue #234 : Added Html::addCssClass() and removeCssClass().
2013-06-11 16:35:14 -04:00
Qiang Xue
0b8d239ad3
Renamed HeaderCollection::addDefault to setDefault.
2013-06-11 16:05:25 -04:00
Qiang Xue
d7cb4ce97c
Fixes issue #276 : support range request for sending content as a file.
2013-06-11 15:17:13 -04:00
Qiang Xue
1a7f5f58bc
Merge branch 'master' of github.com:yiisoft/yii2
2013-06-11 15:02:06 -04:00
Qiang Xue
531ca690eb
refactored the message command.
2013-06-11 15:01:59 -04:00
Qiang Xue
05cca15459
Removed "fileTypes" option.
2013-06-11 14:14:36 -04:00
Mojtaba Salehi
d97512e774
Call static::mkdir(..)
2013-06-11 22:29:46 +04:30
Qiang Xue
db3bfd0975
Merge pull request #528 from klimov-paul/message-command
...
Compose Message Command
2013-06-11 10:39:42 -07:00
Klimov Paul
014053f080
Doc comments at "yii\console\controllers\MessageController" has been updated.
2013-06-11 20:18:06 +03:00
Klimov Paul
7c9f74722c
"yii\console\controllers\MessageController" has been fixed.
2013-06-11 20:15:37 +03:00
Qiang Xue
d19446ba10
Minor adjustment of Response::redirect()
2013-06-11 12:57:19 -04:00
Klimov Paul
41d1a35497
Merge branch 'master' of github.com:yiisoft/yii2 into message-command
2013-06-11 19:49:38 +03:00
Qiang Xue
a8d2eded98
Fixing test breaks.
2013-06-11 11:23:33 -04:00
Qiang Xue
040db44fbd
refactored FileHelper.
2013-06-11 11:07:43 -04:00
Qiang Xue
2a30e32912
FileHelper refactoring WIP
2013-06-11 08:47:53 -04:00
Qiang Xue
901d753c9a
doc improvement.
2013-06-11 08:21:50 -04:00
Qiang Xue
d8b6335deb
Merge pull request #523 from klimov-paul/file-helper
...
FileHelper port from 1.1.x
2013-06-11 05:03:33 -07:00
gsd
663fe63911
Update Schema.php
2013-06-11 15:38:06 +06:00
Paul Klimov
dc8c71f409
"StringHelper::basename()" has been replaced by plain "basename" at "FileHelper".
2013-06-11 10:52:31 +03:00
Carsten Brandt
e5d8e4adcb
fixed usage of renamed method in Response
2013-06-11 00:38:57 +02:00
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...`.
2013-06-10 23:55:52 +02:00
Carsten Brandt
95bfd82524
removed unnecessary defaul value from Response
2013-06-10 23:49:50 +02:00
Carsten Brandt
1d2185f9ac
added note about usage to StringHelper::basename()
2013-06-10 23:26:35 +02:00