Commit Graph

1744 Commits

Author SHA1 Message Date
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
Carsten Brandt
a37fde5216 Merge pull request #526 from sergon/patch-3
pgsql schema findColumns fix
2013-06-11 03:46:45 -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
Qiang Xue
2a3f088d30 Merge pull request #524 from cebe/response-api-getter
API consistency in Response class
2013-06-10 17:12:21 -07: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
a5480de852 Test case "FileHelperTest::testGetMimeTypeByExtension()" has been added. 2013-06-10 22:22:44 +03:00
Klimov Paul
8f7a783757 Method "yii\helpers\base\FileHelper::mkdir()" has been added. 2013-06-10 22:15:03 +03:00
Klimov Paul
f416a36648 "FileHelperTest" has been advanced. 2013-06-10 22:07:19 +03:00
Klimov Paul
539864f435 "FileHelperTest" has been refactored. 2013-06-10 21:33:53 +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
Klimov Paul
e2f7b99f16 Unit test for "yii\helpers\base\FileHelper" has been created. 2013-06-10 20:22:34 +03:00
Qiang Xue
9806563f7f Minor refactoring. 2013-06-10 11:26:56 -04:00
Qiang Xue
3fc1900877 Merge pull request #521 from sergon/migrate_command_primary_key
Migrate command primary key
2013-06-10 07:46:13 -07: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
9cce66c794 removed test line. 2013-06-10 07:44: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
Alexander Makarov
d5d463f9b4 fixed init.bat paths 2013-06-09 20:50:41 +04: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
Alexander Makarov
88b05cdfeb renamed backstage → backend 2013-06-09 20:15:55 +04: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
Klimov Paul
a5e903f252 Unit test for "yii\console\controllers\MessageController" has been created. 2013-06-09 15:04:58 +03:00
Alexander Makarov
42d332f8be Merge pull request #517 from gevik/pgsql-small-fix
Pgsql small fix  (update 2)
2013-06-09 02:39:14 -07:00