Commit Graph

1147 Commits

Author SHA1 Message Date
Qiang Xue
d7cb4ce97c Fixes issue #276: support range request for sending content as a file. 2013-06-11 15:17:13 -04:00
Qiang Xue
1a7f5f58bc Merge branch 'master' of github.com:yiisoft/yii2 2013-06-11 15:02:06 -04:00
Qiang Xue
531ca690eb refactored the message command. 2013-06-11 15:01:59 -04:00
Qiang Xue
05cca15459 Removed "fileTypes" option. 2013-06-11 14:14:36 -04:00
Mojtaba Salehi
d97512e774 Call static::mkdir(..) 2013-06-11 22:29:46 +04:30
Qiang Xue
db3bfd0975 Merge pull request #528 from klimov-paul/message-command
Compose Message Command
2013-06-11 10:39:42 -07:00
Klimov Paul
014053f080 Doc comments at "yii\console\controllers\MessageController" has been updated. 2013-06-11 20:18:06 +03:00
Klimov Paul
7c9f74722c "yii\console\controllers\MessageController" has been fixed. 2013-06-11 20:15:37 +03:00
Qiang Xue
d19446ba10 Minor adjustment of Response::redirect() 2013-06-11 12:57:19 -04:00
Klimov Paul
41d1a35497 Merge branch 'master' of github.com:yiisoft/yii2 into message-command 2013-06-11 19:49:38 +03:00
Qiang Xue
a8d2eded98 Fixing test breaks. 2013-06-11 11:23:33 -04:00
Qiang Xue
040db44fbd refactored FileHelper. 2013-06-11 11:07:43 -04:00
Qiang Xue
2a30e32912 FileHelper refactoring WIP 2013-06-11 08:47:53 -04:00
Qiang Xue
901d753c9a doc improvement. 2013-06-11 08:21:50 -04:00
Qiang Xue
d8b6335deb Merge pull request #523 from klimov-paul/file-helper
FileHelper port from 1.1.x
2013-06-11 05:03:33 -07:00
gsd
663fe63911 Update Schema.php 2013-06-11 15:38:06 +06:00
Paul Klimov
dc8c71f409 "StringHelper::basename()" has been replaced by plain "basename" at "FileHelper". 2013-06-11 10:52:31 +03:00
Carsten Brandt
e5d8e4adcb fixed usage of renamed method in Response 2013-06-11 00:38:57 +02:00
Carsten Brandt
a0762e7d29 API consistency in Response class
use `getIs...` instead of `is...` to allow these methods to be used as
virtual properties.

This is forconsistency to the rest of the framework.
Only methods that take parameters may be named `is...`.
2013-06-10 23:55:52 +02:00
Carsten Brandt
95bfd82524 removed unnecessary defaul value from Response 2013-06-10 23:49:50 +02:00
Carsten Brandt
1d2185f9ac added note about usage to StringHelper::basename() 2013-06-10 23:26:35 +02:00
Carsten Brandt
1df859cfa1 typo: primarykey -> primaryKey 2013-06-10 23:17:41 +02:00
Qiang Xue
47655843a7 Adjusted parameter order. 2013-06-10 17:13:36 -04:00
Qiang Xue
ad218c6719 moved HttpException to web. 2013-06-10 17:08:26 -04:00
Klimov Paul
40a005d543 "yii\helpers\StringHelper" usage has been added to "yii\helpers\base\FileHelper". 2013-06-10 23:50:47 +03:00
Qiang Xue
f14774dfb6 Fixes issue #276: Enable Response::sendFile() to operate on resources 2013-06-10 16:37:35 -04:00
Klimov Paul
7697f21592 "filter" callback option has been added to "yii\helpers\base\FileHelper::findFiles()". 2013-06-10 23:36:22 +03:00
Klimov Paul
12d94c4a35 Doc comments at "yii\helpers\base\FileHelper::findFiles()" have been recomposed using markdown format. 2013-06-10 22:37:28 +03:00
Klimov Paul
3acd77b8b9 "self" replaced by "static" at "yii\helpers\base\FileHelper::mkdir()". 2013-06-10 22:24:32 +03:00
Klimov Paul
8f7a783757 Method "yii\helpers\base\FileHelper::mkdir()" has been added. 2013-06-10 22:15:03 +03:00
Klimov Paul
dfda6663f6 Method "yii\helpers\base\FileHelper::findFiles()" has been added. 2013-06-10 20:57:17 +03:00
Klimov Paul
ef60ec56a3 Method "yii\helpers\base\FileHelper::removeDirectory()" has been added. 2013-06-10 20:28:26 +03:00
Qiang Xue
9806563f7f Minor refactoring. 2013-06-10 11:26:56 -04:00
sergey Gonimar
9268e7d3ac message fix 2013-06-10 20:34:18 +06:00
sergey Gonimar
2c02bc918d migrate command, primary key 2013-06-10 20:30:31 +06:00
Qiang Xue
22053cdc60 Response::sendStream WIP 2013-06-10 08:48:30 -04:00
Qiang Xue
551e00bae3 Renamed methods and events in Application. 2013-06-09 22:29:08 -04:00
Qiang Xue
0656b8751f doc cleanup 2013-06-09 22:00:40 -04:00
Qiang Xue
4efeedd314 Minor coding style fix. 2013-06-09 17:46:41 -04:00
Qiang Xue
44f78f04df Merge pull request #519 from gevik/issue-466
Issue 466 (add/drop PrimaryKeys)
2013-06-09 14:41:08 -07:00
gevik
c338d4b76b Updated code styling and added braces. 2013-06-09 23:23:51 +02:00
gevik
f667b5785b - Added drop/add primary key methods to Command.php
- Added drop/add primary key methods to QueryBuilder.php
- Added mysql specific dropPrimarykey method
- Added sqlite specific dropPrimarykey and addPrimaryKey methods
- Added uint testing for dropPrimarykey and addPrimaryKey methods
- Corrected postgresql column types, by adding length and precision
2013-06-09 18:27:09 +02:00
Qiang Xue
ef5afef7b2 Fixed test break. 2013-06-09 10:32:29 -04:00
Qiang Xue
ec8de6088c Merge branch 'master' of github.com:yiisoft/yii2 2013-06-09 09:47:57 -04:00
Qiang Xue
f2d477dce6 Response WIP 2013-06-09 09:47:41 -04:00
Klimov Paul
04848a45c9 Default action of "yii\console\controllers\MessageController" has been renamed to "generate". 2013-06-09 16:10:59 +03:00
Klimov Paul
4a164f8afa Action "template" has been added to "yii\console\controllers\MessageController". 2013-06-09 16:07:03 +03:00
Qiang Xue
864bf93679 coding style fix. 2013-06-09 09:41:32 -03:00
Klimov Paul
3c9b157814 Exception usage has been added to "yii\console\controllers\MessageController". 2013-06-09 15:11:34 +03:00
gevik
a977d8208e Replaced dropConstraint with dropPrimarykey method. 2013-06-09 14:10:45 +02:00