Commit Graph

703 Commits

Author SHA1 Message Date
Carsten Brandt
cf1ada15ef Merge branch 'master' into kadishmal-cubrid-database-support
* master: (789 commits)
  'summaryTagName' and 'emptyCssClass' options added to CBaseListView
  Missing entries added to CHANGELOG
  'cli' mode detection at 'CConsoleApplication' fixed
  Eager loading note added to 'Relational Query Options' docs
  Fix CSysLogRoute.php file comment
  Fixes #3324: add syslog support
  CDbConnection ODBC related fixes before merging
  Add ODBC to the requirements checker
  Fix #132: CDbConnection now supports ODBC
  Better fix for <script async="false"
  Fixed #3258
  Fixed #3283
  Remove async from list of Special Attributes so that it is possible to use async=false per issue: #3314
  typo fix in guide
  COciSchema: read column comments from another schema
  Update yii.php
  Add changes #3298 to CHANGELOG
  Added check for the existence of a link href attribute pager
  Added check for the existence of a link href attribute pager
  Update yii.php
  ...
2014-04-22 23:12:34 +02:00
Carsten Brandt
5b82c9dcd0 finished review on cubrid 2014-04-22 23:12:03 +02:00
resurtm
174b0634ee CDbConnection ODBC related fixes before merging 2014-04-10 23:14:53 +06:00
resurtm
1cdc9d567a Fix #132: CDbConnection now supports ODBC 2014-04-09 16:06:52 +06:00
gureedo
28443ded79 COciSchema: read column comments from another schema 2014-03-28 19:07:56 +06:00
Carsten Brandt
81dea0e51c fixed pgsql test break 2014-01-28 14:43:22 +01:00
Carsten Brandt
c0288615fc Added CDbCommand::naturalLeftJoin() and naturalRightJoin()
fixes #3068, fixes #3070, fixes #3075
2014-01-28 13:03:18 +01:00
Carsten Brandt
b5604bad48 fixed #2969 CPgsqlSchema::addColumn() converts column type twice 2014-01-28 12:39:27 +01:00
Carsten Brandt
e5f7eb2543 CPgsqlColumnSchema can't parse default value for numeric field
fixes #2235
2014-01-28 12:36:29 +01:00
Carsten Brandt
3d4b19e018 Merge pull request #2803 from nineinchnick/788-postgresql-createindex
use the preffered method of creating an unique index in postgresql
2014-01-28 03:30:23 -08:00
Carsten Brandt
d2aab58d09 Merge PR #2705 branch '1849-additions' of https://github.com/resurtm/yii
* '1849-additions' of https://github.com/resurtm/yii:
  Additions to #1849.
  removed unnecessary spaces
  replaced spaces to tabs
  fix changelog
  fix changelog
  #1515  Use index support in relations
2014-01-28 12:06:38 +01:00
Carsten Brandt
1273438eee Merge PR #2885 branch 'revert-2048' of https://github.com/cebe/yii
* 'revert-2048' of https://github.com/cebe/yii:
  added changelog line for #2884
  added unit test for #2884
  fixed wrong dependency in unit test
  reverted #2048 as it breaks logic in createFindCommand()

Conflicts:
	CHANGELOG
2014-01-28 12:00:04 +01:00
Klimov Paul
dd1558b19c Event class name in doc comments for "CActiveRecordBehavior::afterSave()" fixed. 2014-01-11 18:35:20 +02:00
munawer-t
89b0bcad8a spacing fix 2014-01-07 17:45:45 +05:30
munawer-t
2ed6c2d181 Use tab spacing 2014-01-07 17:37:33 +05:30
munawer-t
ea84745b43 Apply changes as per comment 2014-01-07 17:07:09 +05:30
munawer-t
1a52aa30cb some more typos 2014-01-07 16:01:12 +05:30
munawer-t
28b3331f97 variable typo 2014-01-07 15:23:49 +05:30
munawer-t
32bc867bf6 Doc typos and corrections 2014-01-07 15:23:17 +05:30
Alexander Makarov
dcec697c06 Fixes #3115: Updated phpdoc for better code completion in modern IDEs 2013-12-31 12:12:09 +01:00
Qiang Xue
dd8e7f242a Fixes #3134: Fixed the issue that query cache returns the same data for the same SQL but different query methods 2013-12-29 14:26:39 -05:00
Qiang Xue
1154899315 Fixed the bug that backslashes are not escaped by CDbCommandBuilder::buildSearchCondition() 2013-12-29 13:07:53 -05:00
Brad Bell
0ecae33886 Fixes a MySQL syntax error if you specified an offset without a limit. 2013-12-23 13:21:33 -08:00
Carsten Brandt
f868829627 Fix problem with array to string converion in CDbMigration
methods accept array as of changes in #2090 and #2817/#2818 so
CDbMigration output has to reflect the changes and do not fail.

