José Lorenzo Rodríguez
|
1acb619e75
|
Implementing DboSource::insertMulti so it uses prepared statements, also changing internal uses of this method to reflect the new api, this brings as consequence a better abstracttion for datasources in model and fixtures, but breaks BC
|
2010-10-24 19:59:54 -04:30 |
|
José Lorenzo Rodríguez
|
139702e91c
|
Moving methods from Dbo's to the parent class as PDO already abstract what they do
|
2010-10-21 20:48:26 -04:30 |
|
José Lorenzo Rodríguez
|
c7763b316e
|
Fixing some boolean issues in DboPostgres
|
2010-10-21 20:34:11 -04:30 |
|
José Lorenzo Rodríguez
|
88289f071e
|
Restarting sequences by default qhen calling DboSource::truncate(), removing option to drop the sequence as it does not match behavior from other dbos
|
2010-10-21 00:21:10 -04:30 |
|
José Lorenzo Rodríguez
|
2262844346
|
Implementing set encoding in DboPostgres
|
2010-10-21 00:01:36 -04:30 |
|
José Lorenzo Rodríguez
|
ba1eb62678
|
Calling right method in DboPostgres::trucante
|
2010-10-20 23:59:44 -04:30 |
|
José Lorenzo Rodríguez
|
0ffe6de9e4
|
Allowing multiple sql sentences to be executed only for creting or altering databases
|
2010-10-20 23:57:00 -04:30 |
|
José Lorenzo Rodríguez
|
09487f830c
|
Preventing false positive in queries returning fields but havinf Count(*) inside them in DboPostgres
|
2010-10-20 23:29:07 -04:30 |
|
mark_story
|
498417203b
|
Making DboSource::fields() use cacheMethod() so it respects $cacheMethods.
Test added.
Fixes #1211
|
2010-10-20 22:28:31 -04:00 |
|
José Lorenzo Rodríguez
|
d0fc2fd171
|
Fixing describing of table columns for postgres
|
2010-10-19 00:48:08 -04:30 |
|
José Lorenzo Rodríguez
|
3f0c79f7f9
|
Fixing some problems in in DboPostgres::connect()
|
2010-10-19 00:15:32 -04:30 |
|
José Lorenzo Rodríguez
|
edd448f0b8
|
Implementing resultSet and fetchResult in DboPostgres
|
2010-10-18 00:38:48 -04:30 |
|
José Lorenzo Rodríguez
|
ad22bc31c7
|
Updating DboPosgres::describe() to use PDO
|
2010-10-18 00:23:19 -04:30 |
|
José Lorenzo Rodríguez
|
c1ca039582
|
Fixing typo in listSources
|
2010-10-18 00:11:24 -04:30 |
|
José Lorenzo Rodríguez
|
ab9c8904ad
|
Implementing lastInsertId for postgres
|
2010-10-18 00:08:58 -04:30 |
|
José Lorenzo Rodríguez
|
5c87daf083
|
Implementing listSources for postgres
|
2010-10-18 00:08:34 -04:30 |
|
José Lorenzo Rodríguez
|
aedf69dee1
|
More refactoring to DboSource::value()
|
2010-10-17 23:55:11 -04:30 |
|
José Lorenzo Rodríguez
|
16463229e5
|
Fixing return value of DboSource::boolean()
|
2010-10-17 23:40:51 -04:30 |
|
José Lorenzo Rodríguez
|
d9c9a32ff3
|
Refactoring DboSource::value() so postgres and mysq behavior is the same, updating test case
|
2010-10-17 23:38:55 -04:30 |
|
José Lorenzo Rodríguez
|
159776fc00
|
Refactoring possible common code to DboSource, now that PDO abstract disconnection from source
|
2010-10-17 23:37:56 -04:30 |
|
José Lorenzo Rodríguez
|
f3d3ee92f2
|
Implementing basic connection to postgres using PDO
|
2010-10-17 23:36:34 -04:30 |
|
José Lorenzo Rodríguez
|
28685dc234
|
More replacements of assignation by reference
|
2010-10-17 19:20:21 -04:30 |
|
José Lorenzo Rodríguez
|
bcc1417e5d
|
Making database stats dependent of fullDebug
Leaving lastNumRows commented out until some bugs are solved
|
2010-10-17 18:36:35 -04:30 |
|
José Lorenzo Rodríguez
|
10646ba2ad
|
Removing duplicate assignation of same object that didn't make much sense
|
2010-10-17 16:17:53 -04:30 |
|
José Lorenzo Rodríguez
|
cbdfb3f76e
|
Removing all references to mysqli
|
2010-10-17 11:49:17 -04:30 |
|
José Lorenzo Rodríguez
|
c016f1d97b
|
Impriving documentation
|
2010-10-17 11:28:11 -04:30 |
|
José Lorenzo Rodríguez
|
7e2fe43ee3
|
FIxing query caching to take in account bound parameters
|
2010-10-17 10:51:54 -04:30 |
|
José Lorenzo Rodríguez
|
097191213b
|
Removing use of third parameter of fetchAll()
|
2010-10-17 10:32:02 -04:30 |
|
José Lorenzo Rodríguez
|
65a641af23
|
Improving fetchAll method to accept an array of aprameters to be bound to the query, so now it is possible to use proper prepared statements
|
2010-10-17 10:29:01 -04:30 |
|
José Lorenzo Rodríguez
|
642bfe3576
|
Fixing some problem on fetching result data with multiple columns with same name
|
2010-10-17 10:15:40 -04:30 |
|
José Lorenzo Rodríguez
|
082873721c
|
Changing param order in execute() to maintain compatibility, making all tests pass
|
2010-10-16 20:28:07 -04:30 |
|
José Lorenzo Rodríguez
|
25915bd931
|
Merge remote branch 'origin/2.0' into feature/2.0/pdo
|
2010-10-16 14:20:58 -04:30 |
|
José Lorenzo Rodríguez
|
d83c95cf46
|
Fixing bug in DboMysql::value()
|
2010-10-16 14:01:01 -04:30 |
|
José Lorenzo Rodríguez
|
88a2fb5058
|
Fixing bug in DboMysql::describe()
|
2010-10-16 13:44:16 -04:30 |
|
José Lorenzo Rodríguez
|
84283ed6f3
|
Fixing DboMysql::listDetailedSources()
|
2010-10-16 13:28:18 -04:30 |
|
José Lorenzo Rodríguez
|
e03cbcb167
|
Fixing model describing and making pass testBlobSaving
|
2010-10-16 10:23:13 -04:30 |
|
José Lorenzo Rodríguez
|
cb16605805
|
Fetching result rows PDO style
|
2010-10-16 10:22:50 -04:30 |
|
José Lorenzo Rodríguez
|
f772527445
|
Using PDO method to get lastInsertId
|
2010-10-16 09:34:29 -04:30 |
|
José Lorenzo Rodríguez
|
a5f3f95e3a
|
Simplifying DboMysql::getCharsetName()
|
2010-10-16 09:32:01 -04:30 |
|
José Lorenzo Rodríguez
|
21f5707be7
|
Implementing disconnection in DboMysql
|
2010-10-15 19:17:52 -04:30 |
|
José Lorenzo Rodríguez
|
7a7659d063
|
Removing DboMysqlBase as the inner driver selection will be delegated to PDO, extracting _execute() and adding it to DboSource
|
2010-10-15 19:01:28 -04:30 |
|
José Lorenzo Rodríguez
|
5e80cf8ff7
|
Improving DboMysql::index()
|
2010-10-15 17:27:36 -04:30 |
|
José Lorenzo Rodríguez
|
c54448d205
|
Initial steps toward getting complete query results in DboMysql using PDO
|
2010-10-15 17:05:30 -04:30 |
|
José Lorenzo Rodríguez
|
bd856c7ef9
|
Fixing value quoting in DboMysql
|
2010-10-15 17:04:49 -04:30 |
|
José Lorenzo Rodríguez
|
0fb2ac0285
|
Chaging implementation of DboMysql::getVersion(), improving connection options
|
2010-10-15 17:03:59 -04:30 |
|
José Lorenzo Rodríguez
|
70ed9a7b12
|
Fixing DboMysql::index() method
|
2010-10-15 17:02:37 -04:30 |
|
José Lorenzo Rodríguez
|
52ea8fb42e
|
Fixing mysql connection string
|
2010-10-15 16:07:51 -04:30 |
|
José Lorenzo Rodríguez
|
52023085f4
|
Using the PDO conenction inside DboMysql::getCharsetName()
|
2010-10-14 23:32:07 -04:30 |
|
José Lorenzo Rodríguez
|
09e06d52b9
|
Implementing DboMysql::getVersion()
|
2010-10-14 23:15:17 -04:30 |
|
José Lorenzo Rodríguez
|
b8479459d6
|
Inital work for connecting to mysql using PDO and gettng the table list, testing is easier as it now uses mocks
|
2010-10-14 01:10:51 -04:30 |
|
José Lorenzo Rodríguez
|
efbefeb71a
|
Stating migration to PDO, a driver is available if listed as available by PDO
|
2010-10-13 22:40:45 -04:30 |
|
mark_story
|
f19e3d501c
|
Merge branch '1.3' into integration
Conflicts:
cake/libs/model/cake_schema.php
cake/libs/model/datasources/dbo_source.php
cake/libs/model/model.php
cake/libs/view/helpers/form.php
cake/libs/view/view.php
cake/libs/xml.php
cake/tests/cases/libs/model/model_delete.test.php
cake/tests/cases/libs/view/view.test.php
cake/tests/cases/libs/xml.test.php
|
2010-10-13 22:30:40 -04:00 |
|
mark_story
|
d56416456c
|
Applying patch from 'Justas Butkus' to DboSource
Fixes issues where reconnect could issue warnings related to
array_merge. Fixes #1182
|
2010-10-11 21:52:10 -04:00 |
|
mark_story
|
f847080cbf
|
Changing more php version strings.
|
2010-10-03 12:46:03 -04:00 |
|
mark_story
|
f21161ef46
|
Merge branch '1.3' into 2.0. Had to fix a number of 1.3 -> 2.0
differences upon merging.
Conflicts:
app/config/core.php
cake/console/templates/skel/config/core.php
cake/libs/cache/file.php
cake/libs/cake_session.php
cake/libs/controller/components/email.php
cake/libs/i18n.php
cake/libs/view/pages/home.ctp
cake/tests/cases/libs/cache/memcache.test.php
cake/tests/cases/libs/model/model_write.test.php
|
2010-09-24 23:27:22 -04:00 |
|
mark_story
|
a4746c7227
|
Applying patch from 'kworr' to reorder the switch in DboPostgres::value() to fix issues with pgsql 9.0. Fixes #1139
|
2010-09-24 22:47:18 -04:00 |
|
mark_story
|
729a45703b
|
Fixing issue where table names with spaces would not be quoted by name(). Fixes #1121
|
2010-09-21 20:34:27 -04:00 |
|
mark_story
|
d113d7d612
|
Removing dead code from DboSource::fields()
Updating fields() to use implode, so complex virtual fields are better handled. Fixes #1079
|
2010-09-18 00:04:36 -04:00 |
|
mark_story
|
5a8648cca0
|
Fixing issue in DboSource::_matchRecords() where unqualified conditions would result in 1=1 conditions. Fixing incorrect test case. Fixes #930
|
2010-09-16 00:17:09 -04:00 |
|
mark_story
|
730e373afe
|
Merge branch '1.3' into 2.0
Conflicts:
cake/libs/cake_session.php
cake/libs/view/pages/home.ctp
cake/tests/cases/libs/cache/memcache.test.php
cake/tests/cases/libs/cake_session.test.php
cake/tests/cases/libs/model/datasources/dbo_source.test.php
cake/tests/fixtures/data_test_fixture.php
|
2010-09-12 13:35:46 -04:00 |
|
Mark Story
|
e15069769d
|
Adding tests for #1079 and fixing some formatting.
|
2010-09-07 00:09:06 -04:00 |
|
Mark Story
|
d88da3d579
|
Merge branch '1.3' into 2.0
Conflicts:
cake/libs/configure.php
cake/libs/model/connection_manager.php
cake/libs/model/model.php
cake/tests/cases/libs/model/datasources/dbo/dbo_postgres.test.php
cake/tests/cases/libs/view/helpers/text.test.php
|
2010-09-06 16:53:04 -04:00 |
|
ADmad
|
bfaaa6b8ba
|
Fixing unnecessary extra calls to 'afterFind' callback of 'hasMany' associated models. Closes #995
|
2010-09-05 23:53:24 +05:30 |
|
mark_story
|
ea9e30890f
|
Adding a workaround to DboSource::showLog() to work around fix added in [da9c0da626 ].
Also adding explanation message when logs are not generated.
|
2010-08-26 21:24:09 -04:00 |
|
mark_story
|
12d4b52f10
|
Fixing failing tests in DboMysql and DboPostgres related to localized floats. Refs #1029
|
2010-08-21 00:49:40 -04:00 |
|
mark_story
|
705e90bef7
|
Merge branch '1.3' into 2.0-merge
Conflicts:
cake/libs/cache/memcache.php
cake/libs/cake_session.php
cake/libs/model/behaviors/acl.php
cake/tests/cases/dispatcher.test.php
cake/tests/cases/libs/cake_test_fixture.test.php
cake/tests/cases/libs/model/behaviors/acl.test.php
cake/tests/cases/libs/model/datasources/dbo/dbo_postgres.test.php
|
2010-08-15 23:09:02 -04:00 |
|
mark_story
|
686b9c2c8b
|
Fixing issues in alterSchema in DboMysql and DboPostgres, where fields would be appended to each table being altered.
Also fixed an issue in DboPostgres where the generated alter statements would contain too many ;.
Test cases added. Fixes #1023
|
2010-08-15 22:17:02 -04:00 |
|
mark_story
|
29ddffa2d3
|
Fixing regression in DboMysqlBase where describe() was no longer pulling out fieldParameters. A test case has been added to catch any future regressions. Fixes #991
|
2010-08-09 23:25:32 -04:00 |
|
mark_story
|
d38857095a
|
Merge branch '1.3' into 2.0
Conflicts:
cake/libs/model/model.php
cake/libs/validation.php
cake/libs/view/helpers/ajax.php
cake/tests/cases/libs/controller/components/session.test.php
|
2010-07-24 22:34:42 -04:00 |
|
mark_story
|
4c27c24a72
|
Fixing issue in DboSource where COUNT() was hardcoded, omitting any other aggregate functions. Replaced with a regexp that accepts only letters. Test case added. Fixes #878
|
2010-07-15 23:17:38 -04:00 |
|
mark_story
|
65efd675c1
|
Fixing fatal error caused by associated models using a datasource that is not a subclass of dbo_source. Test added. Fixes #873
|
2010-07-11 13:06:33 -04:00 |
|
mark_story
|
02e25f7557
|
Changing Configure::read() to not have a default value, and instead return all values in configure when no param is supplied. Test cases updated. Fixes #503
|
2010-07-05 21:50:36 -04:00 |
|
mark_story
|
2020675078
|
Merge branch '1.3' into 2.0
Conflicts:
cake/dispatcher.php
cake/tests/cases/libs/controller/components/request_handler.test.php
|
2010-06-30 22:47:27 -04:00 |
|
mark_story
|
e023350af5
|
Updating API docs related to DboSource::$cacheMethods. Fixes #870
|
2010-06-30 08:52:39 -04:00 |
|
mark_story
|
cd8dff362d
|
Merge branch '2.0-phpunit' into 2.0
Conflicts:
cake/libs/controller/components/email.php
cake/tests/cases/libs/cake_test_fixture.test.php
cake/tests/cases/libs/controller/components/email.test.php
|
2010-06-28 22:31:35 -04:00 |
|
mark_story
|
929bb5769e
|
Merge branch '1.3' into 2.0
Conflicts:
app/webroot/index.php
cake/console/templates/skel/webroot/index.php
cake/libs/cake_session.php
cake/libs/controller/components/email.php
cake/libs/controller/scaffold.php
cake/libs/model/datasources/dbo/dbo_oracle.php
cake/libs/model/model_behavior.php
cake/libs/view/pages/home.ctp
cake/tests/cases/libs/controller/components/acl.test.php
cake/tests/cases/libs/file.test.php
|
2010-06-26 12:29:20 -04:00 |
|
José Lorenzo Rodríguez
|
f4cf945e30
|
Migrating DboSqliteTest to phpunit
|
2010-06-09 23:33:41 -04:30 |
|
José Lorenzo Rodríguez
|
fd4db4184a
|
Migrated ConnectionManager to phpunit
|
2010-06-04 23:47:38 -04:30 |
|
José Lorenzo Rodríguez
|
c23fe5d72e
|
Migrating ModelReadTest to PHPUnit
|
2010-06-04 23:07:29 -04:30 |
|
mark_story
|
7ed67e5959
|
Fixing virtualFields used in order clauses where virtualField was supplied with model alias. Tests added. Refs #768
|
2010-05-30 20:30:58 -04:00 |
|
predominant
|
8decc683ac
|
Numerous 'shoer description' documentation entries updated to contain useful comments.
|
2010-05-30 01:20:28 +10:00 |
|
predominant
|
f63f15812e
|
Merge remote branch 'origin/1.3' into 1.3
|
2010-05-30 01:13:40 +10:00 |
|
predominant
|
f06f0dae8b
|
Numerous "Enter description here" block comments updated to have meaningful descriptions.
|
2010-05-30 01:10:48 +10:00 |
|
Martin Radosta
|
64adfacd3e
|
Making DboSource::order() accept an expression object. Fixes issues with
sql parsing over quoting special SQL syntax. Tests added. Fixes #747
Signed-off-by: mark_story <mark@mark-story.com>
|
2010-05-25 23:07:29 -04:00 |
|
Juan Basso
|
2d44929598
|
Optimization on dbo datasource to not repeat ids in find. Fixes #601
Signed-off-by: mark_story <mark@mark-story.com>
|
2010-05-23 17:22:55 -04:00 |
|
mark_story
|
29f2223c6d
|
Removing hardcoded '__' for virtualField separators. Making it an instance property instead. This allows the customization of the separator if needed. Tests added for DboMysql. Refs #655, #730
|
2010-05-22 00:58:54 -04:00 |
|
predominant
|
6a18b2bc1d
|
Merge remote branch 'origin/1.3' into 2.0
Conflicts:
cake/basics.php
cake/console/libs/shell.php
cake/console/libs/tasks/controller.php
cake/libs/controller/components/request_handler.php
cake/libs/model/model.php
cake/libs/model/model_behavior.php
cake/libs/overloadable.php
cake/libs/overloadable_php4.php
cake/libs/overloadable_php5.php
cake/libs/sanitize.php
cake/libs/validation.php
cake/libs/view/helpers/ajax.php
cake/libs/view/helpers/javascript.php
cake/libs/view/pages/home.ctp
cake/tests/cases/console/libs/tasks/controller.test.php
cake/tests/cases/libs/overloadable.test.php
cake/tests/cases/libs/validation.test.php
cake/tests/cases/libs/view/helpers/ajax.test.php
cake/tests/cases/libs/view/helpers/javascript.test.php
cake/tests/test_app/libs/cache/test_app_cache.php
cake/tests/test_app/plugins/test_plugin/libs/cache/test_plugin_cache.php
cake/tests/test_app/plugins/test_plugin/models/test_plugin_auth_user.php
cake/tests/test_app/plugins/test_plugin/models/test_plugin_post.php
|
2010-05-20 12:22:04 +10:00 |
|
predominant
|
8f880731c6
|
Removing closing PHP tags.
|
2010-05-11 08:27:28 +10:00 |
|
predominant
|
1ec220dac2
|
Removing closing PHP tags.
|
2010-05-11 08:07:49 +10:00 |
|
Mark Story
|
1a7dce3af6
|
Updating DboMysql to fix an issue where virtualFields that were simple
aliases to fields on other tables would end up in the wrong place.
Tests added. Fixes #655
|
2010-05-07 23:26:13 -04:00 |
|
predominant
|
92215e1795
|
Merge remote branch 'origin/1.3' into 2.0
Conflicts:
cake/libs/inflector.php
cake/libs/view/helpers/text.php
cake/libs/view/pages/home.ctp
cake/tests/cases/libs/view/helpers/time.test.php
|
2010-04-16 23:43:28 +10:00 |
|
predominant
|
c7fcaf995f
|
Convert getMictime() php4 hack to microtime(true)
|
2010-04-16 02:58:28 +10:00 |
|
predominant
|
6bd9f0f05b
|
Convert models, datasources and file/folders to new version of translation shortcut function.
|
2010-04-16 02:00:25 +10:00 |
|
José Lorenzo Rodríguez
|
9d2819970d
|
Fixing schema generation for postgres. Now character varying without lenght is translated to "text", to avoid sql errors. Closes #564
|
2010-04-13 01:08:31 -04:30 |
|
predominant
|
a4cf737947
|
Fixing access specified on DboSource.
|
2010-04-11 15:25:18 +10:00 |
|
predominant
|
52cdef900b
|
Merge remote branch 'origin/1.3' into 2.0
Conflicts:
cake/dispatcher.php
cake/libs/model/behaviors/acl.php
cake/libs/model/behaviors/containable.php
cake/libs/model/behaviors/tree.php
cake/libs/router.php
cake/tests/cases/libs/validation.test.php
|
2010-04-09 22:05:00 +10:00 |
|
José Lorenzo Rodríguez
|
7668894888
|
Fixing error introduced by previous commit
|
2010-04-07 09:51:29 -04:30 |
|
predominant
|
e4d292bfa4
|
Merge remote branch 'origin/1.3' into 2.0
Conflicts:
cake/console/libs/shell.php
cake/libs/controller/components/acl.php
cake/libs/controller/components/auth.php
cake/libs/controller/components/email.php
cake/libs/controller/components/security.php
cake/libs/controller/components/session.php
cake/libs/view/helper.php
cake/libs/view/helpers/form.php
cake/libs/view/helpers/html.php
cake/libs/view/helpers/number.php
cake/libs/view/helpers/session.php
cake/libs/view/helpers/text.php
cake/libs/view/helpers/time.php
cake/libs/view/helpers/xml.php
|
2010-04-06 12:19:34 +10:00 |
|
predominant
|
50a547167b
|
Changing protected methods to specify protected access.
|
2010-04-05 13:21:28 +10:00 |
|
predominant
|
1497ec3910
|
Changed all public methods to specify public access.
|
2010-04-05 13:19:38 +10:00 |
|