12c48d1ae4
Refactored logging.
2013-07-02 22:09:25 -04:00
689e5d1653
renamed "logging" to "log".
2013-07-02 21:47:46 -04:00
452fe3e3b0
delay validation of scenario to validate().
2013-07-01 19:39:56 -04:00
6c2cf9a268
Removed redundant code.
2013-07-01 07:14:28 -04:00
7a587f62a6
Added back the events for Controller.
2013-06-30 21:01:14 -04:00
55daae4773
Fixes issue #589 : validate the scenario name.
2013-06-30 18:45:05 -04:00
3a365dae49
Added new events.
2013-06-30 18:35:21 -04:00
611052c4cf
Support preloading modules
2013-06-29 21:55:24 -04:00
20666567e8
debug toolbar WIP
2013-06-27 21:50:38 -04:00
16dcd9701f
Added Model::loadMultiple() and validateMultiple().
2013-06-26 09:02:42 -04:00
9cf82b3ae1
Added Model::load(). Added Controller::refresh() and redirect().
2013-06-26 08:34:27 -04:00
3eccd850fe
Added Formatter::nullDisplay.
2013-06-25 11:32:16 -04:00
5698a10c81
Added functional tests for the basic app.
2013-06-23 19:26:16 -04:00
6c5dfc04f7
Added default value for error in Model::addError().
2013-06-21 14:19:41 -04:00
c210de9d71
Merge pull request #556 from creocoder/php5.3-way-to-get-namespace
...
Model::formName() and ActiveRecord::getNamespacedClass() PHP 5.3 way
2013-06-19 05:13:52 -07:00
a788f505fb
Model::formName() correct PHP 5.3 code
2013-06-19 15:01:30 +04:00
d182ce1d38
Renamed reservedMemorySize to memoryReserveSize.
2013-06-18 16:52:06 -04:00
e7e9723f8a
Added Application::$reservedMemorySize.
2013-06-18 16:40:01 -04:00
2643daa534
Improve application speed by using classMap for autoloader
2013-06-17 16:38:21 +02:00
3e18479d1f
Fixes issue #545 : PageCache doesn't work.
2013-06-17 00:48:05 -04:00
f18d6df625
Revert "Merge pull request #548 from cebe/action-response"
...
This reverts commit 9d7597d61a51ae7030b667f740c2a97471cf7f6e, reversing
changes made to 6b6390f72b6a6010cfbe614aab236a90d10b1a00.
2013-06-16 19:45:58 -04:00
9d7597d61a
Merge pull request #548 from cebe/action-response
...
implementation of Response tied to actions
2013-06-16 10:22:37 -07:00
71782b344e
Changed existing code to match the changes regarding response
2013-06-16 18:52:56 +02:00
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
2013-06-16 18:12:27 +02:00
75b614787c
doc clarification.
2013-06-16 11:31:20 -04:00
82c978f86a
draft idea of action based responses
2013-06-16 17:04:28 +02:00
5a8e4b648b
Added XmlResponseFormatter.
2013-06-15 15:19:00 -04:00
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
03e07f4340
cleaned up "use" statements.
2013-06-14 22:42:55 -04:00
d4910ee4f5
Put back Yii::getObjectVars() and fixed infinite loop in Object::toArray().
2013-06-14 17:23:37 -04:00
b184a75d68
Recursively return previous exceptions in toArray().
2013-06-14 17:15:28 -04:00
df0779fb14
Added previous exception in toArray().
2013-06-14 17:10:36 -04:00
172f40aada
Removed headers in ErrorHandler.
2013-06-14 17:06:01 -04:00
0c3bcc467d
Moved toArray() from YiiBase to ArrayHelper.
2013-06-14 17:01:20 -04:00
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
f3cc5d1edc
Fixes for issue #536 : refactored error handler.
2013-06-14 08:19:45 -04:00
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
420637443c
Refactored the way of sending response in controller actions.
2013-06-13 23:39:18 -04:00
901d753c9a
doc improvement.
2013-06-11 08:21:50 -04:00
ad218c6719
moved HttpException to web.
2013-06-10 17:08:26 -04:00
f14774dfb6
Fixes issue #276 : Enable Response::sendFile() to operate on resources
2013-06-10 16:37:35 -04:00
9806563f7f
Minor refactoring.
2013-06-10 11:26:56 -04:00
551e00bae3
Renamed methods and events in Application.
2013-06-09 22:29:08 -04:00
f2d477dce6
Response WIP
2013-06-09 09:47:41 -04:00
7a7d2a9c06
CS fixes.
2013-06-07 22:41:11 +06:00
29ac3aeea6
Added Jsonable support.
2013-06-07 11:02:26 -04:00
b455f2c97a
Fixed test break.
2013-06-07 08:08:40 -04:00
ba0da059da
response WIP
2013-06-07 08:00:47 -04:00
b7c1f94977
Fixed bug about setting default path aliases.
2013-06-05 08:28:36 -04:00
cbf642d931
Added support for locale-dependent decimal and grouping separators.
2013-06-04 17:21:40 -04:00