Commit Graph

1130 Commits

Author SHA1 Message Date
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
Qiang Xue
864bf93679 coding style fix. 2013-06-09 09:41:32 -03:00
gevik
a977d8208e Replaced dropConstraint with dropPrimarykey method. 2013-06-09 14:10:45 +02: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
gevik
3796db7d00 - Ported addPrimaryKey and created dropConstraint.
- The dropConstraint method can be used both for dropPrimaryKey and dropForeignKey
2013-06-09 11:00:15 +02:00
gevik
ec9dab11fa [1] Redone missing code.
[2] Added empty line at the end of file
[3] Removed exception.
2013-06-09 00:04:37 +02:00
gevik
6fd74f5c27 Updated code style. braces on the same line for control statements. 2013-06-08 23:47:24 +02:00
gevik
19793f7af0 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. 2013-06-08 21:51:15 +02:00
Mojtaba Salehi
95b1636a98 Multilevel Items 2013-06-08 23:26:21 +04:30
Qiang Xue
cf1e12ad11 Fixes issue #514. 2013-06-08 12:37:39 -04:00
Qiang Xue
51972f2557 Merge pull request #505 from gevik/pgsql-driver
Pgsql driver implementation (update 4)
2013-06-07 14:13:39 -07:00
gevik
d07fd39f7e Removed false exception catching. 2013-06-07 22:54:04 +02:00
Gevik Babakhani
879b494acb Removed custom pgsql PDO and added defaultSchema as public property. 2013-06-07 21:28:58 +02:00
resurtm
7a7d2a9c06 CS fixes. 2013-06-07 22:41:11 +06:00
Qiang Xue
d48ef4198e Minor refactoring of DbMessageSource. 2013-06-07 11:47:50 -04:00
Qiang Xue
0bdf369b9c Merge branch 'master' of github.com:yiisoft/yii2 2013-06-07 11:31:38 -04:00
Qiang Xue
3833d62f00 Response WIP 2013-06-07 11:31:31 -04:00
Qiang Xue
797103c941 Merge pull request #512 from resurtm/DbMessageSource
Fixes #13. Implement DB message source.
2013-06-07 08:31:00 -07:00
Qiang Xue
6c7672c562 Minor refactoring of t(). 2013-06-07 11:08:15 -04:00
Qiang Xue
c0ab801fce Merge branch 'master' of github.com:yiisoft/yii2 2013-06-07 11:02:35 -04:00