Commit Graph

7547 Commits

Author SHA1 Message Date
Carsten Brandt
c6ef7ec9d5 moved Command::getPdoType() to Schema
this allows different implementation in different DBMS

CUBRID does not supprt PDO::TYPE_BOOL, so we use STRING here which will
be casted by the DBMS
2013-09-06 11:40:29 +02:00
Carsten Brandt
e446a11864 added CURBID to the docs 2013-09-06 11:38:54 +02:00
Carsten Brandt
d6ff097cbb avoid hanging test on bindValue problems (close db connection in tearDown) 2013-09-06 10:28:10 +02:00
Qiang Xue
b16bf0691a fixed typo 2013-09-05 23:37:15 -04:00
Qiang Xue
fccd8185b5 Enhanced the default implementation of Model::scenarios() to return all scenarios found in rules(). 2013-09-05 22:39:40 -04:00
Carsten Brandt
825258efb8 cubrid unit tests WIP 2013-09-05 18:23:25 +02:00
Carsten Brandt
2387d00341 CUBRID added exception about wrong implementation of quoteValue 2013-09-05 18:22:24 +02:00
Carsten Brandt
57a91c842a CUBRID Query builder 2013-09-05 17:30:18 +02:00
Carsten Brandt
f4fb2d94ef finalizing cubrid Schema 2013-09-05 17:29:47 +02:00
Carsten Brandt
be67559fe1 added CUBIRD DB Schema class 2013-09-05 16:49:11 +02:00
Carsten Brandt
42a9d13bc6 Merge branch 'master' of github.com:yiisoft/yii2
* 'master' of github.com:yiisoft/yii2:
  doc fix.
2013-09-05 16:47:34 +02:00
Carsten Brandt
267f2d7849 fixed docs in db Schema classes 2013-09-05 16:47:05 +02:00
Qiang Xue
326e98a41c doc fix. 2013-09-05 08:31:04 -04:00
Carsten Brandt
8976b7cbd8 moved MSSQL specific property to mssql TableSchema 2013-09-05 12:48:52 +02:00
Carsten Brandt
d4995ddc57 updated php doc 2013-09-05 12:40:16 +02:00
Carsten Brandt
c306fccd46 fixed FileValidator after UploadedFile refactoring
fixes #845
2013-09-05 12:36:38 +02:00
Carsten Brandt
f759ee1865 Elasticsearch WIP 2013-09-05 09:47:41 +02:00
Qiang Xue
b77ea4dcb0 Allow generator to define actions. 2013-09-04 21:03:10 -04:00
Carsten Brandt
8c753676db Exception about missing class in class file only when YII_DEBUG
See discussion about exceptions in autoloader here:
https://groups.google.com/forum/?fromgroups#!topic/php-fig/kRTVRSIJ0qE
2013-09-04 14:27:20 +02:00
Alexander Makarov
df85be3622 Added debug to preload in advanced app template 2013-09-04 16:18:15 +04:00
Alexander Makarov
f877de144b Removed DebugTarget reference from advanced app template configs 2013-09-04 15:55:32 +04:00
Alexander Makarov
8c7d0aebe1 Added note about the fact that PHP SSL extension is required to install all Composer dependencies 2013-09-04 15:44:31 +04:00
Qiang Xue
7f4e02cb45 crud generator WIP 2013-09-03 19:36:23 -04:00
Qiang Xue
3f2e7fa604 crud wip 2013-09-02 20:25:39 -04:00
Carsten Brandt
38dab3490a Fixed type of db\Exception::$errorInfo
type is array in PHP documentation
2013-09-01 20:00:03 +02:00
Carsten Brandt
75391b7515 Merge branch 'master' of github.com:yiisoft/yii2
* 'master' of github.com:yiisoft/yii2:
  Removed Yii::import().