fixes #3064
2013-11-25 13:53:07 +01:00
Carsten Brandt
eab509ff98 Allow changing the AR database in beforeCount()
like it is possible in beforeFind() already.

fixes #3014
2013-11-06 14:48:02 +01:00
Paul Klimov
95078cda98 'CJoinQuery::createCommand()' fixed to exclude duplicating joins. 2013-10-21 12:29:05 +03:00
Carsten Brandt
88d02cfcb9 more documentation adjustments to mention MariaDB
fixes #2955
2013-10-12 17:14:13 +02:00
softark
fb3e8d9ed6 CDbCriteria::mergeWith fix 2013-10-09 19:02:59 +09:00
Paul Klimov
a49e82999b Added support for scopes in CStatRelation 2013-10-02 15:37:56 +03:00
Luis Lobo Borobia
d6ca194939 Fixes #2908 adding insertMultiple to Migrations 2013-09-26 12:51:14 -03:00
Carsten Brandt
9356b42c81 reverted #2048 as it breaks logic in createFindCommand()
fixes #2884
2013-09-18 13:59:05 +02:00
Borro
f94e868ad0 Bug #2874: Fixed duplicate columns selection for HAS_MANY relation with composite primary key 2013-09-17 13:52:46 +04:00
John Was
5929736f35 rename biginteger to bigint 2013-09-15 12:40:31 +02:00
John Was
9e8a4b1a52 introduce bigpk and biginteger column types in each class extending CDbSchema 2013-09-13 21:39:34 +02:00
Carsten Brandt
f5e592f22d better fix for #2378 2013-09-04 15:05:17 +02:00
Carsten Brandt
10b4b0f063 Merge branch '2738-ActiveRecord.tableName' of https://github.com/velosipedist/yii into velosipedist-2738-ActiveRecord.tableName
* '2738-ActiveRecord.tableName' of https://github.com/velosipedist/yii:
  removed occasional FormInput file
  fix #2378 CActiveRecord::tableName() in namespaced model
  Ability to substitute model attribute name, to use custom data getter. It is not dangerous to use any custom fields and getters, because it will work for read-only.
2013-09-04 14:54:35 +02:00
Paul Klimov
38692ca642 Merge pull request #2605 from dizeee/patch-1
Consistent getting table schema in CActiveRecord
2013-09-03 05:30:15 -07:00
Paul Klimov
98d077200a CDbCommand::buildQuery() no longer throw exception if 'from' is missing. 2013-08-30 15:54:00 +03:00
Paul Klimov
d4a01ab1f3 Merge pull request #2800 from nineinchnick/2785-composeMultipleInsertCommand-table-name
Fixes #2785 use proper table name with schema when creating a multi insert command
2013-08-29 02:16:21 -07:00
Paul Klimov
11c774b0bb Merge branch '268-cdbcriteria-count' of https://github.com/nineinchnick/yii into nineinchnick-268-cdbcriteria-count 2013-08-29 11:56:38 +03:00
Alexander Makarov
1c2aadf8e6 fixed code style and phpdoc for #2817 2013-08-26 22:21:00 +04:00
Zander Baldwin
48ecf6ca68 Update Method Parameters in CDbSchema::createIndex()
Update the spelling of the third parameter of CDbSchema::createIndex() to become plural, rather than singular, to better reflect the correct data that this parameter accepts.
2013-08-26 19:10:21 +01:00
Zander Baldwin
4b0a19300c Update Database Schema Component
Update the CDbSchema component to allow passing columns names to CDbSchema::createIndex() and CDbSchema::addForeignKey() as an array, as well as a string of comma-separated column names.
2013-08-26 16:30:10 +01:00
John Was
da68e9ab13 use the preffered method of creating an unique index in postgresql as suggested by the manual 2013-08-21 23:08:32 +02:00
John Was
bb07a7abdd detect properly if criteria->select starts with a count() expression in CActiveFinder->count() method 2013-08-21 21:45:08 +02:00
John Was
b1efd178e4 use proper table name with schema when creating a multi insert command 2013-08-21 20:49:15 +02:00
Klimov Paul
16616abf4e Double condition applying for Active Record relation lazy loading has been fixed. 2013-08-13 11:11:21 +03:00
velosipedist
8dd39e27a1 fix #2378 CActiveRecord::tableName() in namespaced model 2013-08-07 20:20:42 +04:00
resurtm
87deced5b0 Additions to #1849. 2013-07-31 10:21:49 +06:00
resurtm
cdc5f01b90 Merge branch 'pr/1849' 2013-07-31 09:32:29 +06:00