Qiang Xue
c28a005fb8
Added extension initialization to application life cycle.
11 years ago
Alexander Makarov
9434cc8f40
Moved Application::$controllerNamespace init into variable declaration, reordered Module::__construct.
11 years ago
Qiang Xue
03861b6fde
Extension installer wip
11 years ago
Alexander Makarov
8583de701d
Removed unnecessary call
11 years ago
Alexander Makarov
54e1abaa7b
Better Module::init refactoring
11 years ago
Alexander Makarov
3e2bcfdf52
Refactored Module::setBasePath to remove instanceof condition
11 years ago
Alexander Makarov
e8eccc281d
Refactored instanceof in Module into method in Application
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Carsten Brandt
3a981e26da
improved errorhandler output
...
when error occurs while handling errors output was not readable in web
context
11 years ago
Alexander Makarov
618f981112
Renamed i18n to be all lowecase when accessed as a property
11 years ago
Carsten Brandt
7fa81949bf
various documentation changes
11 years ago
Carsten Brandt
ca69ef09d4
update of @property annotations
11 years ago
Carsten Brandt
bdb77f33ba
updated @property annotations of many classes
11 years ago
Qiang Xue
3852e0b7cb
finished module code generator.
12 years ago
Qiang Xue
3adffc9caf
Exit error handling to avoid handling exceptions multiple times.
12 years ago
Qiang Xue
b3b1151469
Finished draft implementation of GridView.
12 years ago
Qiang Xue
6b41d41fd9
Fixes #711 .
12 years ago
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