Commit Graph

4221 Commits

Author SHA1 Message Date
Alexander Kochetov
5bf0ba562f Comments fixes 2013-06-19 20:22:06 +04:00
Alexander Kochetov
9bb0ce4b1c Html helper pure HTML 5 mode without support old standarts 2013-06-19 20:14:40 +04:00
Qiang Xue
11c14a20e9 Simplified button signature. 2013-06-19 08:54:09 -04:00
Qiang Xue
9a5ca99513 Added ActiveForm::mfield(). 2013-06-19 08:37:11 -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
826c83c301 ActiveRecord::getNamespacedClass() correct PHP 5.3 code 2013-06-19 15:28:47 +04:00
resurtm
729446edf9 Fixes #554. Incorrect alias setup. 2013-06-19 17:28:27 +06: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
resurtm
732e438473 Fixed typo in the \yii\db\ActiveRecord::isOperationAtomic() method. 2013-06-18 23:02:21 +06:00
Alexander Makarov
b7d78148f5 fixed advanced app contact form 2013-06-18 02:28:06 +04:00
Alexander Makarov
b5e53b2d12 fixed advanced app aliases 2013-06-18 02:27:21 +04:00
Alexander Makarov
b062f62f35 Removed composer.lock from all apps. Currently it creates more problems since framework code changes rapidly. 2013-06-18 01:40:48 +04:00
Qiang Xue
22839ae922 Fixed jsonp response handling. 2013-06-17 17:10:20 -04:00
Qiang Xue
769acfbdfb Merge pull request #550 from cebe/speed
Improve application speed by using classMap for autoloader
2013-06-17 13:54:19 -07:00
Alexander Makarov
7dfae28b81 fixes #549: ability to use HTMLPurifier multiple times 2013-06-18 00:24:40 +04:00
Alexander Makarov
ae419eafd6 updated basic app dependencies 2013-06-18 00:07:53 +04:00
Qiang Xue
3e6419108f Implemented language negotiation.
Implemented Request::getAcceptedContentTypes().
2013-06-17 15:51:30 -04:00
Qiang Xue
4782b19739 Better handling of sending response content. 2013-06-17 15:49:53 -04:00
Carsten Brandt
2fa52d8c67 rename classMap.php -> classes.php 2013-06-17 18:33:46 +02:00
Carsten Brandt
c68eef89b1 moved classMap to separate file 2013-06-17 17:57:53 +02: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
Qiang Xue
6b6390f72b Merge pull request #547 from suralc/advanced-rename
Renamed some folders to fit changed app structure.
2013-06-16 10:14:15 -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
Suralc
d8d9be7506 Renamed some folders to fit changed app structure. 2013-06-16 17:38:17 +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
60abeb0d8f Renamed view to getView(). 2013-06-16 10:07:21 -04:00
Carsten Brandt
4ef19b2e79 static instead of self for creating instances
in UploadedFile::loadFilesRecursive
fixes #542
2013-06-16 10:33:23 +02:00
Carsten Brandt
0b294c6fd1 added missing view property to PageCache
fixes #544
2013-06-16 10:29:53 +02:00
Qiang Xue
d34301a308 Added public. 2013-06-15 18:34:09 -04:00
Qiang Xue
e543c5fdd0 Fixed test break. 2013-06-15 15:59:57 -04:00
Qiang Xue
2369019d22 Fixed test break. 2013-06-15 15:56:37 -04:00
Qiang Xue
3ec9553654 Fixed test break. 2013-06-15 15:54:26 -04:00
Qiang Xue
36f6ebab7f Fixes issue #539: Yii2 Csrf protection broken 2013-06-15 15:33:27 -04:00
Qiang Xue
5a8e4b648b Added XmlResponseFormatter. 2013-06-15 15:19:00 -04:00
Qiang Xue
fa198518e1 Merge branch 'master' of github.com:yiisoft/yii2 2013-06-15 08:24:26 -04:00
Qiang Xue
2d118a4c24 Added doc. 2013-06-15 08:24:21 -04:00
Qiang Xue
ecb703c370 Merge pull request #538 from cebe/handle-request
renamed Application::handle() to handelRequest()
2013-06-15 05:22:13 -07:00
Carsten Brandt
36184569a8 removed unnecessary check 2013-06-15 14:20:50 +02: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
1181c1cc1b Removed unused methods. 2013-06-14 20:40:56 -04:00
Carsten Brandt
79e425bef3 Merge branch 'master' of github.com:yiisoft/yii2
* 'master' of github.com:yiisoft/yii2:
  Removed unused namespace.
  Put back Yii::getObjectVars() and fixed infinite loop in Object::toArray().
  Recursively return previous exceptions in toArray().
  Added previous exception in toArray().
  Removed headers in ErrorHandler.
2013-06-14 23:40:34 +02:00
Carsten Brandt
6c8f898a90 validator use static instead of self 2013-06-14 23:39:46 +02:00