Commit graph

139 commits

Author SHA1 Message Date
gwoo
65c106b2c5 updating dbo_postgres, fixes #3198, cguyer provided more info over IRC and tested change
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5925 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-30 16:17:58 +00:00
gwoo
fbd3811cd1 removing usage of Model::loadInfo() replaced by Model::schema(), removing new lines at the end of some files, removed deprecated chmodr() function from basics, updated bake and scaffold views
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5912 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-28 04:18:18 +00:00
nate
a87a0e2a68 Refactoring schema generation, passing model tests with SQLite driver, refactoring database methods
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5909 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-27 20:32:19 +00:00
phpnut
f41aa80b78 Removing vars that are no longer used.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5904 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-27 01:32:17 +00:00
phpnut
8d6599c34b Fixing bug for related records not being returned when using $recursive > 1.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5902 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-26 08:40:10 +00:00
mariano.iglesias
896f62544b Changing @return int to @return integer and @param bool to @param boolean
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5860 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 16:54:36 +00:00
phpnut
160cd28440 Correcting @return int
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5858 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 16:11:12 +00:00
phpnut
da97a5c871 Correcting @return bool
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5857 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 16:09:35 +00:00
mariano.iglesias
897825d596 Adding documentation to classes belonging to Cake console.
Standarizing on datatypes used in phpdocblocs and removing unneeded @return types

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5851 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 05:52:20 +00:00
nate
5f0b855632 Adding 'binary' column support to MySQL (Ticket #1757)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5826 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 03:42:57 +00:00
phpnut
f7a4ca1b53 Fixed failing DboSourceTest caused in [5816]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5819 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 12:40:19 +00:00
phpnut
e1c26c9948 Fixes #2967, Missing quotes cause SQL errors in some cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5816 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 11:45:09 +00:00
phpnut
da1d437aee Removing PEAR database abstraction support
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5726 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-06 04:49:54 +00:00
nate
a1fb0073a3 Adding MSSQL field quoting fix (Ticket #3203)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5715 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 05:04:44 +00:00
gwoo
66bfa5631a updating DboMysql, fixes #3269, fixes #3192, fixes #3266, adding tests for DboMysql, DboPostgres, DboMssql
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5701 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-30 18:13:46 +00:00
phpnut
603ed0e39c Initial start of Unicode support, I may move this handling of this to a unicode class.
Implemented multi-byte methods for:
String::strpos();
String::stripos();
String::strtoupper();
Added test cases for String::utf8() String::ascii() String::strpos() String::stripos() and String::strtoupper()
Corrected file encodings.
Added loading of configurations from cake/config
Added specifc case folding files to cake/config/unicode/casefolding


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5691 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-24 23:49:54 +00:00
gwoo
bcc9c80b02 updating dbo_adodb, fixes #3256
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5643 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-15 22:31:24 +00:00
phpnut
b574a98306 Adding recent fixes to DboDb2 driver
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5613 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-30 01:53:53 +00:00
phpnut
d20ddfeadc Refactoring automatic model creations for HABTM associations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5606 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 10:14:14 +00:00
phpnut
0ed8c17f80 Fixes Ticket #2999, HABTM save multiple for PostgreSQL
Merged changes from 1.2 DboOdbc into 1.1

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5603 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 05:07:16 +00:00
gwoo
9d0502943a fix for odbc, closes #3145 and closes #3146. changes will be merged to 1.1 shortly
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5594 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-28 22:46:57 +00:00
gwoo
476007f0f4 firebird dbo fix from #2936
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5575 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-24 05:17:59 +00:00
gwoo
b3859caa7e updating dbo_mysql buildColumn
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5574 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-24 00:47:49 +00:00
dho
f2e5dcbbf9 Fixing syntax errors
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5572 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-23 05:43:12 +00:00
gwoo
84ff113d1d updating schema
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5571 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-23 00:57:00 +00:00
gwoo
4a79765b26 updating schema generation, adding table option to schema shell commands
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5567 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-21 23:22:15 +00:00
gwoo
8bb67d9f6a Adding Schema support, updated fixtures, deprecated loadInfo, changed Dbo::describe in all dbos, fixed tests,
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5563 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-21 21:46:59 +00:00
nate
8f8e471b5b Adding fix for DboMssql::lastError() (Ticket #3073)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5556 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 13:16:12 +00:00
phpnut
549d86ac23 Refactoring dispatcher.
Added test for changes to Dispatcher.
Updating Model::_ _saveMulti(), moved the insert statement to DboSource::insertMulti() this will allow database that do not support multiple inserts in one statement to save data.


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5460 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-25 04:38:28 +00:00
phpnut
bdaca1698b Adding fix for #2959, Missing arguments for DboAdodb::fields()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5453 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 12:49:58 +00:00
nate
42c5cb3a16 Fixing MySQL port configuration for persistent connections
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5452 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-23 00:46:42 +00:00
phishy
4d4cf07c84 fixed timestamp issues, added data_length to table descriptions, fixed bugs in value method, added
generateColumnSchema method


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5438 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-14 21:25:04 +00:00
nate
7e499f1f14 Disabling integer column length for Postgres (Ticket #2814)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5417 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 04:31:39 +00:00
nate
629c0a9d63 Fixing quoting of boolean values in DboPostgres (Ticket #2594)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5416 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 04:03:51 +00:00
phpnut
38bf760524 Adding fix for #2813, dbo_oracle.php's value function adding additional quotes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5414 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 02:57:56 +00:00
phpnut
905549cc89 Adding fix for Ticket #2819, fixes postgrsql schema problems when setting 'schema' => '"some_shcema"'; in database settings
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5342 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-23 07:57:18 +00:00
phpnut
dac1bd0913 Correcting code structure to standards
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5315 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 07:51:52 +00:00
phpnut
23dfd90b29 Correcting code structure to standards
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5313 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 06:15:35 +00:00
phpnut
0211a2a32a Adding fic for #2651, fixes query creation problem in DboAdodb
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5284 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-16 23:38:50 +00:00
phpnut
54159742c0 Adding patch from #2652 fixes SQLite LIMIT statement broken
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5283 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-16 23:08:20 +00:00
phpnut
a42d973ab0 Adding fix for #2650, fixes alias in DboAdodb::fields()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5253 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-06 19:12:53 +00:00
dho
c58a7e95b9 Fixing typo (ticket #2674)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5226 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-31 06:00:52 +00:00
phpnut
0bd813132f Correcting quoting
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5168 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 06:03:55 +00:00
phpnut
a276f28a00 Correcting DboSybase class methods
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5167 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 05:58:55 +00:00
phpnut
232b109bef Adding enhancement suggestion from #1565 to all Dbo classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5166 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 05:33:55 +00:00
phpnut
90022227b4 Correcting doc comment
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5153 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-22 03:11:45 +00:00
phpnut
2099da50c1 Adding Firebird support
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5152 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-22 03:09:06 +00:00
phpnut
96da12358f Adding fix for #2521, this fixes issues with DB2 driver cannot determine the table name of result sets, which breaks associations. Added enhancement for #2446, DB2 driver allowing schema to be specified in the database.php file
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5114 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-16 07:50:02 +00:00
nate
4ba97ca0da Adding sequence map to DboPostgres for database tables using non-standard sequences
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5110 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 19:11:09 +00:00
nate
f7e4594df7 Adding schema support to Postgres driver (Ticket #1623)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5085 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 00:15:44 +00:00