octicon-git-branch(16/) Commit Graph

263 Commits

Author SHA1 Message Date
Alexander Kochetov
a788f505fb Model::formName() correct PHP 5.3 code 2013-06-19 15:01:30 +04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
d182ce1d38 Renamed reservedMemorySize to memoryReserveSize. 2013-06-18 16:52:06 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
e7e9723f8a Added Application::$reservedMemorySize. 2013-06-18 16:40:01 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
2643daa534 Improve application speed by using classMap for autoloader 2013-06-17 16:38:21 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
3e18479d1f Fixes issue #545: PageCache doesn't work. 2013-06-17 00:48:05 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
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 octicon-file-diff(16/) octicon-file-code(16/)
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 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
71782b344e Changed existing code to match the changes regarding response 2013-06-16 18:52:56 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
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 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
75b614787c doc clarification. 2013-06-16 11:31:20 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
82c978f86a draft idea of action based responses 2013-06-16 17:04:28 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
5a8e4b648b Added XmlResponseFormatter. 2013-06-15 15:19:00 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
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 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
03e07f4340 cleaned up "use" statements. 2013-06-14 22:42:55 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
d4910ee4f5 Put back Yii::getObjectVars() and fixed infinite loop in Object::toArray(). 2013-06-14 17:23:37 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
b184a75d68 Recursively return previous exceptions in toArray(). 2013-06-14 17:15:28 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
df0779fb14 Added previous exception in toArray(). 2013-06-14 17:10:36 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
172f40aada Removed headers in ErrorHandler. 2013-06-14 17:06:01 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
0c3bcc467d Moved toArray() from YiiBase to ArrayHelper. 2013-06-14 17:01:20 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
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 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
f3cc5d1edc Fixes for issue #536: refactored error handler. 2013-06-14 08:19:45 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
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 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
420637443c Refactored the way of sending response in controller actions. 2013-06-13 23:39:18 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
901d753c9a doc improvement. 2013-06-11 08:21:50 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
ad218c6719 moved HttpException to web. 2013-06-10 17:08:26 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
f14774dfb6 Fixes issue #276: Enable Response::sendFile() to operate on resources 2013-06-10 16:37:35 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
9806563f7f Minor refactoring. 2013-06-10 11:26:56 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
551e00bae3 Renamed methods and events in Application. 2013-06-09 22:29:08 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
f2d477dce6 Response WIP 2013-06-09 09:47:41 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
resurtm
7a7d2a9c06 CS fixes. 2013-06-07 22:41:11 +06:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
29ac3aeea6 Added Jsonable support. 2013-06-07 11:02:26 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
b455f2c97a Fixed test break. 2013-06-07 08:08:40 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
ba0da059da response WIP 2013-06-07 08:00:47 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
b7c1f94977 Fixed bug about setting default path aliases. 2013-06-05 08:28:36 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
cbf642d931 Added support for locale-dependent decimal and grouping separators. 2013-06-04 17:21:40 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
21160338d7 Implemented default controller namespace. 2013-06-02 22:31:17 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
8435285c19 doc fix. 2013-06-02 22:19:38 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
22357befad Added "@runtime" and "@vendor" aliases. 2013-06-02 15:19:29 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
36bbfd54ca Implemented "@app/runtime" alias. 2013-06-02 07:29:29 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
c9a7119b91 Fixes issue #467: allow view file to be absent as long as the themed version exists. 2013-05-31 08:43:15 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
e1cde74b7b Fixed doc. 2013-05-30 07:57:06 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
2f051e9dab Use class constants for Event declatration in ActionFiler 2013-05-29 03:40:18 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
5e8154ed7f Removed unused method. 2013-05-28 21:07:35 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
8b6447876a refactored numberformatting in base\Formatter
added decimalSeparator and thousandSeparator properties.
issue #48
2013-05-29 02:19:08 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
07011a2542 Fixed typos in new Formatter classes 2013-05-29 01:50:09 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
f690f0db13 Fixes issue #441: InvalidRequestException should be HttpException 2013-05-28 19:24:08 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
2f1021830d Added "formatter" app component. 2013-05-28 18:58:35 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
9a97037012 Finished Formatter. 2013-05-28 18:55:26 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
000fdc3de0 formatter WIP. 2013-05-28 17:27:37 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
3ac84240b6 added note about dependency to registerJsFile
Fixes #373
2013-05-28 00:13:52 +02:00 octicon-file-diff(16/) octicon-file-code(16/)