Qiang Xue
f72c451c86
Display debug toolbar on error pages.
12 years ago
Qiang Xue
e15938474c
Refactored console commands.
12 years ago
Qiang Xue
ba6c10eb30
Yii debugger WIP
12 years ago
Qiang Xue
12c48d1ae4
Refactored logging.
12 years ago
Qiang Xue
689e5d1653
renamed "logging" to "log".
12 years ago
Qiang Xue
3a365dae49
Added new events.
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
f18d6df625
Revert "Merge pull request #548 from cebe/action-response"
...
This reverts commit 9d7597d61a
, reversing
changes made to 6b6390f72b
.
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
Carsten Brandt
82c978f86a
draft idea of action based responses
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
a951e1c8e1
Replaced Jsonable with Arrayable.
...
Added support for different response formats.
Support for error response in different formats.
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
ad218c6719
moved HttpException to web.
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
Qiang Xue
b7c1f94977
Fixed bug about setting default path aliases.
12 years ago
Qiang Xue
22357befad
Added "@runtime" and "@vendor" aliases.
12 years ago
Qiang Xue
36bbfd54ca
Implemented "@app/runtime" alias.
12 years ago
Qiang Xue
2f1021830d
Added "formatter" app component.
12 years ago
Carsten Brandt
a6c251d2ab
Adjusted vendor dirs of example applications
...
- update composer json to chosse right path
- set vendorPath in application config if not default
12 years ago
Qiang Xue
f72105166c
reorganized the main repo to satisfy PSR-0.
12 years ago
Qiang Xue
a87e64c650
Fixed duplicated merge.
12 years ago
Benjamin Wöster
49a4314a41
fix: remove pointless unset
12 years ago
Benjamin Wöster
8c6cf61589
mod: don't use ArrayHelper to avoid loading another class during every request
12 years ago
Carsten Brandt
b005b087b4
better have timezone fix in application
...
app is resposible for setting time zone, so it should also do the
fixing.
+ documentation about the behavior.
issue #210 and #209
12 years ago
Benjamin Wöster
b8ad3567e4
set application timezone early in application constructor, set default of UTC if no timezone is configured at all (not in app config nor in php.ini)
12 years ago
Qiang Xue
0d814fa523
Moved "framework" to "iii".
12 years ago
Alexander Kochetov
17906e712c
Application::getAuthManager() comment fix
12 years ago
Alexander Kochetov
9158e110da
Auth manager init version
12 years ago
Qiang Xue
2dd51d5b46
Fixes issue #177 .
12 years ago
Qiang Xue
9841d6c639
Fixes issue #124 .
12 years ago
Qiang Xue
90cfb6ebb8
ActiveForm wip
12 years ago
Alexander Makarov
767a78f8b8
better handling of errors during rendering an error
12 years ago
Alexander Makarov
77233cf39e
removed dev comment
12 years ago
Qiang Xue
d22e8ea34b
Added YiiBase::importNamespaces().
12 years ago
Qiang Xue
5b412b8f84
script WIP
12 years ago
Qiang Xue
0416e01414
script WIP
12 years ago
Qiang Xue
f52bc48576
use error_log to log fatal errors.
12 years ago
Qiang Xue
428d912811
script WIP
12 years ago
Qiang Xue
3616278ada
typo.
12 years ago
Qiang Xue
6ae715ff8a
refactored autoloading.
12 years ago
Qiang Xue
4c2fcd7608
refactored application.
12 years ago
Qiang Xue
122bd231b4
modified Application constructor signature.
12 years ago
Qiang Xue
1df9114b9a
refactored ErrorException handling.
12 years ago
Qiang Xue
cd1b3d321a
refactored url creation shortcut method.
12 years ago