Commit Graph

10542 Commits

Author SHA1 Message Date
Qiang Xue
14e69d3aca Merge pull request #529 from m-o-g/master
Call static::mkdir(...)
2013-06-11 11:04:02 -07: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
9d3c9db49d Fixed test breaks. 2013-06-11 11:58:31 -04: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
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
Antonio Ramirez
0aab6ded42 Merge remote-tracking branch 'upstream/master' into 364-toAscii
* upstream/master: (91 commits)
  fixed init.bat paths
  renamed backstage → backend
  Fixed test break.
  Response WIP
  coding style fix.
  [1] Redone missing code. [2] Added empty line at the end of file [3] Removed exception.
  Updated code style. braces on the same line for control statements.
  Removed unused columsn from find constraint sql. Fixed typo. Added extra schema check for when a foreign table is not in the same schema. Updated indentation to conform to other classes.
  Multilevel Items
  Fixes issue #514.
  Removed the config setting that should not have been commited.
  Removed false exception catching.
  Removed custom pgsql PDO and added defaultSchema as public property.
  CS fixes.
  Minor refactoring of DbMessageSource.
  Response WIP
  Minor refactoring of t().
  Added Jsonable support.
  Fixes #13. Implement DB message source.
  Yii::t() minor fix.
  ...
2013-06-09 19:48:06 +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