Qiang Xue
e15938474c
Refactored console commands.
2013-07-18 18:21:21 -04:00
Qiang Xue
a128bffb47
Fix for asset command.
2013-07-16 21:43:17 -04:00
Qiang Xue
368a4cfe66
Asset feature refactoring (WIP)
2013-07-15 22:49:22 -04:00
Qiang Xue
389c0e2bb6
Improved log panel display.
2013-07-10 13:24:04 -04:00
Qiang Xue
4ec0a61af1
Added logging of view files.
2013-07-10 13:09:34 -04:00
Qiang Xue
ba6c10eb30
Yii debugger WIP
2013-07-06 21:20:49 -04:00
Qiang Xue
682c0a346f
Added trace messages.
2013-07-06 17:05:29 -04:00
Qiang Xue
94fd8f6153
Merge branch 'master' of github.com:yiisoft/yii2
2013-07-03 21:07:44 -04:00
Qiang Xue
f043aa5ea3
Added Formatter::format().
2013-07-03 21:07:21 -04:00
Sw3rtas
ab27d16efd
* Fixed Model::loadMultiple() when populating from formName()
...
* Documentation corrections for data population and quoting names in SQL query
2013-07-03 23:02:32 +03:00
Qiang Xue
12c48d1ae4
Refactored logging.
2013-07-02 22:09:25 -04:00
Qiang Xue
689e5d1653
renamed "logging" to "log".
2013-07-02 21:47:46 -04:00
Qiang Xue
452fe3e3b0
delay validation of scenario to validate().
2013-07-01 19:39:56 -04:00
Qiang Xue
6c2cf9a268
Removed redundant code.
2013-07-01 07:14:28 -04:00
Qiang Xue
7a587f62a6
Added back the events for Controller.
2013-06-30 21:01:14 -04:00
Qiang Xue
55daae4773
Fixes issue #589 : validate the scenario name.
2013-06-30 18:45:05 -04:00
Qiang Xue
3a365dae49
Added new events.
2013-06-30 18:35:21 -04:00
Qiang Xue
611052c4cf
Support preloading modules
2013-06-29 21:55:24 -04:00
Qiang Xue
20666567e8
debug toolbar WIP
2013-06-27 21:50:38 -04:00
Qiang Xue
16dcd9701f
Added Model::loadMultiple() and validateMultiple().
2013-06-26 09:02:42 -04:00
Qiang Xue
9cf82b3ae1
Added Model::load(). Added Controller::refresh() and redirect().
2013-06-26 08:34:27 -04:00
Qiang Xue
3eccd850fe
Added Formatter::nullDisplay.
2013-06-25 11:32:16 -04:00
Qiang Xue
5698a10c81
Added functional tests for the basic app.
2013-06-23 19:26:16 -04:00
Qiang Xue
6c5dfc04f7
Added default value for error in Model::addError().
2013-06-21 14:19:41 -04:00
Qiang Xue
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
Alexander Kochetov
a788f505fb
Model::formName() correct PHP 5.3 code
2013-06-19 15:01:30 +04:00
Qiang Xue
d182ce1d38
Renamed reservedMemorySize to memoryReserveSize.
2013-06-18 16:52:06 -04:00
Qiang Xue
e7e9723f8a
Added Application::$reservedMemorySize.
2013-06-18 16:40:01 -04:00
Carsten Brandt
2643daa534
Improve application speed by using classMap for autoloader
2013-06-17 16:38:21 +02:00
Qiang Xue
3e18479d1f
Fixes issue #545 : PageCache doesn't work.
2013-06-17 00:48:05 -04:00
Qiang Xue
f18d6df625
Revert "Merge pull request #548 from cebe/action-response"
...
This reverts commit 9d7597d61a , reversing
changes made to 6b6390f72b .
2013-06-16 19:45:58 -04:00
Qiang Xue
9d7597d61a
Merge pull request #548 from cebe/action-response
...
implementation of Response tied to actions
2013-06-16 10:22:37 -07:00
Carsten Brandt
71782b344e
Changed existing code to match the changes regarding response
2013-06-16 18:52:56 +02:00
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
2013-06-16 18:12:27 +02:00
Qiang Xue
75b614787c
doc clarification.
2013-06-16 11:31:20 -04:00
Carsten Brandt
82c978f86a
draft idea of action based responses
2013-06-16 17:04:28 +02:00
Qiang Xue
5a8e4b648b
Added XmlResponseFormatter.
2013-06-15 15:19:00 -04: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
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
0c3bcc467d
Moved toArray() from YiiBase to ArrayHelper.
2013-06-14 17:01:20 -04: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
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
901d753c9a
doc improvement.
2013-06-11 08:21:50 -04:00
Qiang Xue
ad218c6719
moved HttpException to web.
2013-06-10 17:08:26 -04:00