Commit Graph

95 Commits

Author SHA1 Message Date
Qiang Xue
3bef7365f1 Fixes #624: renamed www to web. 2013-07-25 07:57:49 -04:00
Qiang Xue
d1212bc73b Support relative route in Controller::createUrl() 2013-07-24 11:20:04 -04:00
Qiang Xue
e433c98ed4 Fixes #599 2013-07-23 22:01:16 -04:00
Qiang Xue
6f4e2c9b3c Fixes #647 2013-07-21 19:10:29 -04:00
Alexander Makarov
dd47668cba added missing return tags to CaptchaAction 2013-07-21 19:13:00 +04:00
Alexander Makarov
02f8062435 fixed code style 2013-07-21 19:13:00 +04:00
Carsten Brandt
6ce60c1666 added support for HTTP verb PATCH
To provider better REST API support PATCH method is added which is used
for partial updates, while a PUT should only update whole record.

issues #303 and yiisoft/yii#2664
2013-07-20 22:46:32 +02:00
Qiang Xue
a6cd7b72bb refactored helper organization. 2013-07-17 20:45:36 -04:00
Paul Klimov
bf13f26584 "AssetConverter::convert()" has been updated to use "escapeshellargs" 2013-07-17 15:37:27 +03: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
f03cdf0a47 renamed Command::queryRow() to queryOne(). 2013-07-09 08:01:10 -04:00
Paul Klimov
c194703d9e Virtual properties documentation has been added to "web\Session" 2013-07-09 12:18:39 +03:00
Qiang Xue
194d5a86b5 normalize header names. 2013-07-08 19:57:36 -04:00
Smotrov Dmitriy
1ad1bb96e6 Invert the condition in AssetConverter 2013-07-08 02:58:46 +04:00
Qiang Xue
2356e933ee change captcha if it's validated. 2013-07-07 08:14:38 -04:00
Qiang Xue
e105f1ae7c Merge branch 'master' of github.com:yiisoft/yii2 2013-07-06 21:20:56 -04:00
Qiang Xue
ba6c10eb30 Yii debugger WIP 2013-07-06 21:20:49 -04:00
Smotrov Dmitriy
4efc097e25 Fix create object Asset Bundle with custom class in Bundle config 2013-07-07 05:14:45 +04:00
Qiang Xue
682c0a346f Added trace messages. 2013-07-06 17:05:29 -04:00
Qiang Xue
ec28988a37 Added UrlRule::name. 2013-07-06 08:24:33 -04:00
Carsten Brandt
13f1e7af8a added usage example to Response::redirect() 2013-07-04 22:17:43 +02:00
Qiang Xue
9cf82b3ae1 Added Model::load(). Added Controller::refresh() and redirect(). 2013-06-26 08:34:27 -04:00
Qiang Xue
051822075e Fixes issue #579: AccessControl deny rule by default 2013-06-24 21:04:44 -04:00
Qiang Xue
36655d3b1d Merge branch 'master' of github.com:yiisoft/yii2 2013-06-23 19:26:26 -04:00
Qiang Xue
5698a10c81 Added functional tests for the basic app. 2013-06-23 19:26:16 -04:00
Qiang Xue
87ee68841e Merge pull request #573 from bio/normalize-repo
Converted CRLF to LF. Added gitattributes file.
2013-06-23 13:55:06 -07:00
Qiang Xue
7f1b8c109e Adjust for test integration. 2013-06-23 15:03:59 -04:00
Qiang Xue
a5a2481b4f Added acceptance tests for the basic app. 2013-06-22 20:26:22 -04:00
Valery Viktorovsky
6708923740 Converted CRLF to LF. Added gitattributes file. 2013-06-22 15:28:11 +03: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
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
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
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
Carsten Brandt
82c978f86a draft idea of action based responses 2013-06-16 17:04:28 +02: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
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
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