Qiang Xue
682c0a346f
Added trace messages.
12 years ago
Qiang Xue
f043aa5ea3
Added Formatter::format().
12 years ago
Sw3rtas
ab27d16efd
* Fixed Model::loadMultiple() when populating from formName()
...
* Documentation corrections for data population and quoting names in SQL query
12 years ago
Qiang Xue
12c48d1ae4
Refactored logging.
12 years ago
Qiang Xue
689e5d1653
renamed "logging" to "log".
12 years ago
Qiang Xue
452fe3e3b0
delay validation of scenario to validate().
12 years ago
Qiang Xue
6c2cf9a268
Removed redundant code.
12 years ago
Qiang Xue
7a587f62a6
Added back the events for Controller.
12 years ago
Qiang Xue
55daae4773
Fixes issue #589 : validate the scenario name.
12 years ago
Qiang Xue
3a365dae49
Added new events.
12 years ago
Qiang Xue
611052c4cf
Support preloading modules
12 years ago
Qiang Xue
20666567e8
debug toolbar WIP
12 years ago
Qiang Xue
16dcd9701f
Added Model::loadMultiple() and validateMultiple().
12 years ago
Qiang Xue
9cf82b3ae1
Added Model::load(). Added Controller::refresh() and redirect().
12 years ago
Qiang Xue
3eccd850fe
Added Formatter::nullDisplay.
12 years ago
Qiang Xue
5698a10c81
Added functional tests for the basic app.
12 years ago
Qiang Xue
6c5dfc04f7
Added default value for error in Model::addError().
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
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
5a8e4b648b
Added XmlResponseFormatter.
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
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
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
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
901d753c9a
doc improvement.
12 years ago
Qiang Xue
ad218c6719
moved HttpException to web.
12 years ago
Qiang Xue
f14774dfb6
Fixes issue #276 : Enable Response::sendFile() to operate on resources
12 years ago
Qiang Xue
9806563f7f
Minor refactoring.
12 years ago
Qiang Xue
551e00bae3
Renamed methods and events in Application.
12 years ago
Qiang Xue
f2d477dce6
Response WIP
12 years ago
resurtm
7a7d2a9c06
CS fixes.
12 years ago
Qiang Xue
29ac3aeea6
Added Jsonable support.
12 years ago
Qiang Xue
b455f2c97a
Fixed test break.
12 years ago
Qiang Xue
ba0da059da
response WIP
12 years ago
Qiang Xue
b7c1f94977
Fixed bug about setting default path aliases.
12 years ago