2013-09-01 19:58:24 +02:00
Carsten Brandt
9a4d7ff15b Exception message when getting write-only property 2013-09-01 19:57:54 +02:00
Carsten Brandt
7fa81949bf various documentation changes 2013-09-01 19:47:26 +02:00
Qiang Xue
ea10868824 Removed Yii::import(). 2013-09-01 10:26:59 -04:00
Carsten Brandt
7a6ce8251a simplified method check in Component::__call() 2013-09-01 14:40:15 +02:00
Qiang Xue
afd0472784 Fixes #837: turn private variables into public ones. 2013-08-31 21:29:46 -04:00
Qiang Xue
f87e4ce604 automatically hide model class input if needed. 2013-08-31 18:47:30 -04:00
Carsten Brandt
c364e26606 Merge pull request #836 from cebe/component-has-method
Added hasMethod() to Component and Object class
2013-08-31 14:31:29 -07:00
Carsten Brandt
15a3ec2764 added unit tests and call to $behavior->hasMethod in Component 2013-08-31 23:27:52 +02:00
Carsten Brandt
7a55640670 Added hasMethod() to Component and Object class
this allows implementing __call() in behaviors

See this forum topic for details:
http://www.yiiframework.com/forum/index.php/topic/46629-invoke-behavior-method-through-php-magic-method-call-dosent-work/
2013-08-31 18:53:44 +02:00
Carsten Brandt
f83fcc553c fixed return value of Component::can*Property
return false, not null
2013-08-31 18:51:00 +02:00
Carsten Brandt
219eebf42c Merge branch 'master' of github.com:yiisoft/yii2
* 'master' of github.com:yiisoft/yii2:
  Reverted  changeset 595ac6d0be
  Fixes #833: added charset to json response.
2013-08-31 18:49:23 +02:00
Qiang Xue
947a557240 Reverted changeset 595ac6d0be 2013-08-31 08:15:10 -04:00
Qiang Xue
595ac6d0be Fixes #833: added charset to json response. 2013-08-30 17:07:55 -04:00
Carsten Brandt
b5a6dac3ae renamed test method after implementation rename in FileHelper 2013-08-30 17:03:09 +02:00
Carsten Brandt
4d84e09479 typo in query builder, fixes #832 2013-08-30 16:57:11 +02:00
Carsten Brandt
0d91021f02 Merge branch 'master' of github.com:yiisoft/yii2
* 'master' of github.com:yiisoft/yii2:
  Fixes #829: loginRequired now responds with HTTP 403 in case of AJAX or loginUrl is not set (reverted from commit c2c12a9049)
  add missing return to module template
  Update module.php
  Fixes #829: loginRequired now responds with HTTP 403 in case of AJAX or loginUrl is not set
  gii form width adjustment.
  Make sure query cloning works as expected.
  Fixed test break.
  Fixes #828: refactored QueryBuilder::build()
2013-08-30 16:54:32 +02:00
Carsten Brandt
4b7f5a728a improved control over and handling of file and dir permissions
- rename FileHelper::mkdir for API consistency
- changed default permission for directories to 775 instead of 777
- added some properties to classes that deal with files to allow control
  over directory permissions.
2013-08-30 16:52:33 +02:00
Carsten Brandt
fa07d31310 documentation fixed for mutex extension 2013-08-30 16:30:20 +02:00
Alexander Makarov
e1a6aacba8 Fixes #829: loginRequired now responds with HTTP 403 in case of AJAX or loginUrl is not set (reverted from commit c2c12a9049) 2013-08-30 18:23:09 +04:00
Alexander Makarov
c0102b4143 Merge pull request #831 from philippfrenzel/patch-5
add missing return to module template
2013-08-30 06:22:09 -07:00
Philipp Frenzel
e94b455535 add missing return to module template
I think according to the framework it should return the render and otherwise the browser will stay blank...
2013-08-30 15:05:00 +02:00
Alexander Makarov
d9d000649a Merge pull request #830 from philippfrenzel/patch-4
module should extend \yii\base\Module as \yii\web\Module doesn't exist...
2013-08-30 03:40:23 -07:00
Philipp Frenzel
70d263d66e Update module.php
module should extend \yii\base\Module as \yii\web\Module doesn't exist...

If this is outdated, then pls just ignore it!
2013-08-30 12:23:10 +02:00
Alexander Makarov
c2c12a9049 Fixes #829: loginRequired now responds with HTTP 403 in case of AJAX or loginUrl is not set 2013-08-30 13:44:22 +04:00